变更申请同意和驳回完成

This commit is contained in:
2026-09-22 17:13:11 +08:00
parent e2409fe19b
commit f2770b752a
3 changed files with 99 additions and 10 deletions
+17
View File
@@ -47,3 +47,20 @@ export function myTasksAddItemApi(change_id:number,data: any) {
data,
});
}
// 驳回变更
export function rejectApi(data: {change_id:number,opinion:string}) {
return request({
url: `/api/approvals/reject`,
method: 'post',
data,
});
}
// 同意变更
export function agreeApi(data: {change_id:number,opinion:string}) {
return request({
url: `/api/approvals/agree`,
method: 'post',
data,
});
}