|
@@ -40,6 +40,7 @@ var favorite = new Vue({
|
|
|
wxDialogShow: false,
|
|
|
timer: null,
|
|
|
currentSwitchKey: null,
|
|
|
+ urlSource: '' // 当前页面来源
|
|
|
}
|
|
|
},
|
|
|
computed: {},
|
|
@@ -49,6 +50,7 @@ var favorite = new Vue({
|
|
|
setTimeout(() => {
|
|
|
_this.getNewUerSales()
|
|
|
}, 100)
|
|
|
+ this.urlSource = utils.getParam('source')
|
|
|
},
|
|
|
methods: {
|
|
|
// 获取当前用户是否绑定微信、以及微信二维码
|
|
@@ -268,6 +270,10 @@ var favorite = new Vue({
|
|
|
// this.msgSet[key].i_wxpush = 1
|
|
|
// }
|
|
|
// }
|
|
|
+ // 页面source
|
|
|
+ if(_this.urlSource) {
|
|
|
+ params['source'] = _this.urlSource
|
|
|
+ }
|
|
|
$.ajax({
|
|
|
url: '/salesLeads/appNewUerSales',
|
|
|
type: 'POST',
|