admin page update

This commit is contained in:
czm
2020-12-30 17:09:04 +08:00
parent 307523b3be
commit 4200a7c5de
5 changed files with 7 additions and 4 deletions

View File

@@ -49,7 +49,7 @@ const constantRoutes = [
path: 'student/list',
component: () => import('@/views/user/student/list'),
name: 'UserStudentPageList',
meta: { title: '学生列表', noCache: true }
meta: { title: '招聘专员列表', noCache: true }
},
{
path: 'student/edit',

View File

@@ -113,6 +113,7 @@ export default {
this.initSubject(function () {
_this.subjectFilter = _this.subjects
})
this.subjectFilter = this.subjects.filter(data => data.level === this.form.gradeLevel)
if (id && parseInt(id) !== 0) {
_this.formLoading = true
questionApi.select(id).then(re => {
@@ -177,13 +178,13 @@ export default {
items: [],
analyze: '',
correct: '',
score: '',
score: '0',
difficult: 0
}
},
levelChange () {
this.form.subjectId = null
this.subjectFilter = this.subjects.filter(data => data.level === this.form.gradeLevel)
//this.subjectFilter = this.subjects.filter(data => data.level === this.form.gradeLevel)
console.log(this.subjectFilter);
},