init : 初始化仓库

This commit is contained in:
2024-08-18 22:21:18 +08:00
commit 934b3b7b74
366 changed files with 55148 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
import request from '@/utils/request.js'
// 获取topo拖拽数据信息
export const getTopoDragInfo = (queryId) => {
return request({
url: '/custom/query/topo/search/' + queryId,
method: 'get'
})
}
export const saveTopo = (data) => {
return request({
url: '/custom/query/topo/search',
method: 'post',
data
})
}
export const previewTopo = (data,pageInfo) => {
return request({
url: '/custom/query/topo/search/preview',
method: 'post',
data,
params:pageInfo,
})
}
export const previewTopologyData = (data,pageInfo) => {
return request({
url: '/custom/query/topo/search/preview/data',
method: 'post',
data,
params:pageInfo,
})
}
export const topoToLine = (data) => {
return request({
url: '/custom/query/topo/search/publish',
method: 'post',
data
})
}
export const topoDownLine = (queryId) => {
return request({
url: '/custom/query/topo/search/cancel/'+queryId,
method: 'put'
})
}