From 2e48ac5cc6658121468b82f7d4a07bea2d7fbe27 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 26 Jul 2022 13:30:27 +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 | 36 ++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/src/views/newMap/chatView/chatBox.vue b/src/views/newMap/chatView/chatBox.vue index 9d44fa824..57285ac56 100644 --- a/src/views/newMap/chatView/chatBox.vue +++ b/src/views/newMap/chatView/chatBox.vue @@ -1113,6 +1113,14 @@ export default { const temMaintainerList = []; const temDriverList = []; const temDepotDispatcherList = []; + const temStationAssistList = []; + const temStationMasterList = []; + const temStationSignalerList = []; + const temStationPassengerList = []; + const temStationSwitchManList = []; + const temStationFacilitatorList = []; + const temStationWorkerList = []; + const temDeviceManagerList = []; this.$store.state.training.memberList.forEach(item =>{ switch (item.type) { case 'DISPATCHER': @@ -1130,9 +1138,35 @@ export default { case 'DEPOT_DISPATCHER': temDepotDispatcherList.push({memberId: item.id, connect:true }); break; + case 'STATION_ASSISTANT': + temStationAssistList.push({memberId: item.id, connect:true }); + break; + case 'STATION_MASTER': + temStationMasterList.push({memberId: item.id, connect:true }); + break; + case 'STATION_SIGNALER': + temStationSignalerList.push({memberId: item.id, connect:true }); + break; + case 'STATION_PASSENGER': + temStationPassengerList.push({memberId: item.id, connect:true }); + break; + case 'STATION_SWITCH_MAN': + temStationSwitchManList.push({memberId: item.id, connect:true }); + break; + case 'STATION_FACILITATOR': + temStationFacilitatorList.push({memberId: item.id, connect:true }); + break; + case 'STATION_WORKER': + temStationWorkerList.push({memberId: item.id, connect:true }); + break; + case 'DEVICE_MANAGER': + temDeviceManagerList.push({memberId: item.id, connect:true }); + break; } }); - this.commonMemberList = [...temDispatcherList, ...temStationSupervisorList, ...temMaintainerList, ...temDriverList, ...temDepotDispatcherList]; + this.commonMemberList = [...temDispatcherList, ...temStationSupervisorList, ...temMaintainerList, ...temDriverList, ...temDepotDispatcherList, + ...temStationAssistList, ...temStationMasterList, ...temStationSignalerList, ...temStationPassengerList, ...temStationSwitchManList, + ...temStationFacilitatorList, temStationWorkerList, temDeviceManagerList]; if (this.userRole == 'AUDIENCE' || this.commonConversation) { this.conversitionMemberList = []; this.messageList = [...this.commonMessageList];