Forráskód Böngészése

责任制去掉默认一行空数据

彭宇 2 éve
szülő
commit
e9a3734330
2 módosított fájl, 20 hozzáadás és 18 törlés
  1. 10 9
      src/views/eventdetailsdialog.vue
  2. 10 9
      src/views/firespread.vue

+ 10 - 9
src/views/eventdetailsdialog.vue

@@ -1470,16 +1470,17 @@ export default {
       dutysystemList(param).then(res => {
         if (res.data != null && res.data.length > 0) {
           this.dutysystemTableData = res.data
-        } else {
-          this.dutysystemTableData = [{
-            id: '',//主键
-            dept: this.dutysystemDeptName,//部门名称
-            depteventId: this.depteventId,//事件部门关联责任人
-            name: '',//姓名
-            post: '',//岗位
-            telphone: ''//手机号
-          }]
         }
+        // else {
+        //   this.dutysystemTableData = [{
+        //     id: '',//主键
+        //     dept: this.dutysystemDeptName,//部门名称
+        //     depteventId: this.depteventId,//事件部门关联责任人
+        //     name: '',//姓名
+        //     post: '',//岗位
+        //     telphone: ''//手机号
+        //   }]
+        // }
       })
     },
 

+ 10 - 9
src/views/firespread.vue

@@ -2289,16 +2289,17 @@ export default {
       dutysystemList(param).then(res => {
         if (res.data != null && res.data.length > 0) {
           this.dutysystemTableData = res.data
-        } else {
-          this.dutysystemTableData = [{
-            id: '',//主键
-            dept: this.dutysystemDeptName,//部门名称
-            depteventId: this.depteventId,//事件部门关联责任人
-            name: '',//姓名
-            post: '',//岗位
-            telphone: ''//手机号
-          }]
         }
+        // else {
+        //   this.dutysystemTableData = [{
+        //     id: '',//主键
+        //     dept: this.dutysystemDeptName,//部门名称
+        //     depteventId: this.depteventId,//事件部门关联责任人
+        //     name: '',//姓名
+        //     post: '',//岗位
+        //     telphone: ''//手机号
+        //   }]
+        // }
       })
     },