Commit 780b17d6 authored by 谢子梦's avatar 谢子梦

stage:发薪批次结束

parent f128740e
...@@ -102,3 +102,56 @@ export function getDetailHistory(query) { ...@@ -102,3 +102,56 @@ export function getDetailHistory(query) {
params: query params: query
}) })
} }
// 新版批量支付
export function newBatchPay(data) {
return request({
url: '/business/taskBatch/create',
method: 'post',
data: data
})
}
// 查询发薪批次信息
export function getBatchInfoAPI(id) {
return request({
url: `/business/taskBatch/getInfo/${id}`,
method: 'get'
})
}
// 查询发薪批次人员-分页查询
export function listBatchInfoAPI(query) {
return request({
url: '/business/taskStaff/list',
method: 'get',
params: query
})
}
// 新增发薪批次人员
export function addBatchInfoAPI(data) {
return request({
url: '/business/taskBatch/staff/add',
method: 'post',
data: data
})
}
// 删除发薪批次人员
export function delBatchInfoAPI(ids) {
return request({
url: `/business/taskBatch/staff/remove/${ids}`,
method: 'get'
})
}
// 修改发薪批次人员
export function updateBatchInfoAPI(data) {
return request({
url: '/business/taskBatch/staff/edit',
method: 'post',
data: data
})
}
// 结算预览
export function previewSettleAPI(id) {
return request({
url: `/business/taskBatch/settlement/preview/${id}`,
method: 'get'
})
}
This diff is collapsed.
This diff is collapsed.
...@@ -276,7 +276,7 @@ export default { ...@@ -276,7 +276,7 @@ export default {
if (this.$route.query.onlineTaskId) { if (this.$route.query.onlineTaskId) {
this.batchForm.onlineTaskId = this.$route.query.onlineTaskId; this.batchForm.onlineTaskId = this.$route.query.onlineTaskId;
} }
console.log(this.batchForm) // console.log(this.batchForm)
}, },
methods: { methods: {
// 新增明细 // 新增明细
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment