代码调整
This commit is contained in:
parent
d06d0eec15
commit
bbcf5b3fec
@ -7,7 +7,7 @@
|
||||
<menu-section ref="menuSection" :selected="selected" :work="'dispatchWork'" />
|
||||
<menu-train ref="menuTrain" :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-contorl ref="passiveControl" pop-class="foshan-01__systerm" />
|
||||
@ -23,6 +23,7 @@ import MenuSignal from './menuSignal';
|
||||
import MenuSection from './menuSection';
|
||||
import MenuTrain from './menuTrain';
|
||||
import MenuLimit from './menuLimit';
|
||||
import MenuAutoTrunRoute from './menuAutoTrunRoute';
|
||||
import PassiveAlarm from './passiveDialog/alarm';
|
||||
import PassiveContorl from '@/jmapNew/theme/components/menus/passiveDialog/control';
|
||||
import PassiveTimeout from './passiveDialog/timeout';
|
||||
@ -37,6 +38,7 @@ export default {
|
||||
MenuTrain,
|
||||
MenuLimit,
|
||||
PassiveAlarm,
|
||||
MenuAutoTrunRoute,
|
||||
PassiveContorl,
|
||||
PassiveTimeout
|
||||
},
|
||||
|
@ -26,6 +26,7 @@ import MenuSection from './menuSection';
|
||||
import MenuStation from './menuStation';
|
||||
import MenuLimit from './menuLimit';
|
||||
import MenuAxleReset from './menuAxleReset';
|
||||
import MenuAutoTrunRoute from './menuAutoTrunRoute';
|
||||
|
||||
import PassiveAlarm from './passiveDialog/alarm';
|
||||
import PassiveContorl from '@/jmapNew/theme/components/menus/passiveDialog/control';
|
||||
@ -43,7 +44,7 @@ export default {
|
||||
MenuStation,
|
||||
MenuLimit,
|
||||
MenuAxleReset,
|
||||
|
||||
MenuAutoTrunRoute,
|
||||
PassiveAlarm,
|
||||
PassiveContorl,
|
||||
PassiveTimeout
|
||||
|
@ -15,7 +15,7 @@ import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler';
|
||||
import { DeviceMenu, OperateMode } from '@/scripts/ConstDic';
|
||||
|
||||
export default {
|
||||
name: 'MenuLimit',
|
||||
name: 'MenuAutoTurnRoute',
|
||||
components: {
|
||||
PopMenu,
|
||||
TurnBackControl
|
||||
|
@ -146,10 +146,12 @@ export default {
|
||||
mounted() {
|
||||
const isDev = process.env.NODE_ENV === 'development';
|
||||
if (isDev) {
|
||||
this.menuNormal.Center.push({
|
||||
// Center
|
||||
this.menuNormal.push({
|
||||
label: '新建计划车',
|
||||
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