diff --git a/src/components/home/HomeSection.tsx b/src/components/home/HomeSection.tsx index be668f1..ed9ae6a 100644 --- a/src/components/home/HomeSection.tsx +++ b/src/components/home/HomeSection.tsx @@ -10,17 +10,17 @@ export const HomeSection = () => { const [homeStats, setHomeStats] = useState([ { label: '今日预约', value: 0 }, { label: '签到人数', value: 0 }, - { label: '在检人数', value: 0 }, { label: '打印导检单', value: 0 }, + { label: '在检人数', value: 0 }, { label: '已完成人数', value: 0 }, ]); const [revenueStats, setRevenueStats] = useState([ { label: '体检收入', value: '¥ 0' }, { label: '加项收入', value: '¥ 0' }, { label: '整体收入', value: '¥ 0' }, - { label: '目标收入', value: '¥ 0' }, + { label: '当日目标', value: '¥ 0' }, { label: '完成百分比', value: '0%' }, - { label: '缺口', value: '¥ 0' }, + { label: '当日缺口', value: '¥ 0' }, ]); const currencyFormatter = useMemo(() => new Intl.NumberFormat('zh-CN', { @@ -37,8 +37,8 @@ export const HomeSection = () => { setHomeStats([ { label: '今日预约', value: Number(d?.today_appointment_count ?? 0) }, { label: '签到人数', value: Number(d?.today_signin_count ?? 0) }, - { label: '在检人数', value: Number(d?.today_in_exam_count ?? 0) }, { label: '打印导检单', value: Number(d?.today_print_guide_count ?? 0) }, + { label: '在检人数', value: Number(d?.today_in_exam_count ?? 0) }, { label: '已完成人数', value: Number(d?.today_completed_count ?? 0) }, ]); }) @@ -56,9 +56,9 @@ export const HomeSection = () => { { label: '体检收入', value: fmt(d?.physical_exam_income) }, { label: '加项收入', value: fmt(d?.add_item_income) }, { label: '整体收入', value: fmt(d?.total_income) }, - { label: '目标收入', value: fmt(d?.target_income) }, + { label: '当日目标', value: fmt(d?.target_income) }, { label: '完成百分比', value: d?.completion_percentage ?? '0%' }, - { label: '缺口', value: fmt(d?.gap_amount) }, + { label: '当日缺口', value: fmt(d?.gap_amount) }, ]); }) .catch((err) => { @@ -80,7 +80,7 @@ export const HomeSection = () => { - 今日营收数据统计 + 今日营收统计
{revenueStats.map(({ label, value }) => ( @@ -95,9 +95,9 @@ export const HomeSection = () => { B1 服务看板
- + - +
@@ -148,6 +148,7 @@ export const HomeSection = () => { + @@ -156,6 +157,7 @@ export const HomeSection = () => { + ))} diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx index ba88544..ef999b1 100644 --- a/src/components/layout/Sidebar.tsx +++ b/src/components/layout/Sidebar.tsx @@ -26,7 +26,7 @@ export const Sidebar = ({ active, onNavigate, onQuickAction }: SidebarProps) =>
家医 分配客户数 面诊数面诊率
{name} {total} {consult}{((Number(consult) / Number(total)) * 100).toFixed(2)}%