From 4d5264ead8c96c78c9928e22fc66b0af190ed180 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Fri, 08 May 2026 11:06:42 +0800
Subject: [PATCH] 修改loading

---
 src/views/work/onlineEducation/count/index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/work/onlineEducation/count/index.vue b/src/views/work/onlineEducation/count/index.vue
index 8dd1a9e..972aa3b 100644
--- a/src/views/work/onlineEducation/count/index.vue
+++ b/src/views/work/onlineEducation/count/index.vue
@@ -2,14 +2,14 @@
   <div class="app-container">
     <div>
       <el-form style="display: flex;flex-wrap: wrap">
-        <el-form-item label="企业:" v-if="state.isAdmin">
+        <el-form-item label="单位:" v-if="state.isAdmin">
           <el-select
               v-model="state.queryParams.companyName"
               filterable
               remote
               @change="selectValue"
               reserve-keyword
-              placeholder="请输入企业名称"
+              placeholder="请输入单位名称"
               remote-show-suffix
               :remote-method="getCompanyList"
               :loading="loadingCompany"
@@ -51,7 +51,7 @@
     <!-- 表格数据 -->
     <el-table v-loading="loading" :data="state.dataList" :border="true" row-key="id">
       <el-table-column label="序号" type="index" align="center" width="80" />
-      <el-table-column label="企业名称" prop="companyName" align="center" />
+      <el-table-column label="单位名称" prop="companyName" align="center" />
       <el-table-column label="企业编号" prop="companyCode" align="center" />
       <el-table-column label="总批次/人数" prop="sort" align="center"  >
         <template #default="scope">
@@ -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%': ''
 
       }
     })

--
Gitblit v1.9.2