import{d as f,U as r,a2 as b,a3 as T,k as i,af as a,G as h}from"./vue-vendor-CxLCUzY4.js";import{u as g}from"./index-BN5Ac_IG.js";import{e as C}from"./system-CSPmx4m6.js";import{a as _}from"./index-qSr7C5NQ.js";import{s as w,c as D,T as B}from"./TestDrawer-BGItVKca.js";import{Q as S}from"./componentMap-7D1QIeNI.js";import k from"./BasicTable-DAfCfXmD.js";import{_ as y}from"./index-CYriLmQo.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./index-CxQILSKV.js";import"./index-BRTtls-l.js";import"./index-DOuVMe-q.js";import"./index-ByLO0zSl.js";import"./useTimeout-DC8132dd.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./index-BkgeZpOO.js";import"./useForm-8o5KRzWo.js";import"./index-CF_FJn6P.js";import"./BasicModal-BBgVjypv.js";import"./ModalHeader-jGKMr-DQ.js";import"./useWindowSizeFn-BxrEMPtP.js";import"./JAreaLinkage-DFTeDmm8.js";import"./areaDataUtil-DFHnz1wu.js";import"./china-area-data-vendor-D0sJ9kfX.js";import"./JSelectUser-nVFm3ao2.js";import"./props-DoGpHXAD.js";import"./JSelectBiz-BW6f3e--.js";import"./JSelectDept-DorRVguN.js";import"./index-BTAl55Kt.js";import"./bem-2ra1afoV.js";import"./props-BLY2qIO5.js";import"./useContextMenu-DYyhcDf7.js";import"./JCodeEditor-_KZ8XnNK.js";import"./useFormItem-CWa0w7fA.js";import"./htmlmixed-DRe7JlAp.js";import"./vue-B0b3nX1K.js";/* empty css             */import"./JAddInput-CXT54-j9.js";import"./index-BTSd5ebC.js";import"./depart.api-C9T5xfw6.js";import"./JPopup-KP1kIsae.js";import"./EasyCronInput-XK54XB3r.js";import"./JEllipsis-287cEHxd.js";import"./JDictSelectTag-Jqy9TBcS.js";import"./download-CkbK5et1.js";import"./base64Conver-24EVOS6V.js";import"./index-QMJkXEyl.js";import"./index-Bb_NRLur.js";import"./useCountdown-C3-PRPLY.js";import"./useFormItemSingle-DM34aWgK.js";import"./JUpload-pyrTRFCz.js";import"./index-Bx9Mnn3N.js";import"./index-B1-pj6uh.js";import"./index-isxCPgHp.js";import"./injectionKey-DPVn4AgL.js";const E=f({name:"system-test",components:{BasicTable:k,TestDrawer:B,TableAction:S},setup(){const[t,{openDrawer:o}]=_(),[p,{reload:s}]=g({title:"列表数据",api:C,columns:D,formConfig:{labelWidth:120,schemas:w},useSearchForm:!0,showTableSetting:!0,bordered:!0,showIndexColumn:!1,actionColumn:{width:80,title:"操作",dataIndex:"action",slots:{customRender:"action"},fixed:void 0}});function l(){o(!0,{isUpdate:!1})}function c(e){o(!0,{record:e,isUpdate:!0})}function n(e){}function m(){s()}return{registerTable:p,registerDrawer:t,handleCreate:l,handleEdit:c,handleDelete:n,handleSuccess:m}}});function R(t,o,p,s,l,c){const n=r("a-button"),m=r("TableAction"),e=r("BasicTable"),d=r("TestDrawer");return b(),T("div",null,[i(e,{onRegister:t.registerTable},{tableTitle:a(()=>[i(n,{type:"primary",onClick:t.handleCreate},{default:a(()=>o[0]||(o[0]=[h(" 新增 ")])),_:1},8,["onClick"])]),action:a(({record:u})=>[i(m,{actions:[{icon:"clarity:note-edit-line",onClick:t.handleEdit.bind(null,u)},{icon:"ant-design:delete-outlined",color:"error",popConfirm:{title:"是否确认删除",confirm:t.handleDelete.bind(null,u)}}]},null,8,["actions"])]),_:1},8,["onRegister"]),i(d,{onRegister:t.registerDrawer,onSuccess:t.handleSuccess},null,8,["onRegister","onSuccess"])])}const vt=y(E,[["render",R]]);export{vt as default};
