const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/BasicTable-DUJWN3yz.js","js/vue-vendor-CxLCUzY4.js","js/antd-vue-vendor-CahNzUUa.js","js/index-ByX9XNkE.js","js/useForm-Dx3lJ3DG.js","js/componentMap-DpsJvoqz.js","js/index-CLZzJyTP.js","js/vxe-table-vendor-Cdi8WfTx.js","assets/index-Oj-kKgdt.css","js/useFormItem-IOFWTdED.js","js/index-XZKTTfG1.js","js/BasicModal-B8XmAOm7.js","js/ModalHeader-DIFQSP_0.js","js/useTimeout-KpZCXEcl.js","js/index-DvqyyN77.js","assets/index-DTCEk8S9.css","assets/ModalHeader-CGOezirq.css","js/useWindowSizeFn-D9PllI8g.js","js/index-DS3utcig.js","js/index-BZbg0EjM.js","js/index-CrdW4fN1.js","js/useIntersectionObserver-FVRzwlSd.js","assets/index-zj-Vfn3Q.css","assets/BasicModal-ByeTDAzn.css","assets/index-DFyK5jFb.css","js/download-DopMSmFN.js","js/base64Conver-24EVOS6V.js","js/index-CDa2_aYE.js","assets/index-6eBWgmf3.css","js/index-D0jTtUNS.js","js/useCountdown-BpP55PQ2.js","js/useFormItemSingle-BEyrYQqf.js","assets/index-BB9COjV3.css","js/JSelectUser-CfAGgHjD.js","js/props-BtZrRNiI.js","js/JSelectBiz-CLnJTMe2.js","assets/JSelectBiz-DQPR9oxT.css","assets/JSelectUser-CFwmpWe5.css","js/JAddInput-B36c3B5x.js","js/areaDataUtil-Dk3xkGfK.js","js/china-area-data-vendor-ByvEpbzN.js","js/index-C7yPiS0L.js","js/index-44tRnyoF.js","js/bem-DT3DdmOs.js","js/props-CG-jAkbI.js","js/useContextMenu-BGU2vdqV.js","assets/useContextMenu-DJ_eOryA.css","assets/index-D8VMPii6.css","js/depart.api-DHG2p2Yd.js","assets/JAddInput-ubdRb__R.css","js/JImageUpload-BFwNYdm5.js","assets/JImageUpload-DcWU-is0.css","js/JDictSelectTag-CfF54ALX.js","assets/JDictSelectTag-CbufxWfo.css","js/JSelectDept-CaEHrQp6.js","assets/JSelectDept-CHfyF8OF.css","js/JPopup-BvqhHpPl.js","assets/JPopup-BBsdBt_9.css","js/JEllipsis-C_gT_vEQ.js","js/JUpload-DgDEmizw.js","js/index-Bn2zmO2L.js","assets/index-CxrinrEC.css","assets/JUpload-CTjYYrtW.css","js/index-CEznvAVZ.js","js/index-CfAukas3.js","assets/index-Dwp3Sezh.css","assets/componentMap-BBthSixT.css","assets/useForm-B200OIeb.css","js/JAreaLinkage-M9TGy8nY.js","js/JCodeEditor-CR57XeIe.js","js/htmlmixed-DoVLO6sG.js","js/vue-DY75b9GC.js","assets/vue-DyVx2_Fd.css","assets/JCodeEditor-BeY2m_ic.css","assets/idea-C3eFBO7g.css","js/EasyCronInput-CWOTSpxK.js","assets/EasyCronInput-BLbXuoBB.css","js/injectionKey-DPVn4AgL.js","assets/BasicTable-CBdijWHL.css"])))=>i.map(i=>d[i]);
import{a8 as x,ad as _,ae as h,_ as T}from"./index-CLZzJyTP.js";import{d as b,f as n,U as l,a2 as I,a3 as C,k as p,af as d,ag as S}from"./vue-vendor-CxLCUzY4.js";import{B as y}from"./index-XZKTTfG1.js";import{e as R}from"./tenant.api-BupkcWMH.js";import{useListPage as v}from"./useListPage-CevWQ3ci.js";import{u as B,a as O}from"./tenant.data-Byz3LKFo.js";import"./antd-vue-vendor-CahNzUUa.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./BasicModal-B8XmAOm7.js";import"./ModalHeader-DIFQSP_0.js";import"./useTimeout-KpZCXEcl.js";import"./index-DvqyyN77.js";import"./useWindowSizeFn-D9PllI8g.js";import"./index-DS3utcig.js";import"./index-BZbg0EjM.js";import"./index-CrdW4fN1.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./index-KOQNKxnC.js";import"./BasicTable-DUJWN3yz.js";import"./index-ByX9XNkE.js";import"./useForm-Dx3lJ3DG.js";import"./componentMap-DpsJvoqz.js";import"./useFormItem-IOFWTdED.js";import"./download-DopMSmFN.js";import"./base64Conver-24EVOS6V.js";import"./index-CDa2_aYE.js";import"./index-D0jTtUNS.js";import"./useCountdown-BpP55PQ2.js";import"./useFormItemSingle-BEyrYQqf.js";import"./JSelectUser-CfAGgHjD.js";import"./props-BtZrRNiI.js";import"./JSelectBiz-CLnJTMe2.js";import"./JAddInput-B36c3B5x.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./index-C7yPiS0L.js";import"./index-44tRnyoF.js";import"./bem-DT3DdmOs.js";import"./props-CG-jAkbI.js";import"./useContextMenu-BGU2vdqV.js";import"./depart.api-DHG2p2Yd.js";import"./JImageUpload-BFwNYdm5.js";import"./JDictSelectTag-CfF54ALX.js";import"./JSelectDept-CaEHrQp6.js";import"./JPopup-BvqhHpPl.js";import"./JEllipsis-C_gT_vEQ.js";import"./JUpload-DgDEmizw.js";import"./index-Bn2zmO2L.js";import"./index-CEznvAVZ.js";import"./index-CfAukas3.js";import"./JAreaLinkage-M9TGy8nY.js";import"./JCodeEditor-CR57XeIe.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./EasyCronInput-CWOTSpxK.js";import"./injectionKey-DPVn4AgL.js";import"./renderUtils-BgFeePLc.js";import"./validator-Dx9kcZ5e.js";import"./user.api-DAu0nuTv.js";const k=b({name:"TenantUserSelectModal",components:{BasicModal:y,BasicTable:_(()=>h(()=>import("./BasicTable-DUJWN3yz.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78])),{loading:!0})},props:{modalTitle:{type:String,default:"选择用户"},tenantId:{type:Number,default:0},excludeUserIdList:{type:Array,default:[]}},emits:["register","on-select"],setup(e,{emit:t,refs:c}){const o=n({x:!1}),r=n(),[s,{closeModal:m}]=x(()=>{window.innerWidth<900?o.value={x:900}:o.value={x:!1},setTimeout(()=>{r.value&&r.value.setSelectedRowKeys([])},800)}),i=[{title:"账号",dataIndex:"username",width:40,align:"left"},{title:"姓名",dataIndex:"realname",width:40},{title:"性别",dataIndex:"sex_dictText",width:20},{title:"手机号码",dataIndex:"phone",width:30},{title:"邮箱",dataIndex:"email",width:40},{title:"状态",dataIndex:"status_dictText",width:20}],{prefixCls:P,tableContext:u}=v({designScope:"tenant-template",tableProps:{api:R,columns:O,scroll:{y:390},rowKey:"id",showActionColumn:!1,formConfig:{schemas:B,labelWidth:60,actionColOptions:{xs:24,sm:8,md:8,lg:8,xl:8,xxl:8}},beforeFetch:g=>Object.assign(g,{userTenantId:e.tenantId})}}),[f,{reload:U},{rowSelection:a,selectedRowKeys:$}]=u;function w(){t("on-select",a.selectedRows,a.selectedRowKeys)}return{handleOk:w,register:s,columns:i,rowSelection:a,tableScroll:o,tableRef:r,registerTable:f}}});function M(e,t,c,o,r,s){const m=l("BasicTable"),i=l("BasicModal");return I(),C("div",null,[p(i,S(e.$attrs,{onRegister:e.register,title:e.modalTitle,width:"900px",wrapClassName:"j-user-select-modal",onOk:e.handleOk,destroyOnClose:""}),{default:d(()=>[p(m,{ref:"tableRef",onRegister:e.registerTable,rowSelection:e.rowSelection},{tableTitle:d(()=>t[0]||(t[0]=[])),_:1},8,["onRegister","rowSelection"])]),_:1},16,["onRegister","title","onOk"])])}const Fe=T(k,[["render",M],["__scopeId","data-v-0a5ccec8"]]);export{Fe as default};
