diff --git a/src/utils/simulation.js b/src/utils/simulation.js index bf9b156cc..53e79e929 100644 --- a/src/utils/simulation.js +++ b/src/utils/simulation.js @@ -15,7 +15,7 @@ export function covertMemberData (activeTrainList, resp) { lastData = JSON.parse(lastData); const lastMemberList = []; // const electricDispatcherList = []; - const deviceListData = [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []]; + const deviceListData = [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []]; const driverList = []; lastData.forEach((member, index)=>{ if (member.userId && member.userId == store.state.user.id) { @@ -37,7 +37,8 @@ export function covertMemberData (activeTrainList, resp) { member.label = member.type + name + userName; member.normalName = member.type + name; } - const deviceType = ['行调', '通号', '行值', '司机', '车辆段/停车场调度', '上级部门', '电力调度', '车辆段/停车场信号楼', '车站助理', '车站站长', '车站信号员', '车站客运员', '车站扳道员', '车站引导员', '车站工务工', '设备管理员', '车务段段长', '电力工务']; + const deviceType = ['行调', '通号', '行值', '司机', '车辆段/停车场调度', '上级部门', '电力调度', '车辆段/停车场信号楼', '车站助理', '车站站长', + '车站信号员', '车站客运员', '车站扳道员', '车站引导员', '车站工务工', '设备管理员', '车务段段长', '电力工务', '值班站长', '站务员']; /** * 车站助理 diff --git a/src/views/newMap/display/memberManage/membersManage.vue b/src/views/newMap/display/memberManage/membersManage.vue index 1da3d33cb..09789cbb3 100644 --- a/src/views/newMap/display/memberManage/membersManage.vue +++ b/src/views/newMap/display/memberManage/membersManage.vue @@ -266,7 +266,7 @@ export default { stationAssistantList.push(this.memberData[item.id]); break; case 'STATION_HEAD': - this.memberData[item.id].labelName = '车站站长' + device.name + (item.name ? `-${item.name }` : ''); + this.memberData[item.id].labelName = '值班站长' + device.name + (item.name ? `-${item.name }` : ''); stationHeadList.push(this.memberData[item.id]); break; case 'STATION_ATTENDANT': @@ -391,7 +391,7 @@ export default { children: stationMasterList }, { - labelName: '车站站长', + labelName: '值班站长', id: 'stationHead', memberType: 'STATION_HEAD', children: stationHeadList