From 746c54651adfe50cd28c78ce52f0a9b6b0216271 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Thu, 16 Jun 2022 15:20:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E9=93=81=E9=A1=B9=E7=9B=AE=20ctc=20?= =?UTF-8?q?=E8=BD=A6=E5=8A=A1=E7=AE=A1=E7=90=86=E7=AB=AF=20=E5=88=97?= =?UTF-8?q?=E8=BD=A6=E5=9B=BA=E5=AE=9A=E8=B7=AF=E5=BE=84=20=E5=A4=87?= =?UTF-8?q?=E4=BB=BD=20=20=E8=AE=A2=E9=98=85=E8=B7=AF=E5=BE=84=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/stomp.js | 2 +- src/views/bigTrainRunplanManage/addRunplan.vue | 7 ------- src/views/bigTrainRunplanManage/index.vue | 12 +++++++++--- .../terminalStationList.vue | 1 + .../bigTrainRunplanManage/trainFixedPath.vue | 16 +++++++++++++++- 5 files changed, 26 insertions(+), 12 deletions(-) diff --git a/src/utils/stomp.js b/src/utils/stomp.js index fd476909b..9608de56d 100644 --- a/src/utils/stomp.js +++ b/src/utils/stomp.js @@ -35,7 +35,7 @@ export function getTopic(type, group, stationCode) { topic = `/queue/simulation/${group}/ctc`; break; case 'CTC_MANAGE': - topic = `/queue/simulation/ctc/manage/${group}`; + topic = `/queue/simulation/${group}/ctc/manage`; break; } diff --git a/src/views/bigTrainRunplanManage/addRunplan.vue b/src/views/bigTrainRunplanManage/addRunplan.vue index 86c60d217..b84669c30 100644 --- a/src/views/bigTrainRunplanManage/addRunplan.vue +++ b/src/views/bigTrainRunplanManage/addRunplan.vue @@ -219,7 +219,6 @@ export default { this.loading = true; const param = {stationCode:this.addModel.stationCode, runPlanParamList:[this.addModel]}; commitOperate(menuOperate.CTC.addTrainFixedPath, param, 3).then(({valid})=>{ - debugger; if (valid) { this.doClose(); } @@ -401,12 +400,6 @@ export default { // top: -18px; // } - // .chengdou-03__systerm .el-dialog .context { - // height: 100px; - // border: 2px inset #E2E2E2; - // overflow-y: scroll; - // } - // .chengdou-03__systerm .el-dialog .notice { // margin-left: 62px; // line-height: 30px; diff --git a/src/views/bigTrainRunplanManage/index.vue b/src/views/bigTrainRunplanManage/index.vue index 3ad6bdf3b..6472a3181 100644 --- a/src/views/bigTrainRunplanManage/index.vue +++ b/src/views/bigTrainRunplanManage/index.vue @@ -103,11 +103,11 @@ export default { }); if (!findTab) { this.currentTabs.push(Object.assign( {name:name}, nameMap[name])); + this.$nextTick(()=>{ + this.$refs[this.activeTab][0].loadStation(); + }); } this.activeTab = name; - this.$nextTick(()=>{ - this.$refs[this.activeTab][0].loadStation(); - }); }, quit() { window.close(); @@ -296,4 +296,10 @@ border-left: 1px #94b6f0 solid;border-right: 1px #c9d3e0 solid;} .datie-02__systerm .el-dialog span.el-input__suffix .el-input__icon{ line-height:22px; } +.datie-02__systerm .el-dialog .context { + height: 100px; + border: 2px inset #E2E2E2; + overflow-y: scroll; + margin-bottom: 10px; +} diff --git a/src/views/bigTrainRunplanManage/terminalStationList.vue b/src/views/bigTrainRunplanManage/terminalStationList.vue index 42501fc92..5f6c4251b 100644 --- a/src/views/bigTrainRunplanManage/terminalStationList.vue +++ b/src/views/bigTrainRunplanManage/terminalStationList.vue @@ -75,6 +75,7 @@ export default { this.$emit('loadStationData', data.id); }, loadStation() { + this.treeList[0].children = []; this.stationList.forEach(station => { if (!station.depot) { this.treeList[0].children.push({id:station.code, label:station.name}); diff --git a/src/views/bigTrainRunplanManage/trainFixedPath.vue b/src/views/bigTrainRunplanManage/trainFixedPath.vue index 656da37dd..5e161c112 100644 --- a/src/views/bigTrainRunplanManage/trainFixedPath.vue +++ b/src/views/bigTrainRunplanManage/trainFixedPath.vue @@ -21,7 +21,7 @@