|
@@ -173,7 +173,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="15">
|
|
|
<div class="map-container">
|
|
|
- <div class="map_type">
|
|
|
+ <div class="map_type" v-show="singleForm.id!=''">
|
|
|
<el-form ref="singleProblemRef" :model="singleForm" label-width="80px">
|
|
|
<el-form-item label="点位名称" prop="proPoint">
|
|
|
<el-input v-model="singleForm.proPoint" placeholder="请输入点位名称" />
|
|
@@ -473,7 +473,6 @@ const getTargetList = async (year) => {
|
|
|
};
|
|
|
|
|
|
function drawGeometry(){
|
|
|
- singleForm.value;
|
|
|
DrawGeometry({
|
|
|
type: singleForm.value.type,
|
|
|
status: true,
|
|
@@ -496,8 +495,7 @@ function submitSingleForm(){
|
|
|
item.geojson = toFullGeoJson(singleForm.value.shape);
|
|
|
}
|
|
|
})
|
|
|
- ClearSketchLayer()
|
|
|
-
|
|
|
+ cancelSingleForm()
|
|
|
}
|
|
|
|
|
|
|