宁波三操作调整
This commit is contained in:
parent
8d5de4cc1a
commit
7901886d3b
@ -90,6 +90,7 @@ class SkinCode extends defaultStyle {
|
||||
faultLockColor: '#81007F', // 区段故障锁定颜色
|
||||
undefinedColor: '#0071C1', // 区段未定义颜色
|
||||
blockColor: '#FE0000', // 区段封锁颜色(淡紫色)
|
||||
closedColor: '#EE0000',
|
||||
atcExcisionColor: '#A0522D', // 区段atc切除颜色
|
||||
atsExcisionColor: '#A0522D', // 区段ats切除颜色
|
||||
invalidColor: '#AC8F40', // 计轴故障颜色
|
||||
|
@ -157,7 +157,11 @@ export default class Section extends Group {
|
||||
section && section.instance && section.instance.line.setCrossRouteLock();
|
||||
}
|
||||
}
|
||||
|
||||
closeSection() {
|
||||
if (this.line) {
|
||||
this.line.setStyle({stroke: this.style.Section.line.closedColor});
|
||||
}
|
||||
}
|
||||
/** 非通信车占用状态 03*/
|
||||
unCommunicationOccupied() {
|
||||
if (this.style.Section.preAxleIgnoreFault && this.model.preReset) {
|
||||
@ -406,6 +410,8 @@ export default class Section extends Group {
|
||||
model.nctOccupied && this.unCommunicationOccupied();
|
||||
/** 通信车占用状态 */
|
||||
model.ctOccupied && this.communicationOccupied();
|
||||
/** 区段关闭 */
|
||||
model.closed && this.closeSection();
|
||||
// 计轴预复位
|
||||
model.preReset && this.preReset(model.blockade);
|
||||
/** 区段切除*/
|
||||
|
@ -112,6 +112,7 @@ export default {
|
||||
// 如果不是断点激活,而是第一次显示,则需要设置初始值
|
||||
this.dialogShow = true;
|
||||
this.selectedStandList = [];
|
||||
this.allChecked = false;
|
||||
this.$nextTick(function () {
|
||||
this.$store.dispatch('training/emitTipFresh');
|
||||
});
|
||||
@ -178,6 +179,7 @@ export default {
|
||||
this.selectedStandList.push(item.code);
|
||||
});
|
||||
}
|
||||
this.judgeStatus();
|
||||
},
|
||||
cancel() {
|
||||
const operate = {
|
||||
|
@ -121,6 +121,7 @@ export default {
|
||||
// 如果不是断点激活,而是第一次显示,则需要设置初始值
|
||||
this.dialogShow = true;
|
||||
this.selectedStandList = [];
|
||||
this.allChecked = false;
|
||||
this.$nextTick(function () {
|
||||
this.$store.dispatch('training/emitTipFresh');
|
||||
});
|
||||
@ -171,6 +172,7 @@ export default {
|
||||
this.selectedStandList.push(item.code);
|
||||
});
|
||||
}
|
||||
this.judgeStatus();
|
||||
},
|
||||
commit(isClose = false) {
|
||||
let step = {};
|
||||
|
@ -133,6 +133,8 @@ export default {
|
||||
doClose() {
|
||||
this.loading = false;
|
||||
this.dialogShow = false;
|
||||
this.mode = '';
|
||||
this.position = '';
|
||||
this.$refs.table.setCurrentRow();
|
||||
this.$store.dispatch('training/emitTipFresh');
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user