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];