|
@@ -36,6 +36,10 @@
|
|
|
<ElQuarterPicker placeholder="请选择" v-model="monthrange" @change="monthrangeChange" class="w100" />
|
|
|
</template>
|
|
|
|
|
|
+ <template slot="menuRight">
|
|
|
+ <el-checkbox v-model="supervision" @change="checkBoxChange">只看待监督</el-checkbox>
|
|
|
+ </template>
|
|
|
+
|
|
|
<!-- 操作栏 -->
|
|
|
<template slot="menu" slot-scope="scope">
|
|
|
<el-button v-if="scope.row.toCheck" type="text" size="small" icon="el-icon-edit-outline" @click="taskMonitorFn(scope.row, 0)">任务监督 </el-button>
|
|
@@ -112,6 +116,7 @@ export default {
|
|
|
searchForm: {
|
|
|
period: []
|
|
|
},
|
|
|
+ supervision: false,
|
|
|
searchFormAreaCodes: [],
|
|
|
searchCascaderProps: {
|
|
|
multiple: true,
|
|
@@ -249,7 +254,8 @@ export default {
|
|
|
const obj = Object.assign(
|
|
|
{
|
|
|
current: page.currentPage,
|
|
|
- size: page.pageSize
|
|
|
+ size: page.pageSize,
|
|
|
+ supervision: this.supervision
|
|
|
},
|
|
|
params,
|
|
|
this.searchForm
|
|
@@ -264,6 +270,10 @@ export default {
|
|
|
refreshChange() {
|
|
|
this.getList(this.page);
|
|
|
},
|
|
|
+ checkBoxChange() {
|
|
|
+ this.page.currentPage = 1;
|
|
|
+ this.getList(this.page);
|
|
|
+ },
|
|
|
extractLastElements(array) {
|
|
|
// 创建一个新的空数组来存储结果
|
|
|
let result = [];
|
|
@@ -300,9 +310,11 @@ export default {
|
|
|
},
|
|
|
sizeChange(pageSize) {
|
|
|
this.page.pageSize = pageSize;
|
|
|
+ this.getList(this.page);
|
|
|
},
|
|
|
currentChange(current) {
|
|
|
this.page.currentPage = current;
|
|
|
+ this.getList(this.page);
|
|
|
},
|
|
|
monitorFn(row) {
|
|
|
this.$refs.monitorRef.showInfo(row);
|