From 516a56260c86e1b78f13d3889f4f37cfe67d555c Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期六, 16 三月 2024 08:48:29 +0800 Subject: [PATCH] 增加通道查询列表排序 增加按范围多边形查井 --- ard-work/src/main/resources/templates/test.html | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ard-work/src/main/resources/templates/test.html b/ard-work/src/main/resources/templates/test.html index 38e86f4..53fbf60 100644 --- a/ard-work/src/main/resources/templates/test.html +++ b/ard-work/src/main/resources/templates/test.html @@ -406,12 +406,13 @@ var camera = cameraMap.get(cameraId); var camP = camera.longitude + ',' + camera.latitude + ',' + camera.altitude; var targetP = $('#targetPostion').val(); + var arr = targetP.split(","); + arr = arr.map(item => parseFloat(item)); //瀹氫箟涓�涓甫鏈塎ap瀛楁鐨勫疄浣撳璞� var myEntity = { chanNo: 1, cameraId: cameraId, - targetPosition: targetP, - camPosition: camP, + targetPosition: arr }; console.log(myEntity) $.ajax({ @@ -1057,4 +1058,4 @@ } </script> </body> -</html> \ No newline at end of file +</html> -- Gitblit v1.9.3