|
@@ -14,7 +14,7 @@
|
|
|
v-model="formSearch.orgId"
|
|
|
placeholder="请选择"
|
|
|
clearable
|
|
|
- @change="loadExamList(formSearch.orgId);"
|
|
|
+ @change="loadExamList(formSearch.orgId)"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in orgList"
|
|
@@ -28,7 +28,7 @@
|
|
|
<el-form-item label="考试">
|
|
|
<el-select
|
|
|
v-model="formSearch.examId"
|
|
|
- @change="searchRecords"
|
|
|
+ @change="searchRecords(1)"
|
|
|
placeholder="请选择"
|
|
|
>
|
|
|
<el-option
|
|
@@ -87,7 +87,7 @@
|
|
|
size="small"
|
|
|
type="primary"
|
|
|
icon="el-icon-search"
|
|
|
- @click="searchRecords"
|
|
|
+ @click="searchRecords(1)"
|
|
|
>查询
|
|
|
</el-button>
|
|
|
|
|
@@ -144,7 +144,7 @@
|
|
|
<el-table-column width="80" label="试卷状态">
|
|
|
<template slot-scope="scope">
|
|
|
<span
|
|
|
- @click="openAllotDialog(scope.row);"
|
|
|
+ @click="openAllotDialog(scope.row)"
|
|
|
style="cursor: pointer"
|
|
|
>{{ scope.row.paperStatusName }}</span
|
|
|
>
|
|
@@ -160,7 +160,7 @@
|
|
|
size="mini"
|
|
|
icon="el-icon-view"
|
|
|
v-show="scope.row.paperStatus > 1"
|
|
|
- @click="preview(scope.row);"
|
|
|
+ @click="preview(scope.row)"
|
|
|
>预览
|
|
|
</el-button>
|
|
|
|
|
@@ -168,7 +168,7 @@
|
|
|
size="mini"
|
|
|
icon="el-icon-download"
|
|
|
v-show="scope.row.paperStatus > 1"
|
|
|
- @click="openExportDialog(scope.row);"
|
|
|
+ @click="openExportDialog(scope.row)"
|
|
|
>下载
|
|
|
</el-button>
|
|
|
|
|
@@ -177,7 +177,7 @@
|
|
|
icon="el-icon-menu"
|
|
|
:disabled="!hasPermit"
|
|
|
v-show="scope.row.paperStatus > 1"
|
|
|
- @click="openAllotDialog(scope.row);"
|
|
|
+ @click="openAllotDialog(scope.row)"
|
|
|
>试卷指定
|
|
|
</el-button>
|
|
|
</template>
|
|
@@ -267,7 +267,7 @@
|
|
|
<el-form-item label="学校名称" prop="orgId">
|
|
|
<el-select
|
|
|
v-model="allotAllForm.orgId"
|
|
|
- @change="loadAllotExamList(allotAllForm.orgId);"
|
|
|
+ @change="loadAllotExamList(allotAllForm.orgId)"
|
|
|
placeholder="请选择"
|
|
|
class="w220"
|
|
|
>
|
|
@@ -359,7 +359,7 @@
|
|
|
<el-form-item label="学校名称" prop="orgId">
|
|
|
<el-select
|
|
|
v-model="exportAllForm.orgId"
|
|
|
- @change="loadExportExamList(exportAllForm.orgId);"
|
|
|
+ @change="loadExportExamList(exportAllForm.orgId)"
|
|
|
placeholder="请选择"
|
|
|
class="w220"
|
|
|
>
|
|
@@ -509,10 +509,11 @@ export default {
|
|
|
},
|
|
|
handlePager(current) {
|
|
|
/* 处理分页 */
|
|
|
- this.formSearch.pageNo = current;
|
|
|
- this.searchRecords();
|
|
|
+ this.searchRecords(current);
|
|
|
},
|
|
|
- searchRecords() {
|
|
|
+ searchRecords(pageNo) {
|
|
|
+ this.formSearch.pageNo = pageNo;
|
|
|
+
|
|
|
/* 查询记录列表 */
|
|
|
let orgId = this.formSearch.orgId;
|
|
|
if (checkEmptyNumber(orgId)) {
|
|
@@ -580,7 +581,7 @@ export default {
|
|
|
this.examList = response.data;
|
|
|
if (this.examList.length > 0) {
|
|
|
this.formSearch.examId = this.examList[0].examId;
|
|
|
- this.searchRecords();
|
|
|
+ this.searchRecords(1);
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -655,7 +656,7 @@ export default {
|
|
|
type: "success",
|
|
|
message: "刷新成功!"
|
|
|
});
|
|
|
- this.searchRecords();
|
|
|
+ this.searchRecords(this.formSearch.pageNo);
|
|
|
},
|
|
|
() => {
|
|
|
this.$notify({
|
|
@@ -733,7 +734,7 @@ export default {
|
|
|
type: "success"
|
|
|
});
|
|
|
this.allotDialog = false;
|
|
|
- this.searchRecords();
|
|
|
+ this.searchRecords(this.formSearch.pageNo);
|
|
|
},
|
|
|
() => {
|
|
|
this.$notify({
|
|
@@ -773,6 +774,7 @@ export default {
|
|
|
type: "success"
|
|
|
});
|
|
|
this.allotAllDialog = false;
|
|
|
+ this.searchRecords(this.formSearch.pageNo);
|
|
|
},
|
|
|
() => {
|
|
|
this.$notify({
|