import{av as a,aw as i,ax as c,ay as p,K as m,B as d,az as f}from"./index-D6Xt1sgO.js";import{s as t,o,n as l}from"./baseUrl-C_rSP_rE.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=a({},C);function B(){({instance:r}=c({setup(){const{state:s,toggle:n}=p();return()=>m(f,d(s,{"onUpdate:show":n}),null)}}))}function w(e){return i?new Promise((s,n)=>{r||B(),r.open(a({},g,e,{callback:u=>{(u==="confirm"?s:n)(u)}}))}):Promise.resolve(void 0)}const h=e=>w(a({showCancelButton:!0},e)),v=(e,s)=>t.post({url:o+"/admin/consultbidlist",data:e,cancelToken:s}),q=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:l+"/admin/good/list",data:e,cancelToken:s}),x=e=>t.post({url:o+"/admin/goodupinfo",data:e}),O=e=>t.post({url:o+"/admin/goodexam",data:e}),P=e=>t.post({url:l+"user/TaxCategory/listByCompany",data:e}),D=e=>t.post({url:l+"user/supplier/info",data:e}),T=e=>t.post({url:o+"admin/businesssinfo",data:e});export{k as a,P as b,T as c,D as d,S as e,q as f,x as g,O as h,v as r,h as s};
