oa-frontend-pretrial-cleanup 收敛PC试运行前页面风格
这个提交包含在:
@@ -639,8 +639,7 @@ function QuickActionsPanel({
|
||||
}) {
|
||||
return (
|
||||
<SectionPanel
|
||||
title="快捷操作栏"
|
||||
description="高频动作"
|
||||
title="常用"
|
||||
className={layout === "rail" ? "portal-panel-fill" : undefined}
|
||||
>
|
||||
<div className={layout === "rail" ? "portal-action-stack" : "grid gap-3 sm:grid-cols-2 xl:grid-cols-4"}>
|
||||
@@ -667,8 +666,7 @@ function TodoAggregatePanel({ items }: { items: TodoAggregateItem[] }) {
|
||||
|
||||
return (
|
||||
<SectionPanel
|
||||
title="今日待办聚合"
|
||||
description="今天要处理的事"
|
||||
title="待处理"
|
||||
className="portal-panel-fill"
|
||||
>
|
||||
<div className="space-y-3">
|
||||
@@ -713,8 +711,7 @@ function TeamStatusBoardPanel({ items }: { items: PortalTeamStatusItem[] }) {
|
||||
|
||||
return (
|
||||
<SectionPanel
|
||||
title="团队全员状态"
|
||||
description="今日状态"
|
||||
title="团队状态"
|
||||
actions={<Link to="/team" className="text-sm font-medium text-primary hover:underline">查看团队页</Link>}
|
||||
className="portal-panel-fill"
|
||||
>
|
||||
@@ -772,8 +769,7 @@ function ActivityAnnouncementsPanel({
|
||||
}) {
|
||||
return (
|
||||
<SectionPanel
|
||||
title="近期动态流"
|
||||
description="动态和公告"
|
||||
title="通知"
|
||||
actions={<Link to="/announcements" className="text-sm font-medium text-primary hover:underline">公告页</Link>}
|
||||
className="portal-panel-fill"
|
||||
>
|
||||
@@ -1156,8 +1152,8 @@ export function PortalHomePage() {
|
||||
{isManagerView ? (
|
||||
<>
|
||||
<SecondaryWorkspacePanel
|
||||
title="角色重点 / 常用入口"
|
||||
description="按需展开。"
|
||||
title="角色重点"
|
||||
description="常用入口"
|
||||
>
|
||||
<div className="grid gap-6 xl:grid-cols-[minmax(0,1fr),minmax(0,1fr)] 2xl:grid-cols-[minmax(0,1fr),minmax(0,1fr),360px]">
|
||||
{roleCapabilities.canApproveTasks ? (
|
||||
@@ -1185,8 +1181,8 @@ export function PortalHomePage() {
|
||||
</div>
|
||||
|
||||
<SecondaryCardsPanel
|
||||
title="项目跟进与组织协同"
|
||||
description="项目、组织和风险。"
|
||||
title="项目与组织"
|
||||
description="项目、组织、风险"
|
||||
cards={secondaryCards}
|
||||
/>
|
||||
</SecondaryWorkspacePanel>
|
||||
@@ -1196,7 +1192,7 @@ export function PortalHomePage() {
|
||||
) : (
|
||||
<SecondaryWorkspacePanel
|
||||
title="我的申请与资产 / 继续工作"
|
||||
description="按需展开。"
|
||||
description="申请、资产、最近访问"
|
||||
>
|
||||
<div className="grid gap-6 xl:grid-cols-[minmax(0,1fr),minmax(0,1fr)]">
|
||||
<SummaryPanel title="我的申请与资产" items={employeeSummaryItems} />
|
||||
@@ -1206,8 +1202,8 @@ export function PortalHomePage() {
|
||||
<div className="grid gap-6 xl:grid-cols-[minmax(0,1fr),minmax(0,1fr)]">
|
||||
<QuickLinksPanel items={quickLinkItems} />
|
||||
<SecondaryCardsPanel
|
||||
title="项目跟进与个人协同"
|
||||
description="项目和参考指标。"
|
||||
title="项目与协同"
|
||||
description="项目、参考指标"
|
||||
cards={secondaryCards}
|
||||
/>
|
||||
</div>
|
||||
|
||||
在新工单中引用
屏蔽一个用户