approve-063b3195.js
763 Bytes
var o=(s,r,t)=>new Promise((c,p)=>{var n=e=>{try{a(t.next(e))}catch(i){p(i)}},u=e=>{try{a(t.throw(e))}catch(i){p(i)}},a=e=>e.done?c(e.value):Promise.resolve(e.value).then(n,u);a((t=t.apply(s,r)).next())});import{d}from"./index.js";const w=s=>o(void 0,null,function*(){return d.post({url:"/order/erp/audit/do_audit",params:s},{message:"操作成功"})}),A=s=>o(void 0,null,function*(){const r=yield d.post({url:"/order/erp/audit/wait_audit_list",params:s});return r.records=r.records.map(t=>t),new Promise(t=>{t({items:r.records,total:r.total})})}),g=s=>o(void 0,null,function*(){const r=yield d.post({url:"/order/erp/audit/audit_list",params:s});return r.records=r.records.map(t=>t),new Promise(t=>{t({items:r.records,total:r.total})})});export{A as a,w as b,g};