管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2022-11-11 275e2b9dec977546dd1a3f75eac29c22e6bb4ed2
ExportMap/Test.html
@@ -5,6 +5,8 @@
  <title></title>
  <script src="js/jquery.1.12.4.js"></script>
  <script>
    var token = "";
    function ajax(url, type, data, dataType, contentType, fn) {
      $.ajax({
        url: url,
@@ -25,6 +27,7 @@
    function exportMap1() {
      var page = $("#selectPage").find("option:selected").text();
      var data = {
        token: token,
        title: "管道基础大数据平台(DW1-01)",
        pageSize: page,
        province: "河北省",
@@ -40,7 +43,7 @@
      };
      ajax("Export/Start", "POST", JSON.stringify(data), null, null, function (rs) {
        alert(rs);
        alert("code = " + rs.code + ", result = " + rs.result);
        console.log(rs);
      });
    }
@@ -48,6 +51,7 @@
    function exportMap2() {
      var page = $("#selectPage").find("option:selected").text();
      var data = {
        token: token,
        title: "管道基础大数据平台(DW1-02)",
        pageSize: page,
        province: "山东省",
@@ -63,7 +67,7 @@
      };
      ajax("Export/Start", "POST", JSON.stringify(data), null, null, function (rs) {
        alert(rs);
        alert("code = " + rs.code + ", result = " + rs.result);
        console.log(rs);
      });
    }