|
@@ -48,15 +48,14 @@
|
|
<a-input
|
|
<a-input
|
|
v-model.trim="searchModel.startStudentCode"
|
|
v-model.trim="searchModel.startStudentCode"
|
|
placeholder="起始学号"
|
|
placeholder="起始学号"
|
|
- :style="{ width: '160px' }"
|
|
|
|
|
|
+ :style="{ width: '140px' }"
|
|
allow-clear
|
|
allow-clear
|
|
>
|
|
>
|
|
</a-input>
|
|
</a-input>
|
|
- <span class="mlr-1">-</span>
|
|
|
|
<a-input
|
|
<a-input
|
|
v-model.trim="searchModel.endStudentCode"
|
|
v-model.trim="searchModel.endStudentCode"
|
|
placeholder="终止学号"
|
|
placeholder="终止学号"
|
|
- :style="{ width: '160px' }"
|
|
|
|
|
|
+ :style="{ width: '140px' }"
|
|
allow-clear
|
|
allow-clear
|
|
>
|
|
>
|
|
</a-input>
|
|
</a-input>
|
|
@@ -86,7 +85,7 @@
|
|
<a-input-group>
|
|
<a-input-group>
|
|
<a-input-number
|
|
<a-input-number
|
|
v-model.trim="searchModel.objectiveStartScore"
|
|
v-model.trim="searchModel.objectiveStartScore"
|
|
- :style="{ width: '100px' }"
|
|
|
|
|
|
+ :style="{ width: '120px' }"
|
|
placeholder="客观题最低总分"
|
|
placeholder="客观题最低总分"
|
|
:step="0.01"
|
|
:step="0.01"
|
|
:precision="2"
|
|
:precision="2"
|
|
@@ -96,7 +95,7 @@
|
|
/>
|
|
/>
|
|
<a-input-number
|
|
<a-input-number
|
|
v-model.trim="searchModel.objectiveEndScore"
|
|
v-model.trim="searchModel.objectiveEndScore"
|
|
- :style="{ width: '100px' }"
|
|
|
|
|
|
+ :style="{ width: '120px' }"
|
|
placeholder="客观题最高总分"
|
|
placeholder="客观题最高总分"
|
|
:step="0.01"
|
|
:step="0.01"
|
|
:precision="2"
|
|
:precision="2"
|
|
@@ -108,7 +107,7 @@
|
|
<a-input-group>
|
|
<a-input-group>
|
|
<a-input-number
|
|
<a-input-number
|
|
v-model.trim="searchModel.subjectiveStartScore"
|
|
v-model.trim="searchModel.subjectiveStartScore"
|
|
- :style="{ width: '100px' }"
|
|
|
|
|
|
+ :style="{ width: '120px' }"
|
|
placeholder="主观题最低总分"
|
|
placeholder="主观题最低总分"
|
|
:step="0.01"
|
|
:step="0.01"
|
|
:precision="2"
|
|
:precision="2"
|
|
@@ -118,7 +117,7 @@
|
|
/>
|
|
/>
|
|
<a-input-number
|
|
<a-input-number
|
|
v-model.trim="searchModel.subjectiveEndScore"
|
|
v-model.trim="searchModel.subjectiveEndScore"
|
|
- :style="{ width: '100px' }"
|
|
|
|
|
|
+ :style="{ width: '120px' }"
|
|
placeholder="主观题最高总分"
|
|
placeholder="主观题最高总分"
|
|
:step="0.01"
|
|
:step="0.01"
|
|
:precision="2"
|
|
:precision="2"
|
|
@@ -149,7 +148,7 @@
|
|
@click="toDownloadSelection"
|
|
@click="toDownloadSelection"
|
|
>
|
|
>
|
|
<template #icon>
|
|
<template #icon>
|
|
- <svg-icon name="icon-add" />
|
|
|
|
|
|
+ <svg-icon name="icon-import" />
|
|
</template>
|
|
</template>
|
|
批量下载选择数据
|
|
批量下载选择数据
|
|
</a-button>
|
|
</a-button>
|
|
@@ -166,6 +165,8 @@
|
|
type: 'checkbox',
|
|
type: 'checkbox',
|
|
showCheckedAll: true,
|
|
showCheckedAll: true,
|
|
onlyCurrent: false,
|
|
onlyCurrent: false,
|
|
|
|
+ fixed: true,
|
|
|
|
+ width: 55,
|
|
}"
|
|
}"
|
|
@selection-change="selectionChange"
|
|
@selection-change="selectionChange"
|
|
>
|
|
>
|
|
@@ -259,22 +260,27 @@
|
|
{
|
|
{
|
|
title: '姓名',
|
|
title: '姓名',
|
|
dataIndex: 'studentName',
|
|
dataIndex: 'studentName',
|
|
|
|
+ width: 120,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '学号',
|
|
title: '学号',
|
|
dataIndex: 'studentCode',
|
|
dataIndex: 'studentCode',
|
|
|
|
+ width: 140,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '院系',
|
|
title: '院系',
|
|
dataIndex: 'collegeName',
|
|
dataIndex: 'collegeName',
|
|
|
|
+ width: 140,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '专业',
|
|
title: '专业',
|
|
dataIndex: 'majorName',
|
|
dataIndex: 'majorName',
|
|
|
|
+ width: 140,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '班级',
|
|
title: '班级',
|
|
dataIndex: 'className',
|
|
dataIndex: 'className',
|
|
|
|
+ width: 140,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '考试时间',
|
|
title: '考试时间',
|
|
@@ -284,6 +290,7 @@
|
|
{
|
|
{
|
|
title: '课程(代码)',
|
|
title: '课程(代码)',
|
|
slotName: 'courseCode',
|
|
slotName: 'courseCode',
|
|
|
|
+ width: 240,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '成绩',
|
|
title: '成绩',
|
|
@@ -293,7 +300,7 @@
|
|
{
|
|
{
|
|
title: '操作',
|
|
title: '操作',
|
|
slotName: 'action',
|
|
slotName: 'action',
|
|
- width: 80,
|
|
|
|
|
|
+ width: 70,
|
|
fixed: 'right',
|
|
fixed: 'right',
|
|
cellClass: 'action-column',
|
|
cellClass: 'action-column',
|
|
},
|
|
},
|
|
@@ -321,7 +328,6 @@
|
|
|
|
|
|
function selectionChange(keys: (string | number)[]) {
|
|
function selectionChange(keys: (string | number)[]) {
|
|
if (!dataList.value) return;
|
|
if (!dataList.value) return;
|
|
- console.log(keys);
|
|
|
|
multipleSelections.value = dataList.value.filter((item) =>
|
|
multipleSelections.value = dataList.value.filter((item) =>
|
|
keys.includes(item.studentId)
|
|
keys.includes(item.studentId)
|
|
);
|
|
);
|