Skip to content

Commit

Permalink
feat: 🎸 新增工作流节点切换
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaodeezhu committed Feb 15, 2022
1 parent f0d74b6 commit a693b98
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/dag/WorkflowEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<el-option
v-for="item in waitTaskList"
:key="item.id"
:label="item.jobName"
:label="item.jobName || item.wfName"
:value="item.id"
></el-option>
</el-select>
Expand Down Expand Up @@ -654,8 +654,13 @@ export default {
clearTimeout(this.taskTimeout);
this.taskTimeout = setTimeout(() => {
this.taskLoading = true;
console.log(this.nodeInfo);
let url = '/job/list';
if(this.nodeInfo.type === 3) {
url = '/workflow/list'
}
this.axios
.post("/job/list", {
.post(url, {
...this.jobQueryContent,
index: 0,
keyword: value,
Expand Down

0 comments on commit a693b98

Please sign in to comment.