| | |
| | | <el-table-column label="最近修改时间" align="center" prop="updateTime" width="100" /> |
| | | <el-table-column label="审核状态" align="center" prop="" > |
| | | <template #default="scope"> |
| | | <span>{{scope.row.state == 0 ? '待审核' :scope.row.state == 1 ? '审核通过' :scope.row.state == 2 ? '审核驳回' : '待审核' }}</span> |
| | | <span>{{scope.row.status == 1 ? '待审核' :scope.row.status == 2 ? '审核通过' :scope.row.status == 3 ? '审核驳回' : '' }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | |
| | | @click="handleViewCourse(scope.row,'')" |
| | | >详情</el-button> |
| | | <el-button |
| | | v-if="scope.row.state == 0" |
| | | v-if="scope.row.status == 1" |
| | | size="mini" |
| | | type="text" |
| | | style="color: #1890ff" |
| | |
| | | return { |
| | | ...item, |
| | | courseNum: item.outline ? item.outline.length : '', |
| | | state: 0 // 假数据后期删掉 |
| | | } |
| | | }) |
| | | this.total = res.total |