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) - }, + } } }