| | |
| | | },
|
| | | onShareAppMessage() {
|
| | | let that = this;
|
| | | var name = that.currentInfo.customerDTO && currentInfo.customerDTO.name || that.currentInfo.supplierDTO &&
|
| | | currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && currentInfo.partnerDTO.name || ''
|
| | | var name = that.currentInfo.customerDTO&&that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO&&that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO&&that.currentInfo.partnerDTO.name || '' |
| | | var url =
|
| | | `/pages/login/supplier-login?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数
|
| | | return {
|
| | |
| | | },
|
| | | onShareTimeline() {
|
| | | let that = this;
|
| | | var name = that.currentInfo.customerDTO && currentInfo.customerDTO.name || that.currentInfo.supplierDTO &&
|
| | | currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && currentInfo.partnerDTO.name || ''
|
| | | var name = that.currentInfo.customerDTO&&that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO&&that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO&&that.currentInfo.partnerDTO.name || '' |
| | | var url =
|
| | | `/pages/login/supplier-login?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数
|
| | | return {
|
| | |
| | | }, 1000)
|
| | | },
|
| | | toHome() {
|
| | | uni.redirectTo({
|
| | | uni.reLaunch({
|
| | | url: '/pages/home/home'
|
| | | })
|
| | | },
|
| | |
| | | })
|
| | | // #endif
|
| | | // #ifdef PUB_SUPPLIER
|
| | | uni.redirectTo({
|
| | | uni.reLaunch({
|
| | | url: '/pages/login/supplier-reg'
|
| | | })
|
| | | // #endif
|
| | |
| | | // uni.navigateTo({
|
| | | // url: '/sub_pages/customer/customer-info/customer-info' + addstr
|
| | | // })
|
| | | uni.redirectTo({
|
| | | uni.reLaunch({
|
| | | url: '/pages/login/supplier-reg'
|
| | | })
|
| | | // todo 如果是有分享id的,可能需要提前进行绑定
|
| | |
| | | // uni.navigateBack();
|
| | | // }, 1000);
|
| | |
|
| | | //todo 登录后可能需要进行绑定
|
| | | |
| | |
|
| | | } else {
|
| | | // uni.showToast({
|