diff --git a/src/views/demo/minerals/patchsummary/detail/index.vue b/src/views/demo/minerals/patchsummary/detail/index.vue index c7c7cf3e..50d8aaea 100644 --- a/src/views/demo/minerals/patchsummary/detail/index.vue +++ b/src/views/demo/minerals/patchsummary/detail/index.vue @@ -996,7 +996,6 @@ return name; }; async function changeTask() { - alert(caseInfo.value.geomid) let getGeomPrams = { TableName: 'drone_shp_data ', FieldName: 'gid', diff --git a/src/views/sys/exception/VideoSupervision.vue b/src/views/sys/exception/VideoSupervision.vue index 3996af0c..fce20e1a 100644 --- a/src/views/sys/exception/VideoSupervision.vue +++ b/src/views/sys/exception/VideoSupervision.vue @@ -27,9 +27,9 @@ -
+
- + @@ -116,6 +116,11 @@ function toPosition(lngLat){ MapboxComponent.value.handlerLocation(lngLat,17); } +function changeTifLayer(layer){ + console.log("changeTifLayer",layer); + alert(123); +} + // 绘制按钮 function handlerDraw(state){ if(state){ diff --git a/src/views/sys/exception/VideoSupervision/map/map.vue b/src/views/sys/exception/VideoSupervision/map/map.vue index 44a702f1..b72131cc 100644 --- a/src/views/sys/exception/VideoSupervision/map/map.vue +++ b/src/views/sys/exception/VideoSupervision/map/map.vue @@ -1103,6 +1103,10 @@ const handlerQueryIntersectTif = (wkt:string)=>{ }) } +function handlerChangeTifLayer(item){ + console.log("item123",item); +} + // 取消绘制 const handlerDeletePolygon = ()=>{ mp.deleteDraw(); @@ -1117,8 +1121,10 @@ const handlerDeletePolygon = ()=>{ handlerUpdateUavLayer, // 无人机图层 handlerDrawPolygon, //绘制多边形 handlerDeletePolygon, // 取消绘制 + handlerChangeTifLayer, }); +