Compare commits

...

2 Commits

Author SHA1 Message Date
徐景良 a021b97505 merge 2024-11-15 17:33:22 +08:00
徐景良 720ccf3535 merge 2024-11-15 17:30:12 +08:00
5 changed files with 14 additions and 5 deletions

View File

@ -996,7 +996,6 @@
return name;
};
async function changeTask() {
alert(caseInfo.value.geomid)
let getGeomPrams = {
TableName: 'drone_shp_data ',
FieldName: 'gid',

View File

@ -29,7 +29,7 @@
<div class="data-container" v-show="false">
<!-- tif list -->
<TifList ref="TifListComponent"></TifList>
<TifList ref="TifListComponent" @changeTifLayer="changeTifLayer"></TifList>
<!-- case list -->
<CaseList v-show="false" @handlerLayerButtonClick="handlerLayerButtonClick" @toPosition="toPosition"></CaseList>
<!-- uav -->
@ -116,6 +116,11 @@ function toPosition(lngLat){
MapboxComponent.value.handlerLocation(lngLat,17);
}
function changeTifLayer(layer){
console.log("changeTifLayer",layer);
MapboxComp
}
//
function handlerDraw(state){
if(state){

View File

@ -1103,6 +1103,10 @@ const handlerQueryIntersectTif = (wkt:string)=>{
})
}
function handlerChangeTifLayer(item){
}
//
const handlerDeletePolygon = ()=>{
mp.deleteDraw();
@ -1117,8 +1121,10 @@ const handlerDeletePolygon = ()=>{
handlerUpdateUavLayer, //
handlerDrawPolygon, //
handlerDeletePolygon, //
handlerChangeTifLayer,
});
</script>
<style type="less" scoped>
.map-container {

View File

@ -30,7 +30,6 @@
<div v-if="!darwState" @click="handlerDraw(true)">
<ShareAltOutlined style="font-size:16px;" /> &nbsp;绘制范围
</div>
<div v-else @click="handlerDraw(false)">
<CloseOutlined style="font-size:16px;" /> &nbsp;取消绘制
</div>

View File

@ -31,7 +31,7 @@
const tifList = ref([])
const emits = defineEmits([""])
const emits = defineEmits(['changeTifLayer'])
const handlerQueryIntersectTif = (wkt:string)=>{
@ -52,7 +52,7 @@
const layerChange = (item)=>{
console.log(item);
emits("changeTifLayer",item);
}
//