merge
parent
7ad1891f02
commit
720ccf3535
|
|
@ -996,7 +996,6 @@
|
|||
return name;
|
||||
};
|
||||
async function changeTask() {
|
||||
alert(caseInfo.value.geomid)
|
||||
let getGeomPrams = {
|
||||
TableName: 'drone_shp_data ',
|
||||
FieldName: 'gid',
|
||||
|
|
|
|||
|
|
@ -27,9 +27,9 @@
|
|||
<LayerControl @handlerLayerButtonClick="handlerLayerButtonClick"></LayerControl>
|
||||
|
||||
|
||||
<div class="data-container" v-show="false">
|
||||
<div class="data-container" v-show="true">
|
||||
<!-- 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);
|
||||
alert(123);
|
||||
}
|
||||
|
||||
// 绘制按钮
|
||||
function handlerDraw(state){
|
||||
if(state){
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
<style type="less" scoped>
|
||||
.map-container {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
<div class="filter-item" v-for="(item,index) in filters" :key="index" @click="handlerCheckedFilter(item.name)">{{item.name}}</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="selection-button" v-show="false">
|
||||
<div class="selection-button" v-show="true">
|
||||
<div v-if="!darwState" @click="handlerDraw(true)">
|
||||
<ShareAltOutlined style="font-size:16px;" /> 绘制范围
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
// 抛出函数
|
||||
|
|
|
|||
Loading…
Reference in New Issue