import{Q as l,R as i,U as c,V as p,b as m,W as d,X as f}from"./index-cnJriAAq.js";import{s as t,o,n as a}from"./baseUrl-Djp-_xTD.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}),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: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,P as b,T as c,D as d,S as e,v as f,x as g,O as h,q as r,y as s};