소스 검색

取消选中

maxiaoxiao 6 달 전
부모
커밋
629e75a668
1개의 변경된 파일9개의 추가작업 그리고 2개의 파일을 삭제
  1. 9 2
      src/views/LandConsolidation/index.vue

+ 9 - 2
src/views/LandConsolidation/index.vue

@@ -109,7 +109,11 @@
         <Organize ref="organize"></Organize>
       </div>
     </div>
-    <Details ref="detailModal" @goxzgd="goxzgd"></Details>
+    <Details
+      ref="detailModal"
+      @goxzgd="goxzgd"
+      @closeInster="closeInster"
+    ></Details>
     <Contrast
       ref="contrastModal"
       v-show="iscontrast"
@@ -220,7 +224,7 @@ export default {
       this.iscontrast = true;
       this.$refs.contrastModal.show(dbdata);
     },
-    fly(){
+    fly() {
       this.$refs.sdgk.fly();
     },
     contrastClose() {
@@ -234,6 +238,9 @@ export default {
     handleView(row, type) {
       this.$refs.detailModal.handleView(row, type);
     },
+    closeInster() {
+      this.$refs.xzgd.$refs.xzlist.tempdataLayerId = "";
+    },
     regionChange() {
       this.onClick(this.activeIndex);
       this.$refs.detailModal.closeInster();