同步资产提交

master
lwj 2024-08-24 01:51:12 +08:00
parent cf72448453
commit c7317121ad
2 changed files with 17 additions and 0 deletions

View File

@ -37,6 +37,15 @@ export function getInfo(id){
}
//测试连接
export function structure(data){
return request({
url: "/source/source/structure",
method: "post",
data:data
})
}
//测试连接
export function connectionTest(data){
return request({

View File

@ -268,6 +268,7 @@ import {connectionTest} from "@/api/etl/switch";
import {insertAdd} from "@/api/etl/switch";
import {deleteSource} from "@/api/etl/switch";
import {getInfo} from "@/api/etl/switch";
import {structure} from "@/api/etl/switch";
export default {
//import使"
@ -294,6 +295,13 @@ export default {
watch: {},
//",
methods: {
struceure(row){
structure(row).then(res=>{
if (res ===200){
alert("同步资产成功")
}
})
},
deleteSourceByIds(){
deleteSource(this.ids).then(res=>{
if(res.code===200){