报表新增
This commit is contained in:
40
src/api/report/qcReport.js
Normal file
40
src/api/report/qcReport.js
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* @Author: zhp
|
||||
* @Date: 2024-04-18 09:27:54
|
||||
* @LastEditTime: 2024-04-18 16:00:59
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 更新质量检测类型基础
|
||||
export function getOriginalData(data) {
|
||||
return request({
|
||||
url: 'extend/customized-reports/original',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
export function getIngredientData(data) {
|
||||
return request({
|
||||
url: 'extend/customized-reports/materialCost',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function getCuttingtData(data) {
|
||||
return request({
|
||||
url: 'extend/customized-reports/cutting',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function getAutoDailyData(data) {
|
||||
return request({
|
||||
url: 'base/report-auto-daily/listAll',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user