Files
qhmes/web-dist/js/FormTable-K3L6mw7T.js
2026-06-16 18:19:57 +08:00

2 lines
3.9 KiB
Java

import y from"./BasicTable-C6eG0bgK.js";import"./TableAction.vue_vue_type_style_index_0_lang-BIWZ0bGo.js";import"./TableImg.vue_vue_type_style_index_0_lang-65ZOQtFn.js";import{u as k}from"./useTable-DbHE4FHE.js";import{getFormConfig as b,getBasicColumns as C}from"./tableData-B4J3mkj4.js";import{d as h}from"./table-BZjVQZNg.js";import{e as T,r as S,y as w,z as e,A as r,K as l,f as i,E as m,C as c,F as B,Q as F,G as K}from"./vue-vendor-DNhG1Cve.js";import{b as u}from"./index-CeNCCWzL.js";import{au as _}from"./index-X7Y8jykP.js";import"./BasicTable.vue_vue_type_style_index_0_lang-B9DxrWas.js";import"./BasicForm-ClUSoD_-.js";import"./helper-DcLcf4v6.js";import"./index-BzChaRPg.js";import"./useAppInject-DPZGPcR3.js";import"./emoji-mart-vue-fast-R0uJEDq-.js";import"./BasicForm.vue_vue_type_style_index_0_lang-B29PWQy0.js";import"./index-DO7ZhK45.js";import"./index-ByCwbQDV.js";import"./index-Upeu4GGa.js";import"./index-C4wWpZeQ.js";import"./useTimeout-D5AmIBZw.js";import"./index-M9QP6cvf.js";import"./Skeleton-CimgOdM7.js";import"./useScrollTo-0FPEw5-K.js";import"./useIntersectionObserver-BGOgyKyu.js";import"./index-saD4h7VJ.js";import"./useBreakpoint-DXhPW7nV.js";import"./useEventListener-BRXjwk7A.js";import"./breakpointEnum-BhAg6bcX.js";import"./uniqBy--vsL0WVB.js";import"./index-BDvqZ5j4.js";import"./BasicModal-xH56XuRZ.js";import"./ModalHeader-Sr8KwhJJ.js";import"./useWindowSizeFn-C-0M9_Ul.js";import"./index-CuWaQdlK.js";import"./useForm-D61zovon.js";import"./injectionKey-DPVn4AgL.js";import"./index-DSsDi_fL.js";import"./Group-UHkub2tu.js";import"./Checkbox-Dbxs4we4.js";import"./index-BuONesFs.js";import"./FormOutlined-Y84itqS0.js";import"./useTableContext-CncNVXgp.js";import"./index-DTjkSGYl.js";import"./eagerComputed-BTlOruLW.js";import"./fromPairs-Dx9PT-t0.js";import"./useMaxLevel-DE205ncc.js";import"./index-CfNJyBRj.js";import"./dropdown-jkliuVyN.js";import"./index-DfHu-LAS.js";import"./Group-DBzJABA_.js";import"./RadioButton-DRBix2Fq.js";import"./index-C7ckZv9Z.js";import"./DirectoryTree-nk_YTTIy.js";import"./FolderOpenOutlined-SzIPA7z0.js";import"./index-Cl-8Hzo4.js";import"./scrollTo-D49dA-9c.js";import"./operationUnit-vCu2co3e.js";import"./index-C69VKHba.js";import"./index-DklMb9Qc.js";import"./UpOutlined-B1UMbtrP.js";import"./index-DsixALRt.js";import"./dayjs-jnKD3YGS.js";import"./index-aCD42OrZ.js";import"./quarterOfYear-BU2sPnff.js";import"./index-J2mOtM3w.js";import"./dayjs-ALi1pEeb.js";import"./clickOutside-DHfwTU6R.js";import"./onMountedOrActivated-DhSdLlqP.js";import"./throttle-De_jAmBh.js";import"./uuid-CODpppBC.js";import"./sortable.esm-DJNoJSdJ.js";import"./RedoOutlined-Cq2g4Slp.js";import"./index-fAAIzD3j.js";import"./index-DfX9t4DO.js";import"./isNumeric-DjvBa-1E.js";const V=T({components:{BasicTable:y,AAlert:u},setup(){const o=S([]),[t,{getForm:f}]=k({title:"开启搜索区域",api:h,columns:C(),useSearchForm:!0,formConfig:b(),showTableSetting:!0,tableSetting:{fullScreen:!0},showIndexColumn:!1,rowKey:"id"});function p(){}function s(n){o.value=n}return{registerTable:t,getFormValues:p,checkedKeys:o,onSelectChange:s}}}),$={key:1};function A(o,t,f,p,s,n){const a=l("a-button"),d=u,g=l("BasicTable");return e(),w(g,{onRegister:o.registerTable,rowSelection:{type:"checkbox",selectedRowKeys:o.checkedKeys,onChange:o.onSelectChange}},{"form-custom":r(()=>[...t[1]||(t[1]=[m(" custom-slot ",-1)])]),headerTop:r(()=>[i(d,{type:"info","show-icon":""},{message:r(()=>[o.checkedKeys.length>0?(e(),c(B,{key:0},[F("span",null,"已选中"+K(o.checkedKeys.length)+"条记录(可跨页)",1),i(a,{type:"link",onClick:t[0]||(t[0]=v=>o.checkedKeys=[]),size:"small"},{default:r(()=>[...t[2]||(t[2]=[m("清空",-1)])]),_:1})],64)):(e(),c("span",$,"未选中任何项目"))]),_:1})]),toolbar:r(()=>[i(a,{type:"primary",onClick:o.getFormValues},{default:r(()=>[...t[3]||(t[3]=[m("获取表单数据",-1)])]),_:1},8,["onClick"])]),_:1},8,["onRegister","rowSelection"])}const tt=_(V,[["render",A]]);export{tt as default};