对接课程预览
This commit is contained in:
parent
bac5df6af4
commit
42e8636efb
|
@ -2,7 +2,7 @@
|
||||||
<a-card :bordered="false" title="课件预览">
|
<a-card :bordered="false" title="课件预览">
|
||||||
<template slot="extra">
|
<template slot="extra">
|
||||||
<h4 style="margin-right: 15px; display:inline-block">课程类别待填充</h4>
|
<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>
|
</template>
|
||||||
|
|
||||||
<div style="width:100%;height:600px;">
|
<div style="width:100%;height:600px;">
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
</a-card>
|
</a-card>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-divider type="vertical" :dashed="false"/>
|
<a-divider type="vertical" :dashed="false" />
|
||||||
<a-divider type="vertical" :dashed="false"/>
|
<a-divider type="vertical" :dashed="false" />
|
||||||
<a-col :span="10" style="flex-shrink: 0; background-color: #f0f2f5">
|
<a-col :span="10" style="flex-shrink: 0; background-color: #f0f2f5">
|
||||||
<div>
|
<div>
|
||||||
<a-tabs default-active-key="1" @change="callback" style="margin-left: 50px">
|
<a-tabs default-active-key="1" @change="callback" style="margin-left: 50px">
|
||||||
|
@ -96,11 +96,18 @@ import { testing } from '@/api/course/question/requiredQuestion'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { videoPlayer },
|
components: { videoPlayer },
|
||||||
|
props: {
|
||||||
|
coursewareId: {
|
||||||
|
type: Number,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
type: 1,
|
type: 1,
|
||||||
isactive: 0,
|
isactive: 0,
|
||||||
queryParam: { coursewareId: this.$route.query.coursewareId },
|
queryParam: { coursewareId: this.$route.query.coursewareId || this.coursewareId },
|
||||||
courseware: [], //课件详情
|
courseware: [], //课件详情
|
||||||
question: [], //课中检测
|
question: [], //课中检测
|
||||||
coursewareName: '',
|
coursewareName: '',
|
||||||
|
@ -126,6 +133,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
console.log('porp - coursewareId :',this.coursewareId)
|
||||||
let parameter = {}
|
let parameter = {}
|
||||||
coursewareDeatil(Object.assign(parameter, this.queryParam)).then((res) => {
|
coursewareDeatil(Object.assign(parameter, this.queryParam)).then((res) => {
|
||||||
//课件内容
|
//课件内容
|
||||||
|
|
Loading…
Reference in New Issue