From 3f0b6cb5f175ad763c86059ffe18218cfab6fb29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A2=A8=E5=A4=A7=E5=8F=94?= <494979559@qq.com>
Date: Mon, 15 Jul 2024 09:13:27 +0800
Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E7=BD=B2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../system/smUser/components/userRechargeReport.vue | 12 ++++++------
src/views/system/smUser/detail.vue | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/views/system/smUser/components/userRechargeReport.vue b/src/views/system/smUser/components/userRechargeReport.vue
index 452a967..d097157 100644
--- a/src/views/system/smUser/components/userRechargeReport.vue
+++ b/src/views/system/smUser/components/userRechargeReport.vue
@@ -21,7 +21,7 @@ export default {
components: {RangePicker, SingleLineChart},
props: {
// 到账人id
- landlordId: {
+ mchId: {
type: String,
default: null,
}
@@ -35,13 +35,13 @@ export default {
year: new Date().getFullYear(),
status: "2",
groupBy: "create_month",
- landlordId: this.landlordId,
+ mchId: this.mchId,
},
loading: false,
}
},
watch: {
- landlordId(nv, ov) {
+ mchId(nv, ov) {
this.getReportData(nv);
}
},
@@ -50,12 +50,12 @@ export default {
onChangeYear(year) {
console.log(year);
this.queryParams.year = year;
- this.getReportData(this.landlordId);
+ this.getReportData(this.mchId);
},
// 获取到账人的报表
- getReportData(landlordId) {
+ getReportData(mchId) {
this.loading = true;
- this.queryParams.landlordId = landlordId | this.landlordId;
+ this.queryParams.mchId = mchId | this.mchId;
countBill(this.queryParams).then(response => {
let data = response.data;
// 按月统计数据
diff --git a/src/views/system/smUser/detail.vue b/src/views/system/smUser/detail.vue
index 228affd..86db6b9 100644
--- a/src/views/system/smUser/detail.vue
+++ b/src/views/system/smUser/detail.vue
@@ -28,7 +28,7 @@
-
+