From 0237572858628fec8fa83d48d44d34478e0146fb Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Wed, 31 Jul 2024 16:53:28 +0800
Subject: [PATCH] bug修改
---
src/views/onlineEducation/classHourBatch/components/handleStudent.vue | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/views/onlineEducation/classHourBatch/components/handleStudent.vue b/src/views/onlineEducation/classHourBatch/components/handleStudent.vue
index 1881b56..7b5aae9 100644
--- a/src/views/onlineEducation/classHourBatch/components/handleStudent.vue
+++ b/src/views/onlineEducation/classHourBatch/components/handleStudent.vue
@@ -47,7 +47,17 @@
<el-table-column label="批次名称" prop="phaseName" align="center" />
<el-table-column label="学员名称" prop="studentName" align="center" />
<el-table-column label="手机号" prop="studentPhone" align="center" />
- <el-table-column label="总进度" prop="totalProgress" align="center" />
+ <el-table-column label="总进度" prop="totalProgress" align="center" >
+ <template #default="scope">
+ <el-progress
+ v-if="scope.row.totalProgress>=0"
+ :text-inside="true"
+ :stroke-width="24"
+ :percentage="scope.row.totalProgress"
+ :status="scope.row.totalProgress <= 50 ? 'exception' : scope.row.totalProgress > 50 && scope.row.totalProgress <= 80 ? 'warning':'success'"
+ />
+ </template>
+ </el-table-column>
<el-table-column label="开始学习时间" prop="startTime" align="center" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180">
<template #default="scope">
--
Gitblit v1.9.2