宁波线路实训操作代码调整

This commit is contained in:
joylink_cuiweidong 2020-04-07 15:25:33 +08:00
parent 87ddad535b
commit 2853eb04fd
2 changed files with 48 additions and 45 deletions

View File

@ -52,51 +52,51 @@ export default {
menu: [], menu: [],
menuNormal: { menuNormal: {
Local: [ Local: [
{ // {
label: this.$t('menu.menuStationStand.detainTrain'), // label: this.$t('menu.menuStationStand.detainTrain'),
handler: this.setDetainTrain, // handler: this.setDetainTrain,
cmdType:CMD.Stand.CMD_STAND_SET_HOLD_TRAIN // cmdType:CMD.Stand.CMD_STAND_SET_HOLD_TRAIN
}, // },
{ // {
label: this.$t('menu.menuStationStand.cancelDetainTrain'), // label: this.$t('menu.menuStationStand.cancelDetainTrain'),
handler: this.cancelDetainTrain, // handler: this.cancelDetainTrain,
cmdType:CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN // cmdType:CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN
}, // },
{ // {
label: this.$t('menu.menuStationStand.cancelDetainTrainForce'), // label: this.$t('menu.menuStationStand.cancelDetainTrainForce'),
handler: this.cancelDetainTrainForce, // handler: this.cancelDetainTrainForce,
cmdType:CMD.Stand.CMD_STAND_FORCE_CANCEL_HOLD_TRAIN // cmdType:CMD.Stand.CMD_STAND_FORCE_CANCEL_HOLD_TRAIN
}, // },
{ // {
label: this.$t('menu.menuStationStand.jumpStop'), // label: this.$t('menu.menuStationStand.jumpStop'),
handler: this.setJumpStop, // handler: this.setJumpStop,
cmdType:CMD.Stand.CMD_STAND_SET_JUMP_STOP // cmdType:CMD.Stand.CMD_STAND_SET_JUMP_STOP
}, // },
{ // {
label: this.$t('menu.menuStationStand.cancelJumpStop'), // label: this.$t('menu.menuStationStand.cancelJumpStop'),
handler: this.cancelJumpStop, // handler: this.cancelJumpStop,
cmdType:CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP // cmdType:CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP
}, // },
{ // {
label: this.$t('menu.menuStationStand.setRunLevel'), // label: this.$t('menu.menuStationStand.setRunLevel'),
handler: this.setRunLevel, // handler: this.setRunLevel,
cmdType:CMD.Stand.CMD_STAND_SET_RUN_TIME // cmdType:CMD.Stand.CMD_STAND_SET_RUN_TIME
}, // },
{ // {
label: this.$t('menu.menuStationStand.setEarlyDeparture'), // label: this.$t('menu.menuStationStand.setEarlyDeparture'),
handler: this.earlyDeparture, // handler: this.earlyDeparture,
cmdType:CMD.Stand.CMD_STAND_EARLY_DEPART // cmdType:CMD.Stand.CMD_STAND_EARLY_DEPART
}, // },
{ // {
label: this.$t('menu.menuStationStand.setBackStrategy'), // label: this.$t('menu.menuStationStand.setBackStrategy'),
handler: this.setBackStrategy, // handler: this.setBackStrategy,
cmdType:CMD.Stand.CMD_STAND_SET_REENTRY_STRATEGY // cmdType:CMD.Stand.CMD_STAND_SET_REENTRY_STRATEGY
}, // },
{ // {
label: this.$t('menu.menuStationStand.getStationStandStatus'), // label: this.$t('menu.menuStationStand.getStationStandStatus'),
handler: this.detail, // handler: this.detail,
cmdType:CMD.Stand.CMD_STAND_VIEW_STATUS // cmdType:CMD.Stand.CMD_STAND_VIEW_STATUS
} // }
], ],
Center: [ Center: [
// { // {

View File

@ -92,6 +92,9 @@ export default {
</script> </script>
<style> <style>
.menus{
height:0px;
}
.menus .pop-menu { .menus .pop-menu {
background: #F0F0F0; background: #F0F0F0;
} }