/*!
 *  build: Vue  Admin Plus
 *  copyright: vue-admin-beautiful.com
 *  time: 2024-03-07 17:07:58
 */
"use strict";(self["webpackChunkadmin_plus"]=self["webpackChunkadmin_plus"]||[]).push([[7283],{87283:function(t,e,a){a.r(e),a.d(e,{default:function(){return k}});var s=a(57122),i=(a(3241),a(69540),a(66252)),l=a(2262),r=a(20235);const c=t=>((0,i.dD)("data-v-1f34b258"),t=t(),(0,i.Cn)(),t),n={class:"list-item"},o={class:"list-item-meta"},u={key:0,class:"list-item-meta-avatar"},v={key:1,class:"list-item-meta-avatar"},d=c((()=>(0,i._)("div",{class:"system-avatar"},"系统",-1))),m={class:"list-item-meta-content"},p={class:"list-item-meta-title"},_={class:"list-item-meta-description"},f={class:"list-item-meta-bottom"},y={class:"list-item-meta-operate"};var b={__name:"index",props:{user:{type:Object,default:()=>{}},avatarKey:{type:String,default:""},userIdKey:{type:[String,Number],default:""}},setup(t){const e=t,a=(0,i.Fl)((()=>e.user[e.avatarKey])),c=(0,i.Fl)((()=>parseInt(e.user[e.userIdKey]))),b=(0,i.Fl)((()=>(0,r.gx)(c.value)));return(t,e)=>{const r=s.F8,g=(0,i.up)("router-link");return(0,i.wg)(),(0,i.iD)("div",n,[(0,i._)("div",o,[(0,l.SU)(c)>0?((0,i.wg)(),(0,i.iD)("div",u,[(0,i.Wm)(g,{to:(0,l.SU)(b)},{default:(0,i.w5)((()=>[(0,i.Wm)(r,{src:(0,l.SU)(a),class:"el-avatar el-avatar--big el-avatar--circle"},null,8,["src"])])),_:1},8,["to"])])):((0,i.wg)(),(0,i.iD)("div",v,[(0,i.Wm)(r,{class:"el-avatar el-avatar--big el-avatar--circle"},{error:(0,i.w5)((()=>[d])),_:1})])),(0,i._)("div",m,[(0,i._)("div",p,[(0,i.WI)(t.$slots,"title")]),(0,i._)("div",_,[(0,i.WI)(t.$slots,"description")]),(0,i._)("div",f,[(0,i.WI)(t.$slots,"bottom")])]),(0,i._)("div",y,[(0,i.WI)(t.$slots,"action")])])])}}};function g(t){t.__source="src/components/UserRow/index.vue"}var w=a(83744);"function"===typeof g&&g(b);const I=(0,w.Z)(b,[["__scopeId","data-v-1f34b258"]]);var k=I}}]);