import{l as d,a as y,e as k,ah as h,m as e,p as s,q as l,F as i,a7 as u,T as o,M as x,O as C,S as N,u as n,R as T}from"./vendor-98154105-1779868775780v=1.0.0.js";import{_ as b}from"./_plugin-vue_export-helper-8c5478df-1779868775780v=1.0.0.js";const B={class:"container"},I={class:"role"},L={class:"title"},V={class:"tag"},F=d({name:"roleTableItem"}),S=d({...F,props:{roles:{type:Array,default:()=>[]}},setup(m){const t=m,a=y(!1),p=k(()=>a.value?t.roles:t.roles?t.roles.slice(0,2):[]);return(q,c)=>{const f=h("el-tag");return e(),s("div",B,[l("div",I,[(e(!0),s(i,null,u(n(p),(r,_)=>(e(),s("div",{class:"item",key:_},[l("div",L,[l("span",V,o(_+1)+"\u3001"+o(r.mpName),1),(e(!0),s(i,null,u(r.roleList,(v,g)=>(e(),x(f,{size:"small","disable-transitions":!0,class:"tag",key:g},{default:C(()=>[N(o(v.roleName),1)]),_:2},1024))),128))])]))),128))]),t.roles.length>2?(e(),s("span",{key:0,class:"more",onClick:c[0]||(c[0]=r=>a.value=!n(a))},o(n(a)?"\u6536\u8D77":"\u5C55\u5F00"),1)):T("",!0)])}}});const A=b(S,[["__scopeId","data-v-aa02d16a"]]);export{A as default};
