uu
This commit is contained in:
parent
d66a8c6f69
commit
219088a4a0
@ -35,7 +35,7 @@
|
|||||||
<view style="flex: 1;text-align: center;">
|
<view style="flex: 1;text-align: center;">
|
||||||
<view class="clr-wht font-32 font-weight">
|
<view class="clr-wht font-32 font-weight">
|
||||||
<text class="font-26">¥</text>
|
<text class="font-26">¥</text>
|
||||||
<tex>2888.80</tex>
|
<tex>{{staticInfo.commStat.estMoney}}</tex>
|
||||||
</view>
|
</view>
|
||||||
<view class="pt-20 clr-wht font-26" style="opacity: 0.8;">计提预估</view>
|
<view class="pt-20 clr-wht font-26" style="opacity: 0.8;">计提预估</view>
|
||||||
</view>
|
</view>
|
||||||
@ -45,7 +45,7 @@
|
|||||||
<view style="flex: 1;text-align: center;">
|
<view style="flex: 1;text-align: center;">
|
||||||
<view class="clr-wht font-32 font-weight">
|
<view class="clr-wht font-32 font-weight">
|
||||||
<text class="font-26">¥</text>
|
<text class="font-26">¥</text>
|
||||||
<tex>128888.00</tex>
|
<tex>{{staticInfo.commStat.waitPay}}</tex>
|
||||||
</view>
|
</view>
|
||||||
<view class="pt-20 clr-wht font-26" style="opacity: 0.8;">待回款</view>
|
<view class="pt-20 clr-wht font-26" style="opacity: 0.8;">待回款</view>
|
||||||
</view>
|
</view>
|
||||||
@ -121,6 +121,8 @@
|
|||||||
<script>
|
<script>
|
||||||
import { USERKEY } from "@/store/actionKey"
|
import { USERKEY } from "@/store/actionKey"
|
||||||
import { dealBtnMap } from "@/common/enum"
|
import { dealBtnMap } from "@/common/enum"
|
||||||
|
import * as apiService from "@/common/api"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
computed: {
|
computed: {
|
||||||
userInfo() {
|
userInfo() {
|
||||||
@ -128,12 +130,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
// hasLeftWin: {
|
|
||||||
// type: Boolean
|
|
||||||
// }
|
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
staticInfo: {
|
||||||
|
commStat: {},
|
||||||
|
orderStat: {},
|
||||||
|
},
|
||||||
saomiao: true,
|
saomiao: true,
|
||||||
mainBtnlist: [
|
mainBtnlist: [
|
||||||
{ title: '服务客户', icon: this.getCdnUrl(`mine/kehu.png`), url: '' },
|
{ title: '服务客户', icon: this.getCdnUrl(`mine/kehu.png`), url: '' },
|
||||||
@ -146,11 +149,20 @@
|
|||||||
},
|
},
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
return {
|
return {
|
||||||
// title: '',
|
|
||||||
// path: 'TODO'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onLoad() {
|
||||||
|
this.initData()
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
async initData(){
|
||||||
|
this.getAppHomeStatData()
|
||||||
|
},
|
||||||
|
async getAppHomeStatData(){
|
||||||
|
let res = await apiService.getAppHomeStatData()
|
||||||
|
this.staticInfo = res.data
|
||||||
|
},
|
||||||
async handleUnlogin() {
|
async handleUnlogin() {
|
||||||
await this.$store.dispatch(USERKEY.LOGOUT)
|
await this.$store.dispatch(USERKEY.LOGOUT)
|
||||||
this.goto(`login/login`, 2)
|
this.goto(`login/login`, 2)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user