运行图代码调整
This commit is contained in:
parent
448832293b
commit
a1342ed2b6
@ -8,7 +8,6 @@
|
||||
<!-- :style="{height: $store.state.app.height-54+'px' }" -->
|
||||
<div v-if="type=='routeMap'" class="routeMap">
|
||||
<route-config ref="routeConfig" />
|
||||
<!-- <runplan-config v-if="type=='runplanParams'" ref="runPlanConfig" /> -->
|
||||
</div>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@ -20,7 +19,6 @@ import { loadMapDataById } from '@/utils/loaddata';
|
||||
import { EventBus } from '@/scripts/event-bus';
|
||||
import RouteConfig from './routeConfig';
|
||||
import GernaratePlan from '../menus/gernaratePlanTrain';
|
||||
// import RunplanConfig from './runplanConfig';
|
||||
|
||||
export default {
|
||||
name: 'RouteMap',
|
||||
@ -28,7 +26,6 @@ export default {
|
||||
JlmapVisual,
|
||||
RouteConfig,
|
||||
GernaratePlan
|
||||
// RunplanConfig
|
||||
},
|
||||
props:{
|
||||
},
|
||||
@ -131,7 +128,6 @@ export default {
|
||||
setSelected(selected) {
|
||||
if (selected) {
|
||||
if (this.type == 'routeMap') { this.$refs.routeConfig.setSelected(selected); }
|
||||
// if (this.type == 'runplanParams') { this.$refs.runPlanConfig.setSelected(selected); }
|
||||
}
|
||||
},
|
||||
// batchSectionListFocus(flag) {
|
||||
@ -143,7 +139,6 @@ export default {
|
||||
close() {
|
||||
this.dialogShow = false;
|
||||
if (this.type == 'routeMap') { this.$refs.routeConfig.createRouteEvent(); }
|
||||
// if (this.type == 'runplanParams') { this.$refs.runPlanConfig.clear(); }
|
||||
if (this.type == 'generateRouting') { this.$refs.gernaratePlanTrain.doClose(); }
|
||||
},
|
||||
closeDialog() {
|
||||
|
@ -440,7 +440,6 @@ export default {
|
||||
},
|
||||
// 运行图配置文件
|
||||
handleRunplanParams() {
|
||||
// this.$refs.routeMap.doShow('runplanParams');
|
||||
this.$refs.runplanConfig.doShow();
|
||||
},
|
||||
// 停站时间
|
||||
@ -453,7 +452,6 @@ export default {
|
||||
},
|
||||
// 生成计划
|
||||
handleGernaratePlanningTrain() {
|
||||
// this.$emit('dispatchDialog', { name: 'gernaratePlanTrain', params: {} });
|
||||
this.$refs.routeMap.doShow('generateRouting');
|
||||
},
|
||||
// 校验运行图
|
||||
|
@ -504,7 +504,6 @@ export default {
|
||||
},
|
||||
// 运行图配置文件
|
||||
handleRunplanParams() {
|
||||
// this.$refs.routeMap.doShow('runplanParams');
|
||||
if (this.loadRunPlanId) {
|
||||
this.$refs.runplanConfig.doShow();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user