Ver código fonte

workspace update

master
unknown 4 anos atrás
pai
commit
deabe3ba77
1 arquivos alterados com 9 adições e 0 exclusões
  1. +9
    -0
      src/views/main_web/workspace/service.js

+ 9
- 0
src/views/main_web/workspace/service.js Ver arquivo

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

Carregando…
Cancelar
Salvar