ux: 统一PageGuide位置到页面最顶部 + 侧边栏不显示品牌名

- SalaryDashboard/ESign: PageGuide 从标题下方移到标题上方
- Termination: PageGuide 从列表视图块内移到页面顶部
- SocialInsurance/Dashboard/Attendance: 页面顶部新增总览 PageGuide
- 侧边栏左上角不再回退显示品牌名,仅显示企业名称

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
selfrelease
2026-08-15 15:34:51 +08:00
parent 456cd91a83
commit 75e08b90c0
7 changed files with 20 additions and 14 deletions
@@ -150,7 +150,7 @@ export default function SidebarNav({ mobileOpen, onClose }: { mobileOpen: boolea
{/* Logo 区 */}
<div className="h-14 flex items-center gap-2 px-4 border-b border-gray-200 shrink-0">
<Logo className="w-5 h-5 text-primary" />
<span className="font-bold text-sm text-gray-900 truncate">{orgData?.name || '安职通'}</span>
<span className="font-bold text-sm text-gray-900 truncate">{orgData?.name || ''}</span>
</div>
{/* 导航菜单 */}
+3
View File
@@ -54,6 +54,9 @@ export default function Attendance() {
return (
<div className="space-y-4">
<PageGuide>
</PageGuide>
<div>
<div className="flex items-center gap-2">
<CalendarCheck className="h-5 w-5 text-primary" />
+3
View File
@@ -279,6 +279,9 @@ export default function Dashboard() {
return (
<div className="space-y-3">
<PageGuide>
</PageGuide>
<div className="flex items-center justify-between">
<div>
<div className="flex items-center gap-2">
+4 -5
View File
@@ -89,6 +89,10 @@ export default function ESign() {
return (
<div className="space-y-4">
<PageGuide>
线PDF文件
<span className="text-amber-600"> API后将自动启用在线签署功能</span>
</PageGuide>
<div className="flex items-center gap-2">
<PenTool className="h-5 w-5 text-primary" />
<div>
@@ -97,11 +101,6 @@ export default function ESign() {
</div>
</div>
<PageGuide>
线PDF文件
<span className="text-amber-600"> API后将自动启用在线签署功能</span>
</PageGuide>
<InlineAlert type="info" className="flex items-start gap-2">
<AlertCircle className="w-4 h-4 mt-0.5 shrink-0" />
<div>
+3 -5
View File
@@ -54,6 +54,9 @@ export default function SalaryDashboard() {
return (
<div className="space-y-4">
<PageGuide>
</PageGuide>
{/* 页头 */}
<div className="flex items-center justify-between">
<div className="flex items-center gap-2">
@@ -70,11 +73,6 @@ export default function SalaryDashboard() {
</Select>
</div>
{/* 操作说明 — 紧跟标题下方 */}
<PageGuide>
</PageGuide>
{isLoading ? (
<div className="text-center py-8 text-gray-400">...</div>
) : isError ? (
+3
View File
@@ -350,6 +350,9 @@ export default function SocialInsurance() {
return (
<div className="space-y-3">
<PageGuide>
</PageGuide>
<div className="flex items-center justify-between">
<div className="flex items-center gap-2">
<Calculator className="h-5 w-5 text-primary" />
+3 -3
View File
@@ -795,6 +795,9 @@ export default function Termination() {
return (
<div className="space-y-3">
<PageGuide>
稿
</PageGuide>
<div className="flex items-center justify-between">
<div className="flex items-center gap-2">
<Shield className="h-5 w-5 text-primary" />
@@ -813,9 +816,6 @@ export default function Termination() {
{/* 草稿列表视图 */}
{view === 'list' && (
<>
<PageGuide>
稿
</PageGuide>
<div className="flex gap-2 flex-wrap items-center">
<Input
placeholder="搜索员工姓名或部门"