UserBasicInfo-2e64d1ab.js 2.8 KB

1
  1. import{d as b,o as h,q as y,w as a,aC as v,f as l,a as t,m as s,t as u,E,i as g,__tla as D}from"./index-2eab2d23.js";import{E as I,__tla as S}from"./el-card-c558f0ec.js";import{E as T,a as x,__tla as k}from"./el-descriptions-item-fd42286f.js";import{_ as q,__tla as w}from"./DictTag.vue_vue_type_script_lang-cb1e47ff.js";import{E as P,__tla as U}from"./el-avatar-399a18d6.js";import{D as j,__tla as z}from"./dict-1ad71b6f.js";import{f as o,__tla as B}from"./formatTime-41155543.js";import{__tla as C}from"./Descriptions.vue_vue_type_style_index_0_scoped_76061901_lang-01b3dacb.js";import{D as _,__tla as M}from"./DescriptionsItemLabel-7438aa0d.js";import{_ as N}from"./_plugin-vue_export-helper-1b428a4d.js";import"./color-6e929987.js";let c,R=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return w}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return M}catch{}})()]).then(async()=>{c=N(b({__name:"UserBasicInfo",props:{user:{}},setup:X=>(e,Y)=>{const i=P,n=E,r=T,m=q,p=x,f=g,d=I;return h(),y(d,{shadow:"never"},{header:a(()=>[v(e.$slots,"header",{},void 0,!0)]),default:a(()=>[l(f,null,{default:a(()=>[l(n,{span:4},{default:a(()=>[l(i,{shape:"square",size:140,src:e.user.avatar||void 0},null,8,["src"])]),_:1}),l(n,{span:20},{default:a(()=>[l(p,{column:2},{default:a(()=>[l(r,null,{label:a(()=>[l(t(_),{label:"\u7528\u6237\u540D",icon:"ep:user"})]),default:a(()=>[s(" "+u(e.user.name||"\u7A7A"),1)]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u6635\u79F0",icon:"ep:user"})]),default:a(()=>[s(" "+u(e.user.nickname),1)]),_:1}),l(r,{label:"\u624B\u673A\u53F7"},{label:a(()=>[l(t(_),{label:"\u624B\u673A\u53F7",icon:"ep:phone"})]),default:a(()=>[s(" "+u(e.user.mobile),1)]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u6027\u522B",icon:"fa:mars-double"})]),default:a(()=>[l(m,{type:t(j).SYSTEM_USER_SEX,value:e.user.sex},null,8,["type","value"])]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u6240\u5728\u5730",icon:"ep:location"})]),default:a(()=>[s(" "+u(e.user.areaName),1)]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u6CE8\u518C IP",icon:"ep:position"})]),default:a(()=>[s(" "+u(e.user.registerIp),1)]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u751F\u65E5",icon:"fa:birthday-cake"})]),default:a(()=>[s(" "+u(e.user.birthday?t(o)(e.user.birthday):"\u7A7A"),1)]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u6CE8\u518C\u65F6\u95F4",icon:"ep:calendar"})]),default:a(()=>[s(" "+u(e.user.createTime?t(o)(e.user.createTime):"\u7A7A"),1)]),_:1}),l(r,null,{label:a(()=>[l(t(_),{label:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",icon:"ep:calendar"})]),default:a(()=>[s(" "+u(e.user.loginDate?t(o)(e.user.loginDate):"\u7A7A"),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:3})}}),[["__scopeId","data-v-22976902"]])});export{R as __tla,c as default};