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

1修改安全信息文件上传样式

zhangym 2 éve
szülő
commit
c6535bb64a

+ 6 - 1
src/views/energyOperationSupport/components/securitys/pic2.vue

@@ -991,6 +991,8 @@ export default {
           that.updateNameData2(that.itemNode._cfg.id,arr2);
           that.uploadloading = false;
           that.$refs.upload1.clearFiles();
+          that.getGxNameData();
+          graph.changeData();
           location.reload();
         }
         else {
@@ -1022,7 +1024,9 @@ export default {
           });
           that.loading = false;
           that.$refs.upload2.clearFiles();
-          location.reload()
+          that.getGxNameData();
+          graph.changeData();
+          location.reload();
         }
         else {
           that.$message.error(res.message);
@@ -1030,6 +1034,7 @@ export default {
         }
         that.tableLoading = false;
         that.loading = false;
+        that.uploadloading = false;
       })
     },
     // 删除上传的文件