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