增加测试数据源连接测试效果

wangxinyuan
lwj 2024-08-22 21:45:03 +08:00
parent 058e5859b1
commit b63c456f1e
1 changed files with 10 additions and 0 deletions

View File

@ -208,6 +208,8 @@ import {selectSourceList} from "@/api/etl/switch";
import {selectSourceExport} from "@/api/etl/switch";
import {connectionTest} from "@/api/etl/switch";
import {insertAdd} from "@/api/etl/switch";
import {getInfo} from "@/api/etl/switch";
export default {
//import使"
components: {},
@ -232,6 +234,14 @@ export default {
watch: {},
//",
methods: {
//
text(row){
connectionTest(row).then(res=>{
if (res.code===200){
alert("测试连接成功");
}
})
},
insertAdd(){
this.dialogFormVisible=true
},