From 9305e95fb52b28232a25f302b06f95bc79dbf4c5 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 29 十二月 2022 10:57:13 +0800 Subject: [PATCH] 1 --- ExportMap/lf.html | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/ExportMap/lf.html b/ExportMap/lf.html index b0d47fc..b16b8f2 100644 --- a/ExportMap/lf.html +++ b/ExportMap/lf.html @@ -280,10 +280,33 @@ } }); } + + function pipeAnalysis() { + var data = { + gid: 24, + tabs: ["bd.dlg_25w_hydl", "bd.dlg_25w_lrdl", "bd.dlg_25w_lrrl", "bd.dlg_25w_hyda"] + }; + + $.ajax(url + "pipeline/selectPipeAnalysis" + token, { + type: "POST", + data: JSON.stringify(data), + async: true, + cache: false, + processData: false, + contentType: false, + success: function (rs) { + alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + ", " + JSON.stringify(rs.result)); + console.log(rs); + }, + error: function (e) { + console.error(e); + } + }); + } </script> <script> var url = "http://127.0.0.1:12316/server/"; - var token = "?token=2d44e1be-b332-4aa8-893f-61e6edac61b7"; + var token = "?token=6d039a6d-0b0a-402d-8fbc-5f236818e6d9"; // 椤圭洰,绔欏満,绠¢亾涓績绾�,鎴樼暐閫氶亾,鐭㈤噺鍥�,褰卞儚娉ㄨ,褰卞儚鍥� function exportMap1() { @@ -360,6 +383,7 @@ <input type="button" value="uploadShp" onclick="downloadShp();" /> <input type="button" value="downloadFile" onclick="downloadFile();" /> <input type="button" value="uploadShpForMark" onclick="uploadShpForMark();" /> + <input type="button" value="绠$嚎鍒嗘瀽" onclick="pipeAnalysis()" /> <br /> <br /> -- Gitblit v1.9.3