12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <template>
- <div>
- <el-table
- :default-expand-all="true"
- border
- :data="tabledata"
- style="width: 100%; border-radius: 4px; overflow: hidden"
- :header-cell-style="{
- 'background-color': '#D9ECFA',
- padding: '8px',
- color: '#1565C0',
- 'border-right-color': '#1565C0',
- 'border-left-color': '#1565C0',
- }"
- >
- <el-table-column label="章" type="expand" width="70px">
- <template slot-scope="scope">
- <Lesson-table
- :tabledata="scope.row.classPeriodSectionList"
- ></Lesson-table>
- </template>
- </el-table-column>
- <el-table-column align="center" prop="realName" label="姓名">
- </el-table-column>
- <el-table-column align="center" prop="typeName" label="章标题">
- </el-table-column>
- <el-table-column align="center" prop="classHours" label="学时">
- </el-table-column>
- <el-table-column align="center" label="开始学习时间">
- <template slot-scope="scope">
- <span>
- {{ $methodsTools.onlyForma(scope.row.studyStartTime) }}
- </span>
- </template>
- </el-table-column>
- <el-table-column align="center" label="结束学习时间">
- <template slot-scope="scope">
- <span>
- {{ $methodsTools.onlyForma(scope.row.studyEndTime) }}
- </span>
- </template>
- </el-table-column>
- <el-table-column align="center" prop="performance" label="测试成绩">
- </el-table-column>
- </el-table>
- </div>
- </template>
- <script>
- import LessonTable from "./LessonTable.vue";
- export default {
- props: {
- tabledata: {
- type: Array,
- default: () => {
- return [];
- },
- },
- },
- data() {
- return {};
- },
- components: {
- LessonTable,
- },
- };
- </script>
- <style>
- </style>
|