index.efacbe6d.js 2.2 KB

1
  1. import{P as p}from"./page-content.1fdb6363.js";import{aJ as u,aK as l,aI as c,bs as m,b as d,o as f,c as C,j as o,f as t}from"./index.4d3e3847.js";import{r as h,c as F}from"./column-helper.adef10ea.js";import{_}from"./page-search.vue_vue_type_script_setup_true_lang.e284bf07.js";import{u as B}from"./use-page-search.da34a19a.js";import"./index.a5d44002.js";import"./useNav.afbe69e0.js";import"./responseHandle.db1518c7.js";import"./hooks.428ba1c3.js";import"./useAsync.24db85a6.js";import"./xlsx.ed122d16.js";import"./validate.93ab4ac7.js";import"./basic-form.114da3ff.js";import"./basic-form.vue_vue_type_style_index_0_scoped_d6f0d2ed_lang.3165143d.js";import"./image.7849d972.js";const{VITE_PROXY_DOMAIN_REAL:i}=l();async function g(){return u.request("post",`${i}admin/expressList`,{data:{}})}async function b(e){return u.request("post",`${i}admin/expressStatus`,{data:e})}const S=[{type:"selection",minWidth:55,align:"left",hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",minWidth:60,align:"left",hide:({checkList:e})=>!e.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",...h(c)},{label:"\u8054\u7CFB\u7535\u8BDD",prop:"mobile"},{label:"\u5B98\u7F51\u5730\u5740",prop:"web_url"},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],x={title:"\u7248\u672C\u66F4\u65B0",columns:S,apis:{httpList:g,httpStatus:b}},E=x,k={formItems:[{field:"status",type:"select",placeholder:"\u72B6\u6001",options:F(m)},{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"}]},n=k,j=d({__name:"index",setup(e){const{pageContentRef:s,handleResetClick:r,handleSearchClick:a}=B(void 0,void 0,n);return(y,D)=>(f(),C("div",null,[o(t(_),{"form-config":t(n),onSearchBtnClick:t(a),onResetBtnClick:t(r)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),o(t(p),{ref_key:"pageContentRef",ref:s,"content-config":t(E)},null,8,["content-config"])]))}});export{j as default};