feat(wms): 新增报结果存储API及页面
refactor(aps): 修改导出接口为POST并调整表格高度
This commit is contained in:
44
klp-ui/src/api/wms/reportResultStorage.js
Normal file
44
klp-ui/src/api/wms/reportResultStorage.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询报结果存储(JSON+横向对比专用)列表
|
||||
export function listReportResultStorage(query) {
|
||||
return request({
|
||||
url: '/wms/reportResultStorage/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询报结果存储(JSON+横向对比专用)详细
|
||||
export function getReportResultStorage(storageId) {
|
||||
return request({
|
||||
url: '/wms/reportResultStorage/' + storageId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增报结果存储(JSON+横向对比专用)
|
||||
export function addReportResultStorage(data) {
|
||||
return request({
|
||||
url: '/wms/reportResultStorage',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改报结果存储(JSON+横向对比专用)
|
||||
export function updateReportResultStorage(data) {
|
||||
return request({
|
||||
url: '/wms/reportResultStorage',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除报结果存储(JSON+横向对比专用)
|
||||
export function delReportResultStorage(storageId) {
|
||||
return request({
|
||||
url: '/wms/reportResultStorage/' + storageId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user