feat(wms): 新增报表导出文件管理功能
新增报表导出文件管理模块,包含后端接口和前端页面 在各类报表页面添加保存报表功能 优化CoilSelector和CoilCard组件显示 调整分页大小和表格高度 统一各产线报表配置 修复文件预览组件高度问题
This commit is contained in:
44
klp-ui/src/api/wms/exportFile.js
Normal file
44
klp-ui/src/api/wms/exportFile.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询报导出文件列表
|
||||
export function listExportFile(query) {
|
||||
return request({
|
||||
url: '/wms/exportFile/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询报导出文件详细
|
||||
export function getExportFile(id) {
|
||||
return request({
|
||||
url: '/wms/exportFile/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增报导出文件
|
||||
export function addExportFile(data) {
|
||||
return request({
|
||||
url: '/wms/exportFile',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改报导出文件
|
||||
export function updateExportFile(data) {
|
||||
return request({
|
||||
url: '/wms/exportFile',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除报导出文件
|
||||
export function delExportFile(id) {
|
||||
return request({
|
||||
url: '/wms/exportFile/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user