运行图编制问题调整

This commit is contained in:
joylink_fanyuhong 2024-06-24 19:40:07 +08:00
parent 22a2e11517
commit 0c4c5bebb0
2 changed files with 553 additions and 553 deletions

View File

@ -418,7 +418,7 @@ export default {
// this.$emit('dispatchOperate', {
// dialogName: 'openRunPlan', operate: 'loadRunPlanData', params: Object.assign({refresh: true}, this.$route.query)
// });
this.$emit('refresh');
this.$store.dispatch('runPlan/refresh');
this.$message.success(this.$t('tip.addTaskSuccessfully'));
}).catch((error) => {
this.$messageBox(this.$t('tip.addTaskFailed') + ': ' + error.message);

View File

@ -61,9 +61,9 @@ export default {
deletePlanTrip(model).then(resp => {
this.$store.dispatch('runPlan/setSelected', {});
this.$store.dispatch('runPlan/setDraftSelected', {});
this.$emit('refresh');
this.$store.dispatch('runPlan/refresh');
// this.$emit('dispatchOperate', {
// dialogName: 'openRunPlan', operate: 'loadRunPlanData', params: Object.assign({refresh: true}, this.$route.query)
// dialogName: 'openRunPlan', operate: 'loadRunPlanData', params: Object.assign({refresh: true}, this.$route.query)
// });
this.$message.success(this.$t('tip.deleteTaskSuccessfully'));
}).catch(() => {