Prechádzať zdrojové kódy

提交以后刷新列表

JX.Li 1 rok pred
rodič
commit
2a698612c6
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      src/views/zdsz/engineeringCivil/index.vue

+ 2 - 2
src/views/zdsz/engineeringCivil/index.vue

@@ -1373,6 +1373,7 @@ export default {
               type: 'success'
             });
             this.open = false
+            this.getList()
             console.log('选中节点集合', this.currentCheckList)
             this.currentCheckList = []
             // this.$emit('closeToSucceed')
@@ -1386,13 +1387,13 @@ export default {
               type: 'success'
             });
             this.open = false
+            this.getList()
             console.log('选中节点集合', this.currentCheckList)
             this.currentCheckList = []
             // this.$emit('closeToSucceed')
           }
         })
       }
-
       return
       getDictList({enginType: ['new_built', 'old_renovation']}).then(res => {
         this.nodeList = res.data
@@ -1456,7 +1457,6 @@ export default {
             updateEngineeringCivil(this.form).then(response => {
               this.$modal.msgSuccess("修改成功");
               this.open = false;
-
               this.getList();
             }).finally(() => {
               this.buttonLoading = false;