Quellcode durchsuchen

保存wbs400后刷新右侧树

gangyj vor 3 Jahren
Ursprung
Commit
f1bdf11b01

+ 2 - 2
src/views/manager/contractinfo/detail.vue

@@ -1033,7 +1033,7 @@ export default {
       } catch (error) {
         this.btnLoad = false;
         if(this.activeType == '2'){
-          this.$router.go(0);
+          this.getRightTree();
         }
         return;
       }
@@ -1057,7 +1057,7 @@ export default {
       } catch (error) {
         this.btnLoad = false;
         if(this.activeType == '2'){
-          this.$router.go(0);
+          this.getRightTree();
         }
         return;
       }

+ 2 - 2
src/views/manager/projectinfo/detail.vue

@@ -632,7 +632,7 @@ export default {
       } catch (error) {
         this.btnLoad = false;
         if(this.activeType == '2'){
-          this.$router.go(0);
+          this.getRightTree();
         }
         return;
       }
@@ -656,7 +656,7 @@ export default {
       } catch (error) {
         this.btnLoad = false;
         if(this.activeType == '2'){
-          this.$router.go(0);
+          this.getRightTree();
         }
         return;
       }