From 03a1881fa64770ecbebf69d4e189508bcceef10c Mon Sep 17 00:00:00 2001 From: liujun Date: Sat, 13 Apr 2024 12:40:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=AD=A3=E7=A1=AE=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oneCompany/reflection/components/list.vue | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/src/views/oneCompany/reflection/components/list.vue b/src/views/oneCompany/reflection/components/list.vue index dfee90d..a70c8cc 100644 --- a/src/views/oneCompany/reflection/components/list.vue +++ b/src/views/oneCompany/reflection/components/list.vue @@ -78,6 +78,9 @@ export default { limit: 10, total: 0 }, + listLoading: false, + KEYWORDS: '', + varList: [], add: false, // 新增按钮 del: false, // 删除按钮 edit: false // 修改按钮 @@ -109,28 +112,20 @@ export default { this.getList() }, goKeyReset() { - this.KEYWORDS = '' this.STATUS = '' this.getQuery() }, getList() { this.listLoading = true requestFN( - '/dingWei/getMapList?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page, - { - KEYWORDS: this.KEYWORDS, - STATUS: '1', - EMPLOY_FLAG: '1', - CHECK_STATUS: '1' - } + '/dingWei/getMapList?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page, {} ).then((data) => { this.listLoading = false this.varList = data.list - this.total = data.page.totalResult + this.total = data.page.total + }).catch((e) => { + this.listLoading = false }) - .catch((e) => { - this.listLoading = false - }) }, handleAdd() { const _selectData = this.$refs.multipleTable.selection