待我处理-关闭变更完成

This commit is contained in:
2026-09-16 09:20:21 +08:00
parent 098e92026e
commit 8272d0653f
3 changed files with 57 additions and 25 deletions
+16 -1
View File
@@ -14,4 +14,19 @@ export function myTasksWithdrawApi(id:number,data: {reason:string}) {
method: 'post',
data,
});
}
}
// 关闭变更
export function myTasksCloseApi(change_id:number) {
return request({
url: `/api/changes/${change_id}/close`,
method: 'post',
});
}
// 资料关闭
export function myTasksCloseMaterialApi(change_id:number,data: any) {
return request({
url: `/api/materials/${change_id}/material-close`,
method: 'post',
data,
});
}