-
-
-
- Toggle disabled
-
+
+ 返回
+ 保存
+
+
+
+
+
+
-
-
+
+ 课件分类:
+
+ {{ (i + 9).toString(36) + i }}
+
+
+
添加分类
-
-
-
-
-
-
-
-
-
+
+
+ hello world
+
+
+
+
+
+ 视频上传:
+
+ {{uploadButtonText}}
+
+
+
+
+
+
+
+
+
+
+
+
+ 课件分类:
+
+ {{ (i + 9).toString(36) + i }}
+
+
+
添加分类
-
-
-
-
-
-
+
+
+ hello world
+
+
+
+
+
+
+
+
+
+
+
Content of Tab Pane 3
+
+
\ No newline at end of file
diff --git a/src/views/course/CoursewareList.vue b/src/views/course/CoursewareList.vue
index 5aaa09d..4cad3a3 100644
--- a/src/views/course/CoursewareList.vue
+++ b/src/views/course/CoursewareList.vue
@@ -44,8 +44,8 @@ export default {
columns: [
{ title: '课件名称', width: '160px', align: 'center', dataIndex: 'name', key: 'name' },
{ title: '课件分类',width: '300px',align: 'center', dataIndex: 'coursewareClassifyId', key: 'coursewareClassifyId',},
- { title: '课时/分', width: '160px', align: 'center', dataIndex: 'hour', key: 'hour' },
- { title: '课件大小', width: '160px', align: 'center', dataIndex: 'coursewareSize', key: 'coursewareSize' },
+ { title: '课时/分', width: '160px', align: 'center', dataIndex: 'duration', key: 'duration' },
+ { title: '课件大小(MB)', width: '160px', align: 'center', dataIndex: 'sizeStr', key: 'sizeStr'},
{ title: '操作', key: 'operation', width: '200px', align: 'center', scopedSlots: { customRender: 'action' } },
],
}
@@ -53,7 +53,8 @@ export default {
methods: {
//新增课件
coursewareAdd(){
- this.$router.push({path:"/course/CoursewareAddOrUpdate",query:{}})
+ this.$router.push({path:"/course/CoursewareAddOrUpdate",query:{courseId: this.$route.query.id}})
+ console.log('IDIDIDID',this.$route.query.id)
},
//返回
diff --git a/src/views/course/question/QuestionAdd.vue b/src/views/course/question/QuestionAdd.vue
index a2270b0..48bb8d8 100644
--- a/src/views/course/question/QuestionAdd.vue
+++ b/src/views/course/question/QuestionAdd.vue
@@ -249,7 +249,6 @@ export default {
} else if (this.tabKey === '5') {
from = this.CompletionV()
if (typeof from == 'boolean' && !from) return
- console.log('5---', this.Completion)
}
from.courseId = this.$route.query.courseId