南京二号线调整
This commit is contained in:
parent
38f7a7b83e
commit
e81585b706
@ -839,9 +839,7 @@ export default {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (this.selectRouteList.length) {
|
if (this.selectRouteList.length) {
|
||||||
if (this.selectRouteList.length === 1) {
|
|
||||||
this.route = this.selectRouteList[0];
|
this.route = this.selectRouteList[0];
|
||||||
}
|
|
||||||
this.handleRouteMenu();
|
this.handleRouteMenu();
|
||||||
this.deviceHighLight(this.selectedObj, true);
|
this.deviceHighLight(this.selectedObj, true);
|
||||||
this.oldDevice = this.selectedObj;
|
this.oldDevice = this.selectedObj;
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<pop-menu ref="popMenu" :menu="menu" pop-menu-class="haerbin-01__systerm" />
|
<pop-menu ref="popMenu" :menu="menu" pop-menu-class="haerbin-01__systerm" />
|
||||||
<set-fault ref="setFault" pop-class="haerbin-01__systerm" />
|
<set-fault ref="setFault" pop-class="haerbin-01__systerm" />
|
||||||
|
<psl ref="psl" pop-class="xian-01__systerm" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -13,12 +14,14 @@ import MenuContextHandler from '@/scripts/cmdPlugin/MenuContextHandler';
|
|||||||
import { mapGetters } from 'vuex';
|
import { mapGetters } from 'vuex';
|
||||||
import { DeviceMenu, OperateMode } from '@/scripts/ConstDic';
|
import { DeviceMenu, OperateMode } from '@/scripts/ConstDic';
|
||||||
import { menuOperate, commitOperate } from '@/jmapNew/theme/components/utils/menuOperate';
|
import { menuOperate, commitOperate } from '@/jmapNew/theme/components/utils/menuOperate';
|
||||||
|
import Psl from '@/jmapNew/theme/components/menus/dialog/psl';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'StationStandMenu',
|
name: 'StationStandMenu',
|
||||||
components: {
|
components: {
|
||||||
PopMenu,
|
PopMenu,
|
||||||
SetFault
|
SetFault,
|
||||||
|
Psl
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
selected: {
|
selected: {
|
||||||
@ -88,8 +91,13 @@ export default {
|
|||||||
// 故障模式菜单列表
|
// 故障模式菜单列表
|
||||||
if (this.operatemode === OperateMode.FAULT) {
|
if (this.operatemode === OperateMode.FAULT) {
|
||||||
this.menu = this.menuForce;
|
this.menu = this.menuForce;
|
||||||
|
if (this.$store.state.training.prdType === '01') {
|
||||||
|
this.menu.push({
|
||||||
|
label: 'PSL',
|
||||||
|
handler: this.openPsl
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
doShow(point) {
|
doShow(point) {
|
||||||
this.clickEvent();
|
this.clickEvent();
|
||||||
@ -121,6 +129,10 @@ export default {
|
|||||||
},
|
},
|
||||||
triggerFaultManagement() {
|
triggerFaultManagement() {
|
||||||
this.$store.dispatch('training/setTriggerFaultCount', this.selected);
|
this.$store.dispatch('training/setTriggerFaultCount', this.selected);
|
||||||
|
},
|
||||||
|
// 打开PSL面板
|
||||||
|
openPsl() {
|
||||||
|
this.$refs.psl.doShow(this.selected);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -191,7 +191,6 @@ export default {
|
|||||||
handler: this.openPsl
|
handler: this.openPsl
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
doShow(point) {
|
doShow(point) {
|
||||||
|
Loading…
Reference in New Issue
Block a user