fix: 优化顶部导航栏布局与工作台摘要展示并清理旧票据数据

This commit is contained in:
caoxiaozhu
2026-06-03 17:40:52 +08:00
parent 8e2477587f
commit cb36d78fa2
45 changed files with 1017 additions and 1734 deletions

View File

@@ -196,42 +196,48 @@ export function buildExpenseStatItems(summary = {}) {
label: '本月报销笔数',
value: summary.monthlyCount ?? 0,
unit: '笔',
tone: 'primary'
tone: 'primary',
icon: 'mdi mdi-text-box-check-outline'
},
{
key: 'monthly-amount',
label: '本月报销金额',
value: summary.monthlyAmountLabel || '¥0',
unit: '',
tone: 'amount'
tone: 'amount',
icon: 'mdi mdi-cash-multiple'
},
{
key: 'total-count',
label: '累计报销笔数',
value: summary.totalCount ?? 0,
unit: '笔',
tone: 'muted'
tone: 'muted',
icon: 'mdi mdi-clipboard-text-outline'
},
{
key: 'total-amount',
label: '累计报销金额',
value: summary.totalAmountLabel || '¥0',
unit: '',
tone: 'amount'
tone: 'amount',
icon: 'mdi mdi-bank-outline'
},
{
key: 'in-review',
label: '审批中单据',
value: summary.inReviewCount ?? 0,
unit: '笔',
tone: 'warning'
tone: 'warning',
icon: 'mdi mdi-timer-sand'
},
{
key: 'pending-payment',
label: '待付款单据',
value: summary.pendingPaymentCount ?? 0,
unit: '笔',
tone: 'info'
tone: 'info',
icon: 'mdi mdi-credit-card-outline'
}
]
}