chore(我的团队页面): 讲展示id给为展示account
This commit is contained in:
parent
7e85db8b59
commit
7f4d1470d4
@ -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
|
||||
}
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user