From 83e53a3005e69fb7328929b535a117988610a5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0?= <15071126431@163.com> Date: Tue, 11 May 2021 14:19:06 +0800 Subject: [PATCH] . --- src/components/common/Sidebar.vue | 7 +- src/components/page/Achievement.vue | 4 + src/components/page/ClassEdit.vue | 88 ++++++++ src/components/page/ClassManager.vue | 288 +++++++++++++++++++++++++ src/components/page/Dashboard.vue | 4 +- src/components/page/Login.vue | 4 +- src/components/page/PersonalCenter.vue | 19 +- 7 files changed, 400 insertions(+), 14 deletions(-) create mode 100644 src/components/page/ClassEdit.vue create mode 100644 src/components/page/ClassManager.vue diff --git a/src/components/common/Sidebar.vue b/src/components/common/Sidebar.vue index 4e16bf1..7f418b9 100644 --- a/src/components/common/Sidebar.vue +++ b/src/components/common/Sidebar.vue @@ -61,7 +61,12 @@ export default { { icon: 'el-icon-takeaway-box', index: 'dashboard', - title: '班级教学' + title: '竞赛管理' + }, + { + icon: 'el-icon-takeaway-box', + index: 'classmanager', + title: '班级管理' }, { icon: 'el-icon-collection', diff --git a/src/components/page/Achievement.vue b/src/components/page/Achievement.vue index e5053a9..89ea16b 100644 --- a/src/components/page/Achievement.vue +++ b/src/components/page/Achievement.vue @@ -128,6 +128,10 @@ export default { { id: 1, name: '考核模式' + }, + { + id: 2, + name: '竞赛模式' } ], date: '', diff --git a/src/components/page/ClassEdit.vue b/src/components/page/ClassEdit.vue new file mode 100644 index 0000000..35e828e --- /dev/null +++ b/src/components/page/ClassEdit.vue @@ -0,0 +1,88 @@ + + + + + + 返回 + 班级名称 + + + + + + + 基本信息 + + + + + + + + \ No newline at end of file diff --git a/src/components/page/ClassManager.vue b/src/components/page/ClassManager.vue new file mode 100644 index 0000000..c349a97 --- /dev/null +++ b/src/components/page/ClassManager.vue @@ -0,0 +1,288 @@ + + + + + + + 筛选 + + + + + + + {{item.name}} + + + + + + + — + + + + + + + + + + {{item.name}} + + + + + + + + + + + + + + + + + + 班级列表 + + + + + + + + + {{item.className}} + + 创建时间: + {{item.classTime}}年 + + + 所属学期: + {{item.classSemester}} + + + + + 编辑 + 删除 + + + + + + + + 创建班级 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/page/Dashboard.vue b/src/components/page/Dashboard.vue index e47d54e..cb15e2e 100644 --- a/src/components/page/Dashboard.vue +++ b/src/components/page/Dashboard.vue @@ -73,9 +73,9 @@ {{scope.$index + (pageNo - 1) * pageSize + 1}} - + - + diff --git a/src/components/page/Login.vue b/src/components/page/Login.vue index c3154b5..9b94317 100644 --- a/src/components/page/Login.vue +++ b/src/components/page/Login.vue @@ -67,8 +67,8 @@ export default { data: function() { return { param: { - username: '', - password: '' + username: 'admin', + password: 'admin' }, rules: { username: [{ required: true, message: '请输入用户名', trigger: 'blur' }], diff --git a/src/components/page/PersonalCenter.vue b/src/components/page/PersonalCenter.vue index 17269a8..b196bbe 100644 --- a/src/components/page/PersonalCenter.vue +++ b/src/components/page/PersonalCenter.vue @@ -123,7 +123,7 @@ 证件 - + @@ -302,15 +302,14 @@ 微信 --> - - - 密码 - - 更换 - + + 密码 + + ****** + 更换 - + @@ -406,7 +405,9 @@ export default { schoolName:'', professionalName:'', experimentName:'', - sex: 1 + sex: 1, + dateBirth: '', + educationDegree: '' }, profession: [ {
—
{{item.className}}
+ 创建时间: + {{item.classTime}}年 +
+ 所属学期: + {{item.classSemester}} +
******