|
...
|
...
|
@@ -144,14 +144,13 @@ Page({ |
|
|
|
url = '/pages/customer/detail_owner_invitation_new?id=' + that.data.opt.detail.oid;
|
|
|
|
}
|
|
|
|
if (that.data.opt.types == '2') {
|
|
|
|
let cookbookObj = {
|
|
|
|
sid: that.data.opt.sid,
|
|
|
|
sellerName: that.data.opt.sellerName,
|
|
|
|
oid: that.data.opt.oid,
|
|
|
|
hasSuccess: '1',
|
|
|
|
rid: that.data.opt.rid?that.data.opt.rid:''
|
|
|
|
}
|
|
|
|
url = `/pack-cookbook/pages/success_new?cookbookObj=${JSON.stringify(cookbookObj)}`;
|
|
|
|
let data={}
|
|
|
|
data.sid=that.data.opt.sid;
|
|
|
|
data.sellerName=that.data.opt.sellerName;
|
|
|
|
data.oid=that.data.opt.oid;
|
|
|
|
data.hasSuccess='1'
|
|
|
|
data.rid=that.data.opt.rid?that.data.opt.rid:''
|
|
|
|
url = `/pack-cookbook/pages/success_new?hasSuccess=${data.hasSuccess}&identity=${data.identity}&oid=${data.oid}&rid=${data.rid}&sellerName=${data.sellerName}&sid=${data.sid}`;
|
|
|
|
}
|
|
|
|
if (that.data.opt.types == '3') {
|
|
|
|
url = '/pages/reserve/index';
|
|
...
|
...
|
@@ -339,14 +338,14 @@ Page({ |
|
|
|
})
|
|
|
|
}
|
|
|
|
if (this.data.opt.types == '2') {
|
|
|
|
let cookbookObj = {
|
|
|
|
sid: this.data.opt.sid,
|
|
|
|
sellerName: this.data.opt.sellerName,
|
|
|
|
oid: this.data.opt.oid,
|
|
|
|
hasSuccess: '1',
|
|
|
|
rid: this.data.opt.rid?this.data.opt.rid:''
|
|
|
|
}
|
|
|
|
let url = `/pack-cookbook/pages/success_new?cookbookObj=${JSON.stringify(cookbookObj)}`;
|
|
|
|
let data={}
|
|
|
|
data.oid=this.data.opt.oid;
|
|
|
|
data.sid=this.data.opt.sid;
|
|
|
|
data.sellerName=this.data.opt.sellerName;
|
|
|
|
data.hasSuccess='1';
|
|
|
|
data.identity='1';
|
|
|
|
data.rid=this.data.opt.rid?this.data.opt.rid:''
|
|
|
|
let url = `/pack-cookbook/pages/success_new?hasSuccess=${data.hasSuccess}&identity=${data.identity}&oid=${data.oid}&rid=${data.rid}&sellerName=${data.sellerName}&sid=${data.sid}`;
|
|
|
|
return wx.reLaunch({
|
|
|
|
url
|
|
|
|
})
|
...
|
...
|
|