import{H as l,J as i,K as c,M as p,b as m,O as d,P as f}from"./index-oRjfHbF4.js";import{s as t,o,n as a}from"./baseUrl-CEnR8jFP.js";let r;const C={title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,cancelButtonDisabled:!1,confirmButtonText:"",confirmButtonColor:null,confirmButtonDisabled:!1,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1};let g=l({},C);function B(){({instance:r}=c({setup(){const{state:s,toggle:n}=p();return()=>m(f,d(s,{"onUpdate:show":n}),null)}}))}function b(e){return i?new Promise((s,n)=>{r||B(),r.open(l({},g,e,{callback:u=>{(u==="confirm"?s:n)(u)}}))}):Promise.resolve(void 0)}const y=e=>b(l({showCancelButton:!0},e)),q=(e,s)=>t.post({url:o+"/admin/consultbidlist",data:e,cancelToken:s}),v=e=>t.post({url:o+"/admin/consultfeadinfo",data:e}),k=e=>t.post({url:o+"/admin/bidscheck",data:e}),S=(e,s)=>t.post({url:a+"/admin/good/list",data:e,cancelToken:s}),O=e=>t.post({url:o+"/admin/goodupinfo",data:e}),P=e=>t.post({url:o+"/admin/goodexam",data:e}),x=e=>t.post({url:a+"user/TaxCategory/listByCompany",data:e}),D=e=>t.post({url:a+"user/supplier/info",data:e}),T=e=>t.post({url:o+"admin/businesssinfo",data:e});export{k as a,T as b,D as c,x as d,S as e,v as f,O as g,P as h,q as r,y as s};
