|
|
|
@ -483,12 +483,21 @@ export default {
|
|
|
|
console.log('邀请 codeRes 2',codeRes)
|
|
|
|
console.log('邀请 codeRes 2',codeRes)
|
|
|
|
this.oid = codeRes[1].split('_')[1];
|
|
|
|
this.oid = codeRes[1].split('_')[1];
|
|
|
|
this.relationId = codeRes[1].split('_')[2];
|
|
|
|
this.relationId = codeRes[1].split('_')[2];
|
|
|
|
|
|
|
|
uni.setStorageSync('order_oid',this.oid)
|
|
|
|
|
|
|
|
uni.setStorageSync('order_relationId',this.relationId)
|
|
|
|
this.type = '1';
|
|
|
|
this.type = '1';
|
|
|
|
console.log('邀请 codeRes 3 oid:',this.oid,' rid:',this.relationId)
|
|
|
|
console.log('邀请 codeRes 3 oid:',this.oid,' rid:',this.relationId)
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.oid = options.id;
|
|
|
|
if(options.id){
|
|
|
|
this.relationId = options.relationId;
|
|
|
|
this.oid = options.id;
|
|
|
|
this.type = options.type;
|
|
|
|
this.relationId = options.relationId;
|
|
|
|
|
|
|
|
this.type = options.type;
|
|
|
|
|
|
|
|
}else if(uni.getStorageSync('order_oid')){
|
|
|
|
|
|
|
|
this.oid = uni.getStorageSync('order_oid');
|
|
|
|
|
|
|
|
this.relationId = uni.getStorageSync('order_relationId');
|
|
|
|
|
|
|
|
this.type = options.type;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onShow() {
|
|
|
|
onShow() {
|
|
|
|
@ -599,6 +608,8 @@ export default {
|
|
|
|
relationId: that.relationId,
|
|
|
|
relationId: that.relationId,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
(res) => {
|
|
|
|
(res) => {
|
|
|
|
|
|
|
|
uni.removeStorageSync('order_oid')
|
|
|
|
|
|
|
|
uni.removeStorageSync('order_relationId')
|
|
|
|
console.log("工单详情:", res);
|
|
|
|
console.log("工单详情:", res);
|
|
|
|
// return;
|
|
|
|
// return;
|
|
|
|
console.log("res", res);
|
|
|
|
console.log("res", res);
|
|
|
|
|