竞拍明细;课程审核;课程内容仅查看

This commit is contained in:
2023-03-22 20:46:25 +08:00
parent 2382fc3f9e
commit f2825083ee
7 changed files with 243 additions and 84 deletions

View File

@@ -26,7 +26,6 @@ async function getCourse() { // 获取课程信息
}
function downloadChapterChildFunc(item) { // 点击下载
// console.log(item)
window.open(row.url)
}
</script>
@@ -79,17 +78,17 @@ function downloadChapterChildFunc(item) { // 点击下载
</div>
<!--表格数据-->
<div class="lb-table-part" style="margin-bottom: 20px">
<el-table :data="item.children" >
<el-table :data="item.course_sub" border >
<el-table-column align="left" label="id" width="60" prop="id" />
<el-table-column align="left" label="子章节名称" min-width="60" prop="name" />
<el-table-column align="left" label="课件名称" min-width="60">
<template #default="scope">
{{scope.row.url_name === ''?'未上传课件':scope.row.url_name}}
{{scope.row.url === ''?'未上传课件':scope.row.url}}
</template>
</el-table-column>
<el-table-column align="left" label="章节习题" min-width="60" prop="is_contain_exercise">
<el-table-column align="left" label="试卷习题" min-width="60" prop="is_contain_exercise">
<template #default="scope">
{{scope.row.is_contain_exercise === 0?'未添加习题':scope.row.is_contain_exercise}}
{{scope.row.exam_id === 0?'未添加习题':scope.row.exam_id}}
</template>
</el-table-column>
<el-table-column align="left" label="是否免费" min-width="60">