Commit 8dfd46c6 authored by 黄奎's avatar 黄奎

1111

parent 97453e58
......@@ -30,20 +30,53 @@
</div>
</div> -->
<table>
<thead>
<tr>
<th>
课程名称
</th>
<th>
老师
</th>
<th>
学生
</th>
<tr>
<td>
报名课程
</td>
<template v-for="(item,index) in dataList">
<td :key="index+400000">
{{item.CourseName}}
</td>
</template>
</tr>
<tr>
<td>
中教
</td>
<template v-for="(item,index) in dataList">
<td :key="index+500000">
{{item.TeacherName}}
</td>
</template>
</tr>
<tr>
<td>
学员姓名
</td>
<template v-for="(item,index) in dataList">
<td :key="index+600000">
{{item.StuName}}
</td>
</template>
</tr>
<template v-for="(rItem,rIndex) in MaxLength ">
<tr :key="rIndex">
<td>
{{rIndex+1}}
</td>
<template v-for="(item,index) in dataList">
<td :key="index">
<template v-if="item.ChapterList&&item.ChapterList[rIndex]">
{{item.ChapterList[rIndex].ChapterName}}
</template>
</td>
</template>
</tr>
</thead>
<tbody v-for="(item,index) in dataList" :key="index">
</template>
<!-- <tbody v-for="(item,index) in dataList" :key="index">
<tr>
<td>
{{item.CourseName}}
......@@ -56,12 +89,12 @@
</td>
<template v-for="(subItem,subIndex) in item.ChapterList">
<td>
{{subItem.ChapterName}}
{{subItem.ChapterName}}
</td>
</template>
</tr>
</tbody>
</tbody> -->
</table>
</div>
</template>
......@@ -73,11 +106,10 @@
type: Array,
default: null,
},
MaxLength:
{
type:Number,
default:0,
},
MaxLength: {
type: Number,
default: 0,
},
loading: {
type: Boolean,
default: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment