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