Browse Source

集团首页修改弹窗bug

fujunwen 4 năm trước cách đây
mục cha
commit
4b424a8303
1 tập tin đã thay đổi với 6 bổ sung4 xóa
  1. 6 4
      src/views/statistics/index.vue

+ 6 - 4
src/views/statistics/index.vue

@@ -337,7 +337,7 @@
                 <td></td>
               </tr>
               <tr v-for="(td, index) in exceptionData" :key="index">
-                <td>{{ index + 1 }}</td>
+                <td>{{ (currentPage - 1) * pageSize + index + 1}}</td>
                 <td>{{ td.center }}</td>
                 <td>{{ td.zone }}</td>
                 <td>{{ td.name }}</td>
@@ -567,7 +567,7 @@ export default {
       this.fetchExceptionNum(
         this.currentSysId,
         tab.id,
-        this.currentDialogCcode,
+        this.selectedDialogZone,
         this.currentDialogLevel
       );
     },
@@ -840,7 +840,9 @@ export default {
           this.regulateDistrictData = [data];
           this.dialogDistrictData = cloneDeep(this.regulateDistrictData);
           let firstNode = this.dialogDistrictData[0];
-          this.selectedDialogZone = this.selectedZone = firstNode.ccode;
+          this.selectedDialogZone = firstNode.ccode;
+          this.selectedZone = firstNode.ccode;
+          this.currentDialogCcode =  firstNode.ccode;
           this.currentDialogLevel = firstNode.level;
           this.currentDistrictData = res.treeData;
           this.getSystemList(data.ccode, level).then((res) => {
@@ -1167,6 +1169,7 @@ export default {
      *@description 打开弹窗
      */
     openMaskPanel(system) {
+      this.currentSysId = system.smsxt;
       this.tabData = [];
       this.selectedDialogZone = this.selectedZone;
       system.restAssetTypeList.forEach((item) => {
@@ -1363,7 +1366,6 @@ export default {
         promiseAll.push(promise);
       });
       Promise.all(promiseAll).then((result) => {
-        console.log(layerArr);
         this.loadingInstance.close();
         if (this.currentLevel === 2) {
           layerArr.forEach((item) => {