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}} +
******