import{d as g,f as k,U as r,a2 as i,ad as y,af as e,k as m,G as p,a3 as l,a4 as b,a5 as C,F}from"./vue-vendor-CxLCUzY4.js";import{u as B}from"./index-gyz1IdHU.js";import{getFormConfig as h,getBasicColumns as E}from"./tableData-B4J3mkj4.js";import{A as T}from"./antd-vue-vendor-CahNzUUa.js";import{d as S}from"./table-BDpZPeJG.js";import w from"./BasicTable-CgafrQwz.js";import{_ as A}from"./index-Cy4uayzW.js";import"./componentMap-0iK4HQBq.js";import"./useFormItem-IOFWTdED.js";import"./index-zKZnG1QC.js";import"./BasicModal-sKcs_9Ir.js";import"./ModalHeader-ByCVDoqO.js";import"./useTimeout-gJpgadD6.js";import"./vxe-table-vendor-Cdi8WfTx.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"./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"./index-BN26Feep.js";import"./useForm-DfoT2G6J.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";const K=g({components:{BasicTable:w,AAlert:T},setup(){const o=k([]),[t,{getForm:c}]=B({title:"开启搜索区域",api:S,columns:E(),useSearchForm:!0,formConfig:h(),showTableSetting:!0,tableSetting:{fullScreen:!0},showIndexColumn:!1,rowKey:"id"});function s(){}function n(a){o.value=a}return{registerTable:t,getFormValues:s,checkedKeys:o,onSelectChange:n}}}),_={key:1};function D(o,t,c,s,n,a){const u=r("a-button"),f=r("a-alert"),d=r("BasicTable");return i(),y(d,{onRegister:o.registerTable,rowSelection:{type:"checkbox",selectedRowKeys:o.checkedKeys,onChange:o.onSelectChange}},{"form-custom":e(()=>t[1]||(t[1]=[p(" custom-slot ")])),headerTop:e(()=>[m(f,{type:"info","show-icon":""},{message:e(()=>[o.checkedKeys.length>0?(i(),l(F,{key:0},[b("span",null,"已选中"+C(o.checkedKeys.length)+"条记录(可跨页)",1),m(u,{type:"link",onClick:t[0]||(t[0]=V=>o.checkedKeys=[]),size:"small"},{default:e(()=>t[2]||(t[2]=[p("清空")])),_:1})],64)):(i(),l("span",_,"未选中任何项目"))]),_:1})]),toolbar:e(()=>[m(u,{type:"primary",onClick:o.getFormValues},{default:e(()=>t[3]||(t[3]=[p("获取表单数据")])),_:1},8,["onClick"])]),_:1},8,["onRegister","rowSelection"])}const Ro=A(K,[["render",D]]);export{Ro as default};
