import request from '@/router/axios'
|
|
export function addShiftWage(obj) {
|
return request({
|
url: '/mes/shiftWage',
|
method: 'post',
|
data: obj
|
})
|
}
|
|
export function getShiftWageByDutyRecordId(dutyRecordId) {
|
return request({
|
url: '/mes/shiftWage/' + dutyRecordId,
|
method: 'get'
|
})
|
}
|
|
export function qryShiftWageByDutyRecordIdList(ids) {
|
return request({
|
url: '/mes/shiftWage/qryShiftWageByDutyRecordIdList',
|
method: 'get',
|
params: { dutyRecordIdList: ids }
|
})
|
}
|
|
export function summary(dutyRecordId) {
|
return request({
|
url: '/mes//shiftWage/summary/' + dutyRecordId,
|
method: 'get'
|
})
|
}
|
export function summaryAll(ids) {
|
return request({
|
url: '/mes//shiftWage/summaryAll',
|
method: 'get',
|
params: { dutyRecordIdList: ids }
|
})
|
}
|
|
export function countSalary(obj) {
|
return request({
|
url: '/mes/shiftWage/count',
|
method: 'post',
|
data: obj
|
})
|
}
|