|
@@ -152,13 +152,13 @@
|
|
>
|
|
>
|
|
</el-dropdown-menu>
|
|
</el-dropdown-menu>
|
|
</el-dropdown>
|
|
</el-dropdown>
|
|
- <el-button
|
|
|
|
|
|
+ <!-- <el-button
|
|
type="primary"
|
|
type="primary"
|
|
icon="icon icon-handle"
|
|
icon="icon icon-handle"
|
|
@click="finishInvigilation"
|
|
@click="finishInvigilation"
|
|
v-if="!this.IS_INSPECTION"
|
|
v-if="!this.IS_INSPECTION"
|
|
>手动收卷</el-button
|
|
>手动收卷</el-button
|
|
- >
|
|
|
|
|
|
+ > -->
|
|
<el-button
|
|
<el-button
|
|
type="danger"
|
|
type="danger"
|
|
icon="icon icon-over"
|
|
icon="icon icon-over"
|
|
@@ -213,7 +213,7 @@
|
|
<el-table-column prop="warningCount" label="预警数"></el-table-column>
|
|
<el-table-column prop="warningCount" label="预警数"></el-table-column>
|
|
<el-table-column prop="breachStatus" label="违纪">
|
|
<el-table-column prop="breachStatus" label="违纪">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <span :class="{ 'color-danger': scope.row.breachStatus }">
|
|
|
|
|
|
+ <span :class="{ 'color-danger': !scope.row.breachStatus }">
|
|
{{ !scope.row.breachStatus ? "违纪" : "正常" }}
|
|
{{ !scope.row.breachStatus ? "违纪" : "正常" }}
|
|
</span>
|
|
</span>
|
|
</template>
|
|
</template>
|
|
@@ -240,7 +240,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div class="part-page">
|
|
|
|
|
|
+ <div class="part-page" v-if="total > size">
|
|
<el-pagination
|
|
<el-pagination
|
|
background
|
|
background
|
|
layout="prev, pager, next,total,sizes,jumper"
|
|
layout="prev, pager, next,total,sizes,jumper"
|
|
@@ -326,7 +326,7 @@ export default {
|
|
setT: null,
|
|
setT: null,
|
|
current: 1,
|
|
current: 1,
|
|
total: 0,
|
|
total: 0,
|
|
- size: 10,
|
|
|
|
|
|
+ size: 100,
|
|
multipleSelection: [],
|
|
multipleSelection: [],
|
|
batchId: "",
|
|
batchId: "",
|
|
batchs: [],
|
|
batchs: [],
|
|
@@ -363,11 +363,11 @@ export default {
|
|
};
|
|
};
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- ...mapActions("invigilation", ["updateDetailIds"]),
|
|
|
|
|
|
+ ...mapActions("invigilation", ["setDetailIds"]),
|
|
async getList() {
|
|
async getList() {
|
|
const datas = {
|
|
const datas = {
|
|
...this.filter,
|
|
...this.filter,
|
|
- pageNumber: this.current - 1,
|
|
|
|
|
|
+ pageNumber: this.current,
|
|
pageSize: this.size,
|
|
pageSize: this.size,
|
|
};
|
|
};
|
|
|
|
|
|
@@ -385,6 +385,8 @@ export default {
|
|
return item;
|
|
return item;
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
+ const ids = res.data.data.records.map((item) => item.examRecordId);
|
|
|
|
+ this.setDetailIds([...new Set(ids)]);
|
|
|
|
|
|
this.total = res.data.data.total;
|
|
this.total = res.data.data.total;
|
|
},
|
|
},
|
|
@@ -393,10 +395,6 @@ export default {
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
toSearch() {
|
|
toSearch() {
|
|
- this.updateDetailIds({
|
|
|
|
- filterData: this.filter,
|
|
|
|
- fetchFunc: invigilateList,
|
|
|
|
- });
|
|
|
|
this.toPage(1);
|
|
this.toPage(1);
|
|
},
|
|
},
|
|
async getMonitorCallCount() {
|
|
async getMonitorCallCount() {
|