From b0f7d125a38d109c750d2e6d3c5882ca5c7cd525 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Wed, 1 Jul 2020 16:10:07 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E6=88=90=E9=83=BD=E4=B8=89=E5=8F=B7?=
=?UTF-8?q?=E7=BA=BF=E5=8F=B3=E9=94=AE=E6=93=8D=E4=BD=9C=E4=BB=A3=E7=A0=81?=
=?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../chengdu_03/menus/dialog/sectionDetail.vue | 10 ++---
.../theme/chengdu_03/menus/menuButton.vue | 11 ++---
.../theme/chengdu_03/menus/menuSection.vue | 42 ++++---------------
.../theme/components/utils/menuOperate.js | 5 +++
4 files changed, 20 insertions(+), 48 deletions(-)
diff --git a/src/jmapNew/theme/chengdu_03/menus/dialog/sectionDetail.vue b/src/jmapNew/theme/chengdu_03/menus/dialog/sectionDetail.vue
index f70667610..ebbdd8c4c 100644
--- a/src/jmapNew/theme/chengdu_03/menus/dialog/sectionDetail.vue
+++ b/src/jmapNew/theme/chengdu_03/menus/dialog/sectionDetail.vue
@@ -21,8 +21,8 @@
-
-
+
+
@@ -54,7 +54,7 @@ export default {
sectionName: '',
stationName: '',
kmPost: '',
- factLength: ''
+ lengthFact: ''
}
};
},
@@ -83,8 +83,8 @@ export default {
// 如果不是因为断点激活则需要,初始化菜单初始值
if (!this.dialogShow) {
if (selected && selected._type.toUpperCase() === 'Section'.toUpperCase()) {
- this.formModel.sectionName = selected.name;
- this.formModel.factLength = '';
+ this.formModel.sectionName = selected.parentCode ? selected.parentName + '-' + selected.name : selected.name;
+ this.formModel.lengthFact = selected.lengthFact;
const station = this.$store.getters['map/getDeviceByCode'](selected.stationCode);
if (station) {
this.formModel.stationName = station.name;
diff --git a/src/jmapNew/theme/chengdu_03/menus/menuButton.vue b/src/jmapNew/theme/chengdu_03/menus/menuButton.vue
index 9b2dc3c53..da0fc8655 100644
--- a/src/jmapNew/theme/chengdu_03/menus/menuButton.vue
+++ b/src/jmapNew/theme/chengdu_03/menus/menuButton.vue
@@ -1,5 +1,5 @@
-