diff --git a/client/src/pages/ApprovalRulesPage.tsx b/client/src/pages/ApprovalRulesPage.tsx index 0d0efddd..662608e3 100644 --- a/client/src/pages/ApprovalRulesPage.tsx +++ b/client/src/pages/ApprovalRulesPage.tsx @@ -11,7 +11,6 @@ import { } from "../api/approvalRules"; import { PageHeader } from "../components/common/PageHeader"; import { Button } from "../components/ui/button"; -import { Card } from "../components/ui/card"; import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from "../components/ui/dialog"; import { Input } from "../components/ui/input"; import { Label } from "../components/ui/label"; @@ -156,7 +155,7 @@ export function ApprovalRulesPage() {
) : null} -报销单总数
{loading ? "..." : overviewQuery.data?.totalCount ?? 0}
- -报销总金额
{loading ? "..." : toCurrency(overviewQuery.data?.totalAmount)}
- -已付款金额
{loading ? "..." : toCurrency(overviewQuery.data?.paidAmount)}
- -审批中数量
{loading ? "..." : overviewQuery.data?.reviewingCount ?? 0}
- +暂无趋势数据
)} - +暂无分类统计
)} - +已统计通过单据: @@ -327,7 +327,7 @@ export function DashboardPage() { {approvalEfficiencyQuery.data?.averageHours?.toFixed(2) ?? "0.00"}
- +{error}
) : null} -