From 02aa4a5b653f20ea7cf36b595effa4a1ea5c8815 Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Tue, 27 Aug 2019 15:02:55 +0800 Subject: [PATCH] =?UTF-8?q?desc:=20=E9=81=93=E5=B2=94=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E8=A1=A5=E5=85=85=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=90=8D=E7=A7=B0=EF=BC=8C=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/zh/map.js | 4 +-- .../map/mapdraft/mapedit/mapoperate/link.vue | 24 ++++++++++++---- .../mapdraft/mapedit/mapoperate/signal.vue | 22 +++++++-------- .../mapdraft/mapedit/mapoperate/station.vue | 2 +- .../mapedit/mapoperate/stationcontrol.vue | 2 +- .../mapdraft/mapedit/mapoperate/switch.vue | 28 +++++++++++++++---- src/views/map/mapdraft/mapmanage/edit.vue | 26 ++++++++--------- src/views/map/mapdraft/mapmanage/maplist.vue | 2 +- .../map/mapdraft/mapmanage/operateMenu.vue | 18 ++++++------ src/views/map/mapdraft/mapmanage/publish.vue | 9 ++++++ src/views/map/mapdraft/mapmanage/saveAs.vue | 6 ++++ 11 files changed, 95 insertions(+), 48 deletions(-) diff --git a/src/i18n/langs/zh/map.js b/src/i18n/langs/zh/map.js index d831c3238..7478e0c0e 100644 --- a/src/i18n/langs/zh/map.js +++ b/src/i18n/langs/zh/map.js @@ -254,7 +254,7 @@ export default { isCurve: '是否曲线:', physicalSegmentName: '物理区段名称:', - directionType: '形式方向:', + directionType: '行驶方向:', leftOrRight: '左右位置:', positionType: '上下位置:', @@ -312,7 +312,7 @@ export default { zzkContent: '站中控内容:', stationControlZok: '中控', - stationstandName: '选择车站名称:', + stationstandName: '所属车站:', stationstandDirection: '站台方向:', stationstandHasDoor: '是否显示屏蔽门:', stationstandNameColon: '站台名称:', diff --git a/src/views/map/mapdraft/mapedit/mapoperate/link.vue b/src/views/map/mapdraft/mapedit/mapoperate/link.vue index 5ce68e9bc..11e43b69e 100644 --- a/src/views/map/mapdraft/mapedit/mapoperate/link.vue +++ b/src/views/map/mapdraft/mapedit/mapoperate/link.vue @@ -171,14 +171,13 @@ export default { { prop: 'code', label: this.$t('map.linkCode'), type: 'select', optionLabel: 'name&&code', optionValue: 'code', options: this.linkList, change: true, deviceChange: this.deviceChange }, { prop: 'name', label: this.$t('map.linkName'), type: 'input' }, { prop: 'lp', label: this.$t('map.linkLp'), type: 'coordinate', width: '119px', children: [ - { prop: 'lp.x', firstLevel: 'lp', secondLevel: 'x', label: 'x:', type: 'number', labelWidth: '20px', disabled: false }, - { prop: 'lp.y', firstLevel: 'lp', secondLevel: 'y', label: 'y:', type: 'number', labelWidth: '20px', disabled: false } + { prop: 'lp.x', firstLevel: 'lp', secondLevel: 'x', label: 'x:', type: 'number', labelWidth: '25px', disabled: false }, + { prop: 'lp.y', firstLevel: 'lp', secondLevel: 'y', label: 'y:', type: 'number', labelWidth: '25px', disabled: false } ] }, { prop: 'rp', label: this.$t('map.linkRp'), type: 'coordinate', width: '119px', children: [ - { prop: 'rp.x', firstLevel: 'rp', secondLevel: 'x', label: 'x:', type: 'number', labelWidth: '20px', disabled: false }, - { prop: 'rp.y', firstLevel: 'rp', secondLevel: 'y', label: 'y:', type: 'number', labelWidth: '20px', disabled: false } + { prop: 'rp.x', firstLevel: 'rp', secondLevel: 'x', label: 'x:', type: 'number', labelWidth: '25px', disabled: false }, + { prop: 'rp.y', firstLevel: 'rp', secondLevel: 'y', label: 'y:', type: 'number', labelWidth: '25px', disabled: false } ] }, - { prop: 'color', label: this.$t('map.linkColor'), type: 'color' }, { prop: 'leftFdCode', label: this.$t('map.linkLeftFdCode'), type: 'select', optionLabel: 'name&&code', optionValue: 'code', options: this.linkLists }, { prop: 'leftSdCode', label: this.$t('map.linkLeftSdCode'), type: 'select', optionLabel: 'name&&code', optionValue: 'code', options: this.linkLists }, { prop: 'rightFdCode', label: this.$t('map.linkRightFdCode'), type: 'select', optionLabel: 'name&&code', optionValue: 'code', options: this.linkLists }, @@ -202,6 +201,21 @@ export default { ], name: [ { required: true, message: this.$t('rules.linkSelectName'), trigger: 'blur' } + ], + 'lp.x': [ + { required: true, message: this.$t('rules.linkSelectName'), trigger: 'blur' } + ], + 'lp.y': [ + { required: true, message: this.$t('rules.linkSelectName'), trigger: 'blur' } + ], + 'rp.x': [ + { required: true, message: this.$t('rules.linkSelectName'), trigger: 'blur' } + ], + 'rp.y': [ + { required: true, message: this.$t('rules.linkSelectName'), trigger: 'blur' } + ], + lengthFact: [ + { required: true, message: this.$t('rules.linkSelectName'), trigger: 'blur' } ] }; // 清空表单验证提示信息 diff --git a/src/views/map/mapdraft/mapedit/mapoperate/signal.vue b/src/views/map/mapdraft/mapedit/mapoperate/signal.vue index cb0208c70..1fd3d4dd5 100644 --- a/src/views/map/mapdraft/mapedit/mapoperate/signal.vue +++ b/src/views/map/mapdraft/mapedit/mapoperate/signal.vue @@ -24,16 +24,6 @@ /> - - - - - + + + + + { return elem.type === '01'; }); + list = this.sectionList.filter(elem => { return elem.type === '01' && !elem.isSwitchSection; }); } return list; }, diff --git a/src/views/map/mapdraft/mapedit/mapoperate/station.vue b/src/views/map/mapdraft/mapedit/mapoperate/station.vue index 2fc09c171..c6676f736 100644 --- a/src/views/map/mapdraft/mapedit/mapoperate/station.vue +++ b/src/views/map/mapdraft/mapedit/mapoperate/station.vue @@ -171,7 +171,7 @@ export default { PhysicalSectionList() { let list = []; if (this.sectionList && this.sectionList.length) { - list = this.sectionList.filter(elem => { return elem.type === '01'; }); + list = this.sectionList.filter(elem => { return elem.type === '01' && !elem.isSwitchSection; }); } return list; }, diff --git a/src/views/map/mapdraft/mapedit/mapoperate/stationcontrol.vue b/src/views/map/mapdraft/mapedit/mapoperate/stationcontrol.vue index 0763e761d..09d9d1c02 100644 --- a/src/views/map/mapdraft/mapedit/mapoperate/stationcontrol.vue +++ b/src/views/map/mapdraft/mapedit/mapoperate/stationcontrol.vue @@ -15,7 +15,7 @@ - + -