From fc2d9c1ff7cf658df013f42edee6324027a65439 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Thu, 16 Apr 2020 14:50:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8D=89=E7=A8=BF=E5=9C=B0=E5=9B=BE=E7=9A=84?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=92=8C=E5=AF=BC=E5=87=BA=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E5=8C=97=E4=BA=AC=E4=B8=80=E5=8F=B7?= =?UTF-8?q?=E7=BA=BF=E7=AB=99=E5=8F=B0=E5=AE=9E=E8=AE=AD=E6=93=8D=E4=BD=9C?= =?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/jmap/mapdraft.js | 8 + .../menus/dialog/standJumpStopControl.vue | 10 +- .../theme/beijing_01/operationConfig.js | 4 +- src/views/newMap/newDesignUser/demonList.vue | 42 ++--- .../newDesignUser/mapmanage/mapImport.vue | 154 ++++++++++++++++++ .../newDesignUser/mapmanage/operateMenu.vue | 25 ++- 6 files changed, 206 insertions(+), 37 deletions(-) create mode 100644 src/views/newMap/newDesignUser/mapmanage/mapImport.vue diff --git a/src/api/jmap/mapdraft.js b/src/api/jmap/mapdraft.js index ae0ec4b8b..bb3e91120 100644 --- a/src/api/jmap/mapdraft.js +++ b/src/api/jmap/mapdraft.js @@ -116,6 +116,14 @@ export function postBuildMapImport(data) { }); } +/** 草稿地图数据导出 */ +export function getBuildMapExport(mapId) { + return request({ + url: `/api/mapBuild/${mapId}/export`, + method: 'get' + }); +} + /** 查询进路列表*/ export function listRouteRoute(mapId, params) { return request({ diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/standJumpStopControl.vue b/src/jmapNew/theme/beijing_01/menus/dialog/standJumpStopControl.vue index 1a03fedbe..9c1ac42ef 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/standJumpStopControl.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/standJumpStopControl.vue @@ -167,7 +167,13 @@ export default { return this.dialogShow ? OperationHandler.getDomIdByOperation(this.operation) : ''; }, title() { - return '跳停'; + if (this.operation == OperationEvent.StationStand.setJumpStop.menu.operation) { + return '跳停'; + } else if (this.operation == OperationEvent.StationStand.cancelJumpStop.menu.operation) { + return '取消跳停'; + } else { + return ''; + } }, upstream() { return '02'; // 上行 @@ -199,7 +205,7 @@ export default { doShow(operate, selected) { this.selected = selected; if (!this.dialogShow) { - this.radio1 = '', + this.radio1 = ''; this.standName = ''; this.stationName = ''; if (selected) { diff --git a/src/jmapNew/theme/beijing_01/operationConfig.js b/src/jmapNew/theme/beijing_01/operationConfig.js index ec9594297..4952259ef 100644 --- a/src/jmapNew/theme/beijing_01/operationConfig.js +++ b/src/jmapNew/theme/beijing_01/operationConfig.js @@ -157,7 +157,7 @@ export default { productTypes: ['02'], stepVOList: [ { deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【停站时间控制】' }, - { deviceType: '06', orderNum: 2, operateCode: '5092', tip: '鼠标左键点击,选择【人工】', val: '02' }, + { deviceType: '06', orderNum: 2, operateCode: '5092', tip: '鼠标左键点击,选择【全人工】', val: '02' }, { deviceType: '06', orderNum: 3, operateCode: '5094', tip: '输入或鼠标点击,调整为【20】', val: '20' }, { deviceType: '06', orderNum: 4, operateCode: '509', tip: '鼠标左键点击【确认】按钮' } ] @@ -173,7 +173,7 @@ export default { productTypes: ['02'], stepVOList: [ { deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【停站时间控制】' }, - { deviceType: '06', orderNum: 2, operateCode: '5092', tip: '鼠标左键点击,选择【人工】', val: '02' }, + { deviceType: '06', orderNum: 2, operateCode: '5092', tip: '鼠标左键点击,选择【全人工】', val: '02' }, { deviceType: '06', orderNum: 3, operateCode: '5094', tip: '输入或鼠标点击,调整为【20】', val: '20' }, { deviceType: '06', orderNum: 4, operateCode: '5093', tip: '鼠标左键点击,选择【一次有效】', val: 'false' }, { deviceType: '06', orderNum: 5, operateCode: '509', tip: '鼠标左键点击【确认】按钮' } diff --git a/src/views/newMap/newDesignUser/demonList.vue b/src/views/newMap/newDesignUser/demonList.vue index 12ab4c737..f7369d751 100644 --- a/src/views/newMap/newDesignUser/demonList.vue +++ b/src/views/newMap/newDesignUser/demonList.vue @@ -14,12 +14,14 @@
+