import{l as _,A as g,ah as t,m as n,p as o,U as a,O as s,S as l,T as i,q as v,I as h,u as k}from"./vendor-98154105-1779868775780v=1.0.0.js";import{_ as z}from"./_plugin-vue_export-helper-8c5478df-1779868775780v=1.0.0.js";const x={key:0,class:"label"},C={key:1,class:"label"},b={class:"tag"},y=_({name:"OrganizeItem"}),I=_({...y,props:{info:Object},emits:["update:value","update:loading","cancel","submit"],setup(e,{emit:N}){let d=e;const c=g("active"),r=()=>{c.value=d.info.organ_unit_id};return(B,O)=>{const m=t("User"),f=t("el-icon"),u=t("el-tooltip"),p=t("el-tag");return n(),o("div",{class:h(["organize_container",{active:k(c)==e.info.organ_unit_id}]),onClick:r},[a(f,{size:"18"},{default:s(()=>[a(m)]),_:1}),e.info.name.length>8?(n(),o("span",x,[a(u,{effect:"dark",content:e.info.name,placement:"right","show-after":200},{default:s(()=>[l(i(e.info.name),1)]),_:1},8,["content"])])):(n(),o("span",C,i(e.info.name),1)),v("span",b,[a(p,{effect:"dark",size:"small","disable-transitions":!0},{default:s(()=>[l(i(e.info.level_id_str),1)]),_:1})])],2)}}});const j=z(I,[["__scopeId","data-v-716ad46a"]]);export{j as default};
