diff --git a/src/views/designPlatform/demonList.vue b/src/views/designPlatform/demonList.vue index 8e5bec71d..e7b7658d6 100644 --- a/src/views/designPlatform/demonList.vue +++ b/src/views/designPlatform/demonList.vue @@ -100,8 +100,7 @@ export default { } case 'runPlanDesign': { setSessionStorage('designType', 'runPlanDesign'); - // ?skinCode=${obj.skinCode} - this.$router.push({ path: `${UrlConfig.design.runPlan}/${obj.mapId}` }); + this.$router.push({ path: `${UrlConfig.design.runPlan}/${obj.mapId}?lineCode=${obj.lineCode}` }); break; } case 'map': { @@ -152,7 +151,7 @@ export default { name: this.$t('designPlatform.runPlanDesign'), type: 'runPlanDesign', mapId: elem.id, - skinCode: elem.skinCode, + lineCode: elem.lineCode, cityCode: elem.cityCode } ); diff --git a/src/views/designUser/demonList.vue b/src/views/designUser/demonList.vue index b31533167..ee51dd45f 100644 --- a/src/views/designUser/demonList.vue +++ b/src/views/designUser/demonList.vue @@ -117,7 +117,7 @@ export default { type: 'runPlanDesign', mapId: elem.id, mapName: elem.name, - skinCode: elem.skinCode + lineCode: elem.lineCode } ]; }); @@ -139,8 +139,7 @@ export default { break; } case 'runPlanDesign': { - // ?skinCode=${obj.skinCode} - this.$router.push({ path: `${UrlConfig.designUser.runPlan}/${obj.mapId}` }); + this.$router.push({ path: `${UrlConfig.designUser.runPlan}/${obj.mapId}?lineCode=${obj.lineCode}` }); break; } } diff --git a/src/views/planMonitor/detail.vue b/src/views/planMonitor/detail.vue index 042721dee..a7671cec6 100644 --- a/src/views/planMonitor/detail.vue +++ b/src/views/planMonitor/detail.vue @@ -78,9 +78,6 @@ export default { height() { return this.$store.state.app.height - 60 - 30; }, - // skinCode() { - // return this.$route.query.skinCode || '02'; - // }, hasRelease() { return this.$store.state.user.roles.includes('04') || this.$store.state.user.roles.includes('05'); @@ -92,7 +89,7 @@ export default { } }, created() { - this.PlanConvert = this.$theme.loadPlanConvert(this.$route.query.skinCode); + this.PlanConvert = this.$theme.loadPlanConvert(this.$route.query.lineCode); }, mounted() { this.getRunPlanList(); diff --git a/src/views/planMonitor/editTool/menuBar.vue b/src/views/planMonitor/editTool/menuBar.vue index dbcdcea3a..25608c132 100644 --- a/src/views/planMonitor/editTool/menuBar.vue +++ b/src/views/planMonitor/editTool/menuBar.vue @@ -3,12 +3,12 @@