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; color: #bb92ff;
font-weight: 500; font-weight: 500;
" "
@click="incomeShow(AgencyInfo.userId)" @click="incomeShow(AgencyInfo)"
> >
{{ t('more') }} {{ t('more') }}
</div> </div>
@ -191,7 +191,7 @@
> >
<div style="display: flex; justify-content: center; align-items: center"> <div style="display: flex; justify-content: center; align-items: center">
<div style="margin: 0; font-weight: 600; color: #333"> <div style="margin: 0; font-weight: 600; color: #333">
Agency's lD: {{ moreUserId }} Agency's lD: {{ moreUserAccount }}
</div> </div>
</div> </div>
@ -390,7 +390,7 @@ const { t, locale } = useI18n()
locale.value && setDocumentDirection(locale.value) locale.value && setDocumentDirection(locale.value)
const TeamOverview = ref(null) // const TeamOverview = ref(null) //
const moreUserId = ref('') //id const moreUserAccount = ref('') //id
const moreDetail = ref(null) // const moreDetail = ref(null) //
const incomeDetailsItem = ref(null) // const incomeDetailsItem = ref(null) //
@ -399,11 +399,11 @@ const showHistory = ref(false)
// //
const maskLayerShow = computed(() => showIncome.value || showHistory.value) const maskLayerShow = computed(() => showIncome.value || showHistory.value)
const incomeShow = (targetId) => { const incomeShow = (AgencyInfo) => {
console.log('点击了收入按钮') console.log('点击了收入按钮')
console.log('targetId:', targetId) console.log('AgencyInfo.userId:', AgencyInfo.userId)
moreUserId.value = targetId moreUserAccount.value = AgencyInfo.account
getTeamMemberDetail(targetId) getTeamMemberDetail(AgencyInfo.userId)
showIncome.value = true showIncome.value = true
} }
@ -421,7 +421,7 @@ const historyShow = (incomeInfo) => {
const closedPopup = () => { const closedPopup = () => {
showIncome.value = false showIncome.value = false
showHistory.value = false showHistory.value = false
moreUserId.value = '' moreUserAccount.value = ''
moreDetail.value = null moreDetail.value = null
incomeDetailsItem.value = null incomeDetailsItem.value = null
} }

View File

@ -163,7 +163,7 @@
color: #bb92ff; color: #bb92ff;
font-weight: 500; font-weight: 500;
" "
@click="incomeShow(BDLeaderInfo.userId)" @click="incomeShow(BDLeaderInfo)"
> >
{{ t('more') }} {{ t('more') }}
</div> </div>
@ -191,7 +191,7 @@
> >
<div style="display: flex; justify-content: center; align-items: center"> <div style="display: flex; justify-content: center; align-items: center">
<div style="margin: 0; font-weight: 600; color: #333"> <div style="margin: 0; font-weight: 600; color: #333">
BD Leader's lD: {{ moreUserId }} BD Leader's lD: {{ moreUserAccount }}
</div> </div>
</div> </div>
@ -390,7 +390,7 @@ const { t, locale } = useI18n()
locale.value && setDocumentDirection(locale.value) locale.value && setDocumentDirection(locale.value)
const TeamOverview = ref(null) // const TeamOverview = ref(null) //
const moreUserId = ref('') //id const moreUserAccount = ref('') //id
const moreDetail = ref(null) // const moreDetail = ref(null) //
const incomeDetailsItem = ref(null) // const incomeDetailsItem = ref(null) //
@ -399,11 +399,11 @@ const showHistory = ref(false)
// //
const maskLayerShow = computed(() => showIncome.value || showHistory.value) const maskLayerShow = computed(() => showIncome.value || showHistory.value)
const incomeShow = (targetId) => { const incomeShow = (BDLeaderInfo) => {
console.log('点击了收入按钮') console.log('点击了收入按钮')
console.log('targetId:', targetId) console.log('BDLeaderInfo.userId:', BDLeaderInfo.userId)
moreUserId.value = targetId moreUserAccount.value = BDLeaderInfo.account
getTeamMemberDetail(targetId) getTeamMemberDetail(BDLeaderInfo.userId)
showIncome.value = true showIncome.value = true
} }
@ -421,7 +421,7 @@ const historyShow = (incomeInfo) => {
const closedPopup = () => { const closedPopup = () => {
showIncome.value = false showIncome.value = false
showHistory.value = false showHistory.value = false
moreUserId.value = '' moreUserAccount.value = ''
moreDetail.value = null moreDetail.value = null
incomeDetailsItem.value = null incomeDetailsItem.value = null
} }

View File

@ -163,7 +163,7 @@
color: #bb92ff; color: #bb92ff;
font-weight: 500; font-weight: 500;
" "
@click="incomeShow(BDInfo.userId)" @click="incomeShow(BDInfo)"
> >
{{ t('more') }} {{ t('more') }}
</div> </div>
@ -190,7 +190,9 @@
@click.stop @click.stop
> >
<div style="display: flex; justify-content: center; align-items: center"> <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> </div>
<!-- 总体信息 --> <!-- 总体信息 -->
@ -388,7 +390,7 @@ const { t, locale } = useI18n()
locale.value && setDocumentDirection(locale.value) locale.value && setDocumentDirection(locale.value)
const TeamOverview = ref(null) // const TeamOverview = ref(null) //
const moreUserId = ref('') //id const moreUserAccount = ref('') //id
const moreDetail = ref(null) // const moreDetail = ref(null) //
const incomeDetailsItem = ref(null) // const incomeDetailsItem = ref(null) //
@ -397,11 +399,11 @@ const showHistory = ref(false)
// //
const maskLayerShow = computed(() => showIncome.value || showHistory.value) const maskLayerShow = computed(() => showIncome.value || showHistory.value)
const incomeShow = (targetId) => { const incomeShow = (BDInfo) => {
console.log('点击了收入按钮') console.log('点击了收入按钮')
console.log('targetId:', targetId) console.log('BDInfo.userId:', BDInfo.userId)
moreUserId.value = targetId moreUserAccount.value = BDInfo.account
getTeamMemberDetail(targetId) getTeamMemberDetail(BDInfo.userId)
showIncome.value = true showIncome.value = true
} }
@ -419,7 +421,7 @@ const historyShow = (incomeInfo) => {
const closedPopup = () => { const closedPopup = () => {
showIncome.value = false showIncome.value = false
showHistory.value = false showHistory.value = false
moreUserId.value = '' moreUserAccount.value = ''
moreDetail.value = null moreDetail.value = null
incomeDetailsItem.value = null incomeDetailsItem.value = null
} }