fix(ui): 修复登录和并发请求并统一页面展示
调整登录流程和请求处理,统一各中心的表格交互、主题样式和页面展示。
This commit is contained in:
@@ -30,6 +30,7 @@ import {
|
||||
} from '@/components/ui';
|
||||
import { Search, Table2, UserCog } from 'lucide-react';
|
||||
import { ChangeText, OrgNameCell, SectionCard } from './shared';
|
||||
import { formatPercent } from '../../../helpers/safeDisplay';
|
||||
import {
|
||||
ALERT_LEVELS,
|
||||
ORG_STATUS,
|
||||
@@ -266,7 +267,7 @@ export const OrgDetailTable = ({ report, filter, setFilter, cny, t }) => {
|
||||
align: 'right',
|
||||
render: (v) =>
|
||||
v > 0 ? (
|
||||
<span className='tabular-nums'>{v.toFixed(1)}%</span>
|
||||
<span className='tabular-nums'>{formatPercent(v, 1)}</span>
|
||||
) : (
|
||||
<Text type='tertiary'>—</Text>
|
||||
),
|
||||
@@ -501,8 +502,8 @@ export const exportOrgDetail = (rows, cny, t) => {
|
||||
SEGMENTS[o.segment] ? t(SEGMENTS[o.segment].label) : '',
|
||||
yuan(o.quota),
|
||||
yuan(o.prev_quota),
|
||||
rate === null ? '' : `${rate.toFixed(1)}%`,
|
||||
o.share ? `${o.share.toFixed(2)}%` : '',
|
||||
rate === null ? '' : formatPercent(rate, 1),
|
||||
o.share ? formatPercent(o.share, 2) : '',
|
||||
o.requests,
|
||||
o.active_members,
|
||||
o.member_count,
|
||||
|
||||
Reference in New Issue
Block a user