Commit 1a4c8315 authored by zhengke's avatar zhengke

1

parent cba0c3e3
...@@ -46,8 +46,6 @@ ...@@ -46,8 +46,6 @@
text-align: center; text-align: center;
font-style: normal; font-style: normal;
} }
</style> </style>
<template> <template>
<div> <div>
...@@ -66,32 +64,38 @@ ...@@ -66,32 +64,38 @@
</div> </div>
<div> <div>
<el-table :data="chapterList" v-loading="loading" ref="table" :height="tableHeight" style="width: 100%;"> <el-table :data="chapterList" v-loading="loading" ref="table" :height="tableHeight" style="width: 100%;">
<el-table-column prop="ChapterNo" label="章节" width="450"> <el-table-column prop="ChapterNo" label="章节" width="400">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="display: inline-block;"> <div style="display: inline-block;">
<div class="flex q-ml-md"> <div class="flex q-ml-md">
<div class="record_cala_Num" v-if="scope.row.ChapterNo.indexOf('.') == -1" style="cursor:pointer;"> <div class="record_cala_Num">
<span> <span>
<i>{{ scope.row.ChapterNo }}</i> <i>{{ scope.row.ChapterNo }}</i>
</span> </span>
</div> </div>
<div style="margin-left: 36px;width:360px;cursor:pointer;" class="ellipsis" <div style="margin-left: 36px;width:320px;" class="ellipsis">
v-if="scope.row.ChapterNo.indexOf('.') == -1">
{{ scope.row.ChapterName }} {{ scope.row.ChapterName }}
</div> </div>
</div> </div>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="State" label="状态" width="100"> <el-table-column prop="State" label="状态" width="70">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="text-positive" v-if="scope.row.State == 1"> <div v-if="scope.row.State == 1">
正常上课 <span class="text-warning" v-if="scope.row.AppointState==1">待确认</span>
<span class="text-info" v-if="scope.row.AppointState==2">待上课</span>
<span class="text-positive" v-if="scope.row.AppointState==3">已上课</span>
</div> </div>
<div class="text-warning" v-if="scope.row.State == 2">补课</div> <div class="text-warning" v-if="scope.row.State == 2">补课</div>
<div class="text-negative" v-if="scope.row.State == 3">缺课</div> <div class="text-negative" v-if="scope.row.State == 3">缺课</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="AgainNum" label="重学次数" width="80">
<template slot-scope="scope">
{{scope.row.AgainNum}}
</template>
</el-table-column>
</el-table> </el-table>
</div> </div>
......
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