diff --git a/src/views/planSchedule/menusPlan/managePlanList.vue b/src/views/planSchedule/menusPlan/managePlanList.vue index 635c078f0..db7a03f61 100644 --- a/src/views/planSchedule/menusPlan/managePlanList.vue +++ b/src/views/planSchedule/menusPlan/managePlanList.vue @@ -30,7 +30,16 @@ export default { queryForm: { labelWidth: '140px', // reset: true, - offsetSpan: 20 + // offsetSpan: 20, + queryObject: { + templatePlanId: { + type: 'select', + label: this.$t('publish.runPlanName'), + config: { + data: [] + } + } + } }, queryList: { query: this.queryFunction, @@ -82,6 +91,9 @@ export default { this.templatePlanList = []; queryRunPlanList(this.$route.query.mapId).then(resp => { this.templatePlanList = resp.data; + this.templatePlanList.forEach(element => { + this.queryForm.queryObject.templatePlanId.config.data.push({label:element.name, value:element.id}); + }); }); }, queryFunction(params) {