refactor(ui): 深度翻新仪表盘与边缘配置页的骨架与组件

这个提交包含在:
2026-03-06 09:54:14 +08:00
父节点 73b51ac068
当前提交 fe55848f75
共修改 9 个文件,包含 58 行新增和 66 行删除
+4 -5
查看文件
@@ -11,7 +11,6 @@ import {
} from "../api/departments";
import { PageHeader } from "../components/common/PageHeader";
import { Button } from "../components/ui/button";
import { Card } from "../components/ui/card";
import { Input } from "../components/ui/input";
import { Label } from "../components/ui/label";
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "../components/ui/table";
@@ -102,7 +101,7 @@ export function DepartmentsPage() {
</p>
) : null}
<Card className="space-y-4 p-6">
<div className="card-std space-y-4">
<div className="flex items-center justify-between gap-3">
<h3 className="text-base font-semibold text-zinc-900">新建部门</h3>
<Button
@@ -162,9 +161,9 @@ export function DepartmentsPage() {
</Button>
</div>
</div>
</Card>
</div>
<Card className="space-y-4 p-6">
<div className="card-std space-y-4">
<h3 className="text-base font-semibold text-zinc-900">部门列表</h3>
{listQuery.isLoading ? <TableSkeleton columns={4} rows={4} /> : null}
@@ -236,7 +235,7 @@ export function DepartmentsPage() {
</Table>
</div>
) : null}
</Card>
</div>
<ConfirmDialog
open={Boolean(confirmArchive)}