Files
qhmes/deploy-qhmes/frontend/js/index-MREkPhsT.js
2026-05-15 11:34:12 +08:00

2 lines
20 KiB
Java

var ue=Object.defineProperty;var te=Object.getOwnPropertySymbols;var fe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable;var ne=(t,l,s)=>l in t?ue(t,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[l]=s,H=(t,l)=>{for(var s in l||(l={}))fe.call(l,s)&&ne(t,s,l[s]);if(te)for(var s of te(l))ye.call(l,s)&&ne(t,s,l[s]);return t};var z=(t,l,s)=>new Promise((e,u)=>{var L=c=>{try{p(s.next(c))}catch(h){u(h)}},d=c=>{try{p(s.throw(c))}catch(h){u(h)}},p=c=>c.done?e(c.value):Promise.resolve(c.value).then(L,d);p((s=s.apply(t,l)).next())});import{r as me,J as X,e as A,h as _e,ah as o,aC as C,as as f,aF as g,k as _,au as x,aB as E,av as N,ar as O,ag as F,f as k,w as Y,u as se,F as V,aD as G,G as le,at as Q,d as pe}from"./vue-vendor-C7Zq48Yl.js";import{aT as Z,aU as he,aV as ve,ar as ae,aL as ge,aW as Se,H as Ue,S as xe,aM as Le,a5 as Ie}from"./antd-vue-vendor-BPnV8VqP.js";import{B as ke}from"./index-Du0A3ksf.js";import{b as oe,d as j,f as P,ap as Ce,ak as we,al as be}from"./index-BI6CMai0.js";const Te={name:"UserList",props:{multi:{type:Boolean,default:!1},dataList:{type:Array,default:()=>[]},depart:{type:Boolean,default:!1},selectedIdList:{type:Array,default:()=>[]},excludeUserIdList:{type:Array,default:()=>[]}},components:{UserOutlined:Z},emits:["selected","unSelect"],setup(t,{emit:l}){function s(i,S){i&&c(i),p[S.id]===!0?l("unSelect",S.id):l("selected",X(S))}function e(i){return i?i.substr(0,2):""}const u=A(()=>t.depart===!0?{flex:1}:{display:"none"}),L=A(()=>t.depart===!0?{width:"200px"}:{flex:1});function d(i){}const p=me({});_e(()=>{let i=t.dataList;if(!i||i.length===0)return;let S=t.selectedIdList;for(let I of i)S.indexOf(I.id)>=0?p[I.id]=!0:p[I.id]=!1});function c(i){i.preventDefault(),i.stopPropagation()}const h=A(()=>t.dataList);return{onClickUser:s,getTwoText:e,departStyle:u,nameStyle:L,onChangeChecked:d,checkStatus:p,showDataList:h,getFileAccessHttpUrl:oe}}},De=["onClick"],Oe={style:{"margin-left":"10px"}},ze=["title"];function Ae(t,l,s,e,u,L){const d=o("a-checkbox"),p=o("a-radio"),c=o("a-avatar"),h=o("Icon"),i=o("UserOutlined"),S=o("a-list-item"),I=o("a-list");return f(),C(I,{"item-layout":"horizontal","data-source":e.showDataList},{renderItem:g(({item:y})=>[_(S,{style:{padding:"3px 0"}},{default:g(()=>[x("div",{class:"user-select-user-info",onClick:U=>e.onClickUser(U,y)},[x("div",Oe,[s.multi?(f(),C(d,{key:0,checked:e.checkStatus[y.id],"onUpdate:checked":U=>e.checkStatus[y.id]=U},null,8,["checked","onUpdate:checked"])):(f(),C(p,{key:1,checked:e.checkStatus[y.id],"onUpdate:checked":U=>e.checkStatus[y.id]=U},null,8,["checked","onUpdate:checked"]))]),x("div",null,[y.avatar?(f(),C(c,{key:0,src:e.getFileAccessHttpUrl(y.avatar)},null,8,["src"])):y.avatarIcon?(f(),C(c,{key:1,class:"ant-btn-primary"},{icon:g(()=>[_(h,{icon:"ant-design:"+y.avatarIcon,style:{"margin-top":"4px","font-size":"24px"}},null,8,["icon"])]),_:2},1024)):(f(),C(c,{key:2},{icon:g(()=>[_(i)]),_:1}))]),x("div",{style:E(e.nameStyle)},N(y.realname),5),x("div",{style:E(e.departStyle),class:"ellipsis",title:y.orgCodeTxt},N(y.orgCodeTxt),13,ze),l[0]||(l[0]=x("div",{style:{width:"1px"}},null,-1))],8,De)]),_:2},1024)]),_:1},8,["data-source"])}const $=j(Te,[["render",Ae]]),Be={name:"SelectedUserItem",components:{UserOutlined:Z,MinusCircleFilled:ge,CloseOutlined:ae,TagsOutlined:ve,TeamOutlined:he},props:{info:{type:Object,default:()=>{}},query:{type:Boolean,default:!1}},emits:["unSelect"],setup(t,{emit:l}){function s(u){u.preventDefault(),u.stopPropagation(),l("unSelect",t.info.id)}return{showClose:A(()=>t.query===!0),removeSelect:s,getFileAccessHttpUrl:oe}}},Re={class:"user-selected-item"},Fe={style:{display:"flex","flex-direction":"row",height:"24px","border-radius":"12px","padding-right":"10px","vertical-align":"middle","background-color":"#f5f5f5"}},Me={style:{width:"24px",height:"24px","line-height":"20px","margin-right":"3px",display:"inline-block"}},Ke={style:{height:"24px","line-height":"24px"},class:"ellipsis"},Ne={key:0,class:"icon-close"},Ee={key:0,class:"icon-remove"};function Pe(t,l,s,e,u,L){const d=o("a-avatar"),p=o("Icon"),c=o("team-outlined"),h=o("TagsOutlined"),i=o("UserOutlined"),S=o("CloseOutlined"),I=o("MinusCircleFilled");return f(),O("div",Re,[x("div",Fe,[x("span",Me,[s.info.avatar?(f(),C(d,{key:0,src:e.getFileAccessHttpUrl(s.info.avatar),size:24},null,8,["src"])):s.info.avatarIcon?(f(),C(d,{key:1,class:"ant-btn-primary",size:24},{icon:g(()=>[_(p,{icon:"ant-design:"+s.info.avatarIcon,style:{"font-size":"16px","margin-top":"4px"}},null,8,["icon"])]),_:1})):s.info.selectType=="sys_role"?(f(),C(d,{key:2,size:24,style:{"background-color":"rgb(255, 173, 0)"}},{icon:g(()=>[_(c,{style:{"font-size":"16px"}})]),_:1})):s.info.selectType=="sys_position"?(f(),C(d,{key:3,size:24,style:{"background-color":"rgb(245, 34, 45)"}},{icon:g(()=>[_(h,{style:{"font-size":"16px"}})]),_:1})):(f(),C(d,{key:4,size:24},{icon:g(()=>[_(i)]),_:1}))]),x("div",Ke,N(s.info.realname||s.info.name),1),e.showClose?(f(),O("div",Ne,[_(S,{onClick:e.removeSelect},null,8,["onClick"])])):F("",!0)]),e.showClose?F("",!0):(f(),O("div",Ee,[_(I,{onClick:e.removeSelect},null,8,["onClick"])]))])}const re=j(Be,[["render",Pe]]),je={name:"DepartUserList",components:{UserList:$,FolderFilled:Se},props:{searchText:{type:String,default:""},selectedIdList:{type:Array,default:()=>[]},excludeUserIdList:{type:Array,default:()=>[]},multi:{type:Boolean,default:!1}},emits:["loaded","selected","unSelect"],setup(t,{emit:l}){function s(a){return z(this,null,function*(){const n="/sys/sysDepart/queryDepartTreeSync";let v={};return a&&(v.pid=a),yield P.get({url:n,params:v},{isTransformResponse:!1})})}function e(){return z(this,null,function*(){const a=yield s();if(a.success){let n=a.result;r(n),L.value=n,u(n)}i()})}function u(a){let n=[];a&&a.length>0&&(n=a.map(v=>({value:v.id,label:v.departName}))),l("loaded",n)}e();const L=k([]),d=k([]),p=k([]),c=k("");function h(a,n){let v=n.node.dataRef;d.value=[v.key];let w=a[0];c.value=w,T()}function i(){c.value=""}function S(a){return z(this,null,function*(){const n=yield s(a.eventKey);if(n.success){let v=n.result;a.dataRef.children=[...v],r(L.value),L.value=[...L.value]}})}const I=k(300);I.value=window.innerHeight-500;const y=A(()=>({"overflow-y":"auto","max-height":(I.value>=300?I.value:300)+"px"})),U=k([]);function T(){return z(this,null,function*(){const a="/sys/user/selectUserList";let n={pageNo:1,pageSize:99};t.searchText&&(n.keyword=t.searchText),c.value&&(n.departId=c.value),t.excludeUserIdList&&t.excludeUserIdList.length>0&&(n.excludeUserIdList=t.excludeUserIdList.join(","));const v=yield P.get({url:a,params:n},{isTransformResponse:!1});if(v.success){const{records:w}=v.result;U.value=w}})}Y(()=>t.searchText,()=>{T()});function D(a){l("selected",a)}function B(a){l("unSelect",a)}function r(a=[]){for(const n of a)n&&(n!=null&&n.departNameAbbr&&(n.title=n.departNameAbbr),Array.isArray(n.children)&&n.children.length&&r(n.children))}return{containerStyle:y,treeData:L,selectedKeys:d,expandedKeys:p,onSelect:h,loadChildren:S,onSelectUser:D,unSelectUser:B,userDataList:U}}},He={style:{"margin-left":"5px"}};function qe(t,l,s,e,u,L){const d=o("FolderFilled"),p=o("a-tree"),c=o("a-col"),h=o("user-list"),i=o("a-row");return f(),C(i,null,{default:g(()=>[_(c,{span:12},{default:g(()=>[x("div",{style:E(e.containerStyle)},[e.treeData.length>0?(f(),C(p,{key:0,"load-data":e.loadChildren,showIcon:"",autoExpandParent:"",treeData:e.treeData,selectedKeys:e.selectedKeys,expandedKeys:e.expandedKeys,"onUpdate:expandedKeys":l[0]||(l[0]=S=>e.expandedKeys=S),onSelect:e.onSelect},{title:g(({title:S,key:I})=>[_(d,{style:{color:"#9e9e9e"}}),x("span",He,N(S),1)]),_:1},8,["load-data","treeData","selectedKeys","expandedKeys","onSelect"])):F("",!0)],4)]),_:1}),_(c,{span:12,style:{"padding-left":"10px"}},{default:g(()=>[x("div",{style:E(e.containerStyle)},[_(h,{multi:s.multi,excludeUserIdList:s.excludeUserIdList,dataList:e.userDataList,selectedIdList:s.selectedIdList,onSelected:e.onSelectUser,onUnSelect:e.unSelectUser},null,8,["multi","excludeUserIdList","dataList","selectedIdList","onSelected","onUnSelect"])],4)]),_:1})]),_:1})}const Qe=j(je,[["render",qe]]),Ve={name:"RoleUserList",components:{UserList:$,UserOutlined:Z},props:{searchText:{type:String,default:""},selectedIdList:{type:Array,default:()=>[]},excludeUserIdList:{type:Array,default:()=>[]},multi:{type:Boolean,default:!1}},emits:["selected","unSelect"],setup(t,{emit:l}){const s=k([]);function e(){return z(this,null,function*(){const y="/sys/role/listByTenant";let U={order:"desc",column:"createTime",pageSize:200},T=[];const D=yield P.get({url:y,params:U},{isTransformResponse:!1});if(D.success){const{records:B}=D.result;T=B.map(r=>({title:r.roleName,id:r.id,key:r.id}))}s.value=T})}e();const u=k([]),L=k("");function d(y,U){let T=U.node.dataRef;u.value=[T.key];let D=y[0];L.value=D,c()}const p=k([]);function c(){return z(this,null,function*(){const y="/sys/user/selectUserList";let U={pageNo:1,pageSize:99};t.searchText&&(U.keyword=t.searchText),L.value&&(U.roleId=L.value),t.excludeUserIdList&&t.excludeUserIdList.length>0&&(U.excludeUserIdList=t.excludeUserIdList.join(","));const T=yield P.get({url:y,params:U},{isTransformResponse:!1});if(T.success){const{records:D}=T.result;p.value=D}})}Y(()=>t.searchText,()=>{c()});function h(y){l("selected",y)}function i(y){l("unSelect",y)}const S=k(300);return S.value=window.innerHeight-300,{containerStyle:A(()=>({"overflow-y":"auto","max-height":S.value+"px"})),treeData:s,selectedKeys:u,onSelect:d,onSelectUser:h,unSelectUser:i,userDataList:p}}},Ge={style:{"margin-left":"5px"}};function Je(t,l,s,e,u,L){const d=o("UserOutlined"),p=o("a-tree"),c=o("a-col"),h=o("user-list"),i=o("a-row");return f(),C(i,null,{default:g(()=>[_(c,{span:12},{default:g(()=>[x("div",{style:E(e.containerStyle)},[e.treeData.length>0?(f(),C(p,{key:0,showIcon:"",treeData:e.treeData,selectedKeys:e.selectedKeys,onSelect:e.onSelect},{title:g(({title:S,key:I})=>[_(d,{style:{color:"#9e9e9e"}}),x("span",Ge,N(S),1)]),_:1},8,["treeData","selectedKeys","onSelect"])):F("",!0)],4)]),_:1}),_(c,{span:12,style:{"padding-left":"10px"}},{default:g(()=>[x("div",{style:E(e.containerStyle)},[_(h,{multi:s.multi,excludeUserIdList:s.excludeUserIdList,dataList:e.userDataList,selectedIdList:s.selectedIdList,onSelected:e.onSelectUser,onUnSelect:e.unSelectUser},null,8,["multi","excludeUserIdList","dataList","selectedIdList","onSelected","onUnSelect"])],4)]),_:1})]),_:1})}const We=j(Ve,[["render",Je]]),J="#{sys_user_code}",ie={id:J,username:J,realname:"当前用户",avatarIcon:"idcard-outlined",avatarColor:"rgb(75 176 79)"},Xe=Ue,Ye={name:"UserSelectModal",components:{BasicModal:ke,SearchOutlined:xe,CloseOutlined:ae,SelectedUserItem:re,UserList:$,DepartUserList:Qe,RoleUserList:We,APagination:Xe},props:{multi:{type:Boolean,default:!1},getContainer:{type:Function,default:null},izExcludeMy:{type:Boolean,default:!1},inSuperQuery:{type:Boolean,default:!1}},emits:["selected","register"],setup(t,{emit:l}){const s=k("1"),e=k([]),u=Ce(),L=A(()=>{let m=e.value;return!m||m.length==0?[]:m.map(b=>b.id)}),d=k([]),[p]=we(m=>{let b=m.list;b&&b.length>0?e.value=[...b]:e.value=[],m.excludeUserIdList?d.value=m.excludeUserIdList:d.value=[],t.izExcludeMy&&d.value.push(u.getUserInfo.id),w()});function c(){let m=X(e.value);l("selected",m)}const h=k(""),i=k([]);function S(m){i.value=[{value:"",label:"全部用户"},...m],h.value=""}function I(){w()}const y=k(!1),U=k("");function T(m){m&&ee(m),y.value=!0}function D(){r.value=1,w()}function B(m){m&&ee(m),r.value=1,U.value="",y.value=!1,w()}const r=k(1),a=k(0),n=k([]);function v(){return z(this,null,function*(){yield w()})}function w(){return z(this,null,function*(){const m="/sys/user/selectUserList";let b={pageNo:r.value,pageSize:10};U.value&&(b.keyword=U.value),h.value&&(b.departId=h.value),se(d)&&se(d).length>0&&(b.excludeUserIdList=d.value.join(","));const M=yield P.get({url:m,params:b},{isTransformResponse:!1});if(M.success){let{records:K,total:de}=M.result;a.value=de,R(K),n.value=K}})}function R(m){r.value==1&&t.inSuperQuery===!0&&m.unshift(H({},ie))}function q(m){if(t.multi===!0){let b=e.value;L.value.indexOf(m.id)<0&&(b.push(H({},m)),e.value=b)}else e.value=[H({},m)]}function W(m){let b=e.value,M=-1;for(let K=0;K<b.length;K++)if(b[K].id===m){M=K;break}M>=0&&(b.splice(M,1),e.value=b)}function ce(m){s.value=m}function ee(m){m.preventDefault(),m.stopPropagation()}return w(),{selectedDepart:h,departOptions:i,initDepartOptions:S,onDepartChange:I,register:p,handleOk:c,searchText:U,searchInputStatus:y,showSearchInput:T,onSearchUser:D,clearSearch:B,myActiveKey:s,onChangeTab:ce,pageNo:r,totalRecord:a,onPageChange:v,userDataList:n,selectedUserList:e,selectedIdList:L,onSelectUser:q,unSelectUser:W,excludeUserIdList:d}}},Ze={style:{position:"relative","min-height":"350px"}},$e={class:"my-tabs"},et={class:"selected-users",style:{width:"100%","overflow-x":"hidden"}},tt={style:{display:"flex","justify-content":"space-between",width:"100%"}},nt={class:"select-user-page-info"};function st(t,l,s,e,u,L){const d=o("a-select-option"),p=o("a-select"),c=o("SearchOutlined"),h=o("CloseOutlined"),i=o("a-input"),S=o("user-list"),I=o("a-tab-pane"),y=o("depart-user-list"),U=o("role-user-list"),T=o("a-tabs"),D=o("SelectedUserItem"),B=o("a-pagination"),r=o("a-button"),a=o("BasicModal");return f(),C(a,{onRegister:e.register,getContainer:s.getContainer,canFullscreen:!1,destroyOnClose:"",title:"选择用户",width:800,wrapClassName:"j-user-select-modal2"},{footer:g(()=>[x("div",tt,[x("div",nt,[e.myActiveKey=="1"?(f(),C(B,{key:0,current:e.pageNo,"onUpdate:current":l[3]||(l[3]=n=>e.pageNo=n),size:"small",total:e.totalRecord,"show-quick-jumper":"",onChange:e.onPageChange},null,8,["current","total","onChange"])):F("",!0)]),_(r,{type:"primary",onClick:e.handleOk},{default:g(()=>[...l[4]||(l[4]=[le(" ",-1)])]),_:1},8,["onClick"])])]),default:g(()=>[_(p,{value:e.selectedDepart,"onUpdate:value":l[0]||(l[0]=n=>e.selectedDepart=n),style:{width:"100%"},class:"depart-select",onChange:e.onDepartChange},{default:g(()=>[(f(!0),O(V,null,G(e.departOptions,n=>(f(),C(d,{value:n.value},{default:g(()=>[le(N(n.label),1)]),_:2},1032,["value"]))),256))]),_:1},8,["value","onChange"]),x("div",Ze,[x("div",{class:Q(e.searchInputStatus?"my-search all-width":"my-search")},[x("span",{class:Q(e.searchInputStatus?"hidden":""),style:{"margin-left":"10px"}},[_(c,{style:{color:"#c0c0c0"},onClick:e.showSearchInput},null,8,["onClick"])],2),x("div",{style:{width:"100%"},class:Q(e.searchInputStatus?"":"hidden")},[_(i,{value:e.searchText,"onUpdate:value":l[1]||(l[1]=n=>e.searchText=n),onPressEnter:e.onSearchUser,style:{width:"100%"},placeholder:"请输入用户名按回车搜索"},{prefix:g(()=>[_(c,{style:{color:"#c0c0c0"}})]),suffix:g(()=>[_(h,{title:"退出搜索",onClick:e.clearSearch},null,8,["onClick"])]),_:1},8,["value","onPressEnter"])],2)],2),x("div",$e,[_(T,{activeKey:e.myActiveKey,"onUpdate:activeKey":l[2]||(l[2]=n=>e.myActiveKey=n),centered:!0,onChange:e.onChangeTab},{default:g(()=>[_(I,{key:"1",tab:"全部",forceRender:""},{default:g(()=>[_(S,{multi:s.multi,excludeUserIdList:e.excludeUserIdList,dataList:e.userDataList,selectedIdList:e.selectedIdList,depart:"",onSelected:e.onSelectUser,onUnSelect:e.unSelectUser},null,8,["multi","excludeUserIdList","dataList","selectedIdList","onSelected","onUnSelect"])]),_:1}),_(I,{key:"2",tab:"按部门",forceRender:""},{default:g(()=>[_(y,{searchText:e.searchText,selectedIdList:e.selectedIdList,excludeUserIdList:e.excludeUserIdList,onLoaded:e.initDepartOptions,onSelected:e.onSelectUser,onUnSelect:e.unSelectUser},null,8,["searchText","selectedIdList","excludeUserIdList","onLoaded","onSelected","onUnSelect"])]),_:1}),_(I,{key:"3",tab:"按角色",forceRender:""},{default:g(()=>[_(U,{excludeUserIdList:e.excludeUserIdList,searchText:e.searchText,selectedIdList:e.selectedIdList,onSelected:e.onSelectUser,onUnSelect:e.unSelectUser},null,8,["excludeUserIdList","searchText","selectedIdList","onSelected","onUnSelect"])]),_:1})]),_:1},8,["activeKey","onChange"])]),x("div",et,[(f(!0),O(V,null,G(e.selectedUserList,n=>(f(),C(D,{info:n,onUnSelect:e.unSelectUser},null,8,["info","onUnSelect"]))),256))])])]),_:1},8,["onRegister","getContainer"])}const lt=j(Ye,[["render",st]]),at=pe({name:"UserSelect",components:{PlusOutlined:Le,UserSelectModal:lt,SelectedUserItem:re},props:{store:{type:String,default:"id"},value:{type:String,default:""},multi:{type:Boolean,default:!1},getContainer:{type:Function,default:null},query:{type:Boolean,default:!1},maxCount:{type:Number,default:2},disabled:{type:Boolean,default:!1},izExcludeMy:{type:Boolean,default:!1},inSuperQuery:{type:Boolean,default:!1}},emits:["update:value","change"],setup(t,{emit:l}){const s=Ie.useInjectFormItemContext(),e=k(!0),u=k([]),L=A(()=>{let r=u.value,a=t.maxCount;return r.length<=a?r:r.filter((n,v)=>v<a)}),d=A(()=>{let r=t.maxCount,a=u.value.length;return a>r?{status:!0,count:a-r}:{status:!1}}),[p,{openModal:c,closeModal:h}]=be();function i(){if(t.disabled===!0)return;let r=X(u.value);c(!0,{list:r})}function S(r){u.value=r,I(),h()}function I(){e.value=!1;let r=[],a=u.value;a&&a.length>0&&(r=a.map(v=>v[t.store]));let n=r.join(",");l("update:value",n),l("change",n),s.onFieldChange()}Y(()=>t.value,r=>z(null,null,function*(){r?e.value===!0&&(yield y(r)):u.value=[],e.value=!0}),{immediate:!0});function y(r){return z(this,null,function*(){let a=!1,n=r,v=[];if(u.value=[],r){let w=r.split(",").map(R=>R.trim()).filter(R=>R!="");w.includes(J)?(a=!0,v=w.filter(R=>R!=J)):v=w}if(v.length>0){n=v.join(",");const w="/sys/user/list";let R={[t.store]:n};const q=yield P.get({url:w,params:R},{isTransformResponse:!1});if(q.success){const{records:W}=q.result;u.value=W}}a&&u.value.push(H({},ie))})}const U=A(()=>t.disabled===!0?!1:t.multi===!0?!0:!(u.value.length>0));function T(r){let a=u.value,n=-1;for(let v=0;v<a.length;v++)if(a[v].id==r){n=v;break}n>=0&&(a.splice(n,1),u.value=a,I())}function D(r){r.preventDefault(),r.stopPropagation(),i()}const B=A(()=>t.query===!0);return{registerModal:p,onShowModal:i,isSearchFormComp:B,onSelected:S,showAddButton:U,unSelectUser:T,selectedUserList:u,showUserList:L,ellipsisInfo:d,click2Add:D}}}),ot={key:1,style:{height:"30px","line-height":"30px",display:"inline-block","margin-left":"7px",color:"#bfbfbf"}},rt={key:2,class:"user-selected-item"},it={class:"user-select-ellipsis"},ct={style:{color:"red"}},dt={key:1,style:{display:"flex","flex-wrap":"wrap","flex-direction":"row"}};function ut(t,l,s,e,u,L){const d=o("SelectedUserItem"),p=o("PlusOutlined"),c=o("a-button"),h=o("user-select-modal");return f(),O("div",null,[t.isSearchFormComp?(f(),O("div",{key:0,onClick:l[0]||(l[0]=(...i)=>t.click2Add&&t.click2Add(...i)),class:Q(t.disabled?"disabled-user-select":""),style:{padding:"0 5px","background-color":"#fff",border:"1px solid #ccc","border-radius":"3px","box-sizing":"border-box",display:"flex",color:"#9e9e9e","font-size":"14px","flex-wrap":"wrap","min-height":"32px"}},[t.selectedUserList.length>0?(f(!0),O(V,{key:0},G(t.showUserList,i=>(f(),C(d,{info:i,onUnSelect:t.unSelectUser,query:""},null,8,["info","onUnSelect"]))),256)):(f(),O("span",ot,"请选择用户")),t.ellipsisInfo.status?(f(),O("div",rt,[x("div",it,[x("span",ct,"+"+N(t.ellipsisInfo.count)+"...",1)])])):F("",!0)],2)):(f(),O("div",dt,[t.selectedUserList.length>0?(f(!0),O(V,{key:0},G(t.selectedUserList,i=>(f(),C(d,{info:i,onUnSelect:t.unSelectUser},null,8,["info","onUnSelect"]))),256)):F("",!0),t.showAddButton?(f(),C(c,{key:1,shape:"circle",onClick:t.onShowModal},{default:g(()=>[_(p)]),_:1},8,["onClick"])):F("",!0)])),_(h,{inSuperQuery:t.inSuperQuery,multi:t.multi,getContainer:t.getContainer,onRegister:t.registerModal,onSelected:t.onSelected,izExcludeMy:t.izExcludeMy},null,8,["inSuperQuery","multi","getContainer","onRegister","onSelected","izExcludeMy"])])}const ht=j(at,[["render",ut],["__scopeId","data-v-37ab510c"]]);export{re as S,ht as U,lt as a};