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

1111

parent 97453e58
...@@ -30,20 +30,53 @@ ...@@ -30,20 +30,53 @@
</div> </div>
</div> --> </div> -->
<table> <table>
<thead>
<tr> <tr>
<th> <td>
课程名称 报名课程
</th> </td>
<th> <template v-for="(item,index) in dataList">
老师 <td :key="index+400000">
</th> {{item.CourseName}}
<th> </td>
学生 </template>
</th>
</tr> </tr>
</thead> <tr>
<tbody v-for="(item,index) in dataList" :key="index"> <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>
</template>
<!-- <tbody v-for="(item,index) in dataList" :key="index">
<tr> <tr>
<td> <td>
{{item.CourseName}} {{item.CourseName}}
...@@ -61,7 +94,7 @@ ...@@ -61,7 +94,7 @@
</template> </template>
</tr> </tr>
</tbody> </tbody> -->
</table> </table>
</div> </div>
</template> </template>
...@@ -73,11 +106,10 @@ ...@@ -73,11 +106,10 @@
type: Array, type: Array,
default: null, default: null,
}, },
MaxLength: MaxLength: {
{ type: Number,
type:Number, default: 0,
default:0, },
},
loading: { loading: {
type: Boolean, type: Boolean,
default: false, 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