UserBasicInfo-d8ae837b.js 2.8 KB

1
  1. import{d as b,o as h,j as y,w as a,aG as v,i as l,a as t,m as _,t as u,E,s as D,__tla as I}from"./index-1e808f2e.js";import{E as S,__tla as g}from"./el-card-03b3588b.js";import{E as x,a as T,__tla as j}from"./el-descriptions-item-8d4be2e8.js";import{_ as k,__tla as w}from"./DictTag.vue_vue_type_script_lang-5c02ebfe.js";import{E as P,__tla as U}from"./el-avatar-3dcf93b4.js";import{D as q,__tla as z}from"./dict-a31cb4ba.js";import{f as o,__tla as B}from"./formatTime-a348c3be.js";import{__tla as G}from"./Descriptions.vue_vue_type_style_index_0_scoped_76061901_lang-d9ab5a49.js";import{D as s,__tla as M}from"./DescriptionsItemLabel-b2fd708a.js";import{_ as N}from"./_plugin-vue_export-helper-1b428a4d.js";import"./color-6e929987.js";let c,R=Promise.all([(()=>{try{return I}catch{}})(),(()=>{try{return g}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return w}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return M}catch{}})()]).then(async()=>{c=N(b({__name:"UserBasicInfo",props:{user:{}},setup:X=>(e,Y)=>{const i=P,n=E,r=x,m=k,p=T,d=D,f=S;return h(),y(f,{shadow:"never"},{header:a(()=>[v(e.$slots,"header",{},void 0,!0)]),default:a(()=>[l(d,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(s),{label:"\u7528\u6237\u540D",icon:"ep:user"})]),default:a(()=>[_(" "+u(e.user.name||"\u7A7A"),1)]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u6635\u79F0",icon:"ep:user"})]),default:a(()=>[_(" "+u(e.user.nickname),1)]),_:1}),l(r,{label:"\u624B\u673A\u53F7"},{label:a(()=>[l(t(s),{label:"\u624B\u673A\u53F7",icon:"ep:phone"})]),default:a(()=>[_(" "+u(e.user.mobile),1)]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u6027\u522B",icon:"fa:mars-double"})]),default:a(()=>[l(m,{type:t(q).SYSTEM_USER_SEX,value:e.user.sex},null,8,["type","value"])]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u6240\u5728\u5730",icon:"ep:location"})]),default:a(()=>[_(" "+u(e.user.areaName),1)]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u6CE8\u518C IP",icon:"ep:position"})]),default:a(()=>[_(" "+u(e.user.registerIp),1)]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u751F\u65E5",icon:"fa:birthday-cake"})]),default:a(()=>[_(" "+u(e.user.birthday?t(o)(e.user.birthday):"\u7A7A"),1)]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u6CE8\u518C\u65F6\u95F4",icon:"ep:calendar"})]),default:a(()=>[_(" "+u(e.user.createTime?t(o)(e.user.createTime):"\u7A7A"),1)]),_:1}),l(r,null,{label:a(()=>[l(t(s),{label:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",icon:"ep:calendar"})]),default:a(()=>[_(" "+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};