Commit 9509a5512f12b42bb93242d76aea96b1d6cbe11c

Authored by wangfan
1 parent 045f9b9b

腾讯统计

@@ -33,6 +33,9 @@ Page({ @@ -33,6 +33,9 @@ Page({
33 this.selectComponent('#notice').close(); 33 this.selectComponent('#notice').close();
34 var obj=this.data.bookInfo; 34 var obj=this.data.bookInfo;
35 var path='/pages/customer/index?id='+this.data.bookInfo.id; 35 var path='/pages/customer/index?id='+this.data.bookInfo.id;
  36 + if(this.enter_params){
  37 + path+='&fromid='+enter_params.seller_openid
  38 + }
36 let nickname=""; 39 let nickname="";
37 try{ 40 try{
38 nickname='"'+this.sc.seller_user.nickname+'"'; 41 nickname='"'+this.sc.seller_user.nickname+'"';
@@ -42,7 +45,7 @@ Page({ @@ -42,7 +45,7 @@ Page({
42 return { 45 return {
43 //title: (nickname||'')+'给你发送了一个订座信息,点击查看详情', 46 //title: (nickname||'')+'给你发送了一个订座信息,点击查看详情',
44 title: '你收到一个邀请函,点击查看', 47 title: '你收到一个邀请函,点击查看',
45 - path: path+'&hasInvitation=1', 48 + path: path+'&hasInvitation=1&hasSellerShare=1',
46 imageUrl:imageUrl, 49 imageUrl:imageUrl,
47 success: function (res) { 50 success: function (res) {
48 console.log(res,666666) 51 console.log(res,666666)
@@ -75,7 +75,7 @@ Page({ @@ -75,7 +75,7 @@ Page({
75 App.Reserve.Detail(param).then(res => { 75 App.Reserve.Detail(param).then(res => {
76 console.log(this.enter_params.seller_openid) 76 console.log(this.enter_params.seller_openid)
77 if(this.enter_params){//商户 77 if(this.enter_params){//商户
78 - if(res.data.sid==this.enter_params.seller_id && !opt.fromid){//不是客户端分享,且是同一个店的 78 + if(res.data.sid==this.enter_params.seller_id && opt.hasSellerShare==1){//不是客户端分享,且是同一个店的
79 util.cache('enter_params',this.enter_params) 79 util.cache('enter_params',this.enter_params)
80 url = '/pages/book/b_detail'; 80 url = '/pages/book/b_detail';
81 } 81 }