Skip to content

Commit

Permalink
批量创建任务模版选择bug修改
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiYe-Jing committed Jun 19, 2020
1 parent 4d59f3b commit 644d6f4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/views/datax/json-build-batch/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ export default {
executorParam: '',
replaceParam: '',
jvmParam: '',
incStartTime: ''
incStartTime: '',
templateId: 0
}
}
},
Expand Down Expand Up @@ -185,7 +186,8 @@ export default {
writerDatasourceId: writeData.datasourceId,
writerTables: writerTables,
rdbmsReader: rdbmsReader,
rdbmsWriter: rdbmsWriter
rdbmsWriter: rdbmsWriter,
templateId: this.templateId
}
// 调api
job.batchAddJob(obj).then(response => {
Expand Down Expand Up @@ -237,6 +239,7 @@ export default {
this.temp.jobDesc = this.getReaderData().tableName
this.$refs.jobTemplateSelectDrawer.closeDrawer()
this.jobTemplate = val.id + '(' + val.jobDesc + ')'
this.temp.templateId = val.id
}
}
}
Expand Down

0 comments on commit 644d6f4

Please sign in to comment.