管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2023-06-21 d9c6232dac8c1af6586d116fe558d154feb46011
ExportMap/export.html
@@ -5,7 +5,7 @@
  <title></title>
  <script src="js/jquery.1.12.4.js"></script>
  <script>
    var token = "94baeb78-d4cc-43db-b9b5-8ff9584c587d";
    var token = "74fca142-b0cd-4ecb-965b-6b51b8866ec4";
    // Ajax
    function ajax(url, type, data, dataType, contentType, fn) {
@@ -128,6 +128,15 @@
        console.log(rs);
      });
    }
    // 测试OSGB
    function toOsgb() {
      var data = { token: token, ids: [7187], depcode: "00", dircode: "0C", userId: 1, name: "3-1倾斜模型-中卫站" };
      ajax("Convert/ToOsgb", "POST", JSON.stringify(data), null, null, function (rs) {
        alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result);
        console.log(rs);
      });
    }
  </script>
</head>
<body>
@@ -149,5 +158,6 @@
  <input type="button" value="测试Ifc" onclick="convert3();" />
  <input type="button" value="测试SG" onclick="toSG();" />
  <input type="button" value="测试Terra" onclick="toTerra();" />
  <input type="button" value="测试OSGB" onclick="toOsgb();" />
</body>
</html>