Browse Source

customerName

twt 9 months ago
parent
commit
7099117d09
1 changed files with 3 additions and 1 deletions
  1. 3 1
      pages/user/user.vue

+ 3 - 1
pages/user/user.vue

@@ -9,7 +9,7 @@
 					style="width: 88rpx;height: 88rpx;border-radius: 44rpx;"></image>
 				<view class="mes">
 					<view class="nick">
-						<view class="nickName" v-if="nickName">{{nickName}}</view>
+						<view class="nickName" v-if="customerName">{{customerName}}</view>
 						<view class="nickName2" v-else>微信用户</view>
 						<!-- <view class="grade" @click="gonavigateTo('../index/vipCard')" v-if="numList.levelName&&showSetting.isShowLevel">{{numList.levelName}} ></view>-->
 					   <view class="cardNameBOx" v-if="numList.levelName&&showSetting.isShowLevel" @click="gonavigateTo('../subPack/vipCard')"> 
@@ -428,6 +428,7 @@
 				f2csystemlist:'',
 				exitNum:'',
 				f2cIndex:'',
+				customerName:'',
 			}
 		},
 		onLoad(opt) {
@@ -769,6 +770,7 @@
 					this.numList = res.data
 					this.headImg = res.data.openUser.headImg;
 					this.nickName = res.data.openUser.nickName;
+					this.customerName= res.data.customerInfo.customerName
 					this.phone = res.data.openUser.mobilePhone;
                     this.showSetting=res.data.showSetting
                     this.f2csystemlist=res.data.f2csystemlist