|
@@ -481,6 +481,7 @@
|
|
|
<ExamRecordDetail
|
|
|
:exam-record-data-id="curSelectedExamRecordDataId"
|
|
|
:show-audit-button="curSelectedShowAuditButton"
|
|
|
+ :need-loading="needLoading"
|
|
|
@changeExamRecordData="changeExamRecordData"
|
|
|
@auditExamRecordData="auditExamRecordData"
|
|
|
></ExamRecordDetail>
|
|
@@ -521,6 +522,7 @@ export default {
|
|
|
return {
|
|
|
curSelectedExamRecordDataId: null,
|
|
|
curSelectedShowAuditButton: false,
|
|
|
+ needLoading: false,
|
|
|
examRecordDataDialog: false,
|
|
|
toNext: false,
|
|
|
curTotalPages: 0,
|
|
@@ -671,7 +673,7 @@ export default {
|
|
|
}
|
|
|
this.tableLoading = true;
|
|
|
var params = JSON.parse(JSON.stringify(this.form));
|
|
|
- this.$http
|
|
|
+ await this.$http
|
|
|
.post("/api/ecs_oe_admin/exam/record/waiting/audit/list", params)
|
|
|
.then((response) => {
|
|
|
if (response.data) {
|
|
@@ -895,7 +897,9 @@ export default {
|
|
|
curId = null;
|
|
|
this.form.pageNo = this.form.pageNo + 1;
|
|
|
console.log("+++>toPage:" + this.form.pageNo);
|
|
|
+ this.needLoading = true;
|
|
|
await this.search();
|
|
|
+ this.needLoading = false;
|
|
|
|
|
|
if (this.tableData.length > 0) {
|
|
|
curId = this.tableData[0].dataId;
|
|
@@ -917,10 +921,12 @@ export default {
|
|
|
curId = null;
|
|
|
this.form.pageNo = this.form.pageNo - 1;
|
|
|
console.log("--->toPage:" + this.form.pageNo);
|
|
|
+ this.needLoading = true;
|
|
|
await this.search();
|
|
|
+ this.needLoading = false;
|
|
|
|
|
|
if (this.tableData.length > 0) {
|
|
|
- curId = this.tableData[0].dataId;
|
|
|
+ curId = this.tableData[this.tableData.length - 1].dataId;
|
|
|
}
|
|
|
} else {
|
|
|
this.$message({
|