diff --git a/src/views/planMonitor/components/menus/addTask.vue b/src/views/planMonitor/components/menus/addTask.vue index 75f57dee2..f6d558c4a 100644 --- a/src/views/planMonitor/components/menus/addTask.vue +++ b/src/views/planMonitor/components/menus/addTask.vue @@ -178,14 +178,6 @@ export default { name: 'AddTask', components: { }, - // props: { - // loadRunPlanId: { - // type: String, - // default() { - // return ''; - // } - // } - // }, data() { return { tableLoading:false, diff --git a/src/views/planMonitor/components/menus/deleteTask.vue b/src/views/planMonitor/components/menus/deleteTask.vue index d1825a2ae..d66aa2cbb 100644 --- a/src/views/planMonitor/components/menus/deleteTask.vue +++ b/src/views/planMonitor/components/menus/deleteTask.vue @@ -20,14 +20,6 @@ export default { name: 'DeleteTask', components: { }, - // props: { - // loadRunPlanId: { - // type: String, - // default() { - // return ''; - // } - // } - // }, data() { return { isPlan: false, diff --git a/src/views/planMonitor/components/menus/modifyingTask.vue b/src/views/planMonitor/components/menus/modifyingTask.vue index af21fece5..1e44067af 100644 --- a/src/views/planMonitor/components/menus/modifyingTask.vue +++ b/src/views/planMonitor/components/menus/modifyingTask.vue @@ -123,17 +123,10 @@ export default { name: 'ModifyingTask', components: { }, - props: { - loadRunPlanId: { - type: String, - default() { - return ''; - } - } - }, data() { return { isPlan: false, + loadRunPlanId:'', PlanParser: {}, parkSectionCodeList:[], stopStationMap: {}, @@ -272,6 +265,7 @@ export default { this.tripNumber = params.tripNumber; this.serviceNumber = params.serviceNumber; this.planId = this.$route.query.planId; + this.loadRunPlanId = params.loadRunPlanId; this.PlanParser = this.$theme.loadPlanParser(lineCode); if (mapId) {