2 Комити c991ffdcda ... d7e9efa72d

Аутор SHA1 Порука Датум
  abpcoder d7e9efa72d Merge branch 'master' of http://49.234.186.218:9000/root/ieplus пре 1 дан
  abpcoder 875aac2212 student detail +examineeId пре 1 дан

+ 7 - 7
back-ui/src/views/dz/papers/components/plugs/class-detail.vue

@@ -6,7 +6,7 @@
             </el-select>
         </el-form-item>
     </el-form>
-    <Table :data="filterList" :columns="columns" :actions="actions" @action="handleAction">
+    <Table :data="filterList" :columns="columns" :actions="actions" action-width="100" @action="handleAction">
         <template #rate="{row}">
             <el-text v-if="[undefined, null, NaN].includes(row.rate)">-</el-text>
             <el-text v-else :type="row.rate>90?'success':row.rate>70?'primary':'danger'">{{row.rate}}%</el-text>
@@ -49,13 +49,13 @@ const filterList = computed(() => {
 })
 
 const columns = [
-    {label: '姓名', prop: 'studentName'},
-    {label: '班级', prop: 'className'},
-    {label: '考试批次', prop: 'batchName'},
+    {label: '姓名', prop: 'studentName', width: 120},
+    // {label: '班级', prop: 'className'},
+    // {label: '考试批次', prop: 'batchName'},
     {label: '试卷名称', prop: 'paperName'},
-    {label: '发送情况', prop: 'state'},
-    {label: '得分率', prop: 'rate', type: 'slot', slotName: 'rate'},
-    {label: '手机号', prop: 'mobile', minWidth: 120}
+    {label: '发送情况', prop: 'state', width: 120},
+    {label: '得分率', prop: 'rate', type: 'slot', slotName: 'rate', width: 80},
+    {label: '手机号', prop: 'mobile', width: 120}
 ]
 const actions = [
     {key: 'rate', label: '考试详情', permission: [''], disabled: r => [null, undefined, NaN].includes(r.rate)}

+ 2 - 1
back-ui/src/views/dz/papers/components/plugs/student-detail.vue

@@ -43,7 +43,8 @@ onMounted(async () => {
         batchId: props.classData.batchId,
         classId: props.classData.classId,
         paperId: props.studentData.paperId,
-        studentId: props.studentData.studentId
+        studentId: props.studentData.studentId,
+        examineeId: props.studentData.examineeId
     }
     const res = await getPaperStudentDetail(query)
     detail.value = res.data