|
|
@@ -132,7 +132,15 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
goWork(scope) {
|
|
|
- console.log("可跳转至【服务工单】对应数据详情页", scope);
|
|
|
+ let route = this.$route;
|
|
|
+ if (route.path !== "/workOrderManageDetail") {
|
|
|
+ this.oldRoute = { path: route.path, query: route.query };
|
|
|
+ this.$store.dispatch("setHistoryRouter", this.oldRoute);
|
|
|
+ }
|
|
|
+ this.$router.push({
|
|
|
+ path: "/workOrderManageDetail",
|
|
|
+ query: { id: scope.sc_workorderid },
|
|
|
+ });
|
|
|
},
|
|
|
async listData() {
|
|
|
this.params.content.sc_serviceformid = this.$route.query.id;
|