From 9e21e76d16e174783ffd12457c4f07c2a2507099 Mon Sep 17 00:00:00 2001 From: woody Date: Wed, 18 Jun 2025 13:32:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(router):=20=E6=89=BE=E5=9B=9E=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=96=B0=E5=A2=9E=E8=B7=AF=E7=94=B1=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 8 +++- .../marketing/plantCommonweal/commonRoles.vue | 2 +- src/views/system/addMenuRole/index.vue | 4 +- src/views/system/limits/index.vue | 38 +++++++++---------- src/views/system/role/index.vue | 2 +- 5 files changed, 30 insertions(+), 24 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 9f0d6af..f8d5381 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3256,7 +3256,13 @@ export const constantRoutes = [ meta: { title: '前台权限配置' }, hidden: true }, - + { + path: 'AddMenuRole', + name: 'addMenuRole', + component: () => import('@/views/system/addMenuRole/index'), + meta: { title: i18n.t('新增权限') }, + hidden: true + }, { path: 'fieldRole', name: 'FieldRole', diff --git a/src/views/marketing/plantCommonweal/commonRoles.vue b/src/views/marketing/plantCommonweal/commonRoles.vue index d12b25a..9d44eeb 100644 --- a/src/views/marketing/plantCommonweal/commonRoles.vue +++ b/src/views/marketing/plantCommonweal/commonRoles.vue @@ -546,7 +546,7 @@ export default { }, cancel() { this.$router.push({ - name: 'superStudioGift' + name: 'addMenuRole' }) }, addNewGoods() { diff --git a/src/views/system/addMenuRole/index.vue b/src/views/system/addMenuRole/index.vue index 7480354..1ad2cff 100644 --- a/src/views/system/addMenuRole/index.vue +++ b/src/views/system/addMenuRole/index.vue @@ -207,11 +207,11 @@ export default { roleAllList: [], menuAllList: [] }, - moren: 'superStudioGift', + moren: 'addMenuRole', topList: [ { name: '后台菜单权限', - path: 'superStudioGift' + path: 'addMenuRole' } ] } diff --git a/src/views/system/limits/index.vue b/src/views/system/limits/index.vue index 74669e4..cc0257e 100644 --- a/src/views/system/limits/index.vue +++ b/src/views/system/limits/index.vue @@ -2,7 +2,7 @@