import{T as v,M as x}from"./index.ad3efb29.js";import"./elementPlus.4833989a.js";import{createCrudOptions as C}from"./crud.9cf6f423.js";import{d as g,r as s,j as k,ai as n,o as M,M as R,O as r,U as a,K as V}from"./vue.adf17aba.js";import"./echarts.72dc8373.js";import"./index.1e2ff30c.js";import"./_plugin-vue_export-helper.c27b6911.js";const y=g({__name:"index",setup(h){const c=s(),d=s(),{crudExpose:e}=v({crudRef:c,crudBinding:d}),o=s("send"),m=l=>{const{paneName:t}=l;o.value=t,e.doRefresh()},{crudOptions:u}=C({crudExpose:e,tabActivted:o});return x({crudExpose:e,crudOptions:u}),k(()=>{e.doRefresh()}),(l,t)=>{const p=n("el-tab-pane"),_=n("el-tabs"),i=n("fs-crud"),f=n("fs-page");return M(),R(f,null,{default:r(()=>[a(i,V({ref_key:"crudRef",ref:c},d.value),{"header-middle":r(()=>[a(_,{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=b=>o.value=b),onTabClick:m},{default:r(()=>[a(p,{label:"我的发布",name:"send"}),a(p,{label:"我的接收",name:"receive"})]),_:1},8,["modelValue"])]),_:1},16)]),_:1})}}});export{y as default};
