Explorar el Código

workspace update

master
unknown hace 4 años
padre
commit
deabe3ba77
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. +9
    -0
      src/views/main_web/workspace/service.js

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

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

Cargando…
Cancelar
Guardar