运行图代码调整

This commit is contained in:
joylink_cuiweidong 2021-04-14 14:36:33 +08:00
parent 448832293b
commit a1342ed2b6
3 changed files with 0 additions and 8 deletions

View File

@ -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() {

View File

@ -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');
},
//

View File

@ -504,7 +504,6 @@ export default {
},
//
handleRunplanParams() {
// this.$refs.routeMap.doShow('runplanParams');
if (this.loadRunPlanId) {
this.$refs.runplanConfig.doShow();
} else {