|
|
@@ -174,7 +174,7 @@
|
|
|
this.urlOption = option.link ? JSON.parse(decodeURIComponent(option.link)) : {};
|
|
|
this.sortLink = this.urlOption.link || ''
|
|
|
this.chatId = this.urlOption.chatId || ''
|
|
|
- this.recordId =this.urlOption.recordId || ''
|
|
|
+ this.recordId =this.urlOption.businessId || ''
|
|
|
console.log(this.sortLink)
|
|
|
uni.$on('usercode',(data)=>{
|
|
|
if(data) {
|
|
|
@@ -205,8 +205,7 @@
|
|
|
title:'修改成功!',
|
|
|
});
|
|
|
setTimeout(()=>{
|
|
|
- // this.getIsAddKf()
|
|
|
- this.getAddCompanyUser()
|
|
|
+ this.receiveLuckyBag()
|
|
|
},100)
|
|
|
}else{
|
|
|
uni.removeStorageSync('userinfos')
|
|
|
@@ -267,7 +266,6 @@
|
|
|
});
|
|
|
},
|
|
|
handleReceive() {
|
|
|
- console.log("===",this.isLoginH5)
|
|
|
if (this.isLoginH5 == 0) {
|
|
|
this.utils.isLoginCourse().then(
|
|
|
isLogin => {
|
|
|
@@ -309,8 +307,11 @@
|
|
|
icon: 'loading'
|
|
|
});
|
|
|
this.btnLoading = true
|
|
|
- console.log("this.urlOption=",this.urlOption)
|
|
|
- receiveLuckyBag({...this.urlOption}).then(res => {
|
|
|
+ const param = {
|
|
|
+ ...this.urlOption,
|
|
|
+ recordId: this.recordId
|
|
|
+ }
|
|
|
+ receiveLuckyBag(param).then(res => {
|
|
|
uni.hideLoading()
|
|
|
this.btnLoading = false
|
|
|
if(res.code == 200) {
|