重构前端 Wave0-2 体验基线(05-28-frontend-ux-redesign)
这个提交包含在:
@@ -691,7 +691,8 @@ function QuickActionsPanel({
|
||||
}) {
|
||||
return (
|
||||
<SectionPanel
|
||||
title="常用"
|
||||
title="常用动作"
|
||||
description={layout === "rail" ? "从这里开始当天的主要操作。" : undefined}
|
||||
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"}>
|
||||
@@ -718,7 +719,8 @@ function TodoAggregatePanel({ items }: { items: TodoAggregateItem[] }) {
|
||||
|
||||
return (
|
||||
<SectionPanel
|
||||
title="待处理"
|
||||
title="今天先处理"
|
||||
description="审批、TODO 和异常提醒集中在这里。"
|
||||
className="portal-panel-fill"
|
||||
>
|
||||
<div className="space-y-3">
|
||||
@@ -1121,12 +1123,12 @@ export function PortalHomePage() {
|
||||
title={`你好,${payload.greeting.name}`}
|
||||
className="workbench-hero--compact"
|
||||
subtitle={roleCapabilities.canUseFinance
|
||||
? "付款、风险、审批。"
|
||||
: roleCapabilities.canManageSystem
|
||||
? "配置、审计、通知。"
|
||||
? "付款、风险、审批。"
|
||||
: roleCapabilities.canManageSystem
|
||||
? "先看待处理,再进入配置、审计和通知。"
|
||||
: isManagerView
|
||||
? "审批、团队、周报。"
|
||||
: "待办、申请、考勤。"}
|
||||
? "先处理审批,再看团队状态和周报缺口。"
|
||||
: "先看待办,再提交申请、补材料或查看状态。"}
|
||||
actions={
|
||||
!payload.workspace.persisted && canSetupWorkspace ? (
|
||||
<Button asChild variant="secondary" type="button">
|
||||
|
||||
在新工单中引用
屏蔽一个用户