import{_ as m,P as f}from"./page-content.e0c7af12.js";import{ak as u,al as d,a as h,b as C,c as _,j as F,h as g,f as n,u as e}from"./index.4d061c66.js";import{r as B,c as S}from"./column-helper.64ceba17.js";import{S as x,A as b}from"./status.2b37e8be.js";import{u as k}from"./use-page-search.0f272301.js";import{u as E}from"./usePermission.8064505c.js";import"./remote-select.36ee67a3.js";import"./useAsync.df7387ce.js";import"./useNav.5e73c372.js";import"./image.e35d846c.js";import"./hooks.9f8f44e2.js";/* empty css                                                              */import"./image.4c97dbe3.js";/* empty css                                                              */import"./index.e63aea62.js";import"./responseHandle.fe68d5aa.js";import"./btnList.6c44b4ef.js";const{VITE_PROXY_DOMAIN_REAL:i}=d();async function y(){return u.request("post",`${i}admin/expressList`,{data:{}})}async function D(t){return u.request("post",`${i}admin/expressStatus`,{data:t})}const P=[{type:"selection",minWidth:55,align:"left",hide:({checkList:t})=>!t.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",minWidth:60,align:"left",hide:({checkList:t})=>!t.includes("\u5E8F\u53F7\u5217")},{label:"ID",prop:"id"},{label:"\u5FEB\u9012\u516C\u53F8\u7F16\u7801",prop:"express_code"},{label:"\u5FEB\u9012\u516C\u53F8\u540D\u79F0",prop:"express_name"},{prop:"status",label:"\u72B6\u6001",idth:"100px",...B(x)},{label:"\u8054\u7CFB\u7535\u8BDD",prop:"mobile"},{label:"\u5B98\u7F51\u5730\u5740",prop:"web_url"},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],A={title:"\u7248\u672C\u66F4\u65B0",columns:P,apis:{httpList:y,httpStatus:D}},O=A,T={formItems:[{field:"status",type:"select",placeholder:"\u72B6\u6001",options:S(b)},{field:"express_code",type:"input",placeholder:"\u5FEB\u9012\u516C\u53F8\u7F16\u7801"},{field:"express_name",type:"input",placeholder:"\u5FEB\u9012\u516C\u53F8\u540D\u79F0"},{field:"mobile",type:"input",placeholder:"\u8054\u7CFB\u7535\u8BDD"}]},s=T,K=h({__name:"index",setup(t){const o="logistics",{pageContentRef:r,handleResetClick:a,handleSearchClick:p}=k(void 0,void 0,s),{permissions:l}=E(o);return(R,I)=>{const c=C("PageAuth");return _(),F(c,{pageName:o},{default:g(()=>[n(e(m),{"form-config":e(s),onSearchBtnClick:e(p),onResetBtnClick:e(a)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),n(e(f),{powers:e(l),ref_key:"pageContentRef",ref:r,"content-config":e(O)},null,8,["powers","content-config"])]),_:1})}}});export{K as default};
