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