system-c978e3dc.js 604 Bytes
var c=(s,o,e)=>new Promise((g,i)=>{var p=t=>{try{a(e.next(t))}catch(n){i(n)}},u=t=>{try{a(e.throw(t))}catch(n){i(n)}},a=t=>t.done?g(t.value):Promise.resolve(t.value).then(p,u);a((e=e.apply(s,o)).next())});import{d as r}from"./index.js";const y=s=>r.get({url:"/system/getDeptList",params:s}),d=s=>r.get({url:"/system/getMenuList",params:s}),L=s=>c(void 0,null,function*(){const o=yield r.post({url:"/order/erp/roles/list_by_page",params:s});return new Promise(e=>{e(o.records)})}),M=s=>r.post({url:"/system/accountExist",params:{account:s}},{errorMessageMode:"none"});export{d as a,L as b,y as g,M as i};