245 lines
11 KiB
JavaScript
245 lines
11 KiB
JavaScript
export default {
|
|
ConstSelect: {
|
|
Status: [
|
|
{ label: '无效', value: '0' },
|
|
{ label: '有效', value: '1' }
|
|
],
|
|
|
|
Whether: [
|
|
{ label: '否', value: false },
|
|
{ label: '是', value: true }
|
|
],
|
|
|
|
LinkTypeList: [
|
|
{ label: '起始Link', value: '0' },
|
|
{ label: '正向Link', value: '1' },
|
|
{ label: '侧向Link', value: '2' }
|
|
],
|
|
|
|
LinkDriectTypeList: [
|
|
{ label: '左侧', value: 'L' },
|
|
{ label: '右侧', value: 'R' }
|
|
],
|
|
|
|
DirectionCodeList: [
|
|
{ value: '2', label: '上行' },
|
|
{ value: '1', label: '下行' }
|
|
],
|
|
|
|
SignalLeftOrRightList: [
|
|
{ label: '左侧', value: 'L' },
|
|
{ label: '右侧', value: 'R' }
|
|
],
|
|
|
|
roleList: [
|
|
{ label: '实训用户', value: '01' },
|
|
{ label: '地图生产者', value: '02' },
|
|
{ label: '课程生成者', value: '03' },
|
|
{ label: '系统管理员', value: '04' },
|
|
{ label: '超级管理员', value: '05' },
|
|
{ label: '销售用户', value: '06' }
|
|
],
|
|
|
|
examResultList: [
|
|
{ label: '未计算', value: '01' },
|
|
{ label: '通过', value: '02' },
|
|
{ label: '未通过', value: '03' },
|
|
{ label: '已放弃', value: '04' }
|
|
],
|
|
|
|
PermissionUseList: [
|
|
{ label: '公用', value: true },
|
|
{ label: '专用', value: false }
|
|
],
|
|
|
|
PermissionUseListEn: [
|
|
{ label: 'Public', value: true },
|
|
{ label: 'Private', value: false }
|
|
],
|
|
|
|
RegionTypeList: [
|
|
{ label: '零点西上行', value: '01' },
|
|
{ label: '零点西下行', value: '02' },
|
|
{ label: '零西渡线/', value: '03' },
|
|
{ label: '零西渡线\\', value: '04' },
|
|
{ label: 'PGY一联段线', value: '05' },
|
|
{ label: '零点东上行', value: '06' },
|
|
{ label: '零点东下行', value: '07' },
|
|
{ label: '零东渡线/', value: '08' },
|
|
{ label: '零东渡线\\', value: '09' },
|
|
{ label: '库线1', value: '10' },
|
|
{ label: '库线2', value: '11' },
|
|
{ label: '库线渡线/', value: '12' },
|
|
{ label: '库线渡线\\', value: '13' },
|
|
{ label: '联络线1', value: '14' },
|
|
{ label: '联络线2', value: '15' },
|
|
{ label: 'SHZ一联段线', value: '16' },
|
|
{ label: 'SHZ二联段线', value: '17' },
|
|
{ label: 'SHD三联段线', value: '18' },
|
|
{ label: 'SHD四联段线', value: '19' }
|
|
],
|
|
roleType: [
|
|
{label: '管理员', value: 'Admin', enLabel: 'Admin '},
|
|
{label: '教员', value: 'Instructor', enLabel: 'Instructor '},
|
|
{label: '行调', value: 'Dispatcher', enLabel: 'Dispatcher '},
|
|
{label: '行值', value: 'Attendant', enLabel: 'Attendant '},
|
|
{label: '观众', value: 'Audience', enLabel: 'Audience '},
|
|
{label: '司机', value: 'Driver', enLabel: 'Driver '},
|
|
{label: '通号', value: 'Repair', enLabel: 'Repairman '}
|
|
],
|
|
roleTypeNew:[
|
|
{label: '管理员', value: 'ADMIN', enLabel: 'Admin '},
|
|
{label: '教员', value: 'Instructor', enLabel: 'Instructor '},
|
|
{label: '行值', value: 'STATION_SUPERVISOR', enLabel: 'Attendant '},
|
|
{label: '观众', value: 'AUDIENCE', enLabel: 'Audience '},
|
|
{label: '司机', value: 'DRIVER', enLabel: 'Driver '},
|
|
{label: '通号', value: 'MAINTAINER', enLabel: 'Repairman '},
|
|
{label: '车辆段调度', value: 'DEPOT_DISPATCHER', enLabel: 'Depot dispatcher '},
|
|
{label: '工电调度', value: 'ELECTRIC_DISPATCHER', enLabel: 'Electric dispatcher'},
|
|
{label: '行调', value: 'DISPATCHER', enLabel: 'Dispatcher '},
|
|
{label: '上级部门', value: 'PARENT_DEPARTMENT', enLabel: 'Parent_department'}
|
|
|
|
],
|
|
SimulationType: [
|
|
{ label: '实训', value: 'Training'},
|
|
{ label: '仿真(行调/现地/司机)', value: 'Simulation'},
|
|
{ label: '综合演练', value: 'Joint'},
|
|
{ label: '大屏', value: 'BigScreen'},
|
|
{ label: '琏计划', value: 'RunPlan'},
|
|
{ label: '剧本录制', value: 'ScriptWrite'}
|
|
],
|
|
|
|
skinCode: [
|
|
{ label: '福州一号线', value: '02'},
|
|
{ label: '北京一号线', value: '03'},
|
|
{ label: '成都三号线', value: '04'},
|
|
{ label: '北京八通线', value: '05'}
|
|
],
|
|
releaseReview: [
|
|
{ enlabel: 'Unpublished', label: '未发布', value: '0'},
|
|
{ enlabel: 'Pending review', label: '待审核', value: '1'},
|
|
{ enlabel: 'Successfully released', label: '发布成功', value: '2'},
|
|
{ enlabel: 'Overrule', label: '被驳回', value: '3'}
|
|
],
|
|
productType: [
|
|
{ enlabel: 'Lesson System', label: '教学系统', value: 'Lesson'},
|
|
{ enlabel: 'Exam System', label: '考试系统', value: 'Exam'},
|
|
{ enlabel: 'Simulation System', label: '仿真系统', value: 'Simulation'},
|
|
{ enlabel: 'Plan Draw', label: '运行图编制', value: 'Plan'}
|
|
],
|
|
customeredProductType: [
|
|
{ enlabel: 'Plan Draw', label: '运行图编制', value: 'Plan'}
|
|
],
|
|
|
|
controlMode: [
|
|
{ label: '中控', value: 'OperateCenterControl' },
|
|
{ label: '站控', value: 'LocalStationControl' },
|
|
{ label: '紧急站控', value: 'EmergencyStationControl' }
|
|
],
|
|
|
|
simulationRole: [
|
|
{ label: '行调操作', value: 'Center' },
|
|
{ label: '现地操作', value: 'Local' }
|
|
],
|
|
|
|
deviceTypeList: [
|
|
{ label: '区段', value: 'Section' },
|
|
{ label: '道岔', value: 'Switch' },
|
|
{ label: '信号机', value: 'Signal' },
|
|
{ label: '站台', value: 'Stand' },
|
|
{ label: '车站', value: 'Station' },
|
|
{ label: '控制模式', value: 'ControlConvertMenu' },
|
|
{ label: '车次窗', value: 'TrainWindow' },
|
|
{ label: '全线限速', value: 'LimitControl' },
|
|
{ label: '司机', value: 'Driver' },
|
|
{ label: '列车', value: 'Train' },
|
|
{ label: '方向杆', value: 'DirectionRod'}
|
|
],
|
|
|
|
simulationDeviceList:[
|
|
{label:'区段', value:'SECTION'},
|
|
{label:'计轴器', value:'AXLE_COUNTER'},
|
|
{label:'道岔', value:'SWITCH'},
|
|
{label:'信号机', value:'SIGNAL'},
|
|
{label:'车站', value:'STATION'},
|
|
{label:'站台', value:'STAND'},
|
|
{label:'屏蔽门', value:'PSD'},
|
|
{label:'紧急停车按钮', value:'ESP'},
|
|
{label:'区域控制器', value:'ZC'},
|
|
{label:'线路控制器', value:'LC'},
|
|
{label:'进路', value:'ROUTE'},
|
|
{label:'进路延续保护', value:'OVERLAP'},
|
|
{label:'自动信号', value:'AUTO_SIGNAL'},
|
|
{label:'自动折返', value:'CYCLE'},
|
|
{label:'列车', value:'TRAIN'},
|
|
{label:'列车门', value:'TRAIN_DOOR'},
|
|
{label:'交路', value:'ROUTING'},
|
|
{label:'站间运行等级', value:'RUN_LEVEL'}
|
|
],
|
|
|
|
showConditionsList: [
|
|
{ enlabel:'Local&Center', label: '现地&行调', value: '01'},
|
|
{ enlabel:'Local', label: '现地', value: '02' },
|
|
{ enlabel:'Center', label: '行调', value: '03'}
|
|
],
|
|
|
|
QuestionTypeList: [
|
|
{ label: '选择题', value: 'select' },
|
|
{ label: '判断题', value: 'judge' }
|
|
],
|
|
// 新版的产品类型枚举
|
|
prdType:[
|
|
{ enlabel: 'ATS local workstation', label: 'ATS现地工作站', value: '01'},
|
|
{ enlabel: 'ATS Traffic dispatching workstation', label: 'ATS行调工作站', value: '02'},
|
|
{ enlabel: 'Comprehensive exercise cloud platform', label: '综合演练云平台', value: '03'},
|
|
{ enlabel: 'Driver simulation driving system', label: '司机模拟驾驶系统', value: '04'},
|
|
{ enlabel: 'Dispatch workstation', label: '派班工作站', value: '05'},
|
|
{ enlabel: 'ISCS workstation', label: 'ISCS工作站', value: '06'}
|
|
],
|
|
trainingPrdType: [
|
|
{ enlabel: 'ATS local workstation', label: 'ATS现地工作站', value: 'Local'},
|
|
{ enlabel: 'ATS Traffic dispatching workstation', label: 'ATS行调工作站', value: 'Center'}
|
|
],
|
|
trainingDeviceType: {
|
|
Switch: {enlabel: 'Switch training', label:'道岔实训'},
|
|
Section: {enlabel: 'Section training', label:'区段实训'},
|
|
Signal: {enlabel: 'Signal training', label:'信号机实训'},
|
|
Stand: {enlabel: 'Stand training', label:'站台实训'},
|
|
Station: {enlabel: 'Station training', label:'车站实训'},
|
|
ControlConvertMenu: {enlabel: 'Control mode training', label:'控制模式实训'},
|
|
LimitControl: {enlabel: 'Control mode limit', label:'全线限速实训'},
|
|
TrainWindow: {enlabel: 'TrainWindow training', label:'车次窗实训'},
|
|
Driver:{enlabel: 'Driver training', label:'司机实训'}
|
|
},
|
|
interfaceErrorConfig: {
|
|
'500000': { type: '权限错误:', message: '您尚未有该操作权限!'},
|
|
'500004': { type: '权限错误:', message: '您剩余的权限数量不足!'},
|
|
'500005': { type: '权限错误:', message: '您的权限时间已过!'},
|
|
'500006': { type: '权限错误:', message: '您已经领取,不能重复领取!'},
|
|
'500007': { type: '权限错误:', message: '剩余分发权限数量不足!'},
|
|
'500010': { type: '支付错误:', message: '微信统一支付调用失败!'}
|
|
},
|
|
projectDeviceTypeList:[
|
|
{label: '道岔', value: 'SWITCH'},
|
|
{label: '信号机', value:'SIGNAL'},
|
|
{label: '屏蔽门', value: 'PSD'},
|
|
{label: 'IBP盘', value: 'IBP'},
|
|
{label: '虚拟IBP盘', value: 'VR_IBP'},
|
|
{label: '教员机', value: 'IM'},
|
|
{label: '行调工作站', value: 'CW'},
|
|
{label: '现地工作站', value: 'LW'},
|
|
{label: '大屏工作站', value: 'LSW'},
|
|
{label: '列车驾驶终端', value: 'DRIVE'},
|
|
{label: '虚拟站台屏蔽门终端', value: 'VR_PSD'},
|
|
{label: '现地综合监控', value: 'ISCS_LW'},
|
|
{label: '中心综合监控', value: 'ISCS_CW'},
|
|
{label: '车辆段终端', value: 'DEPOT'},
|
|
{label: '虚拟CCTV', value: 'CCTV'},
|
|
{label: 'PLC网关', value: 'PLC_GATEWAY'},
|
|
{label: '端头控制盒', value: 'PSL'},
|
|
{label: 'PSC控制柜', value: 'PSC'},
|
|
{label: '虚拟电子沙盘', value: 'SANDBOX'}
|
|
]
|
|
}
|
|
};
|