refactor(vxe-table): 统一表格列可调整宽度配置方式
将vxe-table的resizable属性统一改为使用column-config配置,修复多处表格样式问题 修复表格行高设置方式,从row-config改为cell-config 优化多处表格的响应式布局和样式细节 新增产品管理模块的报工统计API文件 修复多处表格操作按钮的样式和交互问题
This commit is contained in:
44
src/api/productManagement/completionStatistics.js
Normal file
44
src/api/productManagement/completionStatistics.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取报工列表
|
||||
export function getReportList(params) {
|
||||
return request({
|
||||
url: '/productManagement/completionStatistics/list',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 新增报工
|
||||
export function addReport(data) {
|
||||
return request({
|
||||
url: '/productManagement/completionStatistics/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 更新报工
|
||||
export function updateReport(data) {
|
||||
return request({
|
||||
url: '/productManagement/completionStatistics/update',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除报工
|
||||
export function deleteReport(id) {
|
||||
return request({
|
||||
url: `/productManagement/completionStatistics/delete/${id}`,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取报工统计数据
|
||||
export function getReportStatistics() {
|
||||
return request({
|
||||
url: '/productManagement/completionStatistics/statistics',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user