fix(ui): 修复登录和并发请求并统一页面展示

调整登录流程和请求处理,统一各中心的表格交互、主题样式和页面展示。
This commit is contained in:
zhanjunhao
2026-11-19 18:58:46 +08:00
parent 9b6eb1c7c4
commit 7908ed53a3
128 changed files with 4672 additions and 5391 deletions
+4 -2
View File
@@ -16,6 +16,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
For commercial licensing, please contact support@quantumnous.com
*/
import { formatIdReference } from '../../helpers/safeDisplay';
import { formatUserReference } from '../../helpers/safeDisplay';
import React, { useEffect, useState } from 'react';
import { Button, Descriptions, Spin, Tag } from 'antd';
@@ -112,7 +114,7 @@ export default function PartnerDetail({
['主体类型', commissionLabel(t, 'partnerType', row.type)],
['状态', commissionLabel(t, 'status', row.status)],
['伙伴名称', row.name],
['登录主体', `#${row.user_id}`],
['登录主体', formatUserReference('', row.user_id, t('未知用户'))],
['证件号码', row.identity_no],
['联系人', row.contact_name],
['联系电话', row.contact_phone],
@@ -150,7 +152,7 @@ export default function PartnerDetail({
{
title: t('客户'),
render: (_, item) =>
item.customer_name || `#${item.subject_id}`,
item.customer_name || formatIdReference(item.subject_id),
},
{
title: t('类型'),