diff --git a/source/vue/xzs-admin/src/router.js b/source/vue/xzs-admin/src/router.js index 6202da4..c0e2aae 100644 --- a/source/vue/xzs-admin/src/router.js +++ b/source/vue/xzs-admin/src/router.js @@ -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', diff --git a/source/vue/xzs-admin/src/views/exam/question/edit/short-answer.vue b/source/vue/xzs-admin/src/views/exam/question/edit/short-answer.vue index 552464a..e8a5b8f 100644 --- a/source/vue/xzs-admin/src/views/exam/question/edit/short-answer.vue +++ b/source/vue/xzs-admin/src/views/exam/question/edit/short-answer.vue @@ -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); }, diff --git a/source/xzs/src/main/resources/static/admin/index.html b/source/xzs/src/main/resources/static/admin/index.html index 0c5caa0..271a937 100644 --- a/source/xzs/src/main/resources/static/admin/index.html +++ b/source/xzs/src/main/resources/static/admin/index.html @@ -13,4 +13,4 @@ hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9' var s = document.getElementsByTagName('script')[0] s.parentNode.insertBefore(hm, s) - })()