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