From 3131edd93b114cebdb6939c00f759432bc96a8c8 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 2 Aug 2022 10:33:35 +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/views/newMap/chatView/chatBox.vue | 6 ++++-- src/views/newMap/displayNew/dispatherContest/sceneList.vue | 3 ++- .../newMap/jointTrainingNew/memberManage/membersManage.vue | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/newMap/chatView/chatBox.vue b/src/views/newMap/chatView/chatBox.vue index e71f084ca..bf86c7238 100644 --- a/src/views/newMap/chatView/chatBox.vue +++ b/src/views/newMap/chatView/chatBox.vue @@ -487,8 +487,10 @@ export default { deviceManager[item.id] = this.memberData[item.id]; break; case 'TRAIN_MASTER': - this.memberData[item.id].label = '车务段段长-' + device.name + (item.name || ''); - this.memberData[item.id].labelName = '车务段段长-' + device.name + (item.name || ''); + // + device.name + // + device.name + this.memberData[item.id].label = '车务段段长-' + (item.name || ''); + this.memberData[item.id].labelName = '车务段段长-' + (item.name || ''); deviceManager[item.id] = this.memberData[item.id]; break; } diff --git a/src/views/newMap/displayNew/dispatherContest/sceneList.vue b/src/views/newMap/displayNew/dispatherContest/sceneList.vue index f42be9601..a33c4c9f7 100644 --- a/src/views/newMap/displayNew/dispatherContest/sceneList.vue +++ b/src/views/newMap/displayNew/dispatherContest/sceneList.vue @@ -270,7 +270,8 @@ export default { case 'TRAIN_MASTER': { const device = this.$store.getters['map/getDeviceByCode'](member.deviceCode); if (device) { - member.label = '车务段段长-' + device.name + (member.name ? member.name : ''); + // + device.name + member.label = '车务段段长-' + (member.name ? member.name : ''); member.deviceName = device.name; } break; diff --git a/src/views/newMap/jointTrainingNew/memberManage/membersManage.vue b/src/views/newMap/jointTrainingNew/memberManage/membersManage.vue index f13f48b51..bade70f1d 100644 --- a/src/views/newMap/jointTrainingNew/memberManage/membersManage.vue +++ b/src/views/newMap/jointTrainingNew/memberManage/membersManage.vue @@ -256,7 +256,8 @@ export default { deviceManagerList.push(this.memberData[item.id]); break; case 'TRAIN_MASTER': - this.memberData[item.id].labelName = '车务段段长-' + device.name + (item.name ? `-${item.name }` : ''); + // device.name; + this.memberData[item.id].labelName = '车务段段长-' + (item.name ? `-${item.name }` : ''); trainMasterList.push(this.memberData[item.id]); break; // DEVICE_MANAGER:'设备管理员' deviceManager