src/views/work/onlineEducation/classHourBatch/index.vue
@@ -164,7 +164,7 @@ return { ...item, coursePeriodNum: item.coursePeriod ? (item.coursePeriod /60).toFixed(2).replace(/\.00$/, '') + '分钟':'', finishRate: item.finishCount ? item.finishCount ===0 && item.studentCount ===0 ? '0%': (item.finishCount / item.studentCount).toFixed(2) *100 + '%' : '' finishRate: item.finishCount ? item.finishCount ===0 && item.studentCount ===0 ? '0%': ((item.finishCount / item.studentCount)*100).toFixed(2).replace(/\.00$/, '') + '%' : '' } }) data.total = res.data.total