|
@@ -32,27 +32,39 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="part-box">
|
|
<div class="part-box">
|
|
- <el-table class="page-table" :data="dataList" :loading="loading">
|
|
|
|
- <el-table-column property="group" label="分组" width="100" />
|
|
|
|
|
|
+ <el-table
|
|
|
|
+ class="page-table"
|
|
|
|
+ :data="dataList"
|
|
|
|
+ :loading="loading"
|
|
|
|
+ @sort-change="handleSortChange"
|
|
|
|
+ >
|
|
|
|
+ <el-table-column property="group" label="分组" width="100" sortable />
|
|
<el-table-column property="markerId" label="评卷员" width="120" />
|
|
<el-table-column property="markerId" label="评卷员" width="120" />
|
|
<el-table-column property="name" label="姓名" min-width="100" />
|
|
<el-table-column property="name" label="姓名" min-width="100" />
|
|
<el-table-column
|
|
<el-table-column
|
|
property="completedTasks"
|
|
property="completedTasks"
|
|
label="完成任务数"
|
|
label="完成任务数"
|
|
width="120"
|
|
width="120"
|
|
|
|
+ sortable
|
|
/>
|
|
/>
|
|
<el-table-column
|
|
<el-table-column
|
|
property="arbitrationTasks"
|
|
property="arbitrationTasks"
|
|
label="仲裁任务数"
|
|
label="仲裁任务数"
|
|
width="120"
|
|
width="120"
|
|
|
|
+ sortable
|
|
/>
|
|
/>
|
|
- <el-table-column label="仲裁率" width="100">
|
|
|
|
|
|
+ <el-table-column label="仲裁率" width="100" sortable>
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
{{ (scope.row.arbitrationRate * 100).toFixed(1) }}%
|
|
{{ (scope.row.arbitrationRate * 100).toFixed(1) }}%
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column property="returnCount" label="打回次数" width="100" />
|
|
|
|
- <el-table-column label="评卷采用率" width="120">
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
+ property="returnCount"
|
|
|
|
+ label="打回次数"
|
|
|
|
+ width="100"
|
|
|
|
+ sortable
|
|
|
|
+ />
|
|
|
|
+ <el-table-column label="评卷采用率" width="120" sortable>
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
{{ (scope.row.adoptionRate * 100).toFixed(1) }}%
|
|
{{ (scope.row.adoptionRate * 100).toFixed(1) }}%
|
|
</template>
|
|
</template>
|
|
@@ -61,13 +73,24 @@
|
|
property="markingSpeed"
|
|
property="markingSpeed"
|
|
label="评卷速度(秒)"
|
|
label="评卷速度(秒)"
|
|
width="120"
|
|
width="120"
|
|
|
|
+ sortable
|
|
/>
|
|
/>
|
|
- <el-table-column property="averageScore" label="平均分" width="100">
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
+ property="averageScore"
|
|
|
|
+ label="平均分"
|
|
|
|
+ width="100"
|
|
|
|
+ sortable
|
|
|
|
+ >
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
{{ scope.row.averageScore.toFixed(2) }}
|
|
{{ scope.row.averageScore.toFixed(2) }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column property="standardDeviation" label="标准差" width="100">
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
+ property="standardDeviation"
|
|
|
|
+ label="标准差"
|
|
|
|
+ width="100"
|
|
|
|
+ sortable
|
|
|
|
+ >
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
{{ scope.row.standardDeviation.toFixed(2) }}
|
|
{{ scope.row.standardDeviation.toFixed(2) }}
|
|
</template>
|
|
</template>
|
|
@@ -109,8 +132,19 @@
|
|
noArbitration: undefined,
|
|
noArbitration: undefined,
|
|
});
|
|
});
|
|
|
|
|
|
- const { dataList, pagination, loading, getList, toPage, pageSizeChange } =
|
|
|
|
- useTable<MarkQualityMonitorItem>(getQualityMonitorList, searchModel, false);
|
|
|
|
|
|
+ const {
|
|
|
|
+ dataList,
|
|
|
|
+ pagination,
|
|
|
|
+ loading,
|
|
|
|
+ getList,
|
|
|
|
+ toPage,
|
|
|
|
+ pageSizeChange,
|
|
|
|
+ handleSortChange,
|
|
|
|
+ } = useTable<MarkQualityMonitorItem>(
|
|
|
|
+ getQualityMonitorList,
|
|
|
|
+ searchModel,
|
|
|
|
+ false
|
|
|
|
+ );
|
|
|
|
|
|
// 重新计算
|
|
// 重新计算
|
|
const { loading: recalLoading, setLoading: setrecalLoading } = useLoading();
|
|
const { loading: recalLoading, setLoading: setrecalLoading } = useLoading();
|