Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
91fa54ed
Commit
91fa54ed
authored
Apr 08, 2021
by
chenshu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:初始化各页面
parent
339fd4f0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
5 deletions
+22
-5
src/routes/config/mainRoutes.tsx
+19
-2
src/routes/config/menuList.tsx
+3
-3
No files found.
src/routes/config/mainRoutes.tsx
View file @
91fa54ed
...
@@ -7,8 +7,10 @@
...
@@ -7,8 +7,10 @@
*/
*/
import
Home
from
'@/modules/home/Home'
;
import
Home
from
'@/modules/home/Home'
;
import
EmployeesManagePage
from
'@/modules/store-manage/EmployeesManagePage'
;
import
EmployeesManagePage
from
'@/modules/store-manage/EmployeesManagePage'
;
import
EmployeeManage
from
'@/modules/college-manage/EmployeeManage'
;
import
personalInfoPage
from
'@/modules/personalInfo'
;
import
personalInfoPage
from
'@/modules/personalInfo'
;
import
UserManagePage
from
'@/modules/store-manage/UserManagePage'
;
import
UserManagePage
from
'@/modules/store-manage/UserManagePage'
;
import
UserManage
from
'@/modules/college-manage/UserManagePage'
;
import
StoreDecorationPage
from
'@/modules/store-manage/StoreDecorationPage'
;
import
StoreDecorationPage
from
'@/modules/store-manage/StoreDecorationPage'
;
import
CourseCatalogPage
from
'@/modules/store-manage/CourseCatalogPage'
;
import
CourseCatalogPage
from
'@/modules/store-manage/CourseCatalogPage'
;
import
LiveCoursePage
from
'@/modules/course-manage/LiveCoursePage'
;
import
LiveCoursePage
from
'@/modules/course-manage/LiveCoursePage'
;
...
@@ -24,8 +26,8 @@ import SwitchRoute from '@/modules/root/SwitchRoute';
...
@@ -24,8 +26,8 @@ import SwitchRoute from '@/modules/root/SwitchRoute';
import
PlanPage
from
'@/modules/plan-manage/PlanPage'
;
import
PlanPage
from
'@/modules/plan-manage/PlanPage'
;
import
AddPlanPage
from
'@/modules/plan-manage/AddPlan'
;
import
AddPlanPage
from
'@/modules/plan-manage/AddPlan'
;
import
LearningDataPage
from
'@/modules/plan-manage/LearningData'
;
import
LearningDataPage
from
'@/modules/plan-manage/LearningData'
;
//
import StoreInfoPage from '@/modules/store-manage/StoreInfo';
import
StoreInfoPage
from
'@/modules/store-manage/StoreInfo'
;
import
Stor
eInfoPage
from
'@/modules/college-manage/CollegeInfoPage'
;
import
Colleg
eInfoPage
from
'@/modules/college-manage/CollegeInfoPage'
;
import
QuestionBankIndex
from
'@/modules/teach-tool/QuestionBankIndex'
;
import
QuestionBankIndex
from
'@/modules/teach-tool/QuestionBankIndex'
;
import
QuestionCategoryManage
from
'@/modules/teach-tool/QuestionCategoryManage'
;
import
QuestionCategoryManage
from
'@/modules/teach-tool/QuestionCategoryManage'
;
import
AddNewQuestion
from
'@/modules/teach-tool/AddNewQuestion'
;
import
AddNewQuestion
from
'@/modules/teach-tool/AddNewQuestion'
;
...
@@ -42,6 +44,11 @@ const mainRoutes = [
...
@@ -42,6 +44,11 @@ const mainRoutes = [
name
:
'员工管理'
name
:
'员工管理'
},
},
{
{
path
:
'/college-employee'
,
component
:
EmployeeManage
,
name
:
'员工管理'
},
{
path
:
'/personal-info'
,
path
:
'/personal-info'
,
component
:
personalInfoPage
,
component
:
personalInfoPage
,
name
:
'个人信息'
name
:
'个人信息'
...
@@ -52,6 +59,11 @@ const mainRoutes = [
...
@@ -52,6 +59,11 @@ const mainRoutes = [
name
:
'用户管理'
name
:
'用户管理'
},
},
{
{
path
:
'/college-user'
,
component
:
UserManage
,
name
:
'用户管理'
},
{
path
:
'/store-decoration'
,
path
:
'/store-decoration'
,
component
:
StoreDecorationPage
,
component
:
StoreDecorationPage
,
name
:
'学院装修'
name
:
'学院装修'
...
@@ -147,6 +159,11 @@ const mainRoutes = [
...
@@ -147,6 +159,11 @@ const mainRoutes = [
name
:
'学院信息'
name
:
'学院信息'
},
},
{
{
path
:
'/college-info'
,
component
:
CollegeInfoPage
,
name
:
'学院信息'
},
{
path
:
'/learning-data'
,
path
:
'/learning-data'
,
component
:
LearningDataPage
,
component
:
LearningDataPage
,
name
:
'学习数据'
name
:
'学习数据'
...
...
src/routes/config/menuList.tsx
View file @
91fa54ed
...
@@ -73,17 +73,17 @@ export const menuList: any = [
...
@@ -73,17 +73,17 @@ export const menuList: any = [
{
{
groupName
:
"学院信息"
,
groupName
:
"学院信息"
,
groupCode
:
"ShopInfo"
,
groupCode
:
"ShopInfo"
,
link
:
'/
stor
e-info'
link
:
'/
colleg
e-info'
},
},
{
{
groupName
:
"员工管理"
,
groupName
:
"员工管理"
,
groupCode
:
"ShopStaff"
,
groupCode
:
"ShopStaff"
,
link
:
'/
employees-manag
e'
link
:
'/
college-employe
e'
},
},
{
{
groupName
:
"用户管理"
,
groupName
:
"用户管理"
,
groupCode
:
"ShopUser"
,
groupCode
:
"ShopUser"
,
link
:
'/
user-manage
'
link
:
'/
college-user
'
},
},
{
{
groupName
:
"课程分类"
,
groupName
:
"课程分类"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment