Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: 快速执行的任务历史,不应该显示:步骤执行详情,应该显示:快速执行详情,现在会误以为是作业步骤 #1299 #1353

Merged
merged 1 commit into from
Sep 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 20 additions & 10 deletions src/frontend/src/views/executive-history/list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -582,17 +582,27 @@
id: taskInstance.id,
},
});
return;
} else if (taskInstance.isScript || taskInstance.isFile) {
this.$router.push({
name: 'quickLaunchStep',
params: {
taskInstanceId: taskInstance.id,
},
query: {
from: 'historyList',
},
});
} else {
this.$router.push({
name: 'historyStep',
params: {
taskInstanceId: taskInstance.id,
},
query: {
from: 'historyList',
},
});
}
this.$router.push({
name: 'historyStep',
params: {
taskInstanceId: taskInstance.id,
},
query: {
from: 'historyList',
},
});
},
/**
* @desc 重做执行任务
Expand Down