实训编制调整
This commit is contained in:
parent
90d52176f2
commit
16d9ee72bb
@ -15,7 +15,7 @@ export function covertMemberData (activeTrainList, resp) {
|
|||||||
lastData = JSON.parse(lastData);
|
lastData = JSON.parse(lastData);
|
||||||
const lastMemberList = [];
|
const lastMemberList = [];
|
||||||
// const electricDispatcherList = [];
|
// const electricDispatcherList = [];
|
||||||
const deviceListData = [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []];
|
const deviceListData = [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []];
|
||||||
const driverList = [];
|
const driverList = [];
|
||||||
lastData.forEach((member, index)=>{
|
lastData.forEach((member, index)=>{
|
||||||
if (member.userId && member.userId == store.state.user.id) {
|
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.label = member.type + name + userName;
|
||||||
member.normalName = member.type + name;
|
member.normalName = member.type + name;
|
||||||
}
|
}
|
||||||
const deviceType = ['行调', '通号', '行值', '司机', '车辆段/停车场调度', '上级部门', '电力调度', '车辆段/停车场信号楼', '车站助理', '车站站长', '车站信号员', '车站客运员', '车站扳道员', '车站引导员', '车站工务工', '设备管理员', '车务段段长', '电力工务'];
|
const deviceType = ['行调', '通号', '行值', '司机', '车辆段/停车场调度', '上级部门', '电力调度', '车辆段/停车场信号楼', '车站助理', '车站站长',
|
||||||
|
'车站信号员', '车站客运员', '车站扳道员', '车站引导员', '车站工务工', '设备管理员', '车务段段长', '电力工务', '值班站长', '站务员'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 车站助理
|
* 车站助理
|
||||||
|
@ -266,7 +266,7 @@ export default {
|
|||||||
stationAssistantList.push(this.memberData[item.id]);
|
stationAssistantList.push(this.memberData[item.id]);
|
||||||
break;
|
break;
|
||||||
case 'STATION_HEAD':
|
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]);
|
stationHeadList.push(this.memberData[item.id]);
|
||||||
break;
|
break;
|
||||||
case 'STATION_ATTENDANT':
|
case 'STATION_ATTENDANT':
|
||||||
@ -391,7 +391,7 @@ export default {
|
|||||||
children: stationMasterList
|
children: stationMasterList
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
labelName: '车站站长',
|
labelName: '值班站长',
|
||||||
id: 'stationHead',
|
id: 'stationHead',
|
||||||
memberType: 'STATION_HEAD',
|
memberType: 'STATION_HEAD',
|
||||||
children: stationHeadList
|
children: stationHeadList
|
||||||
|
Loading…
Reference in New Issue
Block a user