diff --git a/src/views/main_web/workspace/service.js b/src/views/main_web/workspace/service.js index ef563005..f10fca24 100644 --- a/src/views/main_web/workspace/service.js +++ b/src/views/main_web/workspace/service.js @@ -62,4 +62,13 @@ export async function AddArchMilesStone(fileInfo) { export async function fileCoordinationChange(fileInfo) { const res = await fetchApi('file/fileCoordinationChange', fileInfo); return res; +} +/** + * + * @param {*} fileId + * @param {number} status 1: 未工作 2: 工作中 + */ +export async function changeFileWorkStatus(fileId, workStatus) { + const res = await fetchApi('file/changeFileWorkStatus', {fileId, workStatus }); + return wrapErrorHint(res); } \ No newline at end of file