fix(ui): [UI7-2] 统一全局 Design Tokens,移除冗余字体,修复异常色值引用
这个提交包含在:
@@ -189,7 +189,7 @@ export function UserManagementPage() {
|
||||
placeholder="搜索工号/姓名/手机号/邮箱"
|
||||
/>
|
||||
<select
|
||||
className="h-11 rounded-lg border border-slate-300 bg-white px-3 py-2 text-sm"
|
||||
className="h-11 rounded-lg border border-zinc-300 bg-white px-3 py-2 text-sm"
|
||||
data-testid="users-status-filter"
|
||||
value={status}
|
||||
onChange={(e) => {
|
||||
@@ -216,7 +216,7 @@ export function UserManagementPage() {
|
||||
</p>
|
||||
) : null}
|
||||
|
||||
<div className="rounded-lg border border-slate-200">
|
||||
<div className="rounded-lg border border-zinc-200">
|
||||
<Table data-testid="users-table">
|
||||
<TableHeader>
|
||||
<tr>
|
||||
@@ -232,14 +232,14 @@ export function UserManagementPage() {
|
||||
listQuery.data?.items.map((item) => (
|
||||
<TableRow data-testid="users-row" key={item.id}>
|
||||
<TableCell>
|
||||
<div className="font-medium text-slate-900">
|
||||
<div className="font-medium text-zinc-900">
|
||||
{item.employeeNo} / {item.name}
|
||||
</div>
|
||||
<div className="text-xs text-slate-500 font-mono">{item.id}</div>
|
||||
<div className="text-xs text-zinc-500 font-mono">{item.id}</div>
|
||||
</TableCell>
|
||||
<TableCell className="text-sm">
|
||||
<div>{item.email}</div>
|
||||
<div className="text-slate-500">{item.phone}</div>
|
||||
<div className="text-zinc-500">{item.phone}</div>
|
||||
</TableCell>
|
||||
<TableCell><StatusBadge status={item.status} /></TableCell>
|
||||
<TableCell className="text-xs">{formatRoleCodes(item.roleCodes)}</TableCell>
|
||||
@@ -283,7 +283,7 @@ export function UserManagementPage() {
|
||||
))
|
||||
) : (
|
||||
<TableRow>
|
||||
<TableCell colSpan={5} className="py-3 text-slate-500">
|
||||
<TableCell colSpan={5} className="py-3 text-zinc-500">
|
||||
暂无数据
|
||||
</TableCell>
|
||||
</TableRow>
|
||||
|
||||
在新工单中引用
屏蔽一个用户