国际化调整
This commit is contained in:
parent
72aa282942
commit
0e7fdb354c
@ -154,5 +154,6 @@ export default {
|
|||||||
no: 'No',
|
no: 'No',
|
||||||
details: 'Details',
|
details: 'Details',
|
||||||
enterNameToFilter: 'Enter a name to filter',
|
enterNameToFilter: 'Enter a name to filter',
|
||||||
colon: ':'
|
colon: ':',
|
||||||
|
processFailure: 'Process failure'
|
||||||
};
|
};
|
||||||
|
@ -9,4 +9,11 @@ export default {
|
|||||||
confirmSignalOpen: 'Please confirm that the signal ahead is open',
|
confirmSignalOpen: 'Please confirm that the signal ahead is open',
|
||||||
faultInformation: 'Fault information:',
|
faultInformation: 'Fault information:',
|
||||||
vWeek: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
vWeek: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
||||||
|
trackCheck: 'Track check',
|
||||||
|
signalCheck: 'Signal check',
|
||||||
|
turnoutCheck: 'Turnout check',
|
||||||
|
stationInfoDisplay: 'Station information — display',
|
||||||
|
stationInfoHidden: 'Station information — hidden',
|
||||||
|
trainInfoDisplay: 'Train information — display',
|
||||||
|
trainInfoHidden: 'Train information — hidden'
|
||||||
};
|
};
|
||||||
|
@ -154,5 +154,7 @@ export default {
|
|||||||
no: '否',
|
no: '否',
|
||||||
details: '详情',
|
details: '详情',
|
||||||
enterNameToFilter: '输入名称进行过滤',
|
enterNameToFilter: '输入名称进行过滤',
|
||||||
colon: ':'
|
colon: ':',
|
||||||
|
processFailure: '处理失败'
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -9,4 +9,11 @@ export default {
|
|||||||
confirmSignalOpen: '请确认前方信号开放',
|
confirmSignalOpen: '请确认前方信号开放',
|
||||||
faultInformation: '故障信息:',
|
faultInformation: '故障信息:',
|
||||||
vWeek: ['星期天', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
|
vWeek: ['星期天', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
|
||||||
|
trackCheck: '轨道检查',
|
||||||
|
signalCheck: '信号机检查',
|
||||||
|
turnoutCheck: '道岔检查',
|
||||||
|
stationInfoDisplay: '站台信息——显示',
|
||||||
|
stationInfoHidden: '站台信息——隐藏',
|
||||||
|
trainInfoDisplay: '列车信息——显示',
|
||||||
|
trainInfoHidden: '列车信息——隐藏'
|
||||||
};
|
};
|
||||||
|
@ -41,8 +41,8 @@ Vue.prototype.$addWindowResizeListener = function(cb) {
|
|||||||
Vue.prototype.$theme = new Theme();
|
Vue.prototype.$theme = new Theme();
|
||||||
Vue.prototype.$messageBox = function(msge) {
|
Vue.prototype.$messageBox = function(msge) {
|
||||||
if (this.$confirm) {
|
if (this.$confirm) {
|
||||||
this.$confirm(`${msge || '处理失败'}!`, '提示', {
|
this.$confirm(`${msge || this.$t('global.processFailure')}!`, this.$t('global.tips'), {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: this.$t('global.confirm'),
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
showCancelButton: false,
|
showCancelButton: false,
|
||||||
center: true
|
center: true
|
||||||
|
@ -6,11 +6,14 @@
|
|||||||
<el-button-group>
|
<el-button-group>
|
||||||
<!-- <el-button type="primary" @click="raystand">站台选择</el-button>
|
<!-- <el-button type="primary" @click="raystand">站台选择</el-button>
|
||||||
<el-button type="primary" @click="raytrain">列车选择</el-button> -->
|
<el-button type="primary" @click="raytrain">列车选择</el-button> -->
|
||||||
<el-button type="primary" @click="raysection">轨道检查</el-button>
|
<el-button type="primary" @click="raysection">{{$t('jlmap3d.trackCheck')}}</el-button>
|
||||||
<el-button type="primary" @click="rayswitch">道岔检查</el-button>
|
<el-button type="primary" @click="rayswitch">{{$t('jlmap3d.signalCheck')}}</el-button>
|
||||||
<el-button type="primary" @click="raysignal">信号机检查</el-button>
|
<el-button type="primary" @click="raysignal">{{$t('jlmap3d.turnoutCheck')}}</el-button>
|
||||||
<el-button type="primary" @click="back">返回</el-button>
|
<el-button type="primary" @click="back">{{$t('global.back')}}</el-button>
|
||||||
</el-button-group>
|
</el-button-group>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Jlmap3d-Menu :trainlist="trainlist" :stationlist="stationlist" @sstation="sstation" @strain="strain" />
|
<Jlmap3d-Menu :trainlist="trainlist" :stationlist="stationlist" @sstation="sstation" @strain="strain" />
|
||||||
|
@ -19,8 +19,8 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
bt1name:"站台信息——显示",
|
bt1name:this.$t('jlmap3d.stationInfoDisplay'),
|
||||||
bt2name:"列车信息——显示",
|
bt2name:this.$t('jlmap3d.trainInfoDisplay'),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
@ -40,11 +40,11 @@ export default {
|
|||||||
},
|
},
|
||||||
showstation(){
|
showstation(){
|
||||||
console.log("showstation");
|
console.log("showstation");
|
||||||
if(this.bt1name == "站台信息——显示"){
|
if(this.bt1name == this.$t('jlmap3d.stationInfoDisplay')){
|
||||||
this.bt1name = "站台信息——隐藏";
|
this.bt1name = this.$t('jlmap3d.stationInfoHidden');
|
||||||
this.$emit('showstationmsg',"unshow");
|
this.$emit('showstationmsg',"unshow");
|
||||||
}else{
|
}else{
|
||||||
this.bt1name = "站台信息——显示";
|
this.bt1name = this.$t('jlmap3d.stationInfoDisplay');
|
||||||
this.$emit('showstationmsg',"show");
|
this.$emit('showstationmsg',"show");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,11 +52,11 @@ export default {
|
|||||||
showtrain(){
|
showtrain(){
|
||||||
console.log("showtrain");
|
console.log("showtrain");
|
||||||
|
|
||||||
if(this.bt2name == "列车信息——显示"){
|
if(this.bt2name == this.$t('jlmap3d.trainInfoDisplay')){
|
||||||
this.bt2name = "列车信息——隐藏";
|
this.bt2name = this.$t('jlmap3d.trainInfoHidden');
|
||||||
this.$emit('showtrainmsg',"unshow");
|
this.$emit('showtrainmsg',"unshow");
|
||||||
}else{
|
}else{
|
||||||
this.bt2name = "列车信息——显示";
|
this.bt2name = this.$t('jlmap3d.trainInfoDisplay');
|
||||||
this.$emit('showtrainmsg',"show");
|
this.$emit('showtrainmsg',"show");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user