Feat(入驻):扫码跳转增加子账号参数字段

This commit is contained in:
lifizer
2026-05-24 15:26:07 +08:00
parent 3826e11a3e
commit 7bf0344028
7 changed files with 58 additions and 31 deletions
+6 -4
View File
@@ -473,7 +473,8 @@ export default {
mixins: [pageListenMixins],
data() {
return {
partnerId: null,
partnerId: '',
promoterUid: '',
pics: [],
quaPics: [],
tips: '获取验证码',
@@ -603,7 +604,8 @@ export default {
}
},
onLoad(options) {
this.partnerId = options.partnerId
this.partnerId = options.partnerId || ''
this.promoterUid = options.promoterUid || ''
const local_form = uni.getStorageSync('merchantApplyHotel' + '_form') || {}
this.quaPics = uni.getStorageSync('merchantApplyHotel' + '_quaPics') || []
if(!local_form.serviceTime) {
@@ -694,7 +696,7 @@ export default {
getCity().then(({data}) => {
this.district = data
})
getShopData().then(({data}) => {
getShopData({partnerId: this.partnerId, promoterUid: this.promoterUid}).then(({data}) => {
this.hotelTypeList = data.hotelTypeList || []
this.columnsType = this.hotelTypeList
this.notice = data.merchantApplyNotice
@@ -969,7 +971,7 @@ export default {
if (postData.coverType === 2) {
postData.cover = postData.coverVideo
}
saveShop(postData, this.partnerId).then(res => {
saveShop(postData, this.partnerId, this.promoterUid).then(res => {
if (res.status === 200) {
uni.showToast({
title: '您的入驻申请已提交成功,请耐心等待审核',