多体系建设信息化条统-前端
zhouwx
3 days ago 497f112dfcb56a72bab2b464763f7c31d39613da
src/views/work/onlineEducation/groupExams/index.vue
@@ -167,7 +167,7 @@
    data.dataList = res.data.list.map(item => {
      return {
        ...item,
        passRate: item.paperStudentInfoVO.passStudentCount ===0 && item.paperStudentInfoVO.studentCount ===0  ? '0%': (item.paperStudentInfoVO.passStudentCount / item.paperStudentInfoVO.studentCount).toFixed(2) *100 + '%',
        passRate: item.paperStudentInfoVO.passStudentCount ===0 && item.paperStudentInfoVO.studentCount ===0  ? '0%': ((item.paperStudentInfoVO.passStudentCount / item.paperStudentInfoVO.studentCount)*100).toFixed(2).replace(/\.00$/, '')  + '%',
        deadlineNum: item.deadline ? item.deadline.slice(0,10) : ''
      }
    })