充值记录
This commit is contained in:
parent
c86397d612
commit
ba0c5935ac
@ -9,7 +9,8 @@
|
|||||||
<view class="dis-box">
|
<view class="dis-box">
|
||||||
<view class="dis">
|
<view class="dis">
|
||||||
<view class="touxiang" @click="goSetup">
|
<view class="touxiang" @click="goSetup">
|
||||||
<image v-if="user.avatar!='' && user.avatar!=null && user.avatar!=undefined" :src="baseUrl + user.avatar" mode=""></image>
|
<image v-if="user.avatar!='' && user.avatar!=null && user.avatar!=undefined"
|
||||||
|
:src="baseUrl + user.avatar" mode=""></image>
|
||||||
<image v-else src="../../static/imgs/myx.png" mode=""></image>
|
<image v-else src="../../static/imgs/myx.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="">
|
<view class="">
|
||||||
@ -29,7 +30,7 @@
|
|||||||
<text style="color: #999999;">|</text>
|
<text style="color: #999999;">|</text>
|
||||||
<view class="jg-box" @click="goOil()">
|
<view class="jg-box" @click="goOil()">
|
||||||
<view class="jg-box-title">囤油升数</view>
|
<view class="jg-box-title">囤油升数</view>
|
||||||
<view class="jg-box-nmb">{{refuelMoney[0].refuelMoney || 0 }}升</view>
|
<view class="jg-box-nmb">{{refuelMoney[0].refuelMoney || 0 }}L</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<text style="color: #999999;">|</text>
|
<text style="color: #999999;">|</text>
|
||||||
@ -173,7 +174,7 @@
|
|||||||
msg: "3",
|
msg: "3",
|
||||||
// url信息
|
// url信息
|
||||||
baseUrl: this.$baseUrl,
|
baseUrl: this.$baseUrl,
|
||||||
user:{},
|
user: {},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -188,14 +189,15 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 查询当前登录用户信息
|
// 查询当前登录用户信息
|
||||||
getUser(){
|
getUser() {
|
||||||
request({
|
request({
|
||||||
url: 'business/userManager/user/getUser',
|
url: 'business/userManager/user/getUser',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.data != null && res.data != "" && res.data != undefined) {
|
if (res.data != null && res.data != "" && res.data != undefined) {
|
||||||
this.user = res.data
|
this.user = res.data
|
||||||
this.user.mobile = res.data.mobile.slice(0,3) + "****" + res.data.mobile.slice(res.data.mobile.length-5,res.data.mobile.length-1)
|
this.user.mobile = res.data.mobile.slice(0, 3) + "****" + res.data.mobile.slice(res.data
|
||||||
|
.mobile.length - 5, res.data.mobile.length - 1)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -308,7 +310,7 @@
|
|||||||
chainStoreId: this.chainStoreId
|
chainStoreId: this.chainStoreId
|
||||||
}
|
}
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.code == 200 && res.data!=null) {
|
if (res.code == 200 && res.data != null) {
|
||||||
this.myPoints = res.data.points
|
this.myPoints = res.data.points
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user