fix(pl): 将证书齐备改为独立菜单权限,避免取消授权后仍随计划段次用证显示。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-11-06 17:39:18 +08:00
1 parent 421332cad4
commit 13ed7f5be0
8 files changed
+129 -7

No files matched your search

+2 -2
View File
@@ -94,7 +94,7 @@ export const plRoutes: AppRouteRecord[] = [
name: 'PlCertReady',
path: 'cert-ready',
component: '/pl/cert-ready/index',
meta: { title: '证书齐备', keepAlive: false, menuCode: 'pl:plan-cert:list' }
meta: { title: '证书齐备', keepAlive: false, menuCode: 'pl:cert-ready:list' }
},
{
id: 'PL_REDIRECT_LEGAL_USE_OLD',
@@ -286,7 +286,7 @@ export const plRoutes: AppRouteRecord[] = [
name: 'PlCertReadyRedirect',
path: 'cert-ready',
redirect: '/pl/cert-upload/cert-ready',
meta: { title: '证书齐备', isHide: true }
meta: { title: '证书齐备', isHide: true, menuCode: 'pl:cert-ready:list' }
},
{
id: 'PL_REDIRECT_FREIGHT',
+1
View File
@@ -150,6 +150,7 @@ export const SIDEBAR_MENU_ICON_BY_CODE: Record<string, string> = {
'pl:plan:list': 'ri:route-line',
'pl:plan-archive:list': 'ri:folder-check-line',
'pl:plan-cert:list': 'ri:shield-check-line',
'pl:cert-ready:list': 'ri:shield-check-line',
'pl:freight:list': 'ri:money-cny-box-line',
'pl:freight-approval:list': 'ri:checkbox-circle-line',
'pl:freight-disburse:list': 'ri:bank-card-line',