代码调整
This commit is contained in:
parent
d06d0eec15
commit
bbcf5b3fec
@ -7,7 +7,7 @@
|
|||||||
<menu-section ref="menuSection" :selected="selected" :work="'dispatchWork'" />
|
<menu-section ref="menuSection" :selected="selected" :work="'dispatchWork'" />
|
||||||
<menu-train ref="menuTrain" :selected="selected" />
|
<menu-train ref="menuTrain" :selected="selected" />
|
||||||
<menu-limit ref="menuLimit" :selected="selected" />
|
<menu-limit ref="menuLimit" :selected="selected" />
|
||||||
<menu-auto-trun-route ref="menuAutoTrunRoute" :selected="selected" :work="'dispatchWork'" />
|
<menu-auto-Trun-route ref="menuAutoTrunRoute" :selected="selected" :work="'dispatchWork'" />
|
||||||
|
|
||||||
<passive-alarm ref="passiveAlarm" />
|
<passive-alarm ref="passiveAlarm" />
|
||||||
<passive-contorl ref="passiveControl" pop-class="foshan-01__systerm" />
|
<passive-contorl ref="passiveControl" pop-class="foshan-01__systerm" />
|
||||||
@ -23,6 +23,7 @@ import MenuSignal from './menuSignal';
|
|||||||
import MenuSection from './menuSection';
|
import MenuSection from './menuSection';
|
||||||
import MenuTrain from './menuTrain';
|
import MenuTrain from './menuTrain';
|
||||||
import MenuLimit from './menuLimit';
|
import MenuLimit from './menuLimit';
|
||||||
|
import MenuAutoTrunRoute from './menuAutoTrunRoute';
|
||||||
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';
|
||||||
@ -37,6 +38,7 @@ export default {
|
|||||||
MenuTrain,
|
MenuTrain,
|
||||||
MenuLimit,
|
MenuLimit,
|
||||||
PassiveAlarm,
|
PassiveAlarm,
|
||||||
|
MenuAutoTrunRoute,
|
||||||
PassiveContorl,
|
PassiveContorl,
|
||||||
PassiveTimeout
|
PassiveTimeout
|
||||||
},
|
},
|
||||||
|
@ -26,6 +26,7 @@ import MenuSection from './menuSection';
|
|||||||
import MenuStation from './menuStation';
|
import MenuStation from './menuStation';
|
||||||
import MenuLimit from './menuLimit';
|
import MenuLimit from './menuLimit';
|
||||||
import MenuAxleReset from './menuAxleReset';
|
import MenuAxleReset from './menuAxleReset';
|
||||||
|
import MenuAutoTrunRoute from './menuAutoTrunRoute';
|
||||||
|
|
||||||
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';
|
||||||
@ -43,7 +44,7 @@ export default {
|
|||||||
MenuStation,
|
MenuStation,
|
||||||
MenuLimit,
|
MenuLimit,
|
||||||
MenuAxleReset,
|
MenuAxleReset,
|
||||||
|
MenuAutoTrunRoute,
|
||||||
PassiveAlarm,
|
PassiveAlarm,
|
||||||
PassiveContorl,
|
PassiveContorl,
|
||||||
PassiveTimeout
|
PassiveTimeout
|
||||||
|
@ -15,7 +15,7 @@ import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler';
|
|||||||
import { DeviceMenu, OperateMode } from '@/scripts/ConstDic';
|
import { DeviceMenu, OperateMode } from '@/scripts/ConstDic';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'MenuLimit',
|
name: 'MenuAutoTurnRoute',
|
||||||
components: {
|
components: {
|
||||||
PopMenu,
|
PopMenu,
|
||||||
TurnBackControl
|
TurnBackControl
|
||||||
|
@ -146,10 +146,12 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
const isDev = process.env.NODE_ENV === 'development';
|
const isDev = process.env.NODE_ENV === 'development';
|
||||||
if (isDev) {
|
if (isDev) {
|
||||||
this.menuNormal.Center.push({
|
// Center
|
||||||
|
this.menuNormal.push({
|
||||||
label: '新建计划车',
|
label: '新建计划车',
|
||||||
handler: this.addPlanTrain,
|
handler: this.addPlanTrain,
|
||||||
cmdType: CMD.Section.CMD_Train_Init_Plan
|
cmdType: CMD.Section.CMD_Train_Init_Plan,
|
||||||
|
isShow: (signalDevice, work) => work === 'dispatchWork'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user