From c3685d12acd44ad21bf9bb91ec69102ccd2ed281 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 13 Jun 2022 14:31:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E9=93=81=E9=A1=B9=E7=9B=AE=20?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=BB=88=E7=AB=AF=20=E8=BD=A6=E7=AB=99?= =?UTF-8?q?=E8=82=A1=E9=81=93=20=E9=A1=B5=E9=9D=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/bigTrainRunplanManage/index.vue | 8 +- .../bigTrainRunplanManage/stationTrack.vue | 146 +++++++++++++++++- .../bigTrainRunplanManage/trainFixedPath.vue | 44 +++++- 3 files changed, 189 insertions(+), 9 deletions(-) diff --git a/src/views/bigTrainRunplanManage/index.vue b/src/views/bigTrainRunplanManage/index.vue index 8fe27a1c1..26680236d 100644 --- a/src/views/bigTrainRunplanManage/index.vue +++ b/src/views/bigTrainRunplanManage/index.vue @@ -10,7 +10,7 @@
工作区选择
帮助
-
+
@@ -71,7 +71,6 @@ export default { this.currentTabs = tabs.filter(tab => tab.name !== targetName); }, addTab(name) { - debugger; const nameMap = {'StationTrack':{title:'车站股道', component:StationTrack }, 'TrainFixedPath':{title:'列车固定路径', component:TrainFixedPath}}; const findTab = this.currentTabs.find(tab=>{ return tab.name == name; @@ -80,6 +79,9 @@ export default { this.currentTabs.push(Object.assign( {name:name}, nameMap[name])); } this.activeTab = name; + }, + quit() { + window.close(); } // addTab(targetName) { // let newTabName = ++this.tabIndex + ''; @@ -133,7 +135,7 @@ export default { } + diff --git a/src/views/bigTrainRunplanManage/trainFixedPath.vue b/src/views/bigTrainRunplanManage/trainFixedPath.vue index a1e3fda57..f69ee81b0 100644 --- a/src/views/bigTrainRunplanManage/trainFixedPath.vue +++ b/src/views/bigTrainRunplanManage/trainFixedPath.vue @@ -1,14 +1,52 @@ + +