抽考题回显

This commit is contained in:
18571350067 2021-12-22 00:03:18 +08:00
parent fe80219cbe
commit b1f14fa1b9
1 changed files with 1 additions and 3 deletions

View File

@ -45,8 +45,6 @@ export default {
this.getRequiredQuestionId() this.getRequiredQuestionId()
}, },
methods: { methods: {
start() {},
// //
goback() { goback() {
this.$router.push({ path: '/course/CoursewareList', query: { id: this.$route.query.courseId } }) this.$router.push({ path: '/course/CoursewareList', query: { id: this.$route.query.courseId } })
@ -61,7 +59,6 @@ export default {
// //
save() { save() {
console.log('11111111')
this.form.ids = this.selectedRowKeys.toString(); this.form.ids = this.selectedRowKeys.toString();
this.form.coursewareId = this.$route.query.coursewareId; this.form.coursewareId = this.$route.query.coursewareId;
console.log('from:{}', this.form) console.log('from:{}', this.form)
@ -80,6 +77,7 @@ export default {
// id // id
requiredQuestionId({ coursewareId: this.$route.query.coursewareId }).then((res) => { requiredQuestionId({ coursewareId: this.$route.query.coursewareId }).then((res) => {
console.log('+++++++++++++', res) console.log('+++++++++++++', res)
this.selectedRowKeys = res.data;
}) })
}, },
}, },