| | |
| | | console.log('onShareAppMessage', this.currentInfo)
|
| | |
|
| | | var partnerUserId = ''
|
| | | if (that.currentInfo.partnerDTO && currentInfo.partnerDTO.id) {
|
| | | partnerUserId = this.currentInfo.id
|
| | |
|
| | | if (that.currentInfo.customerDTO && that.currentInfo.customerDTO.partnerId) {
|
| | | partnerUserId = that.currentInfo.customerDTO.partnerId
|
| | | }
|
| | | // if (that.currentInfo.partnerDTO && currentInfo.partnerDTO.id) {
|
| | | // partnerUserId = this.currentInfo.id
|
| | | // }
|
| | | var url =
|
| | | `/sub_pages/customer/trade/detail?partnerUserId=${partnerUserId}&id=${this.id}&shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数
|
| | | return {
|
| | |
| | | currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && that.currentInfo.partnerDTO.name || ''
|
| | | //如果是合伙人的id,那么分享出去,需要附加id了
|
| | | var partnerUserId = ''
|
| | | if (that.currentInfo.partnerDTO && currentInfo.partnerDTO.id) {
|
| | | partnerUserId = this.currentInfo.id
|
| | | |
| | | if (that.currentInfo.customerDTO && that.currentInfo.customerDTO.partnerId) { |
| | | partnerUserId = that.currentInfo.customerDTO.partnerId |
| | | }
|
| | | var url =
|
| | | `/sub_pages/customer/trade/detail?partnerUserId=${partnerUserId}&id=${this.id}&shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数
|