56 lines
1.2 KiB
JavaScript
56 lines
1.2 KiB
JavaScript
/*
|
|
* @Author: zwq
|
|
* @Date: 2024-04-18 16:53:17
|
|
* @LastEditors: zwq
|
|
* @LastEditTime: 2024-09-06 15:00:09
|
|
* @Description:
|
|
*/
|
|
|
|
import request from '@/utils/request'
|
|
// 更新深加工良品率
|
|
export function updateDeepRatioHis(data) {
|
|
return request({
|
|
url: '/monitoring/cost-deep-ratio-his/update',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
// 获得深加工产线良品率
|
|
export function getDeepPDRatioHisPage(query) {
|
|
return request({
|
|
url: '/monitoring/cost-deep-ratio-his/page-pd',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 获得深加工工段良品率
|
|
export function getDeepWSRatioHisPage(query) {
|
|
return request({
|
|
url: '/monitoring/cost-deep-ratio-his/page-ws',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 导出深加工工段良品率 Excel
|
|
export function exportDeepWSRatioHisExcel(query) {
|
|
return request({
|
|
url: '/monitoring/cost-deep-ratio-his/export-excel-ws',
|
|
method: 'get',
|
|
params: query,
|
|
responseType: 'blob'
|
|
})
|
|
}
|
|
|
|
|
|
// 导出深加工产线良品率 Excel
|
|
export function exportDeepPDRatioHisExcel(query) {
|
|
return request({
|
|
url: '/monitoring/cost-deep-ratio-his/export-excel-pd',
|
|
method: 'get',
|
|
params: query,
|
|
responseType: 'blob'
|
|
})
|
|
}
|
|
|