Browse Source

刷新提示

duy 1 month ago
parent
commit
5047828e75
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/views/manager/wbsinfo/edit.vue

+ 8 - 1
src/views/manager/wbsinfo/edit.vue

@@ -1208,7 +1208,7 @@
           <i
             class="el-icon-refresh-right marbottom10"
             @click="refreshnfoTable()"
-            style="font-size: 24px; color: rgb(37, 193, 99); cursor: pointer"
+            style="font-size: 24px; color: rgb(37, 193, 99); cursor: pointer" v-loading="nodeInfoTableLoad"
           ></i>
         </div>
         <el-table :data="nodeInfoTable" border style="width: 100%" height="400">
@@ -1547,6 +1547,8 @@ export default {
 
     return {
       loding: false,
+      nodeInfoTableLoad: false,
+
       formDatass: [],
       editElementFormTag: false,
       ImportElementdata: {},
@@ -2754,8 +2756,13 @@ export default {
         nodeId: this.jiedianId,
         type: 0,
       };
+      this.nodeInfoTableLoad = true;
       refrehPram(prams).then((res) => {
         console.log(res);
+         if (res.data.code == 200) {
+           this.nodeInfoTableLoad = false;
+          this.$message.success("刷新成功");
+        }
       });
     },
     delNodeInfo(key, obj) {