From 5f875243aad76f7a2e8f7d11c09aed0b5e06cb3f Mon Sep 17 00:00:00 2001 From: zhaoxiao Date: Fri, 24 Sep 2021 18:04:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=AF=BC=E5=87=BA=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../IndividualPaymentStatisticsDetail.vue | 7 ++++--- .../EnterprisePaymentStatisticsDetail.vue | 5 ++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsDetail.vue b/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsDetail.vue index bb529d0..b65bedb 100644 --- a/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsDetail.vue +++ b/src/views/statisticalReport/departmentStatistics/IndividualPaymentStatisticsDetail.vue @@ -139,11 +139,14 @@ export default { }, // 给定当年作为来款年份默认查询条件 queryParam: { - year: new Date().getFullYear().toString() + year: new Date().getFullYear().toString(), }, lastQueryParam: { year: new Date().getFullYear().toString() }, + filters: { + principalNameId: this.$route.query.principalId + }, columns: [ { title: '序号', @@ -248,8 +251,6 @@ export default { this.ipagination.current = 1 } let params = this.getQueryParams()//查询条件 - // 负责人id - params.principalNameId = this.$route.query.principalId this.loading = true getAction(this.url.list, params).then((res) => { if (res.success) { diff --git a/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsDetail.vue b/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsDetail.vue index 2a45b42..6e5b782 100644 --- a/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsDetail.vue +++ b/src/views/statisticalReport/enterprisePaymentStatistics/EnterprisePaymentStatisticsDetail.vue @@ -226,6 +226,9 @@ export default { lastQueryParam: { year: new Date().getFullYear().toString() }, + filters: { + chargeCompanyId: this.$route.query.chargeCompanyId + } } }, mounted() { @@ -302,7 +305,7 @@ export default { year: new Date().getFullYear().toString() } this.loadData(1) - }, + } } }