This commit is contained in:
faiz 2024-07-29 15:50:13 +08:00
parent 8833257d31
commit 2769fb6b58
1 changed files with 9 additions and 4 deletions

View File

@ -83,7 +83,7 @@
class="filter-item"
type="primary"
icon="el-icon-search"
@click="getList"
@click="getMode"
>
搜索
</el-button>
@ -92,7 +92,7 @@
class="filter-item"
type="primary"
icon="el-icon-search"
@click="getList(1)"
@click="getMode(1)"
>
导出
</el-button>
@ -643,11 +643,12 @@ export default {
this.getAdminList();
},
watch: {
"listQuery.page": function (res) {
console.log(this.isSynchronization);
"listQuery.page": function () {
// console.log(this.isSynchronization);
this.isSynchronization = false;
this.setOneClickRepair();
},
deep: true,
},
methods: {
setQuery(key) {
@ -663,6 +664,10 @@ export default {
});
this.onOneClickRepair({ id: arr.join() });
},
getMode(val) {
this.isSynchronization = false;
this.getList(val);
},
async getList($is_excel) {
if (this.isSynchronization) return;
this.listQuery.excel = null;