Browse Source

workspace update

master
unknown 4 years ago
parent
commit
deabe3ba77
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      src/views/main_web/workspace/service.js

+ 9
- 0
src/views/main_web/workspace/service.js View File

@@ -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);
}

Loading…
Cancel
Save