From b6fd01e789451c3fbd039a02aaf91c5629122a80 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期一, 20 六月 2022 19:59:13 +0800
Subject: [PATCH] 1.角色清单新增修改、设置完成
---
src/store/modules/permission.js | 66 +++++++++++++-------------------
1 files changed, 27 insertions(+), 39 deletions(-)
diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js
index c324d4d..b6cba09 100644
--- a/src/store/modules/permission.js
+++ b/src/store/modules/permission.js
@@ -102,17 +102,6 @@
// '0'浠h〃false,'1'浠h〃true
const routes = [
{
- path: '/redirect',
- component: 'Layout',
- hidden: '1',
- children: [
- {
- path: '/redirect/:path(.*)',
- component: '/redirect/index'
- }
- ]
- },
- {
path: '/',
component: 'Layout',
redirect: '/index',
@@ -123,29 +112,17 @@
meta: { title: '绯荤粺棣栭〉', icon: 'el-icon-house', affix: '1' }
}]
},
- // {
- // path: '/',
- // component: 'Layout',
- // redirect: '/dashboard',
- // children: [{
- // path: 'dashboard',
- // name: 'Dashboard',
- // component: '/dashboard/index'
- // }]
- // },
- // {
- // path: '/xtsy',
- // component: 'Layout',
- // redirect: '/stxy/index',
- // children: [
- // {
- // path: 'index',
- // name: 'Form',
- // component: '/xtsy/index',
- // meta: { title: '绯荤粺棣栭〉', icon: 'form', affix: '1' }
- // }
- // ]
- // },
+ {
+ path: '/redirect',
+ component: 'Layout',
+ hidden: '1',
+ children: [
+ {
+ path: '/redirect/:path(.*)',
+ component: '/redirect/index'
+ }
+ ]
+ },
{
path: '/jcsz',
component: 'Layout',
@@ -160,10 +137,22 @@
meta: { title: '缁勭粐鏋舵瀯', icon: '' }
},
{
- path: 'rwgl',
- name: 'rwgl',
- component: '/jcsz/rwgl',
- meta: { title: '浠诲姟绠$悊', icon: '' }
+ path: 'yhqd',
+ name: 'yhqd',
+ component: '/jcsz/yhqd',
+ meta: { title: '鐢ㄦ埛娓呭崟', icon: '' }
+ },
+ {
+ path: 'jsqd',
+ name: 'jsqd',
+ component: '/jcsz/jsqd',
+ meta: { title: '瑙掕壊娓呭崟', icon: '' }
+ },
+ {
+ path: 'wldw',
+ name: 'wldw',
+ component: '/jcsz/wldw',
+ meta: { title: '寰�鏉ュ崟浣�', icon: '' }
}
]
},
@@ -194,7 +183,6 @@
}
]
}
-
]
const asyncRoutes = getAsyncRoutes(routes)
asyncRoutes.push({ path: '*', redirect: '/404', hidden: true })
--
Gitblit v1.9.3