|
@@ -745,14 +745,15 @@
|
|
|
|
|
|
toAnotherMould(id){
|
|
toAnotherMould(id){
|
|
//简单粗暴的方法到另一个模具详情
|
|
//简单粗暴的方法到另一个模具详情
|
|
- var currentRoute = this.$route.path.split("/");
|
|
|
|
- if (currentRoute.length == 3 && currentRoute[1] == "moldList") {
|
|
|
|
- this.$router.go(0);
|
|
|
|
- }
|
|
|
|
- this.$router.replace('/moldList/' + id);
|
|
|
|
|
|
+ // var currentRoute = this.$route.path.split("/");
|
|
|
|
+ // if (currentRoute.length == 3 && currentRoute[1] == "moldList") {
|
|
|
|
+ // this.$router.go(0);
|
|
|
|
+ // }
|
|
|
|
+ // this.$router.replace('/moldList/' + id);
|
|
|
|
+
|
|
//更加简单粗暴地方法
|
|
//更加简单粗暴地方法
|
|
- // this.detailId = id;
|
|
|
|
- // this.getDetail();
|
|
|
|
|
|
+ this.detailId = id;
|
|
|
|
+ this.getDetail();
|
|
},
|
|
},
|
|
|
|
|
|
//标签页面切换时
|
|
//标签页面切换时
|
|
@@ -1633,7 +1634,6 @@
|
|
};
|
|
};
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- // this.getMsg();
|
|
|
|
this.getDetail();
|
|
this.getDetail();
|
|
}
|
|
}
|
|
};
|
|
};
|