feat: 对接可用收入数据
This commit is contained in:
parent
cb8bee31e4
commit
972264b755
@ -85,7 +85,9 @@
|
|||||||
"
|
"
|
||||||
@click="gotoIncome"
|
@click="gotoIncome"
|
||||||
>
|
>
|
||||||
<span style="font-weight: 600; color: #1f2937"> Available income:$0 </span>
|
<span style="font-weight: 600; color: #1f2937">
|
||||||
|
Available income:${{ salaryInfo.currentSalary }}
|
||||||
|
</span>
|
||||||
<img src="../assets/icon/arrow.png" alt="" style="display: block; width: 20px" />
|
<img src="../assets/icon/arrow.png" alt="" style="display: block; width: 20px" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -80,7 +80,9 @@
|
|||||||
"
|
"
|
||||||
@click="gotoIncome"
|
@click="gotoIncome"
|
||||||
>
|
>
|
||||||
<span style="font-weight: 600; color: #1f2937"> Available income: $1000 </span>
|
<span style="font-weight: 600; color: #1f2937">
|
||||||
|
Available income: ${{ salaryInfo.currentSalary }}
|
||||||
|
</span>
|
||||||
<img src="../../assets/icon/arrow.png" alt="" style="display: block; width: 20px" />
|
<img src="../../assets/icon/arrow.png" alt="" style="display: block; width: 20px" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -674,6 +676,7 @@ import { isInApp } from '@/utils/appBridge.js'
|
|||||||
import maskLayer from '@/components/MaskLayer.vue'
|
import maskLayer from '@/components/MaskLayer.vue'
|
||||||
import { clearSelectedPayee } from '@/utils/payeeStore.js'
|
import { clearSelectedPayee } from '@/utils/payeeStore.js'
|
||||||
import historySalary from '@/components/historySalary.vue'
|
import historySalary from '@/components/historySalary.vue'
|
||||||
|
import { usePageInitializationWithConfig } from '@/utils/pageConfig.js'
|
||||||
import { getBdMemberBillList, getBdHistory, getBdHistoryMore } from '@/api/bdCenter.js'
|
import { getBdMemberBillList, getBdHistory, getBdHistoryMore } from '@/api/bdCenter.js'
|
||||||
import { getBdLeaderHistory, getBdLeaderHistoryMore } from '@/api/bdLeaderCenter'
|
import { getBdLeaderHistory, getBdLeaderHistoryMore } from '@/api/bdLeaderCenter'
|
||||||
|
|
||||||
@ -830,6 +833,11 @@ const apiGetBdLeaderHistory = async () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const { salaryInfo } = usePageInitializationWithConfig('BD_LEADER_CENTER', {
|
||||||
|
needsTeamInfo: true,
|
||||||
|
onDataLoaded: () => {},
|
||||||
|
})
|
||||||
|
|
||||||
// 初始化数据
|
// 初始化数据
|
||||||
const initData = () => {
|
const initData = () => {
|
||||||
apiGetBdMemberBillList() //BD成员账单
|
apiGetBdMemberBillList() //BD成员账单
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user