|
@@ -22,7 +22,7 @@
|
|
|
<!-- 信用分面板 -->
|
|
|
<view class="points-max-box">
|
|
|
<view class="points-big-box">
|
|
|
- <view class="num-p colorA">{{creditScore?creditScore:'-'}}</view>
|
|
|
+ <view class="num-p colorA">{{creditScore!=null?creditScore:'-'}}</view>
|
|
|
<view class="img-box">
|
|
|
<img :src="imagesUrl('commonality/icon_wd_xyf@1x.png')">
|
|
|
<view>信用分</view>
|
|
@@ -30,7 +30,7 @@
|
|
|
</view>
|
|
|
<view class="border-null-p"></view>
|
|
|
<view class="points-big-box">
|
|
|
- <view class="num-p colorB">{{bonusPoints?bonusPoints:'-'}}</view>
|
|
|
+ <view class="num-p colorB">{{bonusPoints!=null?bonusPoints:'-'}}</view>
|
|
|
<view class="img-box">
|
|
|
<img :src="imagesUrl('commonality/icon_wd_jlf@1x.png')">
|
|
|
<view>奖励分</view>
|
|
@@ -88,7 +88,7 @@
|
|
|
logout,
|
|
|
systemUserProfile,
|
|
|
studentinfoFacemy,
|
|
|
- examPointsRecordGetMyPointsLogInfo,
|
|
|
+ creditAppletGetMyPointsLogInfo,
|
|
|
} from '@/pages/api/index.js'
|
|
|
import {
|
|
|
pageRestrictVerify
|
|
@@ -122,7 +122,7 @@
|
|
|
methods: {
|
|
|
initialize(){
|
|
|
this.systemUserProfile();
|
|
|
- //this.examPointsRecordGetMyPointsLogInfo();
|
|
|
+ this.creditAppletGetMyPointsLogInfo();
|
|
|
},
|
|
|
scanCode() {
|
|
|
uni.scanCode({
|
|
@@ -201,14 +201,14 @@
|
|
|
}
|
|
|
},
|
|
|
//查询-信用分/奖励分
|
|
|
- async examPointsRecordGetMyPointsLogInfo() {
|
|
|
+ async creditAppletGetMyPointsLogInfo() {
|
|
|
const {
|
|
|
data
|
|
|
- } = await examPointsRecordGetMyPointsLogInfo();
|
|
|
+ } = await creditAppletGetMyPointsLogInfo();
|
|
|
if (data.code == 200) {
|
|
|
- this.bonusPoints = data.data.bonusPoints;
|
|
|
- this.creditScore = data.data.creditScore;
|
|
|
- this.userStatus = data.data.userStatus;
|
|
|
+ this.$set(this,'bonusPoints',data.data.bonusPoints);
|
|
|
+ this.$set(this,'creditScore',data.data.creditScore);
|
|
|
+ this.$set(this,'userStatus',data.data.userStatus);
|
|
|
}
|
|
|
},
|
|
|
|