2 lines
1.5 KiB
JavaScript
2 lines
1.5 KiB
JavaScript
var n=(e,a,c)=>new Promise((i,p)=>{var g=t=>{try{r(c.next(t))}catch(o){p(o)}},u=t=>{try{r(c.throw(t))}catch(o){p(o)}},r=t=>t.done?i(t.value):Promise.resolve(t.value).then(g,u);r((c=c.apply(e,a)).next())});import{aq as s}from"./bootstrap-DsjPfOC_.js";function d(e){return n(this,null,function*(){return s.get("/bpm/process-instance/my-page",{params:e})})}function b(e){return n(this,null,function*(){return s.get("/bpm/process-instance/manager-page",{params:e})})}function l(e){return n(this,null,function*(){return s.post("/bpm/process-instance/create",e)})}function f(e,a){return n(this,null,function*(){return s.delete("/bpm/process-instance/cancel-by-start-user",{data:{id:e,reason:a}})})}function P(e,a){return n(this,null,function*(){return s.delete("/bpm/process-instance/cancel-by-admin",{data:{id:e,reason:a}})})}function I(e){return n(this,null,function*(){return s.get(`/bpm/process-instance/get?id=${e}`)})}function v(e){return n(this,null,function*(){return s.get("/bpm/process-instance/copy/page",{params:e})})}function x(e){return n(this,null,function*(){return s.get("/bpm/process-instance/get-approval-detail",{params:e})})}function A(e){return n(this,null,function*(){return s.get("/bpm/process-instance/get-next-approval-nodes",{params:e})})}function B(e){return n(this,null,function*(){return s.get(`/bpm/process-instance/get-bpmn-model-view?id=${e}`)})}function M(e){return n(this,null,function*(){return s.get(`/bpm/process-instance/get-print-data?processInstanceId=${e}`)})}export{I as a,l as b,f as c,B as d,A as e,M as f,x as g,d as h,b as i,P as j,v as k};
|