mirror of
https://github.com/dataease/dataease.git
synced 2025-02-27 13:52:53 +08:00
37 lines
611 B
JavaScript
37 lines
611 B
JavaScript
import request from '@/utils/request'
|
|
|
|
export function tree(data) {
|
|
return request({
|
|
url: '/api/panelView/tree',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function viewsWithIds(data) {
|
|
return request({
|
|
url: '/api/panelView/viewsWithIds',
|
|
method: 'post',
|
|
loading: true,
|
|
data
|
|
})
|
|
}
|
|
|
|
export function paramsWithIds(type, data) {
|
|
return request({
|
|
url: '/dataset/table/paramsWithIds/' + type,
|
|
method: 'post',
|
|
loading: true,
|
|
data
|
|
})
|
|
}
|
|
|
|
export function findOne(id) {
|
|
return request({
|
|
url: '/api/panelView/findOne/' + id,
|
|
method: 'get',
|
|
loading: true
|
|
})
|
|
}
|
|
|