三维驾驶界面修改
This commit is contained in:
parent
4c5c312fb5
commit
a98fa35a45
@ -7,6 +7,12 @@ export default {
|
||||
surveillanceDisplay: 'In-vehicle surveillance - display',
|
||||
trainInstrumentationDisplay: 'Train instrumentation - display',
|
||||
trainInstrumentationHidden: 'Train instrumentation - hidden',
|
||||
|
||||
trainInstrumentationMmiDisplay: 'Train instrumentation mmi - display',
|
||||
trainInstrumentationMmiHidden: 'Train instrumentation mmi - hidden',
|
||||
trainInstrumentationTmsDisplay: 'Train instrumentation tms - display',
|
||||
trainInstrumentationTmsHidden: 'Train instrumentation tms - hidden',
|
||||
|
||||
terminal: 'terminal:',
|
||||
nextStation: 'Next station:',
|
||||
confirmSignalOpen: 'Please confirm that the signal ahead is open',
|
||||
|
@ -5,8 +5,12 @@ export default {
|
||||
stopTime:'停站时间:',
|
||||
surveillanceHidden: '车内监控——隐藏',
|
||||
surveillanceDisplay: '车内监控——显示',
|
||||
trainInstrumentationDisplay: '列车仪表——显示',
|
||||
trainInstrumentationHidden: '列车仪表——隐藏',
|
||||
trainInstrumentationDisplay: '列车mmi仪表——显示',
|
||||
trainInstrumentationHidden: '列车mmi仪表——隐藏',
|
||||
trainInstrumentationMmiDisplay: '列车mmi仪表——显示',
|
||||
trainInstrumentationMmiHidden: '列车mmi仪表——隐藏',
|
||||
trainInstrumentationTmsDisplay: '列车tms仪表——显示',
|
||||
trainInstrumentationTmsHidden: '列车tms仪表——隐藏',
|
||||
terminal: '终点站:',
|
||||
nextStation: '下一站:',
|
||||
confirmSignalOpen: '请确认前方信号开放',
|
||||
|
@ -382,7 +382,7 @@ import axios from 'axios';
|
||||
.drivepane{
|
||||
width:500px;
|
||||
height:333px;
|
||||
right:500px;
|
||||
right:0;
|
||||
bottom:0;
|
||||
position: absolute;
|
||||
background-size: 100% 100%;
|
||||
|
@ -11,7 +11,8 @@
|
||||
|
||||
<!-- <el-button type="primary" @click="raystand">站台选择</el-button> -->
|
||||
<el-button type="primary" @click="cctvplane">{{ cctvbuttonmsg }}</el-button>
|
||||
<el-button type="primary" @click="showplane">{{ showbuttonmsg }}</el-button>
|
||||
<el-button type="primary" @click="showmmiplane">{{ showbuttonmmimsg }}</el-button>
|
||||
<el-button type="primary" @click="showtmsplane">{{ showbuttontmsmsg }}</el-button>
|
||||
<el-button type="primary" @click="back">{{backmsg}}</el-button>
|
||||
</el-button-group>
|
||||
</div>
|
||||
@ -32,7 +33,7 @@
|
||||
</div>
|
||||
|
||||
<Drive-Mmi v-if="mmishow" ref="mmiui" />
|
||||
<Drive-Tms v-if="mmishow" />
|
||||
<Drive-Tms v-if="tmsshow" />
|
||||
<Drive-Control v-if="dcontrolshow" ref="dcontrol" @warningmsg="warningmsg" @warningmsgoff="warningmsgoff" />
|
||||
</div>
|
||||
|
||||
@ -85,7 +86,9 @@ export default {
|
||||
cctvshow:true,
|
||||
cctvbuttonmsg: this.$t('jlmap3d.surveillanceHidden'),
|
||||
mmishow: false,
|
||||
showbuttonmsg: this.$t('jlmap3d.trainInstrumentationDisplay'),
|
||||
tmsshow: false,
|
||||
showbuttonmmimsg: this.$t('jlmap3d.trainInstrumentationMmiDisplay'),
|
||||
showbuttontmsmsg: this.$t('jlmap3d.trainInstrumentationTmsDisplay'),
|
||||
backmsg:this.$t('global.back'),
|
||||
// trainnum: '',
|
||||
// stoptimes: '',
|
||||
@ -176,6 +179,7 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
this.mmishow = true;
|
||||
this.tmsshow = true;
|
||||
// window.datanew = this.datanew;
|
||||
window.updatestatus = this.updatestatus;
|
||||
|
||||
@ -289,16 +293,26 @@ export default {
|
||||
|
||||
|
||||
},
|
||||
showplane() {
|
||||
showmmiplane() {
|
||||
if (this.mmishow == true) {
|
||||
this.showbuttonmsg = this.$t('jlmap3d.trainInstrumentationHidden');
|
||||
this.showbuttonmmimsg = this.$t('jlmap3d.trainInstrumentationMmiHidden');
|
||||
this.mmishow = false;
|
||||
} else {
|
||||
this.showbuttonmsg = this.$t('jlmap3d.trainInstrumentationDisplay');
|
||||
this.showbuttonmmimsg = this.$t('jlmap3d.trainInstrumentationMmiDisplay');
|
||||
this.mmishow = true;
|
||||
}
|
||||
|
||||
},
|
||||
showtmsplane() {
|
||||
if (this.tmsshow == true) {
|
||||
this.showbuttontmsmsg = this.$t('jlmap3d.trainInstrumentationTmsHidden');
|
||||
this.tmsshow = false;
|
||||
} else {
|
||||
this.showbuttontmsmsg = this.$t('jlmap3d.trainInstrumentationTmsDisplay');
|
||||
this.tmsshow = true;
|
||||
}
|
||||
|
||||
},
|
||||
datanew(){
|
||||
this.dcontrolshow = true;
|
||||
},
|
||||
|
@ -529,7 +529,8 @@ export default {
|
||||
height:333px;
|
||||
background: black;
|
||||
position:absolute;
|
||||
bottom:0;
|
||||
bottom:333px;
|
||||
right:0;
|
||||
// border: 0.1px solid #ffffff;
|
||||
}
|
||||
.meter{
|
||||
|
@ -51,7 +51,7 @@ export default {
|
||||
background-size:100% 100%;
|
||||
position:absolute;
|
||||
bottom:0;
|
||||
right:0;
|
||||
left:0;
|
||||
// border: 0.1px solid #ffffff;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user