2024-04-30 17:43:52 +08:00

2 lines
1.1 KiB
JavaScript

import{ay as t}from"./index-7d490659.js";function e(e,s){return t({url:`wflow/process/progress/${e}/${s}`,method:"get"})}function s(e){return t({url:"wflow/process/task/handler",method:"post",data:e})}function o(e,s){return t({url:"wflow/process/task/recall/nodes",method:"get",data:{instanceId:e,taskId:s}})}function r(e){return t({url:`wflow/process/task/settings/${e}`,method:"get"})}const a={getUserTodoList:function(e){return t({url:"wflow/process/task/todoList",method:"get",data:e})},getUserSubmittedList:function(e){return t({url:"wflow/process/mySubmitted",method:"get",data:e})},getSubmittedList:function(e){return t({url:"wflow/process/submittedList",method:"get",data:e})},getFormAndProcessProgress:e,approvalTask:s,getInstanceFormData:function(e){return t({url:`wflow/process/form/data/by/${e}`,method:"get"})},getEnableRecallNodes:o,getIdoList:function(e){return t({url:"wflow/process/task/idoList",method:"get",data:e})},getCcMeList:function(e){return t({url:"wflow/process/ccMe",method:"get",params:e})},getTaskNodeSettings:r};export{r as a,o as b,s as c,e as g,a as t};