抽考题回显
This commit is contained in:
parent
fe80219cbe
commit
b1f14fa1b9
|
@ -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;
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue