| | |
| | | this.id = options.id || ''
|
| | |
|
| | | // #ifdef PUB_CUSTOMER
|
| | | if (options.partnerUserId) {
|
| | | if (options.partnerUserId) { |
| | | let tmp = this
|
| | | tmp.sharePartnerUserId = options.partnerUserId
|
| | | //合伙人绑定的,判断当前用户,是否有登录,登录没绑定,没登录先缓存合伙人id,等注册和登录时候再弄
|
| | | let tmp = this
|
| | | setTimeout(() => {
|
| | | if (tmp.currentInfo.id) {
|
| | | tmp.bindPartnerUser(tmp.currentInfo.id, '')
|
| | |
| | | id: this.id,
|
| | | }
|
| | | if (this.sharePartnerUserId && !isNaN(parseInt(this.sharePartnerUserId))) {
|
| | | params.sharePartnerUserId = parseInt(this.sharePartnerUserId)
|
| | | params.partnerId = parseInt(this.sharePartnerUserId)
|
| | | }
|
| | | this.$message.showLoading()
|
| | | const {
|
| | |
| | | },
|
| | | openbrand() {
|
| | | uni.navigateTo({
|
| | | url: '/sub_pages/customer/shop/shop?id=' + (this.dto.id || '')
|
| | | url: '/sub_pages/customer/shop/shop?id=' + (this.dto.supplierId || '')
|
| | | })
|
| | | }
|
| | | }
|