管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2023-08-02 9269e5fbb8145742c38d0ce8f67a9dc5853142cb
ExportMap/export.html
@@ -10,7 +10,7 @@
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <script src="js/jquery.1.12.4.js"></script>
  <script>
    var token = "dba75438-71f2-4a67-91ef-8919cd9b16cc";
    var token = "bc381c1e-83cb-4956-a1e4-a624b08225f1";
    // Ajax
    function ajax(url, type, data, dataType, contentType, fn) {
@@ -82,14 +82,14 @@
    // 测试切图
    function convertXYZ() {
      var data = { token: token, ids: [2919, 2920], id: 1, min: 8, max: 18, depcode: "000305", dircode: "0102", userId: 1, name: "DOM_0.2m" };
      var data = { token: token, ids: [1217], id: 1, min: 8, max: 18, depcode: "000305", dircode: "0102", userId: 1, name: "DOM_0.2m" };
      ajax("Convert/ToTiles", "POST", JSON.stringify(data), null, null, function (rs) {
        alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result);
        console.log(rs);
      });
    }
    // 测试Rvt
    // 测试Rvt *
    function convert1() {
      var data = { token: token, ids: [1521], depcode: "000305", dircode: "0102", userId: 1 };
      ajax("Convert/ToTileset", "POST", JSON.stringify(data), null, null, function (rs) {
@@ -98,7 +98,7 @@
      });
    }
    // 测试Fbx
    // 测试Fbx *
    function convert2() {
      var data = { token: token, ids: [1522], depcode: "000305", dircode: "0102", userId: 1 };
      ajax("Convert/ToTileset", "POST", JSON.stringify(data), null, null, function (rs) {
@@ -109,7 +109,7 @@
    // 测试Ifc
    function convert3() {
      var data = { token: token, ids: [6894], depcode: "000305", dircode: "0A040001010004", userId: 1 };
      var data = { token: token, ids: [7615], depcode: "000305", dircode: "0A040001010004", userId: 1 };
      ajax("Convert/ToTileset", "POST", JSON.stringify(data), null, null, function (rs) {
        alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result);
        console.log(rs);