chore(我的团队页面): 讲展示id给为展示account

This commit is contained in:
hzj 2025-11-28 11:03:18 +08:00
parent 7e85db8b59
commit 7f4d1470d4
3 changed files with 26 additions and 24 deletions

View File

@ -163,7 +163,7 @@
color: #bb92ff;
font-weight: 500;
"
@click="incomeShow(AgencyInfo.userId)"
@click="incomeShow(AgencyInfo)"
>
{{ t('more') }}
</div>
@ -191,7 +191,7 @@
>
<div style="display: flex; justify-content: center; align-items: center">
<div style="margin: 0; font-weight: 600; color: #333">
Agency's lD: {{ moreUserId }}
Agency's lD: {{ moreUserAccount }}
</div>
</div>
@ -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
}

View File

@ -163,7 +163,7 @@
color: #bb92ff;
font-weight: 500;
"
@click="incomeShow(BDLeaderInfo.userId)"
@click="incomeShow(BDLeaderInfo)"
>
{{ t('more') }}
</div>
@ -191,7 +191,7 @@
>
<div style="display: flex; justify-content: center; align-items: center">
<div style="margin: 0; font-weight: 600; color: #333">
BD Leader's lD: {{ moreUserId }}
BD Leader's lD: {{ moreUserAccount }}
</div>
</div>
@ -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
}

View File

@ -163,7 +163,7 @@
color: #bb92ff;
font-weight: 500;
"
@click="incomeShow(BDInfo.userId)"
@click="incomeShow(BDInfo)"
>
{{ t('more') }}
</div>
@ -190,7 +190,9 @@
@click.stop
>
<div style="display: flex; justify-content: center; align-items: center">
<div style="margin: 0; font-weight: 600; color: #333">BD's lD: {{ moreUserId }}</div>
<div style="margin: 0; font-weight: 600; color: #333">
BD's lD: {{ moreUserAccount }}
</div>
</div>
<!-- 总体信息 -->
@ -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
}