添加客户查询页面包括导航权限控制 & 删除多余代码

This commit is contained in:
Eamon
2026-04-08 13:41:12 +08:00
parent ff645aaaca
commit 8fcf54ae10
6 changed files with 328 additions and 116 deletions

View File

@@ -13,6 +13,7 @@ import {
KeyRound,
type LucideIcon,
Package,
ScanSearch,
Shield,
ShoppingBag,
SquarePercent,
@@ -46,6 +47,7 @@ import {
ScopeResourceRead,
ScopeTradeRead,
ScopeUserRead,
ScopeUserReadNotBind,
ScopeUserReadOne,
} from "@/lib/scopes"
@@ -169,6 +171,12 @@ const menuSections: { title: string; items: NavItemProps[] }[] = [
href: "/user",
icon: Users,
label: "客户认领",
requiredScope: ScopeUserReadNotBind,
},
{
href: "/userQuery",
icon: ScanSearch,
label: "客户查询",
requiredScope: ScopeUserReadOne,
},
{