From 2e2f1f542db7d709813efd6dcce14e3bc076bfa0 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 03 八月 2023 11:45:31 +0800 Subject: [PATCH] 1 --- ExportMap/export.html | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/ExportMap/export.html b/ExportMap/export.html index 573f8ea..c713de7 100644 --- a/ExportMap/export.html +++ b/ExportMap/export.html @@ -177,6 +177,15 @@ console.log(rs); }); } + + // 缁撴潫浠诲姟 + function deleteTask() { + var data = { token: token, ids: [$("#taskId").val()], dircode: "00" }; + ajax("Convert/DeleteTask", "POST", JSON.stringify(data), null, null, function (rs) { + alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result); + console.log(rs); + }); + } </script> </head> <body> @@ -205,5 +214,7 @@ <br /><br /> <input type="button" value="璇诲彇Las鍧愭爣绯�" onclick="ReadLasCs();" /> + <input id="taskId" value="0" /> + <input type="button" value="缁撴潫浠诲姟" onclick="deleteTask();" /> </body> </html> -- Gitblit v1.9.3