2.3.0-rc2
This commit is contained in:
1 parent
6735a6d3fc
commit
10b51eb08a
19 files changed
+7292
-7
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "web",
|
||||
"private": true,
|
||||
"version": "2.3.0-rc1",
|
||||
"version": "2.3.0-rc2",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -212,6 +212,10 @@ const navigationGroups = computed<NavigationGroup[]>(() => [
|
||||
key: 'student-status',
|
||||
label: '学籍管理',
|
||||
items: [
|
||||
...whenVisible(
|
||||
isStudent.value,
|
||||
{ path: '/my-profile', label: '个人信息' },
|
||||
),
|
||||
...whenVisible(
|
||||
hasAnyRole(['SuperAdmin', 'AcademicAdmin', 'CollegeAdmin', 'Counselor', 'Student']),
|
||||
{ path: '/student-status-changes', label: isStudent.value ? '学籍异动' : '异动审核' },
|
||||
|
||||
@@ -58,6 +58,12 @@ const router = createRouter({
|
||||
name: 'account',
|
||||
component: () => import('../views/AccountView.vue'),
|
||||
},
|
||||
{
|
||||
path: 'my-profile',
|
||||
name: 'my-profile',
|
||||
component: () => import('../views/StudentProfileView.vue'),
|
||||
meta: { roles: ['Student'] },
|
||||
},
|
||||
{
|
||||
path: 'base-data',
|
||||
redirect: '/base-data/organization',
|
||||
|
||||
Loaded 3 of 19 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user