init : 初始化仓库
This commit is contained in:
47
src/api/custom-query/topo-search.js
Normal file
47
src/api/custom-query/topo-search.js
Normal 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'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user