Prechádzať zdrojové kódy

修改快递物流勾选点击事件

mork 5 dní pred
rodič
commit
5145db2de5
1 zmenil súbory, kde vykonal 7 pridanie a 5 odobranie
  1. 7 5
      src/views/HomeView.vue

+ 7 - 5
src/views/HomeView.vue

@@ -193,7 +193,7 @@
           <div class="item">所属居委:{{ nowPoint.properties["所属居委"] }}</div>
           <div class="item">所属地址:{{ nowPoint.properties["项目表-小区地址"] }}</div>
           <div class="item">小区编码:{{ nowPoint.properties["小区编码"] }}</div>
-          <div class="item">总数:{{ nowPoint.properties["count"] }}</div>
+          <div class="item">快递总数:{{ nowPoint.properties["count"] }}</div>
           <div>
             <el-table :data="nowPoint.properties.data" style="width: 100%" max-height="330px">
               <el-table-column type="index" width="50" />
@@ -480,6 +480,7 @@ export default {
       pointRedItemArr:[],
       pointBlueItemArr:[],
       areaDataItemArr:[],
+      kdwlPointTCHandle:1,
 
       yhfkForm: {
         name: "",
@@ -1195,7 +1196,10 @@ export default {
       }else {
         this.getxqAreaData(judge, params)
       }
-     
+      if(this.kdwlPointTCHandle == 1){ //
+        this.pointTCHandle();
+      }
+      this.kdwlPointTCHandle = 2;
     },
     getxqAreaData(judge,params){
       let that = this;
@@ -1252,7 +1256,7 @@ export default {
         })
         this.areaDataItemArr = []
       }
-      this.pointTCHandle();
+      
     },
     getNFPointData(judge, params){
       let that = this;
@@ -1275,7 +1279,6 @@ export default {
         this.kdwlInfoDialogShow = false;
         this.nowPoint = null
       }
-      // this.pointTCHandle();
     },
     getHzpPointData(judge, params){
       let that = this;
@@ -1298,7 +1301,6 @@ export default {
         this.kdwlInfoDialogShow = false;
         this.nowPoint = null
       }
-      // this.pointTCHandle();
     },
 
     getPointInfo(result,itemType,itemImag){