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
+5 -3
View File
@@ -567,6 +567,7 @@ export default {
data() {
return {
partnerId: '',
promoterUid: '',
tips: '获取验证码',
infoTitle: '',
pics: [],
@@ -763,6 +764,7 @@ export default {
},
onLoad(options) {
this.partnerId = options.partnerId || ''
this.promoterUid = options.promoterUid || ''
const type = options.type
const local = uni.getStorageSync(type) || {}
const local_form = uni.getStorageSync(type + '_form') || {}
@@ -881,7 +883,7 @@ export default {
getCity().then(({data}) => {
this.district = data
})
getShopData().then(({data}) => {
getShopData({partnerId: this.partnerId, promoterUid: this.promoterUid}).then(({data}) => {
this.columnsType = data.hotelTypeList
this.columnsSupplierType = data.supplierTypeList
this.notice = data.merchantApplyNotice
@@ -1161,7 +1163,7 @@ export default {
postData.cover = postData.coverVideo
}
if (this.infoTitle === '特产') {
saveSupplier(postData, this.formSupplier, this.partnerId).then(res => {
saveSupplier(postData, this.formSupplier, this.partnerId, this.promoterUid).then(res => {
if (res.status === 200) {
uni.showToast({
title: '您的入驻申请已提交成功,请耐心等待审核',
@@ -1182,7 +1184,7 @@ export default {
})
})
} else {
saveWenwanSupplier(postData, this.formSupplier, this.partnerId).then(res => {
saveWenwanSupplier(postData, this.formSupplier, this.partnerId, this.promoterUid).then(res => {
if (res.status === 200) {
uni.showToast({
title: '您的入驻申请已提交成功,请耐心等待审核',