yudao-dev/src/api/report/production.js
‘937886381’ 0457514f1e 修改bug
2024-03-12 11:18:06 +08:00

67 lines
1.3 KiB
JavaScript

/*
* @Author: zhp
* @Date: 2023-12-12 13:49:02
* @LastEditTime: 2024-03-12 11:16:01
* @LastEditors: zhp
* @Description:
*/
import request from '@/utils/request'
// 获得质量检查信息记录表分页
export function getProductionDataList(query) {
return request({
url: '/base/report-auto-production/listPlus',
method: 'get',
data: query,
})
}
export function updateProductionDataList(query) {
return request({
url: '/base/report-auto-production/updatePlus',
method: 'put',
data: query,
})
}
export function updateSumProductionDataList(query) {
return request({
url: '/base/report-auto-production/update',
method: 'put',
data: query,
})
}
export function getAutoDeliveDataList(query) {
return request({
url: '/base/report-auto-delive/listPlus',
method: 'put',
data: query,
})
}
export function updateAutoDeliveDataList(query) {
return request({
url: '/base/report-auto-delive/update',
method: 'put',
data: query,
})
}
export function updateSumAutoDeliveDataList(query) {
return request({
url: '/base/report-auto-delive/updatePlus',
method: 'put',
data: query,
})
}
export function exportProductExcel(query) {
return request({
url: '/base/report-auto-production-backup/export-excel',
method: 'get',
params: query,
responseType: 'blob'
})
}