Browse Source

ETL列表优化

pull/5/head
wangxy 3 years ago
parent
commit
ec87103259
1 changed files with 5 additions and 11 deletions
  1. +5
    -11
      src/views/etl/components/configuringParameters.vue

+ 5
- 11
src/views/etl/components/configuringParameters.vue View File

@ -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 {
},
};
</script>
<style lang="less" scoped>
</style>

Loading…
Cancel
Save