故障操作 添加手动开启屏蔽门
This commit is contained in:
parent
dff3b6b105
commit
cfdb7d3187
@ -302,6 +302,11 @@ export const menuOperate = {
|
|||||||
// 批量取消扣车
|
// 批量取消扣车
|
||||||
operation: OperationEvent.StationStand.cancelBulkBuckleTrain.menu.operation,
|
operation: OperationEvent.StationStand.cancelBulkBuckleTrain.menu.operation,
|
||||||
cmdType:CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN_ALL
|
cmdType:CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN_ALL
|
||||||
|
},
|
||||||
|
openPsdByHand:{
|
||||||
|
// 手动开启屏蔽门
|
||||||
|
operation: OperationEvent.StationStand.openPsdByHand.menu.operation,
|
||||||
|
cmdType:CMD.Stand.CMD_STAND_OPEN_PSD
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
StationControl:{
|
StationControl:{
|
||||||
|
@ -149,6 +149,11 @@ export default {
|
|||||||
handler: this.cancelStoppage,
|
handler: this.cancelStoppage,
|
||||||
cmdType:CMD.Stand.CMD_STAND_REMOVE_FAULT
|
cmdType:CMD.Stand.CMD_STAND_REMOVE_FAULT
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '手动开启屏蔽门',
|
||||||
|
handler: this.openPsdByHand,
|
||||||
|
cmdType: CMD.Stand.CMD_STAND_OPEN_PSD
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '触发故障管理',
|
label: '触发故障管理',
|
||||||
handler: this.triggerFaultManagement,
|
handler: this.triggerFaultManagement,
|
||||||
@ -317,6 +322,13 @@ export default {
|
|||||||
},
|
},
|
||||||
triggerFaultManagement() {
|
triggerFaultManagement() {
|
||||||
this.$store.dispatch('training/setTriggerFaultCount', this.selected);
|
this.$store.dispatch('training/setTriggerFaultCount', this.selected);
|
||||||
|
},
|
||||||
|
// 手动开启屏蔽门
|
||||||
|
openPsdByHand() {
|
||||||
|
commitOperate(menuOperate.StationStand.openPsdByHand, {standCode:this.selected.code}, 3).then(({valid, operate})=>{
|
||||||
|
}).catch(error=>{
|
||||||
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -183,7 +183,9 @@ export default {
|
|||||||
/** 查看站台状态 */
|
/** 查看站台状态 */
|
||||||
CMD_STAND_VIEW_STATUS:{value:'Stand_View_Status', label: '查看站台状态'},
|
CMD_STAND_VIEW_STATUS:{value:'Stand_View_Status', label: '查看站台状态'},
|
||||||
/** 站台总取消 */
|
/** 站台总取消 */
|
||||||
CMD_STAND_TOTAL_CANCLE:{value:'Stand_Total_Cancle', label: '站台总取消'}
|
CMD_STAND_TOTAL_CANCLE:{value:'Stand_Total_Cancle', label: '站台总取消'},
|
||||||
|
/** 手动开启屏蔽门 */
|
||||||
|
CMD_STAND_OPEN_PSD:{value:'Stand_Open_Psd', label: '手动开启屏蔽门'}
|
||||||
},
|
},
|
||||||
|
|
||||||
Station: {
|
Station: {
|
||||||
|
@ -1766,6 +1766,13 @@ export const OperationEvent = {
|
|||||||
operation: '518',
|
operation: '518',
|
||||||
domId: '_Tips-Stand-cancelDetainTrainAuto-Menu'
|
domId: '_Tips-Stand-cancelDetainTrainAuto-Menu'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// 手动开启屏蔽门
|
||||||
|
openPsdByHand:{
|
||||||
|
menu: {
|
||||||
|
operation: '519',
|
||||||
|
domId: '_Tips-Stand-openPsdByHand-Menu'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user