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