|
@@ -456,7 +456,7 @@ export default {
|
|
this.addForm = {
|
|
this.addForm = {
|
|
id:'',
|
|
id:'',
|
|
eventName:'',
|
|
eventName:'',
|
|
- columnFormula:'',
|
|
|
|
|
|
+ columnFormula:'请输入标准SQL查询语句,例如:select count(*) from tb_name',
|
|
describeTitle:'',
|
|
describeTitle:'',
|
|
status:'1',
|
|
status:'1',
|
|
blockColor:'',
|
|
blockColor:'',
|
|
@@ -492,7 +492,7 @@ export default {
|
|
tableListChange(val) {
|
|
tableListChange(val) {
|
|
if (val) {
|
|
if (val) {
|
|
this.columnsLoading = true
|
|
this.columnsLoading = true
|
|
- listColumnsByDatasource({ tableViewName: val, datasourceId: this.datasourceId }).then((res) => {
|
|
|
|
|
|
+ listColumnsByDatasource({ tableViewName: val, datasourceId: this.dbSourceId }).then((res) => {
|
|
this.tableListColumns = res.data.data
|
|
this.tableListColumns = res.data.data
|
|
this.columnsLoading = false
|
|
this.columnsLoading = false
|
|
})
|
|
})
|