对接课程预览
This commit is contained in:
parent
bac5df6af4
commit
42e8636efb
|
@ -2,7 +2,7 @@
|
|||
<a-card :bordered="false" title="课件预览">
|
||||
<template slot="extra">
|
||||
<h4 style="margin-right: 15px; display:inline-block">课程类别待填充</h4>
|
||||
<a-button size="small" @click="goback">返回</a-button>
|
||||
<a-button v-if="!!!coursewareId" size="small" @click="goback">返回</a-button>
|
||||
</template>
|
||||
|
||||
<div style="width:100%;height:600px;">
|
||||
|
@ -96,11 +96,18 @@ import { testing } from '@/api/course/question/requiredQuestion'
|
|||
|
||||
export default {
|
||||
components: { videoPlayer },
|
||||
props: {
|
||||
coursewareId: {
|
||||
type: Number,
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
type: 1,
|
||||
isactive: 0,
|
||||
queryParam: { coursewareId: this.$route.query.coursewareId },
|
||||
queryParam: { coursewareId: this.$route.query.coursewareId || this.coursewareId },
|
||||
courseware: [], //课件详情
|
||||
question: [], //课中检测
|
||||
coursewareName: '',
|
||||
|
@ -126,6 +133,7 @@ export default {
|
|||
}
|
||||
},
|
||||
created() {
|
||||
console.log('porp - coursewareId :',this.coursewareId)
|
||||
let parameter = {}
|
||||
coursewareDeatil(Object.assign(parameter, this.queryParam)).then((res) => {
|
||||
//课件内容
|
||||
|
|
Loading…
Reference in New Issue