const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/BasicTable-Clbg3fHx.js","js/vue-vendor-CxLCUzY4.js","js/antd-vue-vendor-CDWW6V_M.js","js/index-ARbUvvsq.js","js/useForm-CcjrODHR.js","js/componentMap-CzCGDP7x.js","js/index-B_2CoVdl.js","js/vxe-table-vendor-B5h3MVdD.js","assets/index-Oj-kKgdt.css","js/useFormItem-CWa0w7fA.js","js/index-D2AmS0aU.js","js/BasicModal-D3g2CFhF.js","js/ModalHeader-C-C0dUi_.js","js/useTimeout-CB9F1PLu.js","js/index-DAURrYyA.js","assets/index-DTCEk8S9.css","assets/ModalHeader-CGOezirq.css","js/useWindowSizeFn-C3WExEpc.js","js/index-Dz2zbQB_.js","js/index-exs4VcBw.js","js/index-ByLO0zSl.js","js/useIntersectionObserver-FVRzwlSd.js","assets/index-zj-Vfn3Q.css","assets/BasicModal-ByeTDAzn.css","assets/index-DFyK5jFb.css","js/download-2tYEzlDW.js","js/base64Conver-24EVOS6V.js","js/index-Cgt544dC.js","assets/index-6eBWgmf3.css","js/index-BZ9ST2iq.js","js/useCountdown-ImUE7YaG.js","js/useFormItemSingle-DM34aWgK.js","assets/index-BB9COjV3.css","js/JSelectUser-BQIJUcBR.js","js/props-BCVPj-bG.js","js/JSelectBiz-CJyWq5s2.js","assets/JSelectBiz-DQPR9oxT.css","assets/JSelectUser-CFwmpWe5.css","js/JAddInput-YFlAniYT.js","js/areaDataUtil-DFHnz1wu.js","js/china-area-data-vendor-D0sJ9kfX.js","js/index-CkL00Q0a.js","js/index-BKs2x_To.js","js/bem-C6eT35UB.js","js/props-BLY2qIO5.js","js/useContextMenu-CSt5a1-F.js","assets/useContextMenu-DJ_eOryA.css","assets/index-D8VMPii6.css","js/depart.api-0qTriT9h.js","assets/JAddInput-Ba567xFn.css","js/JDictSelectTag-CxpDdimB.js","assets/JDictSelectTag-CbufxWfo.css","js/JSelectDept-wKz_Qtmc.js","assets/JSelectDept-CHfyF8OF.css","js/JPopup-BJBYqoWe.js","assets/JPopup-BBsdBt_9.css","js/JEllipsis-Cn7GCKHR.js","js/JUpload-DzM-D4DX.js","js/index-khU3p_On.js","assets/index-CxrinrEC.css","assets/JUpload-CTjYYrtW.css","js/index-DPEnuI0R.js","js/index-Cnb8BkwG.js","assets/index-Dwp3Sezh.css","assets/componentMap-BBthSixT.css","assets/useForm-B200OIeb.css","js/JAreaLinkage-CSgDAlrn.js","js/JCodeEditor-esTLnfS3.js","js/htmlmixed-DRe7JlAp.js","js/vue-B0b3nX1K.js","assets/vue-DyVx2_Fd.css","assets/JCodeEditor-BeY2m_ic.css","assets/idea-C3eFBO7g.css","js/EasyCronInput-DclSHT47.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-B_2CoVdl.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-D2AmS0aU.js";import{e as R}from"./tenant.api-CpQl223K.js";import{useListPage as v}from"./useListPage-BEtybUiF.js";import{u as B,a as O}from"./tenant.data-jovtG_GO.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./BasicModal-D3g2CFhF.js";import"./ModalHeader-C-C0dUi_.js";import"./useTimeout-CB9F1PLu.js";import"./index-DAURrYyA.js";import"./useWindowSizeFn-C3WExEpc.js";import"./index-Dz2zbQB_.js";import"./index-exs4VcBw.js";import"./index-ByLO0zSl.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./index-LwlFn7Y4.js";import"./BasicTable-Clbg3fHx.js";import"./index-ARbUvvsq.js";import"./useForm-CcjrODHR.js";import"./componentMap-CzCGDP7x.js";import"./useFormItem-CWa0w7fA.js";import"./download-2tYEzlDW.js";import"./base64Conver-24EVOS6V.js";import"./index-Cgt544dC.js";import"./index-BZ9ST2iq.js";import"./useCountdown-ImUE7YaG.js";import"./useFormItemSingle-DM34aWgK.js";import"./JSelectUser-BQIJUcBR.js";import"./props-BCVPj-bG.js";import"./JSelectBiz-CJyWq5s2.js";import"./JAddInput-YFlAniYT.js";import"./areaDataUtil-DFHnz1wu.js";import"./china-area-data-vendor-D0sJ9kfX.js";import"./index-CkL00Q0a.js";import"./index-BKs2x_To.js";import"./bem-C6eT35UB.js";import"./props-BLY2qIO5.js";import"./useContextMenu-CSt5a1-F.js";import"./depart.api-0qTriT9h.js";import"./JDictSelectTag-CxpDdimB.js";import"./JSelectDept-wKz_Qtmc.js";import"./JPopup-BJBYqoWe.js";import"./JEllipsis-Cn7GCKHR.js";import"./JUpload-DzM-D4DX.js";import"./index-khU3p_On.js";import"./index-DPEnuI0R.js";import"./index-Cnb8BkwG.js";import"./JAreaLinkage-CSgDAlrn.js";import"./JCodeEditor-esTLnfS3.js";import"./htmlmixed-DRe7JlAp.js";import"./vue-B0b3nX1K.js";/* empty css             */import"./EasyCronInput-DclSHT47.js";import"./injectionKey-DPVn4AgL.js";import"./renderUtils-Cbe4E0PZ.js";import"./validator-jM63P_3m.js";import"./user.api-BLHI3_6c.js";const k=b({name:"TenantUserSelectModal",components:{BasicModal:y,BasicTable:_(()=>h(()=>import("./BasicTable-Clbg3fHx.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])),{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 je=T(k,[["render",M],["__scopeId","data-v-0a5ccec8"]]);export{je as default};
