feat: 对接可用收入数据
This commit is contained in:
parent
cb8bee31e4
commit
972264b755
@ -85,7 +85,9 @@
|
||||
"
|
||||
@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" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -80,7 +80,9 @@
|
||||
"
|
||||
@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" />
|
||||
</div>
|
||||
</div>
|
||||
@ -674,6 +676,7 @@ import { isInApp } from '@/utils/appBridge.js'
|
||||
import maskLayer from '@/components/MaskLayer.vue'
|
||||
import { clearSelectedPayee } from '@/utils/payeeStore.js'
|
||||
import historySalary from '@/components/historySalary.vue'
|
||||
import { usePageInitializationWithConfig } from '@/utils/pageConfig.js'
|
||||
import { getBdMemberBillList, getBdHistory, getBdHistoryMore } from '@/api/bdCenter.js'
|
||||
import { getBdLeaderHistory, getBdLeaderHistoryMore } from '@/api/bdLeaderCenter'
|
||||
|
||||
@ -830,6 +833,11 @@ const apiGetBdLeaderHistory = async () => {
|
||||
}
|
||||
}
|
||||
|
||||
const { salaryInfo } = usePageInitializationWithConfig('BD_LEADER_CENTER', {
|
||||
needsTeamInfo: true,
|
||||
onDataLoaded: () => {},
|
||||
})
|
||||
|
||||
// 初始化数据
|
||||
const initData = () => {
|
||||
apiGetBdMemberBillList() //BD成员账单
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user