ctc界面调整1
BIN
src/assets/ctc_icon/pic1.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
src/assets/ctc_icon/pic10.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
src/assets/ctc_icon/pic11.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
src/assets/ctc_icon/pic12.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
src/assets/ctc_icon/pic13.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
src/assets/ctc_icon/pic14.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
src/assets/ctc_icon/pic15.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
src/assets/ctc_icon/pic16.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
src/assets/ctc_icon/pic17.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
src/assets/ctc_icon/pic18.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/ctc_icon/pic2.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
src/assets/ctc_icon/pic3.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
src/assets/ctc_icon/pic4.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/ctc_icon/pic5.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
src/assets/ctc_icon/pic6.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
src/assets/ctc_icon/pic7.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
src/assets/ctc_icon/pic8.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
src/assets/ctc_icon/pic9.png
Normal file
After Width: | Height: | Size: 31 KiB |
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="menus" :style="{width: width + 'px'}">
|
<div class="menus" :style="{width: width + 'px'}">
|
||||||
<!--<menu-bar v-show="isShowBar" ref="menuBar" :selected="selected" />-->
|
<menu-bar v-show="isCtc" ref="menuBar" :selected="selected" />
|
||||||
<!--<div v-if="$store.state.training.prdType == '01'" class="alarm-window">-->
|
<!--<div v-if="$store.state.training.prdType == '01'" class="alarm-window">-->
|
||||||
<!--<div v-for="elem in alarmMessages" :key="elem.id" style="font-size: 14px;">-->
|
<!--<div v-for="elem in alarmMessages" :key="elem.id" style="font-size: 14px;">-->
|
||||||
<!--{{ elem.message }}-->
|
<!--{{ elem.message }}-->
|
||||||
@ -23,7 +23,8 @@
|
|||||||
<div style="width: 60%;height: 30px;line-height: 30px;text-align: center;">提示信息窗</div>
|
<div style="width: 60%;height: 30px;line-height: 30px;text-align: center;">提示信息窗</div>
|
||||||
<div style="width: 40%;height: 30px;line-height: 30px;text-align: center;border-left: 2px #ccc solid;">{{ '操控A:主机' + ' ' + dateString + ' ' + time }}</div>
|
<div style="width: 40%;height: 30px;line-height: 30px;text-align: center;border-left: 2px #ccc solid;">{{ '操控A:主机' + ' ' + dateString + ' ' + time }}</div>
|
||||||
</div>
|
</div>
|
||||||
<menu-button ref="menuButton" :selected="selected" />
|
<menu-button v-if="!isCtc" ref="menuButton" :selected="selected" />
|
||||||
|
<menu-button-ctc v-if="isCtc" ref="menuButtonCtc" :selected="selected" />
|
||||||
<menu-station-stand ref="menuStationStand" :selected="selected" />
|
<menu-station-stand ref="menuStationStand" :selected="selected" />
|
||||||
<menu-switch ref="menuSwitch" :selected="selected" />
|
<menu-switch ref="menuSwitch" :selected="selected" />
|
||||||
<menu-signal ref="menuSignal" :selected="selected" />
|
<menu-signal ref="menuSignal" :selected="selected" />
|
||||||
@ -46,6 +47,7 @@ import MenuSection from './menuSection';
|
|||||||
import MenuTrain from './menuTrain';
|
import MenuTrain from './menuTrain';
|
||||||
import MenuStation from './menuStation';
|
import MenuStation from './menuStation';
|
||||||
import MenuBar from './menuBar';
|
import MenuBar from './menuBar';
|
||||||
|
import MenuButtonCtc from './menuButtonCtc';
|
||||||
import PassiveAlarm from './passiveDialog/alarm';
|
import PassiveAlarm from './passiveDialog/alarm';
|
||||||
import PassiveContorl from '@/jmapNew/theme/components/menus/passiveDialog/control';
|
import PassiveContorl from '@/jmapNew/theme/components/menus/passiveDialog/control';
|
||||||
import PassiveTimeout from './passiveDialog/timeout';
|
import PassiveTimeout from './passiveDialog/timeout';
|
||||||
@ -64,7 +66,8 @@ export default {
|
|||||||
MenuTrain,
|
MenuTrain,
|
||||||
PassiveAlarm,
|
PassiveAlarm,
|
||||||
PassiveContorl,
|
PassiveContorl,
|
||||||
PassiveTimeout
|
PassiveTimeout,
|
||||||
|
MenuButtonCtc
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
selected: {
|
selected: {
|
||||||
@ -104,6 +107,9 @@ export default {
|
|||||||
]),
|
]),
|
||||||
isShowBar() {
|
isShowBar() {
|
||||||
return this.$store.state.training.prdType && this.$store.state.training.prdType !== '07';
|
return this.$store.state.training.prdType && this.$store.state.training.prdType !== '07';
|
||||||
|
},
|
||||||
|
isCtc() {
|
||||||
|
return this.$route.query.ctc
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
@ -1,6 +1,26 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="menuBarChengdu3">
|
<div id="menuBarChengdu3">
|
||||||
<menu-bar ref="menuBar" :menu-normal="menuNormal" style="width:100%" />
|
<menu-bar ref="menuBar" :menu-normal="menuNormal" style="width:100%" />
|
||||||
|
<!--<div style="display: flex;">-->
|
||||||
|
<!--<img :src="ctcBarIcon1" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon2" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon3" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon4" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon5" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon6" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon7" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon8" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon9" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon10" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon11" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon12" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon13" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon14" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon15" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon16" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon17" class="img-box" />-->
|
||||||
|
<!--<img :src="ctcBarIcon18" class="img-box" />-->
|
||||||
|
<!--</div>-->
|
||||||
<station-control-convert ref="stationControlConvert" />
|
<station-control-convert ref="stationControlConvert" />
|
||||||
<password-box ref="passwordBox" @setLoginResult="getLoginResult" />
|
<password-box ref="passwordBox" @setLoginResult="getLoginResult" />
|
||||||
<view-name ref="viewName" />
|
<view-name ref="viewName" />
|
||||||
@ -25,6 +45,24 @@ import ViewName from './menuDialog/viewName';
|
|||||||
import ManageUser from './menuDialog/manageUser';
|
import ManageUser from './menuDialog/manageUser';
|
||||||
import HelpAbout from './menuDialog/helpAbout';
|
import HelpAbout from './menuDialog/helpAbout';
|
||||||
import SetLimitSpeed from './menuDialog/setLimitSpeed';
|
import SetLimitSpeed from './menuDialog/setLimitSpeed';
|
||||||
|
import CtcBarIcon1 from '@/assets/ctc_icon/pic1.png';
|
||||||
|
import CtcBarIcon2 from '@/assets/ctc_icon/pic2.png';
|
||||||
|
import CtcBarIcon3 from '@/assets/ctc_icon/pic3.png';
|
||||||
|
import CtcBarIcon4 from '@/assets/ctc_icon/pic4.png';
|
||||||
|
import CtcBarIcon5 from '@/assets/ctc_icon/pic5.png';
|
||||||
|
import CtcBarIcon6 from '@/assets/ctc_icon/pic6.png';
|
||||||
|
import CtcBarIcon7 from '@/assets/ctc_icon/pic7.png';
|
||||||
|
import CtcBarIcon8 from '@/assets/ctc_icon/pic8.png';
|
||||||
|
import CtcBarIcon9 from '@/assets/ctc_icon/pic9.png';
|
||||||
|
import CtcBarIcon10 from '@/assets/ctc_icon/pic10.png';
|
||||||
|
import CtcBarIcon11 from '@/assets/ctc_icon/pic11.png';
|
||||||
|
import CtcBarIcon12 from '@/assets/ctc_icon/pic12.png';
|
||||||
|
import CtcBarIcon13 from '@/assets/ctc_icon/pic13.png';
|
||||||
|
import CtcBarIcon14 from '@/assets/ctc_icon/pic14.png';
|
||||||
|
import CtcBarIcon15 from '@/assets/ctc_icon/pic15.png';
|
||||||
|
import CtcBarIcon16 from '@/assets/ctc_icon/pic16.png';
|
||||||
|
import CtcBarIcon17 from '@/assets/ctc_icon/pic17.png';
|
||||||
|
import CtcBarIcon18 from '@/assets/ctc_icon/pic18.png';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'MenuBarChengdu03',
|
name: 'MenuBarChengdu03',
|
||||||
@ -42,6 +80,24 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
ctcBarIcon1: CtcBarIcon1,
|
||||||
|
ctcBarIcon2: CtcBarIcon2,
|
||||||
|
ctcBarIcon3: CtcBarIcon3,
|
||||||
|
ctcBarIcon4: CtcBarIcon4,
|
||||||
|
ctcBarIcon5: CtcBarIcon5,
|
||||||
|
ctcBarIcon6: CtcBarIcon6,
|
||||||
|
ctcBarIcon7: CtcBarIcon7,
|
||||||
|
ctcBarIcon8: CtcBarIcon8,
|
||||||
|
ctcBarIcon9: CtcBarIcon9,
|
||||||
|
ctcBarIcon10: CtcBarIcon10,
|
||||||
|
ctcBarIcon11: CtcBarIcon11,
|
||||||
|
ctcBarIcon12: CtcBarIcon12,
|
||||||
|
ctcBarIcon13: CtcBarIcon13,
|
||||||
|
ctcBarIcon14: CtcBarIcon14,
|
||||||
|
ctcBarIcon15: CtcBarIcon15,
|
||||||
|
ctcBarIcon16: CtcBarIcon16,
|
||||||
|
ctcBarIcon17: CtcBarIcon17,
|
||||||
|
ctcBarIcon18: CtcBarIcon18,
|
||||||
menuNormal: {
|
menuNormal: {
|
||||||
Local: [
|
Local: [
|
||||||
{
|
{
|
||||||
@ -682,4 +738,9 @@ export default {
|
|||||||
#menuBarChengdu3 #menuBar .menu-li-block .label{
|
#menuBarChengdu3 #menuBar .menu-li-block .label{
|
||||||
padding: 0px 30px 0px 5px !important;
|
padding: 0px 30px 0px 5px !important;
|
||||||
}
|
}
|
||||||
|
.img-box{
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
margin-top: 30px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -66,13 +66,13 @@
|
|||||||
<center><b>按</b><b>钮</b></center>
|
<center><b>按</b><b>钮</b></center>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<button :id="" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown()">
|
<button :id="111" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown()">
|
||||||
<span style="color: black;">
|
<span style="color: black;">
|
||||||
<center><b>坡</b><b>道</b></center>
|
<center><b>坡</b><b>道</b></center>
|
||||||
<center><b>解</b><b>锁</b></center>
|
<center><b>解</b><b>锁</b></center>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<button :disabled="true" :id="" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown()">
|
<button :disabled="true" :id="222" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown()">
|
||||||
<span style="color: black;">
|
<span style="color: black;">
|
||||||
<center><b>分</b><b>路</b></center>
|
<center><b>分</b><b>路</b></center>
|
||||||
<center><b>不</b><b>良</b></center>
|
<center><b>不</b><b>良</b></center>
|
||||||
@ -84,19 +84,19 @@
|
|||||||
<center><b>清</b><b>除</b></center>
|
<center><b>清</b><b>除</b></center>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<button :id="" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown()">
|
<button :id="333" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown()">
|
||||||
<span style="color: black;">
|
<span style="color: black;">
|
||||||
<center><b>命</b><b>令</b></center>
|
<center><b>命</b><b>令</b></center>
|
||||||
<center><b>下</b><b>达</b></center>
|
<center><b>下</b><b>达</b></center>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<button :id="" class="button_box" :style="{width: width+'px', backgroundColor: buttonUpColor}" @click="buttonDown()">
|
<button :id="444" class="button_box" :style="{width: width+'px', backgroundColor: buttonUpColor}" @click="buttonDown()">
|
||||||
<span style="color: black;">
|
<span style="color: black;">
|
||||||
<center><b>状</b><b>态</b></center>
|
<center><b>状</b><b>态</b></center>
|
||||||
<center><b>选</b><b>择</b></center>
|
<center><b>选</b><b>择</b></center>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<button :id="" class="button_box" :style="{width: width+'px', backgroundColor: buttonUpColor}" @click="buttonDown()">
|
<button :id="555" class="button_box" :style="{width: width+'px', backgroundColor: buttonUpColor}" @click="buttonDown()">
|
||||||
<span style="color: black;">
|
<span style="color: black;">
|
||||||
<center><b>模</b><b>式</b></center>
|
<center><b>模</b><b>式</b></center>
|
||||||
<center><b>转</b><b>换</b></center>
|
<center><b>转</b><b>换</b></center>
|
||||||
@ -117,7 +117,6 @@
|
|||||||
import NoticeInfo from '@/jmapNew/theme/components/menus/childDialog/noticeInfo';
|
import NoticeInfo from '@/jmapNew/theme/components/menus/childDialog/noticeInfo';
|
||||||
import { MouseEvent } from '@/scripts/ConstDic';
|
import { MouseEvent } from '@/scripts/ConstDic';
|
||||||
import CenterConfig from '../../../../views/newMap/newMapdraft/mapoperate/displayConfig/centerConfig';
|
import CenterConfig from '../../../../views/newMap/newMapdraft/mapoperate/displayConfig/centerConfig';
|
||||||
// import { OperateMode } from '@/scripts/ConstDic';48
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'MapButtonMenu',
|
name: 'MapButtonMenu',
|
||||||
@ -138,7 +137,7 @@
|
|||||||
return {
|
return {
|
||||||
point: {
|
point: {
|
||||||
x: 0,
|
x: 0,
|
||||||
y: 0
|
y: 30
|
||||||
},
|
},
|
||||||
operation: '0',
|
operation: '0',
|
||||||
buttonName: '',
|
buttonName: '',
|
||||||
@ -146,7 +145,7 @@
|
|||||||
guideColorUp: '#DCDCDC',
|
guideColorUp: '#DCDCDC',
|
||||||
buttonDownColor: '#FEEE1A',
|
buttonDownColor: '#FEEE1A',
|
||||||
buttonUpColor: '#DCDCDC',
|
buttonUpColor: '#DCDCDC',
|
||||||
width: 78,
|
width: 60,
|
||||||
tempData: null,
|
tempData: null,
|
||||||
offset: {},
|
offset: {},
|
||||||
commandTypeList: [],
|
commandTypeList: [],
|
||||||
|
@ -224,6 +224,8 @@ export default {
|
|||||||
mapId:this.$route.query.mapId,
|
mapId:this.$route.query.mapId,
|
||||||
project: this.project,
|
project: this.project,
|
||||||
newApi: this.$route.query.newApi,
|
newApi: this.$route.query.newApi,
|
||||||
|
ctc: true,
|
||||||
|
try: this.$route.query.try,
|
||||||
token:getToken(),
|
token:getToken(),
|
||||||
noPreLogout: true
|
noPreLogout: true
|
||||||
}
|
}
|
||||||
|