宁波一号线计轴复位区段筛选调整&车站字体大小判断调整&注释宁波一号线车站上电解锁

This commit is contained in:
fan 2023-05-30 09:50:51 +08:00
parent 80007a7521
commit 177bb78883
3 changed files with 12 additions and 12 deletions

View File

@ -21,7 +21,7 @@ class EStationText extends Group {
x: model.computedPosition.x,
y: model.computedPosition.y,
fontWeight: style.Station.stationText.fontWeight,
fontSize: isNaN(Number(model.nameFont)) ? 20 : Number(model.nameFont),
fontSize: model.nameFont || 20,
fontFamily: style.fontFamily,
text: model.number ? model.number + model.name : model.name,
textAlign: 'middle',

View File

@ -54,7 +54,7 @@ export default {
loading: false,
operation: '',
sectionCode: '',
selected: null
selected: null
};
},
computed: {
@ -64,7 +64,7 @@ export default {
switchAndPhySicalSectionList() {
let list = [];
if (this.sectionList && this.sectionList.length) {
list = this.sectionList.filter(elem => { return elem.type === '01' || elem.type === '03'; });
list = this.sectionList.filter(elem => { return elem.type === '01' || elem.type === '04'; });
}
return list;
},
@ -93,9 +93,9 @@ export default {
},
methods: {
doShow(operate, selected) {
this.$root.$emit('dialogOpen', selected);
this.$root.$emit('dialogOpen', selected);
if (!this.dialogShow) {
this.selected = selected;
this.selected = selected;
this.sectionCode = '';
this.operation = operate.operation || '';
}
@ -107,7 +107,7 @@ export default {
doClose() {
this.loading = false;
this.dialogShow = false;
this.$root.$emit('dialogClose', this.selected);
this.$root.$emit('dialogClose', this.selected);
this.$store.dispatch('training/emitTipFresh');
},
sectionSelectChange() {

View File

@ -61,12 +61,12 @@ export default {
cmdType: CMD.Station.CMD_STATION_CANCEL_CI_AUTO_TRIGGER,
isShow: (selected, work) => work == 'localWork'
},
{
label: '上电解锁',
handler: this.powerUnLock,
cmdType: CMD.Station.CMD_STATION_POWER_ON_UNLOCK,
isShow: (selected, work) => work == 'localWork'
},
// {
// label: '',
// handler: this.powerUnLock,
// cmdType: CMD.Station.CMD_STATION_POWER_ON_UNLOCK,
// isShow: (selected, work) => work == 'localWork'
// },
// {
// label: '',
// handler: this.execKeyOperationTest,