|
|
|
|
@ -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){
|
|
|
|
|
|