From 7f4d1470d431597e74462d64e6910a7f4daacf0a Mon Sep 17 00:00:00 2001
From: hzj <1304805162@qq.com>
Date: Fri, 28 Nov 2025 11:03:18 +0800
Subject: [PATCH] =?UTF-8?q?chore(=E6=88=91=E7=9A=84=E5=9B=A2=E9=98=9F?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2):=20=E8=AE=B2=E5=B1=95=E7=A4=BAid=E7=BB=99?=
=?UTF-8?q?=E4=B8=BA=E5=B1=95=E7=A4=BAaccount?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/AdminCenter/MyAgencyTeams.vue | 16 ++++++++--------
src/views/AdminCenter/MyBDLeaderTeams.vue | 16 ++++++++--------
src/views/AdminCenter/MyBDTeams.vue | 18 ++++++++++--------
3 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/src/views/AdminCenter/MyAgencyTeams.vue b/src/views/AdminCenter/MyAgencyTeams.vue
index 37dd26c..53d400f 100644
--- a/src/views/AdminCenter/MyAgencyTeams.vue
+++ b/src/views/AdminCenter/MyAgencyTeams.vue
@@ -163,7 +163,7 @@
color: #bb92ff;
font-weight: 500;
"
- @click="incomeShow(AgencyInfo.userId)"
+ @click="incomeShow(AgencyInfo)"
>
{{ t('more') }}
@@ -191,7 +191,7 @@
>
- Agency's lD: {{ moreUserId }}
+ Agency's lD: {{ moreUserAccount }}
@@ -390,7 +390,7 @@ const { t, locale } = useI18n()
locale.value && setDocumentDirection(locale.value)
const TeamOverview = ref(null) //团队概览
-const moreUserId = ref('') //选中的成员id
+const moreUserAccount = ref('') //选中的成员id
const moreDetail = ref(null) //某个成员的详情
const incomeDetailsItem = ref(null) //某个时期的收益详情
@@ -399,11 +399,11 @@ const showHistory = ref(false)
// 遮罩层显示状态
const maskLayerShow = computed(() => showIncome.value || showHistory.value)
-const incomeShow = (targetId) => {
+const incomeShow = (AgencyInfo) => {
console.log('点击了收入按钮')
- console.log('targetId:', targetId)
- moreUserId.value = targetId
- getTeamMemberDetail(targetId)
+ console.log('AgencyInfo.userId:', AgencyInfo.userId)
+ moreUserAccount.value = AgencyInfo.account
+ getTeamMemberDetail(AgencyInfo.userId)
showIncome.value = true
}
@@ -421,7 +421,7 @@ const historyShow = (incomeInfo) => {
const closedPopup = () => {
showIncome.value = false
showHistory.value = false
- moreUserId.value = ''
+ moreUserAccount.value = ''
moreDetail.value = null
incomeDetailsItem.value = null
}
diff --git a/src/views/AdminCenter/MyBDLeaderTeams.vue b/src/views/AdminCenter/MyBDLeaderTeams.vue
index e1a552f..106b0bb 100644
--- a/src/views/AdminCenter/MyBDLeaderTeams.vue
+++ b/src/views/AdminCenter/MyBDLeaderTeams.vue
@@ -163,7 +163,7 @@
color: #bb92ff;
font-weight: 500;
"
- @click="incomeShow(BDLeaderInfo.userId)"
+ @click="incomeShow(BDLeaderInfo)"
>
{{ t('more') }}
@@ -191,7 +191,7 @@
>
- BD Leader's lD: {{ moreUserId }}
+ BD Leader's lD: {{ moreUserAccount }}
@@ -390,7 +390,7 @@ const { t, locale } = useI18n()
locale.value && setDocumentDirection(locale.value)
const TeamOverview = ref(null) //团队概览
-const moreUserId = ref('') //选中的成员id
+const moreUserAccount = ref('') //选中的成员id
const moreDetail = ref(null) //某个成员的详情
const incomeDetailsItem = ref(null) //某个时期的收益详情
@@ -399,11 +399,11 @@ const showHistory = ref(false)
// 遮罩层显示状态
const maskLayerShow = computed(() => showIncome.value || showHistory.value)
-const incomeShow = (targetId) => {
+const incomeShow = (BDLeaderInfo) => {
console.log('点击了收入按钮')
- console.log('targetId:', targetId)
- moreUserId.value = targetId
- getTeamMemberDetail(targetId)
+ console.log('BDLeaderInfo.userId:', BDLeaderInfo.userId)
+ moreUserAccount.value = BDLeaderInfo.account
+ getTeamMemberDetail(BDLeaderInfo.userId)
showIncome.value = true
}
@@ -421,7 +421,7 @@ const historyShow = (incomeInfo) => {
const closedPopup = () => {
showIncome.value = false
showHistory.value = false
- moreUserId.value = ''
+ moreUserAccount.value = ''
moreDetail.value = null
incomeDetailsItem.value = null
}
diff --git a/src/views/AdminCenter/MyBDTeams.vue b/src/views/AdminCenter/MyBDTeams.vue
index c8a45bb..17dabcc 100644
--- a/src/views/AdminCenter/MyBDTeams.vue
+++ b/src/views/AdminCenter/MyBDTeams.vue
@@ -163,7 +163,7 @@
color: #bb92ff;
font-weight: 500;
"
- @click="incomeShow(BDInfo.userId)"
+ @click="incomeShow(BDInfo)"
>
{{ t('more') }}
@@ -190,7 +190,9 @@
@click.stop
>
-
BD's lD: {{ moreUserId }}
+
+ BD's lD: {{ moreUserAccount }}
+
@@ -388,7 +390,7 @@ const { t, locale } = useI18n()
locale.value && setDocumentDirection(locale.value)
const TeamOverview = ref(null) //团队概览
-const moreUserId = ref('') //选中的成员id
+const moreUserAccount = ref('') //选中的成员id
const moreDetail = ref(null) //某个成员的详情
const incomeDetailsItem = ref(null) //某个时期的收益详情
@@ -397,11 +399,11 @@ const showHistory = ref(false)
// 遮罩层显示状态
const maskLayerShow = computed(() => showIncome.value || showHistory.value)
-const incomeShow = (targetId) => {
+const incomeShow = (BDInfo) => {
console.log('点击了收入按钮')
- console.log('targetId:', targetId)
- moreUserId.value = targetId
- getTeamMemberDetail(targetId)
+ console.log('BDInfo.userId:', BDInfo.userId)
+ moreUserAccount.value = BDInfo.account
+ getTeamMemberDetail(BDInfo.userId)
showIncome.value = true
}
@@ -419,7 +421,7 @@ const historyShow = (incomeInfo) => {
const closedPopup = () => {
showIncome.value = false
showHistory.value = false
- moreUserId.value = ''
+ moreUserAccount.value = ''
moreDetail.value = null
incomeDetailsItem.value = null
}