国际化调整

This commit is contained in:
joylink_cuiweidong 2019-09-16 16:08:55 +08:00
parent 7abab1ba28
commit 25402786f8
6 changed files with 72 additions and 63 deletions

View File

@ -110,6 +110,8 @@ export default {
orderCode: 'Order Code: ',
creationTime: 'Create Time: ',
amountPayable: 'Amounts Payable: ',
screenName: 'Screen Name',
timeUnitPrice: 'Screen Unit Price',
buyProject: 'The products you will purchase are virtual content services. After purchase, you will not be able to return, transfer or exchange. Please confirm.',
relatedServices: 'You can view and use the related services in the “Permissions Details” area after purchase.',

View File

@ -202,7 +202,7 @@ export default {
},
menuDialog: {
versionName: 'ControlMonitor 1.3.5.0',
confirm: 'confirm',
confirm: 'Confirm',
copyright: 'Copyright (C) 2010-2011 Beijing Jiu Lian Technology Co., Ltd.',
moduleName: 'Module Name',
version: 'Version',
@ -210,7 +210,7 @@ export default {
mainProgramVersion: 'Main Program Version:',
about: 'About ControlMonitor',
userList: 'userList',
userList: 'User List',
jobNumber: 'JobNumber',
userName: 'UserName',
refresh: 'Refresh',
@ -231,7 +231,24 @@ export default {
password: 'Password',
back: 'Back',
clear: 'Clear',
IncorrectPassword: 'Incorrect Password!'
IncorrectPassword: 'Incorrect Password!',
addLocation: 'Add Location',
terminalOne: 'Terminal:',
pleaseSelect: 'please select',
frontTrainNumber: 'Front TrainNumber:',
addTrainNumber: 'Add TrainNumber:',
inputTrainNumber: 'Please input train number',
selectTerminal: 'Please select terminal',
addPlanTrain: 'Add Plan Train',
terminalTwo: 'Terminal:',
trainNumber: 'TrainNumber:',
deletePlanTrain: 'Delete Plan Train',
purpose: 'Purpose',
inputFrontNumber: 'Please input front train number',
panPlanCar: 'Pan Plan Car'
},
platform: 'Platform',
arrivalTime: 'Arrival time',

View File

@ -225,10 +225,10 @@ export default {
passwordBox: '密码框',
userNameLabel: '用户名:',
password: '密 码:',
password: '密 码:',
back: '回退',
clear: '清空',
IncorrectPassword: '密码输入错误!'
IncorrectPassword: '密码输入错误!',
// 控制模式转换
// 选择
@ -256,37 +256,22 @@ export default {
// 确认将如下操作区域的控制模式由站控转为中控:
// 操作区域
// 添加位置
// 终   端:
// 请选择
// 前车车次号:
// 添加车次号:
// 确定
// 取 消
// 请输入车次号
// 请选择终端
// 添加计划车
addLocation: '添加位置',
terminalOne: '终 端:',
pleaseSelect: '请选择',
frontTrainNumber: '前车车次号:',
addTrainNumber: '添加车次号:',
inputTrainNumber: '请输入车次号',
selectTerminal: '请选择终端',
addPlanTrain: '添加计划车',
// 终  端:
// 请选择
// 车 次 号:
// 确定
// 取 消
// 请输入车次号
// 请选择终端
// 删除计划车
terminalTwo: '终 端:',
trainNumber: '车 次 号:',
deletePlanTrain: '删除计划车',
// 车 次 号:
// 目的
// 终  端:
// 请选择
// 车 次 号:
// 确定
// 取 消
// 请输入车次号
// 请输入前车车次号
// 请选择终端
// 平移计划车
purpose: '目的',
inputFrontNumber: '请输入前车车次号',
panPlanCar: '平移计划车'
},
platform: '站台',
arrivalTime: '到点',

View File

@ -3,31 +3,32 @@
:before-close="doClose" :zIndex="2000" :modal="false" :close-on-click-modal="false" v-dialogDrag>
<el-form size="small" label-width="100px" :model="addModel" :rules="rules" ref="form">
<div style="padding: 10px 15px; border: 1px double lightgray; margin: 20px 0px; height: 120px;">
<span class="base-label">添加位置</span>
<span class="base-label">{{$t('menu.menuDialog.addLocation')}}</span>
<div style="position: relative; top:-10px;">
<el-form-item prop="stationStandCode">
<span slot="label">&emsp;&emsp;&emsp;:</span>
<el-select v-model="addModel.stationStandCode" filterable placeholder="请选择">
<span slot="label">{{$t('menu.menuDialog.terminalOne')}}</span>
<el-select v-model="addModel.stationStandCode" filterable :placeholder="$t('menu.menuDialog.pleaseSelect')">
<el-option v-for="item in stationStandList" :key="item.code" :label="item.name"
:value="item.code">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="前车车次号:" prop="trainNumberLimber">
<el-form-item prop="trainNumberLimber">
<span slot="label" id="frontTrainNumber">{{$t('menu.menuDialog.frontTrainNumber')}}</span>
<el-input v-model="addModel.trainNumberLimber"></el-input>
</el-form-item>
</div>
</div>
<el-form-item label="添加车次号:" label-width="115px" prop="groupNumber">
<el-form-item :label="$t('menu.menuDialog.addTrainNumber')" label-width="115px" prop="groupNumber">
<el-input v-model="addModel.groupNumber"></el-input>
</el-form-item>
</el-form>
<el-row justify="center" class="button-group">
<el-col :span="10" :offset="2">
<el-button :id="domIdConfirm" type="primary" :loading="loading" @click="commit">确定</el-button>
<el-button :id="domIdConfirm" type="primary" :loading="loading" @click="commit">{{$t('menu.menuDialog.confirm')}}</el-button>
</el-col>
<el-col :span="8" :offset="4">
<el-button :id="domIdCancel" @click="cancel"> </el-button>
<el-button :id="domIdCancel" @click="cancel">{{$t('menu.menuDialog.cancel')}}</el-button>
</el-col>
</el-row>
</el-dialog>
@ -52,13 +53,13 @@
rules: {
groupNumber: [
{ required: true, message: '请输入车次号', trigger: 'blur' }
{ required: true, message: this.$t('menu.menuDialog.inputTrainNumber'), trigger: 'blur' }
],
// trainNumberLimber: [
// { required: true, message: '', trigger: 'blur' }
// ],
stationStandCode: [
{ required: true, message: '请选择终端', trigger: 'change' }
{ required: true, message: this.$t('menu.menuDialog.selectTerminal'), trigger: 'change' }
],
},
operation: null,
@ -80,7 +81,7 @@
return this.dialogShow ? OperationEvent.Command.planTrain.addPlanTrain.domId : '';
},
title() {
return '添加计划车'
return this.$t('menu.menuDialog.addPlanTrain')
}
},
mounted() {
@ -159,4 +160,8 @@
padding: 0 5px;
background-color: #F0F0F0;
}
#frontTrainNumber{
line-height: 100%;
display: inline-block;
}
</style>

View File

@ -3,22 +3,22 @@
:before-close="doClose" :zIndex="2000" :modal="false" :close-on-click-modal="false" v-dialogDrag>
<el-form size="small" label-width="100px" :model="addModel" :rules="rules" ref="form">
<el-form-item prop="stationStandCode">
<span slot="label">&emsp;&emsp;:</span>
<el-select v-model="addModel.stationStandCode" filterable placeholder="请选择">
<span slot="label">{{$t('menu.menuDialog.terminalTwo')}}</span>
<el-select v-model="addModel.stationStandCode" filterable :placeholder="$t('menu.menuDialog.pleaseSelect')">
<el-option v-for="item in stationStandList" :key="item.code" :label="item.name" :value="item.code">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="车 次 号:" prop="groupNumber">
<el-form-item :label="$t('menu.menuDialog.trainNumber')" prop="groupNumber">
<el-input v-model="addModel.groupNumber"></el-input>
</el-form-item>
</el-form>
<el-row justify="center" class="button-group">
<el-col :span="10" :offset="2">
<el-button :id="domIdConfirm" type="primary" :loading="loading" @click="commit">确定</el-button>
<el-button :id="domIdConfirm" type="primary" :loading="loading" @click="commit">{{$t('menu.menuDialog.confirm')}}</el-button>
</el-col>
<el-col :span="8" :offset="4">
<el-button :id="domIdCancel" @click="cancel"> </el-button>
<el-button :id="domIdCancel" @click="cancel">{{$t('menu.menuDialog.cancel')}}</el-button>
</el-col>
</el-row>
</el-dialog>
@ -42,10 +42,10 @@
rules: {
groupNumber: [
{ required: true, message: '请输入车次号', trigger: 'blur' }
{ required: true, message: this.$t('menu.menuDialog.inputTrainNumber'), trigger: 'blur' }
],
stationStandCode: [
{ required: true, message: '请选择终端', trigger: 'change' }
{ required: true, message: this.$t('menu.menuDialog.selectTerminal'), trigger: 'change' }
],
},
operation: null,
@ -67,7 +67,7 @@
return this.dialogShow ? OperationEvent.Command.planTrain.delPlanTrain.domId : '';
},
title() {
return '删除计划车'
return this.$t('menu.menuDialog.deletePlanTrain')
}
},
mounted() {

View File

@ -2,21 +2,21 @@
<el-dialog class="fuzhou-01__systerm stand-stop-time" :title="title" :visible.sync="show" width="320px"
:before-close="doClose" :zIndex="2000" :modal="false" :close-on-click-modal="false" v-dialogDrag>
<el-form size="small" label-width="100px" :model="addModel" :rules="rules" ref="form">
<el-form-item label="车 次 号:" label-width="115px" prop="groupNumber">
<el-form-item :label="$t('menu.menuDialog.trainNumber')" label-width="115px" prop="groupNumber">
<el-input v-model="addModel.groupNumber"></el-input>
</el-form-item>
<div style="padding: 10px 15px; border: 1px double lightgray; margin: 20px 0px; height: 120px;">
<span class="base-label">目的</span>
<span class="base-label">{{$t('menu.menuDialog.purpose')}}</span>
<div style="position: relative; top:-10px;">
<el-form-item prop="stationStandCode">
<span slot="label">&emsp;&emsp;:</span>
<el-select v-model="addModel.stationStandCode" filterable placeholder="请选择">
<span slot="label">{{$t('menu.menuDialog.terminalTwo')}}</span>
<el-select v-model="addModel.stationStandCode" filterable :placeholder="$t('menu.menuDialog.pleaseSelect')">
<el-option v-for="item in stationStandList" :key="item.code" :label="item.name"
:value="item.code">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="车 次 号:" prop="trainNumberLimber">
<el-form-item :label="$t('menu.menuDialog.trainNumber')" prop="trainNumberLimber">
<el-input v-model="addModel.trainNumberLimber"></el-input>
</el-form-item>
</div>
@ -24,10 +24,10 @@
</el-form>
<el-row justify="center" class="button-group">
<el-col :span="10" :offset="2">
<el-button :id="domIdConfirm" type="primary" :loading="loading" @click="commit">确定</el-button>
<el-button :id="domIdConfirm" type="primary" :loading="loading" @click="commit">{{$t('menu.menuDialog.confirm')}}</el-button>
</el-col>
<el-col :span="8" :offset="4">
<el-button :id="domIdCancel" @click="cancel"> </el-button>
<el-button :id="domIdCancel" @click="cancel">{{$t('menu.menuDialog.cancel')}}</el-button>
</el-col>
</el-row>
</el-dialog>
@ -52,13 +52,13 @@
rules: {
groupNumber: [
{ required: true, message: '请输入车次号', trigger: 'blur' }
{ required: true, message: this.$t('menu.menuDialog.inputTrainNumber'), trigger: 'blur' }
],
trainNumberLimber: [
{ required: true, message: '请输入前车车次号', trigger: 'blur' }
{ required: true, message: this.$t('menu.menuDialog.inputFrontNumber'), trigger: 'blur' }
],
stationStandCode: [
{ required: true, message: '请选择终端', trigger: 'change' }
{ required: true, message: this.$t('menu.menuDialog.selectTerminal'), trigger: 'change' }
],
},
operation: null,
@ -80,7 +80,7 @@
return this.dialogShow ? OperationEvent.Command.planTrain.translatPlanTrain.domId : '';
},
title() {
return '平移计划车'
return this.$t('menu.menuDialog.panPlanCar')
}
},
mounted() {