import{T as v,M as x}from"./index.0d411246.js";import"./elementPlus.0e5067e4.js";import{createCrudOptions as C}from"./crud.94b031da.js";import{d as g,r as s,j as k,a9 as n,o as B,E as M,G as r,M as a,B as R}from"./vue.3f733908.js";import"./echarts.72dc8373.js";import"./index.d306967c.js";import"./_plugin-vue_export-helper.c27b6911.js";const y=g({__name:"index",setup(V){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"),f=n("fs-crud"),i=n("fs-page");return B(),M(i,null,{default:r(()=>[a(f,R({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};
