国赛取消注释 取消临时限速函数

This commit is contained in:
fan 2021-02-05 16:30:11 +08:00
parent 18b5688cdf
commit 3b0536704d
2 changed files with 11 additions and 49 deletions

View File

@ -299,44 +299,6 @@ export default {
}
]
},
{
title: '车站定位',
operate: '',
children: [
]
},
{
title: 'ATS终端操作',
operate: '',
children: [
{
title: '当天运行车计划',
click: this.undeveloped
},
{
title: '出入库预告',
click: this.undeveloped
}
]
},
{
title: '计划车操作',
operate: '',
children: [
{
title: '添加计划车',
click: this.undeveloped
},
{
title: '平移计划车',
click: this.undeveloped
},
{
title: '删除计划车',
click: this.undeveloped
}
]
},
{
title: '批处理命令',
operate: OperationEvent.Command.mBar.detainControl,

View File

@ -293,17 +293,17 @@ export default {
}
});
},
// cancelSpeed() {
// let sectionCode = this.selected.code;
// if (this.selected.type == '02' || this.selected.type == '03') {
// sectionCode = this.selected.parentCode;
// }
// commitOperate(menuOperate.Section.cancelSpeed, {sectionCode:sectionCode}).then(({valid, operate})=>{
// if (valid) {
// this.$refs.speedLimitControl.doShow(operate, this.selected);
// }
// });
// },
cancelSpeed() {
let sectionCode = this.selected.code;
if (this.selected.type == '02' || this.selected.type == '03') {
sectionCode = this.selected.parentCode;
}
commitOperate(menuOperate.Section.cancelSpeed, {sectionCode:sectionCode}).then(({valid, operate})=>{
if (valid) {
this.$refs.speedLimitControl.doShow(operate, this.selected);
}
});
},
//
setStoppage() {
commitOperate(menuOperate.Common.setFault, { code: this.selected.code }, 0).then(({valid, operate})=>{