fix(ui): 修复登录和并发请求并统一页面展示
调整登录流程和请求处理,统一各中心的表格交互、主题样式和页面展示。
This commit is contained in:
@@ -30,6 +30,7 @@ import {
|
||||
} from '@/components/ui';
|
||||
import { ClipboardList } from 'lucide-react';
|
||||
import { ChangeText, OrgNameCell, ReasonTags, SectionCard } from './shared';
|
||||
import { formatRatioPercent } from '../../../helpers/safeDisplay';
|
||||
import {
|
||||
daysSince,
|
||||
downloadCsv,
|
||||
@@ -284,7 +285,11 @@ const columnsFor = (tab, cny, t, atRisk) => {
|
||||
{v}/{r.member_count}
|
||||
{r.member_count > 0 ? (
|
||||
<span className='text-xs text-gray-400 ml-1'>
|
||||
{Math.min(100, (v / r.member_count) * 100).toFixed(0)}%
|
||||
{formatRatioPercent(
|
||||
Math.min(100, Number(v) || 0),
|
||||
r.member_count,
|
||||
0,
|
||||
)}
|
||||
</span>
|
||||
) : null}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user