代码调整

This commit is contained in:
joylink_cuiweidong 2022-08-04 17:25:34 +08:00
parent 425a350d07
commit 9480cd310b

View File

@ -513,7 +513,61 @@ export const operateEnum = {
// 运行计划编码
}
]
},
CTC_STATION_SIGN_RUN_PLAN:{
isList:true,
name:'签收阶段计划',
params:[
{
code:'stationCode',
name:'车站为',
function:getStationNameById
}
]
},
CTC_STATION_SEND_OUT_RUN_PLAN:{
isList:true,
name:'车站发送计划',
params:[
{
code:'stationCode',
name:'车站为',
function:getStationNameById
}
]
},
CTC_MODIFY_ADJACENT_STATION:{
isList:true,
name:'修改邻站信息',
params:[
{
code:'stationCode',
name:'车站为',
function:getStationNameById
},
{
code:'runPlanCode',
name:'车次号',
function:getTripNumberByCode
// 运行计划编码
},
{
code:'arriveStationCode',
name:'到达车站为',
function:getStationNameById
},
{
code:'departStationCode',
name:'发车车站为',
function:getStationNameById
}
]
}
// CTC_MODIFY_SECTION
// 修改股道
// CTC_CANCEL_TWINKLE
// 车站取消红闪
// CTC_MODIFY_ADJACENT_STATION:{value: 'CTC_MODIFY_ADJACENT_STATION', label: '修改邻站信息'},
},
RAIL:{
function: getRAILDevicename,
@ -588,11 +642,6 @@ export const operateEnum = {
// ticketId
// memberId
}
// CMD_RAIL_FILL_IN_TICKET: {value: 'RAIL_FILL_IN_TICKET', label: '填写票据'},
// CMD_RAIL_QUERY_TICKET: {value: 'RAIL_QUERY_TICKET', label: '查询票据'},
// CMD_RAIL_FILL_IN_REGISTER: {value: 'RAIL_FILL_IN_REGISTER', label: '填写行车簿册'},
// CMD_RAIL_QUERY_REGISTER: {value: 'RAIL_QUERY_REGISTER', label: '查询行车簿册'},
// CMD_RAIL_GIVE_TICKET_TO: {value: 'RAIL_GIVE_TICKET_TO', label: '给出票据'}
}
//
};
@ -853,6 +902,7 @@ function covertDeviceName(deviceInfo, deviceType) {
function getCTCDevicename(operationType) {
let deviceName = '';
const stationRPLogList = ['CTC_SEND_NOTICE', 'CTC_MODIFY_SECTION',
'CTC_STATION_SIGN_RUN_PLAN',
'CTC_STATION_SEND_OUT_RUN_PLAN', 'CTC_CANCEL_TWINKLE',
'CTC_MODIFY_TRIP_NUMBER', 'CTC_AGREE_NOTICE',
'CTC_MODIFY_ADJACENT_STATION'];