代码调整
This commit is contained in:
parent
9067b54e97
commit
3131edd93b
@ -487,8 +487,10 @@ export default {
|
|||||||
deviceManager[item.id] = this.memberData[item.id];
|
deviceManager[item.id] = this.memberData[item.id];
|
||||||
break;
|
break;
|
||||||
case 'TRAIN_MASTER':
|
case 'TRAIN_MASTER':
|
||||||
this.memberData[item.id].label = '车务段段长-' + device.name + (item.name || '');
|
// + device.name
|
||||||
this.memberData[item.id].labelName = '车务段段长-' + device.name + (item.name || '');
|
// + device.name
|
||||||
|
this.memberData[item.id].label = '车务段段长-' + (item.name || '');
|
||||||
|
this.memberData[item.id].labelName = '车务段段长-' + (item.name || '');
|
||||||
deviceManager[item.id] = this.memberData[item.id];
|
deviceManager[item.id] = this.memberData[item.id];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -270,7 +270,8 @@ export default {
|
|||||||
case 'TRAIN_MASTER': {
|
case 'TRAIN_MASTER': {
|
||||||
const device = this.$store.getters['map/getDeviceByCode'](member.deviceCode);
|
const device = this.$store.getters['map/getDeviceByCode'](member.deviceCode);
|
||||||
if (device) {
|
if (device) {
|
||||||
member.label = '车务段段长-' + device.name + (member.name ? member.name : '');
|
// + device.name
|
||||||
|
member.label = '车务段段长-' + (member.name ? member.name : '');
|
||||||
member.deviceName = device.name;
|
member.deviceName = device.name;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -256,7 +256,8 @@ export default {
|
|||||||
deviceManagerList.push(this.memberData[item.id]);
|
deviceManagerList.push(this.memberData[item.id]);
|
||||||
break;
|
break;
|
||||||
case 'TRAIN_MASTER':
|
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]);
|
trainMasterList.push(this.memberData[item.id]);
|
||||||
break;
|
break;
|
||||||
// DEVICE_MANAGER:'设备管理员' deviceManager
|
// DEVICE_MANAGER:'设备管理员' deviceManager
|
||||||
|
Loading…
Reference in New Issue
Block a user