1 |
- import{aT as c,ac as i,ae as p,_ as l,d as m,r as t,o as d,G as _,C as f,j as h,l as o}from"./index.js";import{r as F}from"./columnRenderHelper.fb4c031a.js";import{u as C}from"./use-page-search.f7bc460e.js";const{VITE_PROXY_DOMAIN_REAL:k,VITE_PROXY_USER_REAL:g}=i(),A=g+"/admin/",E=e=>c.request("post",`${A}customerlist`,{data:e}),y=[{type:"selection",width:40,align:"center",hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u5BA2\u6237\u516C\u53F8",prop:"companyName",...F("companyNo","companyName","\u5BA2\u6237\u516C\u53F8\u7F16\u53F7:")},{label:"\u5F52\u5C5E\u96C6\u56E2",prop:"parent"},{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime",formatter:({addtime:e})=>p(e).format("YYYY-MM-DD HH:mm:ss")}],B={title:"\u4F01\u4E1A\u5BA2\u6237",columns:y,apis:{httpList:E}},a={formItems:[{field:"company",type:"input",placeholder:"\u5BA2\u6237\u516C\u53F8\u540D\u79F0"},{field:"contactor",type:"input",placeholder:"\u8054\u7CFB\u4EBA"}]},v=m({__name:"index",setup(e){const n="clients",u={pageSearchHook:()=>C(void 0,void 0,a)};return(x,P)=>{const s=t("PageContainer"),r=t("PageAuth");return d(),_(r,{pageName:n},{default:f(()=>[h(s,{hooks:u,contentConfig:o(B),"search-config":o(a)},null,8,["contentConfig","search-config"])]),_:1})}}});var w=l(v,[["__file","C:/Users/Administrator/Desktop/projects/purchase-vue3/src/views/parameter/clients/index.vue"]]);export{w as default};
|