多体系建设信息化条统-前端
zhouwx
2026-04-30 d4325ae343f7bfdaa8bc56b3ab72598d0072437e
src/views/work/onlineEducation/count/index.vue
@@ -139,7 +139,7 @@
    state.dataList = res.data.list.map(item => {
      return {
        ...item,
        passRate: item.passStudentCount  && item.paperStudentCount ? (item.passStudentCount / item.paperStudentCount).toFixed(2) *100 + '%': item.passStudentCount == 0  && item.paperStudentCount == 0? '0%': ''
        passRate: item.passStudentCount  && item.paperStudentCount ? ((item.passStudentCount / item.paperStudentCount)*100).toFixed(2).replace(/\.00$/, '')  + '%': item.passStudentCount == 0  && item.paperStudentCount == 0? '0%': ''
      }
    })