feat: 业务链条配置管理导航与顶栏用户名统一
业务链条页增加配置管理入口与返回导航;配置管理页通过 aliasPaths 保持侧栏选中;顶栏用户名与设置个人信息页共用 getAccountDisplayName。
This commit is contained in:
1 parent
d8102e8db8
commit
318f6c0c0c
8 files changed
+544
-507
No files matched your search
@@ -43,6 +43,7 @@ import {
|
||||
SearchIcon,
|
||||
SendIcon,
|
||||
SettingsIcon,
|
||||
SlidersHorizontalIcon,
|
||||
Trash2Icon,
|
||||
UserIcon,
|
||||
UsersIcon,
|
||||
@@ -252,17 +253,27 @@ export default function BusinessChainListPage() {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => goConfigure()}
|
||||
className={cn(
|
||||
"flex shrink-0 items-center gap-2.5 self-start rounded-xl px-4 py-2.5 text-xs font-bold shadow-sm shadow-[#CF1322]/10 transition active:scale-95 md:self-auto",
|
||||
BRAND,
|
||||
)}
|
||||
>
|
||||
<PlusIcon className="size-4" />
|
||||
<span>新建链条</span>
|
||||
</button>
|
||||
<div className="flex shrink-0 items-center gap-2 self-start md:self-auto">
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => navigate("/page/strategy/business-chain-mapping")}
|
||||
className="flex items-center gap-2 rounded-xl border border-zinc-200 bg-white px-4 py-2.5 text-xs font-bold text-zinc-700 shadow-sm transition hover:bg-zinc-50 active:scale-95 dark:border-[#1A2F5A] dark:bg-[#122347] dark:text-[#C5CFE0] dark:hover:bg-[#1A2F5A]"
|
||||
>
|
||||
<SlidersHorizontalIcon className="size-4" />
|
||||
<span>配置管理</span>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => goConfigure()}
|
||||
className={cn(
|
||||
"flex items-center gap-2.5 rounded-xl px-4 py-2.5 text-xs font-bold shadow-sm shadow-[#CF1322]/10 transition active:scale-95",
|
||||
BRAND,
|
||||
)}
|
||||
>
|
||||
<PlusIcon className="size-4" />
|
||||
<span>新建链条</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
Reference in new issue
Block a user