From 2d53279d11bc950d81c543e2d90a138b551413df Mon Sep 17 00:00:00 2001 From: 13176889840 <13176889840@163.com> Date: Wed, 3 Nov 2021 16:58:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E4=BF=A1=E6=81=AF=E5=AE=8C?= =?UTF-8?q?=E5=96=84666?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/base/resi.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index 1e4571c4..97833f12 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -11,6 +11,7 @@ @@ -130,6 +131,7 @@ export default { }, data () { return { + tableLoading: false, btnLoading: false, disabled: false, pageLoading: false, @@ -462,14 +464,15 @@ export default { return this.$message.error('网络错误') }) }, - getTableData () { + async getTableData () { + this.tableLoading = true let params = { formCode: 'resi_base_info', pageNo: this.currentPage, pageSize: this.pageSize, conditions: this.conditions } - this.$http + await this.$http .post('/epmetuser/icresiuser/listresi', params) .then(({ data: res }) => { if (res.code !== 0) { @@ -482,6 +485,7 @@ export default { .catch(() => { return this.$message.error('网络错误') }) + this.tableLoading = false }, getrowInfo (id) { let params = {