增加数据源列表参数

wangxinyuan
lwj 2024-08-22 21:52:14 +08:00
parent b63c456f1e
commit 4c468c3aa4
1 changed files with 19 additions and 2 deletions

View File

@ -97,9 +97,9 @@
<div slot="footer" class="dialog-footer">
<el-button @click="dialogFormVisible = false">测试</el-button>
<el-button @click="textP()"></el-button>
<el-button @click="dialogFormVisible = false"> </el-button>
<el-button type="primary" @click="dialogFormVisible = false"> </el-button>
<el-button type="primary" @click="addSource()"> </el-button>
</div>
</el-dialog>
@ -234,16 +234,33 @@ export default {
watch: {},
//",
methods: {
textP(){
connectionTest(this.sourceAddReq).then(res=>{
if (res.code===200){
alert("测试连接成功")
}else{
alert("连接失败")
}
})
},
addSource(){
insertAdd(this.sourceAddReq).then(res=>{
})
},
//
text(row){
connectionTest(row).then(res=>{
if (res.code===200){
alert("测试连接成功");
}else {
alert("测试连接失败");
}
})
},
insertAdd(){
this.dialogFormVisible=true
},
findSelectSourceList(){
selectSourceList(this.SourceReq).then(res=>{