From 9c5eb4fb6ab09d5ea3236900b52358ab935c9190 Mon Sep 17 00:00:00 2001 From: zhaochengke Date: Fri, 19 May 2023 16:34:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=BC=E5=90=88=E5=A1=AB=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sunVillage_info/entityReport/reportList.vue | 5 +++-- src/views/sunVillage_info/entityReport/reportView.vue | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/sunVillage_info/entityReport/reportList.vue b/src/views/sunVillage_info/entityReport/reportList.vue index fd581a4c..94101080 100644 --- a/src/views/sunVillage_info/entityReport/reportList.vue +++ b/src/views/sunVillage_info/entityReport/reportList.vue @@ -70,7 +70,8 @@ export default { pageNum:1, pageSize:10, orderByColumn:'createTime', - isAsc:'desc' + isAsc:'desc', + type: '1', } }; }, @@ -125,7 +126,7 @@ export default { this.finished = true; return; } - this.list = response.rows; + this.list.push(...response.rows); this.total += response.rows.length; this.finished = this.total >= response.total; }).finally(() => { diff --git a/src/views/sunVillage_info/entityReport/reportView.vue b/src/views/sunVillage_info/entityReport/reportView.vue index 34db0dec..2953fe2c 100644 --- a/src/views/sunVillage_info/entityReport/reportView.vue +++ b/src/views/sunVillage_info/entityReport/reportView.vue @@ -174,7 +174,10 @@ export default { }, methods: { getTemplateList() { - listReporttitle({reportStatus: '0'}).then((resp) => { + listReporttitle({ + type: '1', + reportStatus: '0', + }).then((resp) => { this.templateList = resp.rows; }); },