添加积分模块

This commit is contained in:
2023-02-24 14:45:02 +08:00
parent 309eccc116
commit c0fd22bd3f
5 changed files with 520 additions and 6 deletions

View File

@@ -216,11 +216,13 @@ function addExamFunc(data) {
<el-table :data="item.course_sub" >
<el-table-column align="left" label="ID" width="60" prop="course_subsection_id" />
<el-table-column align="left" label="子章节名称" min-width="60" prop="name" />
<el-table-column align="left" label="课件名称" min-width="60" prop="url_name" />
<el-table-column align="left" label="课件名称" min-width="60" prop="url">
<template #default="scope">{{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="exam_id">
<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" prop="price" />