2 lines
1.5 KiB
JavaScript
2 lines
1.5 KiB
JavaScript
var t=(a,u,n)=>new Promise((i,p)=>{var o=e=>{try{r(n.next(e))}catch(c){p(c)}},k=e=>{try{r(n.throw(e))}catch(c){p(c)}},r=e=>e.done?i(e.value):Promise.resolve(e.value).then(o,k);r((n=n.apply(a,u)).next())});import{aq as s}from"./bootstrap-CRjSNGHY.js";function m(a){return t(this,null,function*(){return s.get("/bpm/task/todo-page",{params:a})})}function b(a){return t(this,null,function*(){return s.get("/bpm/task/done-page",{params:a})})}function w(a){return t(this,null,function*(){return s.get("/bpm/task/manager-page",{params:a})})}const T=a=>t(null,null,function*(){return yield s.put("/bpm/task/approve",a)}),d=a=>t(null,null,function*(){return yield s.put("/bpm/task/reject",a)}),l=a=>t(null,null,function*(){return yield s.get(`/bpm/task/list-by-process-instance-id?processInstanceId=${a}`)}),f=a=>t(null,null,function*(){return yield s.get(`/bpm/task/list-by-return?id=${a}`)}),I=a=>t(null,null,function*(){return yield s.put("/bpm/task/return",a)}),P=a=>t(null,null,function*(){return yield s.put("/bpm/task/delegate",a)}),h=a=>t(null,null,function*(){return yield s.put("/bpm/task/transfer",a)}),j=a=>t(null,null,function*(){return yield s.put("/bpm/task/create-sign",a)}),q=a=>t(null,null,function*(){return yield s.delete("/bpm/task/delete-sign",a)}),v=a=>t(null,null,function*(){return yield s.put("/bpm/task/copy",a)}),B=a=>t(null,null,function*(){return yield s.put("/bpm/task/withdraw",null,{params:{taskId:a}})});export{T as a,I as b,v as c,P as d,q as e,l as f,f as g,b as h,w as i,m as j,d as r,j as s,h as t,B as w};
|