feat: 新增客服备用金台账与后台用户中文显示名
- 新增备用金账户、流水、支出、对账与权限 - 后台用户支持中文显示名并同步备用金姓名 - 审计、登录记录、任务及工单操作人优先展示中文名 - 补充备用金与人工支出方案文档
This commit is contained in:
@@ -80,10 +80,16 @@ export default function AdminDashboardPage() {
|
||||
render: (value) => formatAdminDateTime(value),
|
||||
},
|
||||
{
|
||||
title: '账号',
|
||||
dataIndex: 'username',
|
||||
minWidth: 120,
|
||||
render: (value) => <Typography.Text strong>{value || '-'}</Typography.Text>,
|
||||
title: '姓名',
|
||||
minWidth: 140,
|
||||
render: (_, row) => (
|
||||
<div className="cell-stack">
|
||||
<Typography.Text strong>{row.displayName || row.username || '-'}</Typography.Text>
|
||||
{row.displayName && row.displayName !== row.username ? (
|
||||
<Typography.Text type="secondary">@{row.username}</Typography.Text>
|
||||
) : null}
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: '角色',
|
||||
@@ -186,8 +192,8 @@ export default function AdminDashboardPage() {
|
||||
initialValues={{ username: filters.username }}
|
||||
style={{ marginBottom: 16 }}
|
||||
>
|
||||
<Form.Item name="username" label="账号">
|
||||
<Input allowClear placeholder="用户名" style={{ width: 180 }} />
|
||||
<Form.Item name="username" label="姓名/账号">
|
||||
<Input allowClear placeholder="姓名或账号" style={{ width: 180 }} />
|
||||
</Form.Item>
|
||||
<Form.Item name="dateRange" label="登录时段">
|
||||
<AdminRangePicker />
|
||||
|
||||
Reference in New Issue
Block a user