Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ee2e6e2854 | |||
| b7fa15ec9c | |||
| b9e14c1f33 |
@@ -408,7 +408,7 @@ export default function ComparisonRecordsPage() {
|
||||
width: 140,
|
||||
render: (_, r) => (
|
||||
<div style={{ color: '#1677ff' }}>
|
||||
<div>{r.phone || `#${r.user_id}`}</div>
|
||||
<div>{r.phone || (r.user_id != null ? `#${r.user_id}` : '匿名')}</div>
|
||||
{r.nickname && <div style={{ fontSize: 12 }}>{r.nickname}</div>}
|
||||
</div>
|
||||
),
|
||||
@@ -622,7 +622,7 @@ export default function ComparisonRecordsPage() {
|
||||
<Space direction="vertical" size="middle" style={{ width: '100%' }}>
|
||||
<Descriptions size="small" column={2} bordered>
|
||||
<Descriptions.Item label="用户">
|
||||
{detail.phone || `#${detail.user_id}`}{detail.nickname ? `(${detail.nickname})` : ''}
|
||||
{detail.phone || (detail.user_id != null ? `#${detail.user_id}` : '匿名')}{detail.nickname ? `(${detail.nickname})` : ''}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="状态"><Tag color={STATUS_COLOR[detail.status]}>{STATUS_LABEL[detail.status] || detail.status}</Tag></Descriptions.Item>
|
||||
<Descriptions.Item label="业务">{detail.business_type}</Descriptions.Item>
|
||||
|
||||
+1
-1
@@ -443,7 +443,7 @@ export interface AuditLog {
|
||||
// ===== 比价记录(admin debug 页)=====
|
||||
export interface ComparisonRecordListItem {
|
||||
id: number;
|
||||
user_id: number;
|
||||
user_id: number | null; // 软鉴权/匿名下帧0 建行时可能暂缺,admin 全看含孤儿行
|
||||
phone: string | null;
|
||||
nickname: string | null;
|
||||
business_type: string;
|
||||
|
||||
Reference in New Issue
Block a user