From de5ca5225a98c68406d8642d31ec3232f8e2e930 Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Fri, 9 Aug 2019 15:40:33 +0800 Subject: [PATCH] =?UTF-8?q?desc:=20=E9=85=8D=E7=BD=AE=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96=E8=AF=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/en/index.js | 4 +- src/i18n/langs/en/map.js | 3 + src/i18n/langs/zh/index.js | 4 +- src/i18n/langs/zh/map.js | 168 ++++++++++++++++++ src/scripts/ConstConfig.js | 18 +- src/views/demonstration/home.vue | 2 +- src/views/map/mapdraft/index.vue | 3 - .../mapedit/automaticoperate/detail.vue | 30 ++-- .../mapedit/automaticoperate/index.vue | 8 +- .../mapedit/automaticoperate/route.vue | 24 +-- .../mapedit/mapoperate/ImageControl.vue | 60 +++---- .../mapedit/mapoperate/config/list.vue | 2 +- .../mapdraft/mapedit/mapoperate/counter.vue | 62 +++---- .../mapedit/mapoperate/delayunlock.vue | 50 +++--- .../map/mapdraft/mapedit/mapoperate/index.vue | 56 +++--- .../mapdraft/mapedit/mapoperate/lcControl.vue | 18 +- src/views/map/mapdraft/mapmanage/create.vue | 54 +++--- src/views/map/mapdraft/mapmanage/edit.vue | 48 ++--- src/views/map/mapdraft/mapmanage/maplist.vue | 6 +- .../map/mapdraft/mapmanage/operateMenu.vue | 32 ++-- src/views/map/mapdraft/mapmanage/publish.vue | 20 +-- src/views/map/mapdraft/mapmanage/saveAs.vue | 11 +- 22 files changed, 422 insertions(+), 261 deletions(-) create mode 100644 src/i18n/langs/en/map.js create mode 100644 src/i18n/langs/zh/map.js diff --git a/src/i18n/langs/en/index.js b/src/i18n/langs/en/index.js index 7bb592e59..bb809fc45 100644 --- a/src/i18n/langs/en/index.js +++ b/src/i18n/langs/en/index.js @@ -1,5 +1,7 @@ import enLocale from 'element-ui/lib/locale/lang/en'; +import map from './map'; export default { - ...enLocale + ...enLocale, + map }; diff --git a/src/i18n/langs/en/map.js b/src/i18n/langs/en/map.js new file mode 100644 index 000000000..a4a9d6afc --- /dev/null +++ b/src/i18n/langs/en/map.js @@ -0,0 +1,3 @@ +export default { + content: 'dsfjalfjdslfjsdlf' +}; diff --git a/src/i18n/langs/zh/index.js b/src/i18n/langs/zh/index.js index 958101167..c093d1a42 100644 --- a/src/i18n/langs/zh/index.js +++ b/src/i18n/langs/zh/index.js @@ -1,5 +1,7 @@ import cnLocale from 'element-ui/lib/locale/lang/zh-CN'; +import map from './map'; export default { - ...cnLocale + ...cnLocale, + map }; diff --git a/src/i18n/langs/zh/map.js b/src/i18n/langs/zh/map.js new file mode 100644 index 000000000..9c3356687 --- /dev/null +++ b/src/i18n/langs/zh/map.js @@ -0,0 +1,168 @@ +export default { + pleaseSelect: '请选择', + sketchMap: '草稿地图列表', + newConstruction: '新建', + importMap: '导入地图', + createNewMap: '新建地图', + normalCreate: '正常创建', + saveMapAs: '地图另存为', + create: '创建', + dataVerification: '数据校验', + logicalView: '逻辑视图', + physicalView: '物理视图', + mixedView: '混合视图', + + link: 'link', + section: '区段', + switch: '道岔', + signal: '信号机', + zcZoneControl: 'zc区域控制', + temporaryLimit: '全线临时限速', + lcControl: 'Lc控制', + image: '图片', + station: '车站', + controlMode: '控制模式', + platform: '站台', + counter: '计数器', + delayUnlock: '延迟解锁', + train: '列车', + trainWindow: '车次窗', + line: '线条', + text: '文字', + + mapName: '地图名称:', + skinName: '皮肤风格:', + selectCity: '所属城市:', + offsetXColon: 'X偏移:', + offsetYColon: 'Y偏移:', + scalingColon: '缩放比例:', + operationUnusual: '操作异常:', + offsetX: 'X偏移', + offsetY: 'Y偏移', + scaling: '缩放比例', + statusSignalName: '状态信号名称:', + stateSignalsPlotCoordinates: '状态信号画图坐标:', + + publishMapCreation: '从发布地图创建', + confirm: '确 定', + cancel: '取 消', + + cancelledDelete: '已取消删除', + + pleaseEnterMapName: '请输入地图名称', + pleaseChooseSkinStyle: '请选择皮肤风格', + pleaseSelectMapSource: '请选择地图来源', + pleaseSelectAssociatedCity: '请选择关联城市', + pleaseSelectAssociatedSkin: '请选择关联皮肤', + pleaseEnteMapLinkWidth: '请输入地图Link宽度', + pleaseEnterMapSectionWidth: '请输入地图区段宽度', + + failedLoadListPublishedMaps: '加载已发布地图列表失败', + creatingSuccessful: '创建成功!', + mapUpdateSuccessful: '更新地图成功!', + createFailure: '创建失败', + importSuccessful: '导入成功!', + importFailure: '导入失败', + updateSuccessfully: '更新成功', + updateFailed: '更新失败', + failedLoadCityList: '加载城市列表失败', + successfullyDelete: '删除成功', + failDelete: '删除失败', + dataValidationFailed: '发布失败,数据校验不通过', + releaseSuccess: '发布成功!', + abnormalOperation: '操作异常', + datQuestion: '有问题数据', + dataList: '数据列表', + saveFailed: '另存失败', + + mapEditor: '地图编辑', + mapPublished: '地图发布为', + publishingAssociatedCity: '发布关联城市:', + publishMapName: '发布地图名称:', + + updateObj: '修改', + updateObjAxis: '更新坐标', + saveAs: '另存为', + publish: '发布', + deleteObj: '删除', + editRoute: '编辑进路', + editRouting: '编辑交路', + editAutoRouting: '编辑自动信号', + setSwitch: '联动道岔', + pathUnit: '路径单元', + jlmap3d: '三维化编辑', + + confirmDeletion: '是否确认删除?', + hint: '提示', + + automaticSignalList: '自动信号列表', + automaticSignalCode: '自动信号编码', + signalCodeName: '信号机名称', + signalCode: '信号机code', + sectionData: '区段数据', + preview: '预览', + operation: '操作', + compile: '编辑', + delete: '删除', + sectionName: '区段名称', + sectionList: '区段列表', + automaticSignal: '自动信号', + + signalID: '信号机ID:', + activate: '激活', + segmentData: '进路自动触发区段数据:', + save: '保存', + updata: '更新', + pleaseSelectSignal: '请选择信号机', + triggerSegmentData: '请选择进路自动触发区段数据', + automaticSignalSuccessful: '创建自动信号成功!', + failedCreateSignal: '创建自动信号失败', + automaticSignalUpdateSucceeded: '更新自动信号成功!', + automaticSignalUpdateFailed: '更新自动信号失败', + + stationName: '车站名称:', + + property: '属性', + counterCoding: '计数器编码:', + counterName: '计数器名称:', + belongsStation: '所属车站:', + counterType: '计数器类型:', + countMax: '计数器最大值:', + pointX: '坐标 x:', + pointY: '坐标 y:', + + code: '编码:', + imageName: '图片名称:', + imageWidth: '图片宽度:', + imageHeight: '图片高度:', + imagePoint: '图片坐标:', + imageZindex: '图片层级:', + imageSelect: '图片选择:', + rotateAngle: '旋转角度:', + + areaSolution: '区故解', + alwaysSolution: '总人解', + + pleaseSelectMap: '请选择地图', + selectCounterType: '请选择计数器类型', + selectStation: '请选择车站', + pleaseSelectDevice: '请重新选择设备', + pleaseSelectCountName: '请输入计数器名称', + pleaseCounterValue: '请输入计数器最大值', + pleaseEnterXCoordinate: '请输入x坐标', + pleaseEnterYCoordinate: '请输入y坐标', + pleaseEnterDelayTime: '请输入延时时间', + pleaseEnterFontColor: '请输入字体颜色', + pleaseEnterFontFormat: '请输入字体格式', + pleaseEnterImageWidth: '请输入图片宽度', + pleaseEnterImageHeight: '请输入图片高度', + + delayUnlockingCode: '延时解锁编码:', + delayTime: '延时时间:', + font: '字体:', + color: '颜色:', + + upside: '上段', + hypomere: '下段' + +}; diff --git a/src/scripts/ConstConfig.js b/src/scripts/ConstConfig.js index 7bc549125..24c3b19b3 100644 --- a/src/scripts/ConstConfig.js +++ b/src/scripts/ConstConfig.js @@ -73,13 +73,13 @@ export default { { label: 'SHD三联段线', value: '18' }, { label: 'SHD四联段线', value: '19' } ], - roleType:[ - {label:'管理员',value:'Admin'}, - {label:'教员',value:'Instructor'}, - {label:'行调',value:'Dispatcher'}, - {label:'车站',value:'Attendant'}, - {label:'观众',value:'Audience'}, - {label:'司机',value:'Driver'}, + roleType: [ + {label: '管理员', value: 'Admin'}, + {label: '教员', value: 'Instructor'}, + {label: '行调', value: 'Dispatcher'}, + {label: '车站', value: 'Attendant'}, + {label: '观众', value: 'Audience'}, + {label: '司机', value: 'Driver'} ], SimulationType: [ @@ -88,14 +88,14 @@ export default { { label: '综合演练', value: 'Joint'}, { label: '大屏', value: 'BigScreen'}, { label: '琏计划', value: 'RunPlan'}, - { label: '任务录制', value: 'ScriptRecord'}, + { label: '任务录制', value: 'ScriptRecord'} ], skinCode: [ { label: '福州一号线', value: '02'}, { label: '北京一号线', value: '03'}, { label: '成都三号线', value: '04'}, - { label: '北京八通线', value: '05'}, + { label: '北京八通线', value: '05'} ] } diff --git a/src/views/demonstration/home.vue b/src/views/demonstration/home.vue index 95adf3e3c..9cbe4adac 100644 --- a/src/views/demonstration/home.vue +++ b/src/views/demonstration/home.vue @@ -15,7 +15,7 @@
城市轨道交通仿真系统以各地铁信号系统为基础,针对培训部分进行改造,旨在构建一套用于行车演示的专业仿真模拟系统。 该系统具有高灵活性以便于将来的扩展升级,同时,仿真系统具备正常操作及故障操作两种模式,除了正常的功能操作以外还可以进行设备的故障模拟。
- {{ $t('hello') }} + {{ $t('lesson.content') }} diff --git a/src/views/map/mapdraft/index.vue b/src/views/map/mapdraft/index.vue index b70ad684b..00745cb9b 100644 --- a/src/views/map/mapdraft/index.vue +++ b/src/views/map/mapdraft/index.vue @@ -7,7 +7,6 @@ -