管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2022-12-26 41b9f7a23113c0e82d19e5e44862380a2322f6a0
1
已修改2个文件
23 ■■■■■ 文件已修改
ExportMap/ExportMap.csproj 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/up.html 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/ExportMap.csproj
@@ -187,7 +187,9 @@
    <Content Include="Sources\shps\VALVEHOUSEPOINT.shx" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="Sources\Template.qpt" />
    <Content Include="Sources\Template.qpt">
      <SubType>Designer</SubType>
    </Content>
  </ItemGroup>
  <ItemGroup>
    <None Include="Properties\PublishProfiles\Release.pubxml" />
ExportMap/up.html
@@ -10,7 +10,7 @@
    var app = {};
    var path = "20221128010101";
    var url = "http://127.0.0.1:12316/server/";
    var token = "278301c9-366f-424e-a77e-5c4b9d89bb66";
    var token = "f174edc5-8640-4490-a159-e2d181d2cef7";
    $(function () {
      $("#pathSpan").html(path);
@@ -469,6 +469,22 @@
        alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result);
      });
    }
    function insertApply() {
      var obj = {
        ids: [20, 21, 22],
        pwd: aesEncrypt("Test!321&456"),
        tabs: ["城市点", "行政区划线", "居民地面"],
        entities: ["dlgagnp", "dlg25wboul", "dlg25wresa"],
        wkt: aesEncrypt("POLYGON ((115.94927385452 32.3754479115071 0,121.989371092554 32.2766788010181 0,121.850621222894 29.6874200067864 0,115.9727267226 29.7835368627922 0,115.94927385452 32.3754479115071 0))"),
        descr: "用于生产项目,请批准"
      };
      ajax(getUrl("apply/insertApply"), "POST", JSON.stringify(obj), null, null, function (rs) {
        console.log(rs);
        alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result);
      });
    }
  </script>
</head>
<body>
@@ -520,6 +536,7 @@
    数据申请:
    <input value="查询DB中溢出的单位ID" type="button" onclick="selectDbOverflowDep();" />
    <input value="插入数据申请" type="button" onclick="insertApply();" />
    <hr />
    <br />
  </form>