Commit 213e139a authored by 袁玲利's avatar 袁玲利

解决冲突

parents 8feaa579 2714536b
...@@ -340,7 +340,7 @@ ...@@ -340,7 +340,7 @@
}, },
async switchChange(e) { async switchChange(e) {
console.warn("开启限额", e.detail.value) console.warn("开启限额", e.detail.value)
await this.QueryProductContractItem() // await this.QueryProductContractItem()
this.parentConsumeLimit.switch = e.detail.value this.parentConsumeLimit.switch = e.detail.value
if (this.parentConsumeLimit.singleLimit == 0) { if (this.parentConsumeLimit.singleLimit == 0) {
this.parentConsumeLimit.singleLimit = '50.00'; this.parentConsumeLimit.singleLimit = '50.00';
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
</view> </view>
</view> </view>
<!-- 会员尊享权益 --> <!-- 会员尊享权益 -->
<view class="menberImg" v-if="HomeDataInfo['vipStatus']!=1"> <view class="menberImg" v-if="HomeDataInfo['vipStatus']!=1&&HomeDataInfo['membershipStatus']==1">
<image :src="this.$ImgUrl + 'applyCons/menberImg.png'" mode="aspectFit"></image> <image :src="this.$ImgUrl + 'applyCons/menberImg.png'" mode="aspectFit"></image>
<view class="tomenber" @tap="openAzMenber"></view> <view class="tomenber" @tap="openAzMenber"></view>
</view> </view>
...@@ -162,7 +162,11 @@ ...@@ -162,7 +162,11 @@
// 刷脸消费会员到期时间 // 刷脸消费会员到期时间
"vipExpiredDt": "", "vipExpiredDt": "",
// 刷脸消费会员开通状态 1已开通并生效 2未开通 3已过期 4未生效 // 刷脸消费会员开通状态 1已开通并生效 2未开通 3已过期 4未生效
"vipStatus": 1 "vipStatus": 1,
// 学校是否开通消费会员
"membershipStatus": 0,
// 学生id
"schoolId": 0
}, },
// 学校 学生id // 学校 学生id
userInfo: { userInfo: {
...@@ -298,6 +302,7 @@ ...@@ -298,6 +302,7 @@
if (!item.path) { if (!item.path) {
return return
} }
if (this.HomeDataInfo['membershipStatus'] == 1) {
if (item['auth'] && item['serviceItemCode']) { if (item['auth'] && item['serviceItemCode']) {
// 查询消费会员权益项 // 查询消费会员权益项
const result = await this.QueryProductContractItem(item['serviceItemCode']) const result = await this.QueryProductContractItem(item['serviceItemCode'])
...@@ -306,6 +311,7 @@ ...@@ -306,6 +311,7 @@
throw ('您还未开通消费会员,') throw ('您还未开通消费会员,')
} }
} }
}
const query = const query =
`?name=${this.HomeDataInfo['userName']}&accountId=${this.HomeDataInfo['accountId']}&userId=${this.userInfo['userId']}&schoolId=${this.userInfo['schoolId']}&userType=${this.userInfo['userType']}` `?name=${this.HomeDataInfo['userName']}&accountId=${this.HomeDataInfo['accountId']}&userId=${this.userInfo['userId']}&schoolId=${this.userInfo['schoolId']}&userType=${this.userInfo['userType']}`
console.log(item.path + query) console.log(item.path + query)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment