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() { created() {
this.getShellData()
this.getTableData()
},
mounted() {
this.getShellData() //
this.getTableData() //
}, },
methods: { methods: {
// //
@ -115,7 +112,7 @@ export default {
} }
}) })
}, },
/** 新增字段 */
//
handleAddValst() { handleAddValst() {
this.tableData.push({ this.tableData.push({
"ShellParam-ShellName": undefined, "ShellParam-ShellName": undefined,
@ -126,7 +123,7 @@ export default {
"ShellParam-ValueFormat": undefined, "ShellParam-ValueFormat": undefined,
}) })
}, },
/** 删除字段 */
//
handleDeleteValst(index) { handleDeleteValst(index) {
this.tableData.splice(index, 1) this.tableData.splice(index, 1)
}, },
@ -142,7 +139,7 @@ export default {
} }
post('/admin/etl/shellparam/save', params).then(res => { post('/admin/etl/shellparam/save', params).then(res => {
if (res.code === 200) { if (res.code === 200) {
this.msgSuccess('新增成功')
this.msgSuccess('配置成功')
this.$emit('editCallBack') this.$emit('editCallBack')
} else { } else {
this.msgError(res.msg) this.msgError(res.msg)
@ -152,6 +149,3 @@ export default {
}, },
}; };
</script> </script>
<style lang="less" scoped>
</style>

Loading…
Cancel
Save