不同地类分割
parent
35443c625c
commit
15d173c547
|
|
@ -14,6 +14,7 @@ tests/server/static/upload
|
|||
.env.*.local
|
||||
.eslintcache
|
||||
.env
|
||||
.env.tiankongdi
|
||||
.env.analyze
|
||||
.env.development
|
||||
.env.lindidiaocha
|
||||
|
|
|
|||
|
|
@ -107,7 +107,29 @@
|
|||
<p class="split-panel-item">导入图层分割</p>
|
||||
</a-upload>
|
||||
|
||||
<p class="split-panel-item" @click="handlerSelectLandType()">地类图斑分割</p>
|
||||
<!-- <p class="split-panel-item" >地类图斑分割</p> -->
|
||||
|
||||
|
||||
<a-dropdown>
|
||||
|
||||
<p @click.prevent>地类图斑分割 <DownOutlined /></p>
|
||||
|
||||
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
|
||||
<a-menu-item @click="handlerSelectLandType('gengdi')">
|
||||
<p>耕地地类分割</p>
|
||||
</a-menu-item>
|
||||
|
||||
<a-menu-item @click="handlerSelectLandType('jianshe')">
|
||||
<p>建设用地地类分割</p>
|
||||
</a-menu-item>
|
||||
|
||||
|
||||
</a-menu>
|
||||
</template>
|
||||
</a-dropdown>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -274,6 +296,7 @@
|
|||
SplitCellsOutlined,
|
||||
CloudUploadOutlined,
|
||||
Loading3QuartersOutlined,
|
||||
DownOutlined,
|
||||
} from '@ant-design/icons-vue';
|
||||
import mapboxgl, { Map, Popup } from 'mapbox-gl';
|
||||
import Icon from '@/components/Icon/Icon.vue';
|
||||
|
|
@ -406,7 +429,7 @@
|
|||
})
|
||||
|
||||
// 地类分割图斑
|
||||
const handlerSelectLandType = ()=>{
|
||||
const handlerSelectLandType = (type)=>{
|
||||
|
||||
|
||||
emit('handlerStartSpliting',true);
|
||||
|
|
@ -417,7 +440,7 @@
|
|||
|
||||
let calAreaParams = {
|
||||
"wktgeom":geom,
|
||||
"type":"gengdi"
|
||||
"type":type
|
||||
}
|
||||
splitAndCalTubanArea(calAreaParams).then(res=>{
|
||||
if(res){
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@
|
|||
style="width: 100px; height: 100px"
|
||||
:src="`${VITE_GLOB_INFO_IMAGE_URL}/${item}`"
|
||||
:preview="{ getContainer }"
|
||||
></a-image>
|
||||
></a-image>
|
||||
<div v-else>
|
||||
<Icon
|
||||
v-if="item"
|
||||
|
|
|
|||
|
|
@ -1288,7 +1288,7 @@ import { itemProps } from '@/components/Menu/src/props';
|
|||
nongyongdi_area: false,
|
||||
gengdi_area: false,
|
||||
yongjiujibennongtian_area: false,
|
||||
shengtaibaohuhongxian_area: false,
|
||||
shengtaibaohuhongxian_area: false,
|
||||
guotukongjianguihua_area: false,
|
||||
zhongdianquyu_area: false,
|
||||
area: false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue