|
...
|
...
|
@@ -141,30 +141,31 @@ Page({ |
|
|
|
console.log(res.data.openid,'resdataopenidopenidopenidopenid');
|
|
|
|
console.log(opt.hasInvitation,'hasInvitation');
|
|
|
|
console.log(opt.openid,'optopenidoptopenidopt.openid');
|
|
|
|
console.log('type',res.data.temp_config_type);
|
|
|
|
console.log('type',res.data.seller.temp_config_type);
|
|
|
|
let configType=res.data.seller.temp_config_type
|
|
|
|
if (!res.data.openid) {//无预订人
|
|
|
|
url = '/pages/customer/detail_owner';
|
|
|
|
if (opt.hasInvitation == 1 && is_new=='1' && res.data.temp_config_type=='1') {
|
|
|
|
if (opt.hasInvitation == 1 && is_new=='1' && configType=='1') {
|
|
|
|
url = '/pages/customer/detail_owner_invitation_new1';
|
|
|
|
}else if(opt.hasInvitation == 1 && is_new=='1' && res.data.temp_config_type=='2') {
|
|
|
|
}else if(opt.hasInvitation == 1 && is_new=='1' && configType=='2') {
|
|
|
|
url = '/pages/customer/detail_owner_invitation_new2';
|
|
|
|
}else{
|
|
|
|
url = '/pages/customer/detail_owner_invitation';
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
url = '/pages/customer/detail_customer';
|
|
|
|
if (opt.hasInvitation == 1 && is_new=='1' && res.data.temp_config_type=='1') {
|
|
|
|
if (opt.hasInvitation == 1 && is_new=='1' && configType=='1') {
|
|
|
|
url = '/pages/customer/detail_owner_invitation_new1';
|
|
|
|
}else if(opt.hasInvitation == 1 && is_new=='1' && res.data.temp_config_type=='2') {
|
|
|
|
}else if(opt.hasInvitation == 1 && is_new=='1' && configType=='2') {
|
|
|
|
url = '/pages/customer/detail_owner_invitation_new2';
|
|
|
|
}else{
|
|
|
|
url = '/pages/customer/detail_invitation';
|
|
|
|
}
|
|
|
|
if (res.data.openid == opt.openid) {
|
|
|
|
url = '/pages/customer/detail_owner';
|
|
|
|
if (opt.hasInvitation == 1 && is_new=='1' && res.data.temp_config_type=='1') {
|
|
|
|
if (opt.hasInvitation == 1 && is_new=='1' && configType=='1') {
|
|
|
|
url = '/pages/customer/detail_owner_invitation_new1';
|
|
|
|
}else if(opt.hasInvitation == 1 && is_new=='1' && res.data.temp_config_type=='2') {
|
|
|
|
}else if(opt.hasInvitation == 1 && is_new=='1' && configType=='2') {
|
|
|
|
url = '/pages/customer/detail_owner_invitation_new2';
|
|
|
|
}else{
|
|
|
|
url = '/pages/customer/detail_owner_invitation';
|
...
|
...
|
|