|
@@ -413,6 +413,7 @@
|
|
|
<el-col :span="24">
|
|
|
<el-dropdown>
|
|
|
<el-button
|
|
|
+ v-show="scope.row.showReAudit"
|
|
|
size="mini"
|
|
|
icon="el-icon-arrow-down"
|
|
|
type="primary"
|
|
@@ -588,6 +589,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
isOnlineExam: false,
|
|
|
+ needShowReAudit: false,
|
|
|
selectedIds: [],
|
|
|
disciplineTypeList: [],
|
|
|
total: 0,
|
|
@@ -657,6 +659,9 @@ export default {
|
|
|
computed: {
|
|
|
...mapState({ user: (state) => state.user }),
|
|
|
noBatchSelected() {
|
|
|
+ if (!this.needShowReAudit) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
if (!this.isOnlineExam) {
|
|
|
return true;
|
|
|
}
|
|
@@ -783,6 +788,8 @@ export default {
|
|
|
this.form.pageNo = 1;
|
|
|
}
|
|
|
this.tableLoading = true;
|
|
|
+ this.needShowReAudit = false;
|
|
|
+
|
|
|
var params = JSON.parse(JSON.stringify(this.form));
|
|
|
this.$http
|
|
|
.post("/api/ecs_oe_admin/exam/record/detail/list", params)
|
|
@@ -791,6 +798,12 @@ export default {
|
|
|
this.tableData = response.data.content;
|
|
|
this.total = response.data.totalElements;
|
|
|
this.form.pageNo = response.data.number + 1;
|
|
|
+
|
|
|
+ this.tableData.forEach((obj) => {
|
|
|
+ if (obj.showReAudit) {
|
|
|
+ this.needShowReAudit = true;
|
|
|
+ }
|
|
|
+ });
|
|
|
} else {
|
|
|
this.tableData = [];
|
|
|
}
|