|
|
@@ -61,12 +61,11 @@
|
|
|
</div>
|
|
|
<!-- 推荐人 -->
|
|
|
<div class="module-com recommend-wrap" v-if="!$util.isEmpty(merchantData)">
|
|
|
- <div class="recommend-tag">推荐人</div>
|
|
|
+ <div class="recommend-tag">引荐人</div>
|
|
|
<div class="recommend-det">
|
|
|
<image style="width:90rpx;height:90rpx;border-radius:42rpx;" mode="scaleToFill" :src="merchantData.smallLogoUrl" @error="imageError" />
|
|
|
<div class="recommend-info">
|
|
|
<div class="app-size-32">{{ merchantData.merchantName }}</div>
|
|
|
- <div class="app-color-2">{{ merchantData.fullAddress }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -148,7 +147,7 @@ export default {
|
|
|
|
|
|
this.$util.getCheckLogin().then(res => {
|
|
|
if (res) {
|
|
|
- let id = uni.getStorageSync("introMerchantId");
|
|
|
+ let id = uni.getStorageSync("shopAdminId");
|
|
|
if (id > 0) {
|
|
|
this._getMerchantDet();
|
|
|
}
|
|
|
@@ -162,16 +161,16 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
_getMerchantDet() {
|
|
|
- let id = uni.getStorageSync("introMerchantId");
|
|
|
- getIntroduce({ id: id }).then(res => {
|
|
|
- this.merchantData = res.data;
|
|
|
+ let id = uni.getStorageSync("shopAdminId");
|
|
|
+ getIntroduce({ shopAdminId: id }).then(res => {
|
|
|
+ this.merchantData = res.data.introduce;
|
|
|
});
|
|
|
},
|
|
|
// ==============
|
|
|
confirmFn() {
|
|
|
- let id = uni.getStorageSync("introMerchantId");
|
|
|
+ let id = uni.getStorageSync("shopAdminId");
|
|
|
applyRegister({
|
|
|
- introMerchantId: id || 0,
|
|
|
+ shopAdminId: id || 0,
|
|
|
...this.form
|
|
|
}).then(res => {
|
|
|
uni.setStorageSync("officialApply", res.data);
|