2 커밋 8f9143f2ed ... 68e99e4022

작성자 SHA1 메시지 날짜
  zhiyuan-007 68e99e4022 Merge branch 'dev' of http://47.101.207.123:3000/sharedExchange/BaseFrame-Vue into dev 4 일 전
  zhiyuan-007 e6e2a38e96 城市体检-首页修改20250418-05 4 일 전
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      src/views/cstj/problemsMain/index.vue

+ 2 - 4
src/views/cstj/problemsMain/index.vue

@@ -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()
 }