chore(menu): hide research-donation protocol menus; keep routes for unified page deep links.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
c1f9a56404
commit
56fd44388b
2 files changed
+4
-19
No files matched your search
@@ -106,6 +106,7 @@ STATIC_MENU_TREE = [
|
||||
"title": "科研捐赠",
|
||||
"icon": "ri:hand-heart-line",
|
||||
"keepAlive": False,
|
||||
"isHide": True,
|
||||
"roles": ["admin"],
|
||||
},
|
||||
"children": [
|
||||
@@ -121,14 +122,7 @@ STATIC_MENU_TREE = [
|
||||
"name": "ResearchDonationAudit",
|
||||
"path": "audit",
|
||||
"component": "/research-donation/audit/index",
|
||||
"meta": {"title": "捐赠协议单", "keepAlive": True, "menuCode": "biz:researchDonationAudit:list"},
|
||||
},
|
||||
{
|
||||
"id": "60000000000000000000000000000004",
|
||||
"name": "ResearchDonationSampleInfo",
|
||||
"path": "sample-info",
|
||||
"component": "/research-donation/sample-info/index",
|
||||
"meta": {"title": "样本信息管理", "keepAlive": True, "menuCode": "research-donation:sample-info:list"},
|
||||
"meta": {"title": "捐赠协议单", "keepAlive": True, "isHide": True, "menuCode": "biz:researchDonationAudit:list"},
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -189,6 +189,7 @@ export const sqxpAdminRoutes: AppRouteRecord[] = [
|
||||
title: '科研捐赠',
|
||||
icon: 'ri:hand-heart-line',
|
||||
keepAlive: false,
|
||||
isHide: true,
|
||||
roles: ['admin']
|
||||
},
|
||||
children: [
|
||||
@@ -212,19 +213,9 @@ export const sqxpAdminRoutes: AppRouteRecord[] = [
|
||||
meta: {
|
||||
title: '捐赠协议单',
|
||||
keepAlive: true,
|
||||
isHide: true,
|
||||
menuCode: 'biz:researchDonationAudit:list'
|
||||
}
|
||||
},
|
||||
{
|
||||
id: '60000000000000000000000000000004',
|
||||
name: 'ResearchDonationSampleInfo',
|
||||
path: 'sample-info',
|
||||
component: '/research-donation/sample-info/index',
|
||||
meta: {
|
||||
title: '样本信息管理',
|
||||
keepAlive: true,
|
||||
menuCode: 'research-donation:sample-info:list'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user