|
@@ -4,7 +4,7 @@
|
|
|
<el-form ref="FilterForm" label-position="left" label-width="90px" inline>
|
|
|
<template v-if="checkPrivilege('condition', 'condition')">
|
|
|
<secp-select
|
|
|
- v-model="filterSe"
|
|
|
+ v-model="filter"
|
|
|
defaultSelectExam
|
|
|
@exam-default="search"
|
|
|
></secp-select>
|
|
@@ -25,13 +25,13 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="状态:">
|
|
|
<el-select
|
|
|
- v-model="filter.status"
|
|
|
+ v-model="filter.finishStatus"
|
|
|
placeholder="状态"
|
|
|
clearable
|
|
|
style="width: 120px"
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="(val, key) in DATA_TASK_STATUS"
|
|
|
+ v-for="(val, key) in TASK_STATUS"
|
|
|
:key="key"
|
|
|
:value="key"
|
|
|
:label="val"
|
|
@@ -72,33 +72,44 @@
|
|
|
:index="indexMethod"
|
|
|
></el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="printPlanName"
|
|
|
- label="印刷计划"
|
|
|
- min-width="160"
|
|
|
- ></el-table-column>
|
|
|
- <el-table-column label="课程(代码)" min-width="260">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.courseName | defaultFieldFilter }}({{
|
|
|
- scope.row.courseCode | defaultFieldFilter
|
|
|
- }})
|
|
|
- </template>
|
|
|
+ prop="courseNameCode"
|
|
|
+ label="课程(代码)"
|
|
|
+ min-width="300"
|
|
|
+ >
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="paperNumber" label="试卷编号" width="200">
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="type" label="题卡类型" width="100">
|
|
|
- <span slot-scope="scope">{{ scope.row.type | cardTypeFilter }}</span>
|
|
|
+ <span slot-scope="scope">{{
|
|
|
+ scope.row.cardType | cardTypeFilter
|
|
|
+ }}</span>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="openCollege" label="开课学院" min-width="160">
|
|
|
+ <el-table-column prop="college" label="开课学院" min-width="160">
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="createMethod" label="总考场数" width="100">
|
|
|
+ <el-table-column prop="totalExamination" label="总考场数" width="100">
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="createMethod" label="已生成/未生成" width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span class="color-primary">{{ scope.row.generate }}</span>
|
|
|
+ <span class="mlr-1">/</span>
|
|
|
+ <span class="color-danger">{{ scope.row.unGenerated }}</span>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="createMethod" label="已印刷/未印刷" width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span class="color-primary">{{ scope.row.printed }}</span>
|
|
|
+ <span class="mlr-1">/</span>
|
|
|
+ <span class="color-danger">{{ scope.row.unPrinted }}</span>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="createMethod" label="已打回/已作废" width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.invalid }}</span>
|
|
|
+ <span class="mlr-1">/</span>
|
|
|
+ <span class="color-danger">{{ scope.row.reject }}</span>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="status" label="状态" width="100">
|
|
|
+ <el-table-column prop="finishStatusStr" label="状态" width="100">
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<div class="part-page">
|
|
@@ -119,7 +130,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { CARD_TYPE, DATA_TASK_STATUS } from "../../../constants/enumerate";
|
|
|
+import { CARD_TYPE, TASK_STATUS } from "../../../constants/enumerate";
|
|
|
import { printTaskStatListPage, printTaskStatExport } from "../api";
|
|
|
import { downloadByApi } from "@/plugins/download";
|
|
|
|
|
@@ -130,16 +141,15 @@ export default {
|
|
|
filter: {
|
|
|
semesterId: "",
|
|
|
examId: "",
|
|
|
- printPlanId: "",
|
|
|
openCollegeId: "",
|
|
|
courseId: "",
|
|
|
paperNumber: "",
|
|
|
cardType: "",
|
|
|
- status: "",
|
|
|
+ finishStatus: "",
|
|
|
},
|
|
|
dataList: [],
|
|
|
CARD_TYPE,
|
|
|
- DATA_TASK_STATUS,
|
|
|
+ TASK_STATUS,
|
|
|
current: 1,
|
|
|
size: this.GLOBAL.pageSize,
|
|
|
total: 0,
|