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/groupExams/index.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/views/work/onlineEducation/groupExams/index.vue b/src/views/work/onlineEducation/groupExams/index.vue
index 96c9c6b..5224b05 100644
--- a/src/views/work/onlineEducation/groupExams/index.vue
+++ b/src/views/work/onlineEducation/groupExams/index.vue
@@ -7,6 +7,7 @@
type="primary"
plain
@click="openDialog('add',{})"
+ v-hasPermi="['groupExams:list:add']"
>开始组卷考试</el-button>
</el-form-item>
<el-form-item label="考试名称:" >
@@ -41,7 +42,7 @@
<el-table v-loading="loading" :data="dataList" :border="true">
<el-table-column label="编号" prop="code" align="center" width="135" />
<el-table-column label="考试名称" prop="name" align="center" />
- <el-table-column label="企业名称" prop="companyName" align="center" />
+ <el-table-column label="单位名称" prop="companyName" align="center" />
<el-table-column label="创建账户" prop="createBy" align="center" />
<el-table-column label="科目/类别" prop="categoryName" align="center" />
<el-table-column label="完成人数/总人数" prop="" align="center" width="135">
@@ -76,9 +77,9 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="260">
<template #default="scope">
<el-button link type="primary" @click="viewQuestion(scope.row)">预览</el-button>
- <el-button link type="primary" @click="toStuChoose(scope.row)">学生数据</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="toStuChoose(scope.row)">人员数据</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['groupExams:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['groupExams:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
@@ -166,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) : ''
}
})
--
Gitblit v1.9.2