feat: 新增客服备用金台账与后台用户中文显示名

- 新增备用金账户、流水、支出、对账与权限
- 后台用户支持中文显示名并同步备用金姓名
- 审计、登录记录、任务及工单操作人优先展示中文名
- 补充备用金与人工支出方案文档
This commit is contained in:
yml2213
2026-10-18 13:55:24 +08:00
parent 7bacb7d5eb
commit 7542d547bf
55 changed files with 6557 additions and 105 deletions
@@ -72,7 +72,12 @@ export default function AdminAuditLogsPage() {
minWidth: 140,
render: (_, row) => (
<div className="cell-stack">
<Typography.Text strong>{row.actorUsername || '-'}</Typography.Text>
<Typography.Text strong>
{row.actorDisplayName || row.actorUsername || '-'}
</Typography.Text>
{row.actorDisplayName && row.actorDisplayName !== row.actorUsername ? (
<Typography.Text type="secondary">@{row.actorUsername}</Typography.Text>
) : null}
<StatusTag value={row.actorRole} />
</div>
),
@@ -155,7 +160,7 @@ export default function AdminAuditLogsPage() {
className="filter-form"
>
<Form.Item name="actorUsername">
<Input allowClear placeholder="操作账号" />
<Input allowClear placeholder="姓名/账号" />
</Form.Item>
<Form.Item name="action">
<Select