index.8bb6fa95.js 1.3 KB

1
  1. import{aN as r,aO as i,ah as p,_ as l,d as m,x as o,o as d,N as _,K as f,y as h,u as t}from"./index.743f0c80.js";import{u as F}from"./use-page-search.a895acdb.js";const{VITE_PROXY_DOMAIN_REAL:w,VITE_PROXY_USER_REAL:g}=i(),E=g+"/admin/",A=e=>r.request("post",`${E}customerlist`,{data:e}),C=[{type:"selection",width:55,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\u7F16\u53F7",prop:"companyNo"},{label:"\u5BA2\u6237\u540D\u79F0",prop:"companyName"},{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")}],y={title:"\u4F01\u4E1A\u5BA2\u6237",columns:C,apis:{httpList:A}},a={formItems:[{field:"company",type:"input",placeholder:"\u5BA2\u6237\u516C\u53F8\u540D\u79F0"},{field:"contactor",type:"input",placeholder:"\u8054\u7CFB\u4EBA"}]},x=m({__name:"index",setup(e){const n="clients",u={pageSearchHook:()=>F(void 0,void 0,a)};return(B,v)=>{const s=o("PageContainer"),c=o("PageAuth");return d(),_(c,{pageName:n},{default:f(()=>[h(s,{hooks:u,contentConfig:t(y),"search-config":t(a)},null,8,["contentConfig","search-config"])]),_:1})}}});var D=l(x,[["__file","D:/work/accout-vue3-ui/src/views/parameter/clients/index.vue"]]);export{D as default};