|
|
@@ -21,28 +21,28 @@
|
|
|
<div class="table_content">
|
|
|
<div class="content_left page_table">
|
|
|
<el-table :data="examRoomList" style="width: 100%" :height="tableHeight">
|
|
|
- <el-table-column align="center" width="80" prop="examInfo" >
|
|
|
+ <el-table-column align="center" width="50" prop="examInfo" >
|
|
|
<template v-slot="scope">
|
|
|
<el-radio v-model="selectExamRoomCode" :value="scope.row.examRoomCode"></el-radio>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="examRoomName" label="班级" width="80" align="center">
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="date" label="缺考/学生数" width="120" align="center">
|
|
|
+ <el-table-column prop="date" label="缺考/学生数" min-width="120" align="center">
|
|
|
<template v-slot="scope">
|
|
|
<div class="answer_input">
|
|
|
{{scope.row.missExamNum}}/{{scope.row.totalStudentNum}}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="fullScore" label="异常数" width="80" align="center">
|
|
|
+ <el-table-column prop="fullScore" label="异常数" align="center">
|
|
|
<template v-slot="scope">
|
|
|
<div class="full_mark_input">
|
|
|
{{scope.row.abnormalNum}}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="name" label="已上传/学生数(%)" align="center">
|
|
|
+ <el-table-column prop="name" label="已上传/学生数(%)" align="center" width="160" fixed="right">
|
|
|
<template v-slot="scope">
|
|
|
<!-- <div class="full_mark_input">
|
|
|
{{scope.row.uploadedNum}}/{{scope.row.totalStudentNum}}
|
|
|
@@ -90,16 +90,15 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="teachingClassName" label="教学班" width="120" align="center">
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="状态" width="130" align="center">
|
|
|
+ <el-table-column label="状态" min-width="130" align="center">
|
|
|
<template v-slot="scope">
|
|
|
- <div class="table_row_scan_state"></div>
|
|
|
- <div v-if="scope.row.scannedStatus==3" class="table_row_studentStatus"><div class="que_icon"></div>缺页</div>
|
|
|
- <div v-if="scope.row.scannedStatus==0" class="table_row_studentStatus"><div class="no_scan_icon"></div>未扫描</div>
|
|
|
- <div v-if="scope.row.scannedStatus==1" class="table_row_studentStatus"><div class="upload_icon"></div>已上传</div>
|
|
|
- <div v-if="scope.row.scannedStatus==2" class="table_row_studentStatus"><div class="qk_icon"></div>缺考</div>
|
|
|
+ <div v-if="scope.row.scannedStatus==3" class="table_row_student_status"><div class="que_icon"></div>缺页</div>
|
|
|
+ <div v-if="scope.row.scannedStatus==0" class="table_row_student_status"><div class="no_scan_icon"></div>未扫描</div>
|
|
|
+ <div v-if="scope.row.scannedStatus==1" class="table_row_student_status"><div class="upload_icon"></div>已上传</div>
|
|
|
+ <div v-if="scope.row.scannedStatus==2" class="table_row_student_status"><div class="qk_icon"></div>缺考</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="name" label="操作" align="center">
|
|
|
+ <el-table-column prop="name" label="操作" align="center" width="150" fixed="right">
|
|
|
<template v-slot="scope">
|
|
|
<div class="table_row_option" >
|
|
|
<div class="button_editor" @click="EditorStudent(scope.row)">
|
|
|
@@ -127,14 +126,14 @@
|
|
|
<div class="page_jg_20"></div>
|
|
|
<div class="page_bottom">
|
|
|
<div class="bottom_left">
|
|
|
- <span>班级数:{{examInfo.classCount}}个</span>
|
|
|
- <span>学生总数:{{examInfo.totalStudentCount}}个</span>
|
|
|
- <span>缺考人数:{{examInfo.missCount}}个</span>
|
|
|
- <span>已扫描学生:<span class="span_red">{{examInfo.uploadedCount}}个</span></span>
|
|
|
- <span>扫描进度:<span class="span_red">{{examInfo.scanRate}}%</span></span>
|
|
|
+ 班级数:<span class="span_number">{{examInfo.classCount}}个</span>
|
|
|
+ 学生总数:<span class="span_number">{{examInfo.totalStudentCount}}个</span>
|
|
|
+ 缺考人数:<span class="span_number">{{examInfo.missCount}}个</span>
|
|
|
+ 已扫描学生:<span class="span_red">{{examInfo.uploadedCount}}个</span>
|
|
|
+ 扫描进度:<span class="span_red">{{examInfo.scanRate}}%</span>
|
|
|
</div>
|
|
|
<div class="bottom_right">
|
|
|
- 当前选中班级:{{selectExamRoomName}} 学生数:{{examStudentList.length }}人
|
|
|
+ 当前选中班级:<span class="span_number">{{selectExamRoomName}}</span> 学生数:<span class="span_number">{{examStudentList.length }}</span>人
|
|
|
</div>
|
|
|
</div>
|
|
|
<AddStudent ref="addStudentRef" v-model="showAddStudent" :selectSchoolId="selectSchoolId" @success="HandleSuccess" />
|
|
|
@@ -149,7 +148,7 @@ import { onMounted, onUnmounted, ref, nextTick,computed, watch } from 'vue';
|
|
|
import { ElMessageBox, ElMessage } from 'element-plus'
|
|
|
import AddStudent from './components/addStudent.vue' // 新增学生弹窗
|
|
|
import PaperPreview from '@/views/exam/components/PaperPreview.vue';//试卷预览
|
|
|
-import CircleProcess from '@/views/exam/components/CircleProcess.vue'
|
|
|
+import CircleProcess from '@/views/exam/components/CircleProcess.vue'//圆形进度条
|
|
|
// 实例化 Store
|
|
|
const examStore = useExamStore()
|
|
|
const router = useRouter()
|
|
|
@@ -483,59 +482,6 @@ onUnmounted(() => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-//状态
|
|
|
-.table_row_studentStatus
|
|
|
-{
|
|
|
- font-weight: 400;
|
|
|
- font-size: 14px;
|
|
|
- color: #666666;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content:center;
|
|
|
- gap: 5px;
|
|
|
-
|
|
|
-
|
|
|
- //缺页
|
|
|
- .que_icon
|
|
|
- {
|
|
|
- margin-left: 5px;
|
|
|
- width: 6px;
|
|
|
- height: 6px;
|
|
|
- border-radius: 50%;
|
|
|
- background: #F56C6C;
|
|
|
- }
|
|
|
-
|
|
|
- //异常的
|
|
|
- .qk_icon
|
|
|
- {
|
|
|
- margin-left: 5px;
|
|
|
- width: 6px;
|
|
|
- height: 6px;
|
|
|
- border-radius: 50%;
|
|
|
- background: #FB9F34;
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- //已上传
|
|
|
- .upload_icon
|
|
|
- {
|
|
|
- margin-left: 5px;
|
|
|
- width: 6px;
|
|
|
- height: 6px;
|
|
|
- background: #2BC644;
|
|
|
- border-radius: 50%;
|
|
|
- }
|
|
|
- //未扫描
|
|
|
- .no_scan_icon
|
|
|
- {
|
|
|
- margin-left: 5px;
|
|
|
- width: 6px;
|
|
|
- height: 6px;
|
|
|
- background: #2E64FA;
|
|
|
- border-radius: 50%;
|
|
|
- }
|
|
|
-
|
|
|
-}
|
|
|
|
|
|
//扫描进度
|
|
|
.table_row_scan_number
|
|
|
@@ -570,4 +516,11 @@ onUnmounted(() => {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+.span_number
|
|
|
+{
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #333;
|
|
|
+}
|
|
|
</style>
|