import{J as k,ab as D,ac as x,a6 as h}from"./index.CN1lNsL-.js";import{a as _,f as y,aj as l,c as d,o,b as a,S as r,K as n,R as B,a9 as S,J as i,O as w,Q as u}from"./vue.YrNK8sx4.js";import{_ as j}from"./_plugin-vue_export-helper.DlAUqK2U.js";const J={class:"status-cards"},L={class:"card-grid"},N=["onClick"],O={class:"card-value"},V={class:"card-label"},q=_({name:"StatusCards"}),z=_({...q,props:{statusData:{type:Object,required:!0}},setup(p){const e=p,v=y(()=>[{label:"待审核",value:e.statusData.pending_approval,icon:k},{label:"待归还",value:e.statusData.pending_return,icon:D},{label:"待维修",value:e.statusData.pending_maintenance,icon:x},{label:"已逾期",value:e.statusData.pending_overdue,icon:h}]);function f(c){console.log("点击状态卡片:",c.label)}return(c,t)=>{const m=l("el-icon"),b=l("el-col"),g=l("el-row");return o(),d("div",J,[t[0]||(t[0]=a("div",{class:"info-title"}," 待处理 ",-1)),t[1]||(t[1]=a("div",{class:"custom-line"},null,-1)),a("div",L,[r(g,{gutter:15},{default:n(()=>[(o(!0),d(B,null,S(v.value,(s,C)=>(o(),i(b,{key:C,xs:24,sm:8,md:8,lg:8},{default:n(()=>[a("div",{class:"card",onClick:E=>f(s)},[r(m,{size:40,class:"card-icon"},{default:n(()=>[(o(),i(w(s.icon)))]),_:2},1024),a("div",O,u(s.value),1),a("div",V,u(s.label),1)],8,N)]),_:2},1024))),128))]),_:1})])])}}}),Q=j(z,[["__scopeId","data-v-11a4d24d"]]);export{Q as default};
