From 470260e03dbb12328042a6caad03ae23e3d5683b Mon Sep 17 00:00:00 2001 From: fan Date: Mon, 17 Oct 2022 15:40:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/disStation.js | 9 +- .../newMap/display/terminals/dispatchCmd.vue | 1221 +++++++++++++++++ .../addDispatcherLogerRunplan.vue | 378 +++++ .../dispatcherLoger/deleteDispatcherLoger.vue | 111 ++ .../terminals/dispatcherLoger/index.vue | 491 +++++++ src/views/newMap/display/terminals/index.vue | 9 +- .../newMap/display/terminals/terminalMenu.vue | 8 +- .../dataRelation/disStationOperate/detail.vue | 4 +- .../mapoperate/simulationMember/index.vue | 140 +- .../publish/publishMap/editSubsystem.vue | 128 +- src/views/publish/publishMap/subsystem.vue | 23 +- 11 files changed, 2346 insertions(+), 176 deletions(-) create mode 100644 src/views/newMap/display/terminals/dispatchCmd.vue create mode 100644 src/views/newMap/display/terminals/dispatcherLoger/addDispatcherLogerRunplan.vue create mode 100644 src/views/newMap/display/terminals/dispatcherLoger/deleteDispatcherLoger.vue create mode 100644 src/views/newMap/display/terminals/dispatcherLoger/index.vue diff --git a/src/api/disStation.js b/src/api/disStation.js index 06e66e04a..8f6602d2b 100644 --- a/src/api/disStation.js +++ b/src/api/disStation.js @@ -24,10 +24,17 @@ export function deleteDisStation(mapId, code) { }); } // 获取调度台逻辑数据 -export function getDisStationList(mapId, data) { +export function getDisStationListPaged(mapId, data) { return request({ url: `/api/draftMap/${mapId}/disStation/page`, method: 'post', data }); } +/** 查询调度台列表 */ +export function getDisStationList(mapId) { + return request({ + url: `api/draftMap/${mapId}/disStation/list`, + method: 'get' + }); +} diff --git a/src/views/newMap/display/terminals/dispatchCmd.vue b/src/views/newMap/display/terminals/dispatchCmd.vue new file mode 100644 index 000000000..d415cf9e3 --- /dev/null +++ b/src/views/newMap/display/terminals/dispatchCmd.vue @@ -0,0 +1,1221 @@ + + + + diff --git a/src/views/newMap/display/terminals/dispatcherLoger/addDispatcherLogerRunplan.vue b/src/views/newMap/display/terminals/dispatcherLoger/addDispatcherLogerRunplan.vue new file mode 100644 index 000000000..1dd21c59a --- /dev/null +++ b/src/views/newMap/display/terminals/dispatcherLoger/addDispatcherLogerRunplan.vue @@ -0,0 +1,378 @@ + + + diff --git a/src/views/newMap/display/terminals/dispatcherLoger/deleteDispatcherLoger.vue b/src/views/newMap/display/terminals/dispatcherLoger/deleteDispatcherLoger.vue new file mode 100644 index 000000000..1f357064d --- /dev/null +++ b/src/views/newMap/display/terminals/dispatcherLoger/deleteDispatcherLoger.vue @@ -0,0 +1,111 @@ + + diff --git a/src/views/newMap/display/terminals/dispatcherLoger/index.vue b/src/views/newMap/display/terminals/dispatcherLoger/index.vue new file mode 100644 index 000000000..93d67c358 --- /dev/null +++ b/src/views/newMap/display/terminals/dispatcherLoger/index.vue @@ -0,0 +1,491 @@ + + + + diff --git a/src/views/newMap/display/terminals/index.vue b/src/views/newMap/display/terminals/index.vue index 6661ac105..a4495e116 100644 --- a/src/views/newMap/display/terminals/index.vue +++ b/src/views/newMap/display/terminals/index.vue @@ -10,10 +10,9 @@ - - + + - @@ -25,8 +24,8 @@ import { defaultCallback, stateCallback } from '@/utils/subscribeCallback'; import DispatcherWork from './dispatchWork'; import LocalWork from './localWork'; import TerminalMenu from './terminalMenu'; -import DispatchCmd from '@/views/dispatcherStationManage/dispatchCmd'; -import DispatcherLoger from '@/views/dispatcherLoger/index'; +import DispatchCmd from './dispatchCmd'; +import DispatcherLoger from './dispatcherLoger/index'; import Jl3dDrive from '@/views/jlmap3d/drive/jl3ddrive'; import Jl3dDevice from '@/views/jlmap3d/device/jl3ddevice'; import Jl3dPassflow from '@/views/jlmap3d/passflow/jl3dpassflow'; diff --git a/src/views/newMap/display/terminals/terminalMenu.vue b/src/views/newMap/display/terminals/terminalMenu.vue index f836b1a9f..e788e18bc 100644 --- a/src/views/newMap/display/terminals/terminalMenu.vue +++ b/src/views/newMap/display/terminals/terminalMenu.vue @@ -50,13 +50,13 @@ export default { name: '调度计划', code: 'schedulingPlan', roleList: ['DISPATCHER'], - click: this.schedulingPlan + click: this.changePictureShow }, { name: '调度命令', code: 'dispatchingCommand', roleList: ['DISPATCHER'], - click: this.dispatchingCommand + click: this.changePictureShow } ], 'subway': [ @@ -147,10 +147,6 @@ export default { this.active = code; this.$emit('popupTerminalShow', 'dispatcherLoger'); }, - dispatchingCommand(code) { - this.active = code; - this.$emit('popupTerminalShow', 'dispatchCmd'); - }, close() { this.active = 0; }, diff --git a/src/views/newMap/newMapdraft/dataRelation/disStationOperate/detail.vue b/src/views/newMap/newMapdraft/dataRelation/disStationOperate/detail.vue index bdf2a3655..fbcf18aa1 100644 --- a/src/views/newMap/newMapdraft/dataRelation/disStationOperate/detail.vue +++ b/src/views/newMap/newMapdraft/dataRelation/disStationOperate/detail.vue @@ -12,7 +12,7 @@