|
@@ -535,10 +535,34 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ getLog: function (res) {
|
|
|
|
+ if(!res){
|
|
|
|
+ res = ''
|
|
|
|
+ }
|
|
|
|
+ if (utils.getParam('mid')) {
|
|
|
|
+ try {
|
|
|
|
+ $.ajax({
|
|
|
|
+ type: "POST",
|
|
|
|
+ url: "/publicapply/drainage/bmt/" + utils.getParam('mid'),
|
|
|
|
+ success: function(r) {
|
|
|
|
+ console.log(r,'rrrr')
|
|
|
|
+ if (r.data) {
|
|
|
|
+ location.href = './buy_commit?meal='+ res
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ } catch (error) {
|
|
|
|
+ location.href = './buy_commit?meal='+ res
|
|
|
|
+ }
|
|
|
|
+ } else {
|
|
|
|
+ location.href = './buy_commit?meal='+ res
|
|
|
|
+ }
|
|
|
|
+ },
|
|
linkBuy:function (res, i) {
|
|
linkBuy:function (res, i) {
|
|
|
|
+ this.getLog(res)
|
|
const ts = ['', '购买【大会员】立享', '购买【商机版】立享', '购买【智慧版】立享', '购买【专家版】立享', '购买大会员', '立即购买']
|
|
const ts = ['', '购买【大会员】立享', '购买【商机版】立享', '购买【智慧版】立享', '购买【专家版】立享', '购买大会员', '立即购买']
|
|
this.setStatistics(ts[i || 0])
|
|
this.setStatistics(ts[i || 0])
|
|
- location.href = './buy_commit?meal='+ res
|
|
|
|
|
|
+ // location.href = './buy_commit?meal='+ res
|
|
},
|
|
},
|
|
linkContrast:function(){
|
|
linkContrast:function(){
|
|
this.setStatistics('了解详情')
|
|
this.setStatistics('了解详情')
|