|
|
@@ -4,15 +4,15 @@
|
|
|
:src="`${constant.imgUrl}/ghs/me/bg.png`"
|
|
|
class="me-content_bg"
|
|
|
></image>
|
|
|
- <template v-if="!$util.isEmpty(infoData)">
|
|
|
+ <template v-if="!$util.isEmpty(shopInfo)">
|
|
|
<view class="me-user_box">
|
|
|
<view class="user-info_item">
|
|
|
<view>
|
|
|
<view class="name">
|
|
|
- {{ infoData.adminName }}
|
|
|
+ {{ shopInfo.adminName }}
|
|
|
</view>
|
|
|
<view class="mobile">
|
|
|
- ID:{{ infoData.shopAdminId }}
|
|
|
+ ID:{{ shopInfo.shopAdminId }}
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- <i class="iconfont iconxiangyou"></i> -->
|
|
|
@@ -23,15 +23,15 @@
|
|
|
<view class="me-shop_top">
|
|
|
<view class="shop-top_left">
|
|
|
<app-avatar-module
|
|
|
- :src="infoData.shopImg"
|
|
|
+ :src="shopInfo.shopImg"
|
|
|
:width="100"
|
|
|
/>
|
|
|
<view class="top-info_box">
|
|
|
<view>
|
|
|
- {{ infoData.shopName }}
|
|
|
+ {{ shopInfo.shopName }}
|
|
|
</view>
|
|
|
<view>
|
|
|
- <text>{{ infoData.sjName }}</text>
|
|
|
+ <text>{{ shopInfo.sjName }} | SID {{shopInfo.shopId}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -52,18 +52,18 @@
|
|
|
"
|
|
|
class="image-box"
|
|
|
>
|
|
|
- <view class="dec"> 店铺服务期至: {{ infoData.deadline }} </view>
|
|
|
+ <view class="dec"> 店铺服务期至: {{ shopInfo.deadline.substr(0,11) }} </view>
|
|
|
<image :src="`${constant.imgUrl}/ghs/me/upgrade.png`"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="account-info_box content_box">
|
|
|
<view class="info-lf_box">
|
|
|
<view> 账户余额(元) </view>
|
|
|
- <view> <text>¥ </text> {{ infoData.balance }} </view>
|
|
|
+ <view> <text>¥ </text> {{ shopInfo.balance }} </view>
|
|
|
<view>
|
|
|
- 可提现余额 ¥ {{ infoData.txBalance }}
|
|
|
+ 可提现余额 ¥ {{ shopInfo.txBalance }}
|
|
|
<text
|
|
|
- v-if="infoData.txBalance > 0"
|
|
|
+ v-if="shopInfo.txBalance > 0"
|
|
|
@click="checkToApplyCash"
|
|
|
class="to-cash"
|
|
|
>提现</text>
|
|
|
@@ -78,7 +78,7 @@
|
|
|
class="line-cell"
|
|
|
:hover="false"
|
|
|
:arrow="true"
|
|
|
- v-if="infoData.adminId == 2 || infoData.adminId == 497"
|
|
|
+ v-if="shopInfo.adminId == 2 || shopInfo.adminId == 497"
|
|
|
>
|
|
|
<div class="tui-title">切换门店</div>
|
|
|
</tui-list-cell>
|
|
|
@@ -194,7 +194,7 @@ export default {
|
|
|
data () {
|
|
|
return {
|
|
|
constant: this.$constant,
|
|
|
- infoData: {},
|
|
|
+ shopInfo: {},
|
|
|
};
|
|
|
},
|
|
|
onPullDownRefresh () {
|
|
|
@@ -234,7 +234,7 @@ export default {
|
|
|
if(!this.AUTHORITY_SHOW) {
|
|
|
try {
|
|
|
const { data } = await mainMy();
|
|
|
- this.infoData = data;
|
|
|
+ this.shopInfo = data;
|
|
|
//不要删除此输出,方法查看 shish 20210512
|
|
|
console.log('商家ID',data.sjId,'门店ID',data.shopId)
|
|
|
uni.stopPullDownRefresh();
|
|
|
@@ -265,7 +265,7 @@ export default {
|
|
|
checkToApplyCash () {
|
|
|
let self = this;
|
|
|
//没有设置提现帐号则提示
|
|
|
- if (self.infoData.cashAccount == "") {
|
|
|
+ if (self.shopInfo.cashAccount == "") {
|
|
|
uni.showModal({
|
|
|
title: "提示",
|
|
|
content: "您还没有设置提现帐号",
|