代码调整
This commit is contained in:
parent
3af5629595
commit
9bbe93590c
@ -680,17 +680,75 @@ export const operateEnum = {
|
||||
// 运行计划编码
|
||||
}
|
||||
]
|
||||
},
|
||||
CTC_LOG_CANCEL_BLOCK:{
|
||||
isList:true,
|
||||
name:'取消闭塞',
|
||||
params:[
|
||||
{
|
||||
code:'stationCode',
|
||||
name:'车站为',
|
||||
function:getStationNameById
|
||||
},
|
||||
{
|
||||
code:'runPlanCode',
|
||||
name:'车次号',
|
||||
function:getTripNumberByCode
|
||||
// 运行计划编码
|
||||
}
|
||||
]
|
||||
},
|
||||
CTC_LOG_SET_KEY_TRAINS:{
|
||||
isList:true,
|
||||
name:'设置重点列车',
|
||||
params:[
|
||||
{
|
||||
code:'stationCode',
|
||||
name:'车站为',
|
||||
function:getStationNameById
|
||||
},
|
||||
{
|
||||
code:'runPlanCode',
|
||||
name:'车次号',
|
||||
function:getTripNumberByCode
|
||||
// 运行计划编码
|
||||
}
|
||||
]
|
||||
// status keyTrains
|
||||
},
|
||||
CTC_LOG_SET_TRANSFINITE:{
|
||||
isList:true,
|
||||
name:'设置超限',
|
||||
params:[
|
||||
{
|
||||
code:'stationCode',
|
||||
name:'车站为',
|
||||
function:getStationNameById
|
||||
},
|
||||
{
|
||||
code:'runPlanCode',
|
||||
name:'车次号',
|
||||
function:getTripNumberByCode
|
||||
// 运行计划编码
|
||||
},
|
||||
{
|
||||
code:'transfinite',
|
||||
name:'超限类型',
|
||||
result:[
|
||||
{code:'NO', name:'不超限'},
|
||||
{code:'TRANSFINITE_ONE_LEVEL', name:'一级超限'},
|
||||
{code:'TRANSFINITE_TWO_LEVEL', name:'二级超限'},
|
||||
{code:'TRANSFINITE_SUPER', name:'超级超限'}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
// CTC_LOG_CANCEL_BLOCK:{value: 'CTC_LOG_CANCEL_BLOCK', label: '取消闭塞'},
|
||||
|
||||
// CTC_LOG_SAVE_RUN_PLAN:{value: 'CTC_LOG_SAVE_RUN_PLAN', label: '保存运行计划'},
|
||||
// CTC_MODIFY_TRIP_NUMBER
|
||||
// 修改车次号(大铁CTC)
|
||||
|
||||
// CTC_LOG_SET_KEY_TRAINS:{value: 'CTC_LOG_SET_KEY_TRAINS', label: '设置重点列车'},
|
||||
// CTC_LOG_SET_ENTRY_OUT_DISCORDANT:{value: 'CTC_LOG_SET_ENTRY_OUT_DISCORDANT', label: '设置允许出入口与基本路径不一致'},
|
||||
// CTC_LOG_SET_TRACK_DISCORDANT:{value: 'CTC_LOG_SET_TRACK_DISCORDANT', label: '设置允许股道与基本路径不一致'},
|
||||
// CTC_LOG_SET_TRANSFINITE:{value: 'CTC_LOG_SET_TRANSFINITE', label: '设置超限'},
|
||||
// CTC_LOG_SAVE_RUN_PLAN:{value: 'CTC_LOG_SAVE_RUN_PLAN', label: '保存运行计划'},
|
||||
|
||||
},
|
||||
RAIL:{
|
||||
function: getRAILDevicename,
|
||||
@ -1029,7 +1087,8 @@ function getCTCDevicename(operationType) {
|
||||
'CTC_STATION_SEND_OUT_RUN_PLAN', 'CTC_CANCEL_TWINKLE',
|
||||
'CTC_MODIFY_TRIP_NUMBER', 'CTC_AGREE_NOTICE',
|
||||
'CTC_MODIFY_ADJACENT_STATION', 'CTC_MODIFY_SECTION', 'CTC_CANCEL_TWINKLE', 'CTC_LOG_SET_START_RUN_PLAN',
|
||||
'CTC_LOG_SET_END_RUN_PLAN', 'CTC_LOG_SET_DELETE_LABEL', 'CTC_LOG_CANCEL_ARRIVE', 'CTC_LOG_CANCEL_DEPARTURE'];
|
||||
'CTC_LOG_SET_END_RUN_PLAN', 'CTC_LOG_SET_DELETE_LABEL', 'CTC_LOG_CANCEL_ARRIVE', 'CTC_LOG_CANCEL_DEPARTURE',
|
||||
'CTC_LOG_CANCEL_BLOCK', 'CTC_LOG_SET_KEY_TRAINS', 'CTC_LOG_SET_TRANSFINITE'];
|
||||
if (operationType.includes('CTC_ZONE')) {
|
||||
deviceName = '请点击运行图';
|
||||
} else if (stationRPLogList.includes(operationType)) {
|
||||
|
Loading…
Reference in New Issue
Block a user