rt-sim-training-client/src/scripts/ConstConfig.js

242 lines
11 KiB
JavaScript
Raw Normal View History

2019-07-02 16:29:52 +08:00
export default {
2019-11-01 13:51:00 +08:00
ConstSelect: {
Status: [
{ label: '无效', value: '0' },
{ label: '有效', value: '1' }
],
2019-07-02 16:29:52 +08:00
2019-11-01 13:51:00 +08:00
Whether: [
{ label: '否', value: false },
{ label: '是', value: true }
],
2019-07-26 13:32:43 +08:00
2019-11-01 13:51:00 +08:00
LinkTypeList: [
{ label: '起始Link', value: '0' },
{ label: '正向Link', value: '1' },
{ label: '侧向Link', value: '2' }
],
2019-07-26 13:32:43 +08:00
2019-11-01 13:51:00 +08:00
LinkDriectTypeList: [
{ label: '左侧', value: 'L' },
{ label: '右侧', value: 'R' }
],
2019-07-26 13:32:43 +08:00
2019-11-01 13:51:00 +08:00
DirectionCodeList: [
{ value: '2', label: '上行' },
{ value: '1', label: '下行' }
],
2019-07-26 13:32:43 +08:00
2019-11-01 13:51:00 +08:00
SignalLeftOrRightList: [
{ label: '左侧', value: 'L' },
{ label: '右侧', value: 'R' }
2019-11-01 13:51:00 +08:00
],
2019-07-26 13:32:43 +08:00
2019-11-01 13:51:00 +08:00
roleList: [
{ label: '实训用户', value: '01' },
{ label: '地图生产者', value: '02' },
{ label: '课程生成者', value: '03' },
{ label: '系统管理员', value: '04' },
{ label: '超级管理员', value: '05' },
2020-05-20 17:19:45 +08:00
{ label: '销售用户', value: '06' }
2019-11-01 13:51:00 +08:00
],
2019-07-26 13:32:43 +08:00
2019-11-01 13:51:00 +08:00
examResultList: [
{ label: '未计算', value: '01' },
{ label: '通过', value: '02' },
{ label: '未通过', value: '03' },
{ label: '已放弃', value: '04' }
],
2019-07-26 13:32:43 +08:00
2019-11-01 13:51:00 +08:00
PermissionUseList: [
{ label: '公用', value: true },
{ label: '专用', value: false }
],
2019-07-26 13:32:43 +08:00
2019-11-01 13:51:00 +08:00
PermissionUseListEn: [
{ label: 'Public', value: true },
{ label: 'Private', value: false }
],
2019-07-26 13:32:43 +08:00
2019-11-01 13:51:00 +08:00
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 '}
],
2020-03-27 11:31:40 +08:00
roleTypeNew:[
{label: '管理员', value: 'ADMIN', enLabel: 'Admin '},
{label: '教员', value: 'Instructor', enLabel: 'Instructor '},
2020-03-27 11:31:40 +08:00
{label: '行值', value: 'STATION_SUPERVISOR', enLabel: 'Attendant '},
{label: '观众', value: 'AUDIENCE', enLabel: 'Audience '},
{label: '司机', value: 'DRIVER', enLabel: 'Driver '},
2020-06-05 14:22:46 +08:00
{label: '通号', value: 'MAINTAINER', enLabel: 'Repairman '},
{label: '车辆段调度', value: 'DEPOT_DISPATCHER', enLabel: 'Depot dispatcher '},
{label: '工电调度', value: 'ELECTRIC_DISPATCHER', enLabel: 'Electric dispatcher'},
{label: '行调', value: 'DISPATCHER', enLabel: 'Dispatcher '}
2020-03-27 11:31:40 +08:00
],
2019-11-01 13:51:00 +08:00
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'}
2019-11-18 14:29:43 +08:00
],
controlMode: [
2019-11-19 13:00:36 +08:00
{ label: '中控', value: 'OperateCenterControl' },
{ label: '站控', value: 'LocalStationControl' },
{ label: '紧急站控', value: 'EmergencyStationControl' }
2019-11-18 14:29:43 +08:00
],
simulationRole: [
{ label: '行调操作', value: 'Center' },
{ label: '现地操作', value: 'Local' }
2019-11-19 13:00:36 +08:00
],
deviceTypeList: [
{ label: '区段', value: 'Section' },
{ label: '道岔', value: 'Switch' },
{ label: '信号机', value: 'Signal' },
{ label: '站台', value: 'Stand' },
{ label: '车站', value: 'Station' },
2020-01-08 14:59:27 +08:00
{ label: '控制模式', value: 'ControlConvertMenu' },
2020-06-18 18:13:28 +08:00
{ label: '车次窗', value: 'TrainWindow' },
{ label: '全线限速', value: 'LimitControl' },
{ label: '司机', value: 'Driver' },
{ label: '列车', value: 'Train' }
],
2020-06-30 19:17:29 +08:00
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'}
],
2020-05-26 15:59:11 +08:00
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'},
2020-03-13 13:23:04 +08:00
{ enlabel: 'Dispatch workstation', label: '派班工作站', value: '05'},
{ enlabel: 'ISCS workstation', label: 'ISCS工作站', value: '06'}
2020-04-07 16:41:08 +08:00
],
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:'控制模式实训'},
2020-07-01 18:49:35 +08:00
LimitControl: {enlabel: 'Control mode limit', label:'全线限速实训'},
2020-08-25 13:44:18 +08:00
TrainWindow: {enlabel: 'TrainWindow training', label:'车次窗实训'},
Driver:{enlabel: 'Driver training', label:'司机实训'}
2020-04-23 09:34:54 +08:00
},
interfaceErrorConfig: {
'500000': { type: '权限错误:', message: '您尚未有该操作权限!'},
'500004': { type: '权限错误:', message: '您剩余的权限数量不足!'},
'500005': { type: '权限错误:', message: '您的权限时间已过!'},
'500006': { type: '权限错误:', message: '您已经领取,不能重复领取!'},
'500007': { type: '权限错误:', message: '剩余分发权限数量不足!'},
'500010': { type: '支付错误:', message: '微信统一支付调用失败!'}
2020-07-07 16:30:06 +08:00
},
projectDeviceTypeList:[
{label: '道岔', value: 'SWITCH'},
{label: '信号机', value:'SIGNAL'},
{label: '屏蔽门', value: 'PSD'},
{label: 'IBP盘', value: 'IBP'},
2020-07-10 18:30:37 +08:00
{label: '虚拟IBP盘', value: 'VR_IBP'},
2020-07-07 16:30:06 +08:00
{label: '教员机', value: 'IM'},
{label: '行调工作站', value: 'CW'},
2020-07-09 10:25:04 +08:00
{label: '现地工作站', value: 'LW'},
2020-07-07 16:30:06 +08:00
{label: '大屏工作站', value: 'LSW'},
{label: '列车驾驶终端', value: 'DRIVE'},
{label: '虚拟站台屏蔽门终端', value: 'VR_PSD'},
{label: '现地综合监控', value: 'ISCS_LW'},
{label: '中心综合监控', value: 'ISCS_CW'},
{label: '车辆段终端', value: 'DEPOT'},
2020-07-10 18:30:37 +08:00
{label: '虚拟CCTV', value: 'CCTV'},
2020-07-16 13:31:05 +08:00
{label: 'PLC网关', value: 'PLC_GATEWAY'},
2020-07-20 16:00:27 +08:00
{label: '端头控制盒', value: 'PSL'},
2020-08-04 10:42:04 +08:00
{label: 'PSC控制柜', value: 'PSC'},
{label: '虚拟电子沙盘', value: 'SANDBOX'}
2020-07-07 16:30:06 +08:00
]
2019-11-01 13:51:00 +08:00
}
2019-07-26 13:32:43 +08:00
};