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/api/management/exam.js b/src/api/management/exam.js index a0a6b7e99..97cee7e97 100644 --- a/src/api/management/exam.js +++ b/src/api/management/exam.js @@ -214,3 +214,33 @@ export function getQuestionAmount(data) { data, }) } + +/** 试卷蓝图封存 + * @param {Number} pcId 试卷蓝图Id + */ +export function lockPaper(pcId) { + return request({ + url: `/api/v2/paper/composition/${pcId}/lock`, + method: 'PUT', + }) +} + +/** 试卷蓝图解封 + * @param {Number} pcId 试卷蓝图Id + */ +export function unlockPaper(pcId) { + return request({ + url: `/api/v2/paper/composition/${pcId}/unlock`, + method: 'PUT', + }) +} + +/** 试卷蓝图删除 + * @param {Number} pcId 试卷蓝图Id + */ +export function deletePaper(pcId) { + return request({ + url: `/api/v2/paper/composition/${pcId}`, + method: 'DELETE', + }) +} diff --git a/src/api/questionBank.js b/src/api/questionBank.js index 59f75097b..97147e046 100644 --- a/src/api/questionBank.js +++ b/src/api/questionBank.js @@ -11,7 +11,7 @@ export function listQuestionPage(params) { } // 标签列表 -export function getLableList() { +export function getLabelList() { return request({ url: `/api/question/org/label`, method: 'get' diff --git a/src/views/competitionManage/bankList/index.vue b/src/views/competitionManage/bankList/index.vue index 389f87a87..e44b7d67c 100644 --- a/src/views/competitionManage/bankList/index.vue +++ b/src/views/competitionManage/bankList/index.vue @@ -8,7 +8,7 @@ + + 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 @@