diff --git a/src/views/etl/components/configuringParameters.vue b/src/views/etl/components/configuringParameters.vue index 5ec9fe3..70beeb2 100644 --- a/src/views/etl/components/configuringParameters.vue +++ b/src/views/etl/components/configuringParameters.vue @@ -88,11 +88,8 @@ export default { }; }, created() { - this.getShellData() - this.getTableData() - }, - mounted() { - + this.getShellData() // 查询任务关联脚本 + this.getTableData() // 获取列表数据 }, methods: { // 获取列表数据 @@ -115,7 +112,7 @@ export default { } }) }, - /** 新增字段 */ + // 新增字段 handleAddValst() { this.tableData.push({ "ShellParam-ShellName": undefined, @@ -126,7 +123,7 @@ export default { "ShellParam-ValueFormat": undefined, }) }, - /** 删除字段 */ + // 删除字段 handleDeleteValst(index) { this.tableData.splice(index, 1) }, @@ -142,7 +139,7 @@ export default { } post('/admin/etl/shellparam/save', params).then(res => { if (res.code === 200) { - this.msgSuccess('新增成功') + this.msgSuccess('配置成功') this.$emit('editCallBack') } else { this.msgError(res.msg) @@ -152,6 +149,3 @@ export default { }, }; -