报表分享
parent
0465d8d3e2
commit
cce203363b
@ -0,0 +1,42 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function reportShareList(params) {
|
||||
return request({
|
||||
url: 'reportShare/pageList',
|
||||
method: 'GET',
|
||||
params,
|
||||
})
|
||||
}
|
||||
|
||||
export function reportShareAdd(data) {
|
||||
return request({
|
||||
url: 'reportShare',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function reportShareDeleteBatch(data) {
|
||||
return request({
|
||||
url: 'reportShare/delete/batch',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function reportShareUpdate(data) {
|
||||
return request({
|
||||
url: 'reportShare',
|
||||
method: 'put', data,
|
||||
})
|
||||
}
|
||||
|
||||
export function reportShareDetail(data) {
|
||||
return request({
|
||||
url: 'reportShare/' + data.id,
|
||||
method: 'get',
|
||||
params: { accessKey: data.accessKey }
|
||||
})
|
||||
}
|
||||
|
||||
export default { reportShareList, reportShareAdd, reportShareDeleteBatch, reportShareUpdate, reportShareDetail }
|
Loading…
Reference in New Issue