import{d as h,A as v,u as C,f as S,i as a,a as c,c as i,j as s,k as o,t as B,e as g,l as A,m as I,n as r,_ as k}from"./index-deffec86.js";const x={class:"card-container"},y={class:"header"},b={class:"left flex"},w={class:"pl12"},D={key:0,class:"pr8"},E={class:"table"},N=h({__name:"StatisticsCard",props:{path:{default:""},title:{default:"\u8D5B\u4E8B\u6D3B\u52A8\u8BA1\u5212"},areaId:{},icon:{default:"Grid"}},setup(l){const{flatMenuListGet:n}=v(),d=C(),t=l,_=S(()=>n.filter(e=>!e.meta.isHide).some(e=>e.name==t.path)),u=()=>{!t.path||!n.filter(e=>!e.meta.isHide).some(e=>e.name==t.path)||d.push({name:t.path,query:{areaId:t.areaId}})};return(e,R)=>{const p=a("SvgIcon"),f=a("ArrowRight"),m=a("el-icon");return c(),i("div",x,[s("div",y,[s("div",b,[o(p,{name:t.icon,class:"icon"},null,8,["name"]),s("span",w,B(t.title),1)]),s("div",{class:"right flex",onClick:u},[g(_)?(c(),i("span",D,"\u8BE6\u60C5")):A("v-if",!0),o(m,null,{default:I(()=>[o(f)]),_:1})])]),r(e.$slots,"select",{},void 0,!0),s("div",E,[r(e.$slots,"table",{},void 0,!0)])])}}});const G=k(N,[["__scopeId","data-v-fdfa3b1e"]]);export{G as default};
