diff --git a/admin/src/views/order/index.vue b/admin/src/views/order/index.vue index 3c531b5d..54cea3b4 100644 --- a/admin/src/views/order/index.vue +++ b/admin/src/views/order/index.vue @@ -83,7 +83,7 @@ class="filter-item" type="primary" icon="el-icon-search" - @click="getList" + @click="getMode" > 搜索 @@ -92,7 +92,7 @@ class="filter-item" type="primary" icon="el-icon-search" - @click="getList(1)" + @click="getMode(1)" > 导出 @@ -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;