import{_ as o}from"./index-C4WacTPc.js";import{u as i}from"./useTable-BFClY0KQ.js";import{f as e}from"./activity-jr1MUwcR.js";import{d as t,o as r,e as s,f as a,p as n,u as p}from"./index-ip5gDR6L.js";/* empty css               *//* empty css                  *//* empty css                  *//* empty css                     *//* empty css                  *//* empty css                 *//* empty css                    */import"./el-tooltip-l0sNRNKZ.js";import"./index-DbRz3Zuu.js";import"./index-fnD_mPvE.js";import"./index-C9KXwj2c.js";import"./index-CHAf6FpU.js";import"./use-form-item-BDb3ZgPk.js";import"./use-form-common-props-BwBs_jod.js";import"./_initCloneObject-DwsgJamq.js";import"./isArrayLikeObject-OMLaZ5Za.js";import"./index-Br3btmwp.js";import"./index-D1xXI5gl.js";import"./token-DWNpOE8r.js";import"./index-D-10FtUD.js";import"./scroll-ChxXkPhM.js";import"./debounce-B9s63_mG.js";import"./index-Jz5GfFad.js";import"./vnode-6FKeug3R.js";import"./index-KXWZe8V3.js";import"./index-D-iZIej9.js";import"./index-DfrOVkw6.js";import"./_plugin-vue_export-helper-BCo6x5W8.js";import"./useTableColumns-C9X2IKmh.js";const m=t({__name:"index",setup(t){const{data:m,loading:l,columns:j,pagination:d,handleSizeChange:u,handleCurrentChange:c,getData:g}=i({core:{apiFn:o=>e({page:o.current,page_size:o.size}),apiParams:{current:1,size:20},columnsFactory:()=>[{prop:"id",label:"ID"},{prop:"name",label:"活动名称"},{prop:"categoryName",label:"分类"},{prop:"status",label:"状态"},{prop:"priceDraw",label:"抽奖价格"},{prop:"isBoss",label:"Boss活动"}]}});return r(()=>{g()}),(i,e)=>(a(),s("div",null,[n(o,{loading:p(l),data:p(m),columns:p(j),pagination:p(d),"onPagination:sizeChange":p(u),"onPagination:currentChange":p(c)},null,8,["loading","data","columns","pagination","onPagination:sizeChange","onPagination:currentChange"])]))}});export{m as default};
