const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/BasicTable-CgafrQwz.js","js/vue-vendor-CxLCUzY4.js","js/antd-vue-vendor-CahNzUUa.js","js/index-BN26Feep.js","js/useForm-DfoT2G6J.js","js/componentMap-0iK4HQBq.js","js/index-Cy4uayzW.js","js/vxe-table-vendor-Cdi8WfTx.js","assets/index-Oj-kKgdt.css","js/useFormItem-IOFWTdED.js","js/index-zKZnG1QC.js","js/BasicModal-sKcs_9Ir.js","js/ModalHeader-ByCVDoqO.js","js/useTimeout-gJpgadD6.js","js/index-Bdn0r8CG.js","assets/index-DTCEk8S9.css","assets/ModalHeader-CGOezirq.css","js/useWindowSizeFn-DDyhhqyw.js","js/index-CYoRlduV.js","js/index-DYB8Ashr.js","js/index-CrdW4fN1.js","js/useIntersectionObserver-FVRzwlSd.js","assets/index-zj-Vfn3Q.css","assets/BasicModal-ByeTDAzn.css","assets/index-DFyK5jFb.css","js/download-Bn4f3tzD.js","js/base64Conver-24EVOS6V.js","js/index-D6H6KsT6.js","assets/index-6eBWgmf3.css","js/index-CLxBW_h0.js","js/useCountdown-2P9HvnfJ.js","js/useFormItemSingle-BEyrYQqf.js","assets/index-BB9COjV3.css","js/JSelectUser-B98pRPrS.js","js/props-CtlWAg-s.js","js/JSelectBiz-vYDBA0SK.js","assets/JSelectBiz-DQPR9oxT.css","assets/JSelectUser-CFwmpWe5.css","js/JAddInput-DP4caUmw.js","js/areaDataUtil-Dk3xkGfK.js","js/china-area-data-vendor-ByvEpbzN.js","js/index-tDBMxW9-.js","js/index-CNQBnF3P.js","js/bem-IZKqD41e.js","js/props-CG-jAkbI.js","js/useContextMenu-Q6J5bB_u.js","assets/useContextMenu-DJ_eOryA.css","assets/index-D8VMPii6.css","js/depart.api-B8q8MC-j.js","assets/JAddInput-ubdRb__R.css","js/JImageUpload-C5OCTlCG.js","assets/JImageUpload-DcWU-is0.css","js/JDictSelectTag-CalJXNVe.js","assets/JDictSelectTag-CbufxWfo.css","js/JSelectDept-D-TUaHvK.js","assets/JSelectDept-CHfyF8OF.css","js/JPopup-CVHkQZFq.js","assets/JPopup-BBsdBt_9.css","js/JEllipsis-TuDc52fh.js","js/JUpload-DSWoDwh2.js","js/index-B4vNk56t.js","assets/index-CxrinrEC.css","assets/JUpload-CTjYYrtW.css","js/index-Dc7Jr5-j.js","js/index-Dm1rPBfc.js","assets/index-Dwp3Sezh.css","assets/componentMap-BBthSixT.css","assets/useForm-B200OIeb.css","js/JAreaLinkage-CTMEfTuh.js","js/JCodeEditor-U9QIstNN.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-CZdChTcP.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-Cy4uayzW.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-zKZnG1QC.js";import{e as R}from"./tenant.api-C9mls3Ap.js";import{useListPage as v}from"./useListPage-TMORxSEa.js";import{u as B,a as O}from"./tenant.data-BTTBgNSE.js";import"./antd-vue-vendor-CahNzUUa.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./BasicModal-sKcs_9Ir.js";import"./ModalHeader-ByCVDoqO.js";import"./useTimeout-gJpgadD6.js";import"./index-Bdn0r8CG.js";import"./useWindowSizeFn-DDyhhqyw.js";import"./index-CYoRlduV.js";import"./index-DYB8Ashr.js";import"./index-CrdW4fN1.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./index-gyz1IdHU.js";import"./BasicTable-CgafrQwz.js";import"./index-BN26Feep.js";import"./useForm-DfoT2G6J.js";import"./componentMap-0iK4HQBq.js";import"./useFormItem-IOFWTdED.js";import"./download-Bn4f3tzD.js";import"./base64Conver-24EVOS6V.js";import"./index-D6H6KsT6.js";import"./index-CLxBW_h0.js";import"./useCountdown-2P9HvnfJ.js";import"./useFormItemSingle-BEyrYQqf.js";import"./JSelectUser-B98pRPrS.js";import"./props-CtlWAg-s.js";import"./JSelectBiz-vYDBA0SK.js";import"./JAddInput-DP4caUmw.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./index-tDBMxW9-.js";import"./index-CNQBnF3P.js";import"./bem-IZKqD41e.js";import"./props-CG-jAkbI.js";import"./useContextMenu-Q6J5bB_u.js";import"./depart.api-B8q8MC-j.js";import"./JImageUpload-C5OCTlCG.js";import"./JDictSelectTag-CalJXNVe.js";import"./JSelectDept-D-TUaHvK.js";import"./JPopup-CVHkQZFq.js";import"./JEllipsis-TuDc52fh.js";import"./JUpload-DSWoDwh2.js";import"./index-B4vNk56t.js";import"./index-Dc7Jr5-j.js";import"./index-Dm1rPBfc.js";import"./JAreaLinkage-CTMEfTuh.js";import"./JCodeEditor-U9QIstNN.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./EasyCronInput-CZdChTcP.js";import"./injectionKey-DPVn4AgL.js";import"./renderUtils-BcsccCoe.js";import"./validator-CyHCj96y.js";import"./user.api-CoaMxYm2.js";const k=b({name:"TenantUserSelectModal",components:{BasicModal:y,BasicTable:_(()=>h(()=>import("./BasicTable-CgafrQwz.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};
