|
@@ -8,11 +8,10 @@ var vNode = new Vue({
|
|
tabs: 0,
|
|
tabs: 0,
|
|
tablist: ['供应商服务', '采购单位服务', '招标代理机构服务'],
|
|
tablist: ['供应商服务', '采购单位服务', '招标代理机构服务'],
|
|
isshow: false,
|
|
isshow: false,
|
|
- text: '扫一扫,立即联系客户经理',
|
|
|
|
- // 扫一扫,立即联系您的专属客服
|
|
|
|
- url: '',
|
|
|
|
- img: "",
|
|
|
|
- vip_img: "",
|
|
|
|
|
|
+ kefu: {
|
|
|
|
+ text: '扫一扫,立即联系客户经理',
|
|
|
|
+ qr: ''
|
|
|
|
+ },
|
|
loginFlag: false,
|
|
loginFlag: false,
|
|
isbuy_vip: false,
|
|
isbuy_vip: false,
|
|
isbuy_big: false,
|
|
isbuy_big: false,
|
|
@@ -31,7 +30,7 @@ var vNode = new Vue({
|
|
this.urlParams = this.getUrlKey('from')
|
|
this.urlParams = this.getUrlKey('from')
|
|
}
|
|
}
|
|
this.getcode()
|
|
this.getcode()
|
|
- this.getImage()
|
|
|
|
|
|
+ this.getKefuInfo()
|
|
},
|
|
},
|
|
mounted: function () {
|
|
mounted: function () {
|
|
this.calcFixedTop()
|
|
this.calcFixedTop()
|
|
@@ -79,30 +78,22 @@ var vNode = new Vue({
|
|
})
|
|
})
|
|
|
|
|
|
},
|
|
},
|
|
- getImage: function() {
|
|
|
|
- var this_ = this
|
|
|
|
- // 此接口未登录也能获取客服信息
|
|
|
|
- $.ajax({
|
|
|
|
- type: 'POST',
|
|
|
|
- url: '/bigmember/use/equity',
|
|
|
|
- success: function (res) {
|
|
|
|
- if (res.data) {
|
|
|
|
- // 客服二维码
|
|
|
|
- var customers = res.data.customers
|
|
|
|
- customers.forEach(function (ele) {
|
|
|
|
- if (ele.vip) {
|
|
|
|
- this_.vip_img = ele.wxer
|
|
|
|
- } else {
|
|
|
|
- this_.img = ele.wxer
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ // 获取客服信息
|
|
|
|
+ getKefuInfo: function () {
|
|
|
|
+ var _this = this
|
|
|
|
+ $.ajax({
|
|
|
|
+ type: 'post',
|
|
|
|
+ url: '/bigmember/use/getCustom',
|
|
|
|
+ success: function (res) {
|
|
|
|
+ if (res && res.data) {
|
|
|
|
+ const resData = res.data || {}
|
|
|
|
+ _this.kefu.qr = resData.wxer
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
},
|
|
},
|
|
close: function(val) {
|
|
close: function(val) {
|
|
this[val] = false
|
|
this[val] = false
|
|
-
|
|
|
|
},
|
|
},
|
|
export_my: function() {//自助导出
|
|
export_my: function() {//自助导出
|
|
if (this.loginFlag) {
|
|
if (this.loginFlag) {
|
|
@@ -138,7 +129,7 @@ var vNode = new Vue({
|
|
//去购买
|
|
//去购买
|
|
window.location.href = "/swordfish/page_big_pc/free/svip/buy"
|
|
window.location.href = "/swordfish/page_big_pc/free/svip/buy"
|
|
} else {
|
|
} else {
|
|
- // 进入续费活动页
|
|
|
|
|
|
+ // 进入续费活动页
|
|
// window.location.href="/swordfish/page_big_pc/free/svip/buy?type=renew"
|
|
// window.location.href="/swordfish/page_big_pc/free/svip/buy?type=renew"
|
|
window.location.href = this.vipRenewActivityPage
|
|
window.location.href = this.vipRenewActivityPage
|
|
}
|
|
}
|
|
@@ -153,7 +144,7 @@ var vNode = new Vue({
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
// this.toast('您已开通大会员')
|
|
// this.toast('您已开通大会员')
|
|
- // 进入续费活动页
|
|
|
|
|
|
+ // 进入续费活动页
|
|
window.location.href = this.bigRenewActivityPage
|
|
window.location.href = this.bigRenewActivityPage
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -163,25 +154,11 @@ var vNode = new Vue({
|
|
// this.vipshow = true
|
|
// this.vipshow = true
|
|
location.href = '/page_workDesktop/'
|
|
location.href = '/page_workDesktop/'
|
|
},
|
|
},
|
|
- showBigCustomQrDialog: function () {
|
|
|
|
- if (this.isbuy_big || this.powerInfo.entniche) {
|
|
|
|
- this.text = '扫一扫,立即联系您的专属客服'
|
|
|
|
- this.url = this.vip_img
|
|
|
|
- } else {
|
|
|
|
- this.text = '扫一扫,立即联系客户经理'
|
|
|
|
- this.url = this.img
|
|
|
|
- }
|
|
|
|
- this.isshow = true
|
|
|
|
- },
|
|
|
|
consultation: function(val) {
|
|
consultation: function(val) {
|
|
-
|
|
|
|
if (val == 0 && this.isbuy_big) {//供应商服务
|
|
if (val == 0 && this.isbuy_big) {//供应商服务
|
|
- this.text = '扫一扫,立即联系您的专属客服'
|
|
|
|
- this.url = this.vip_img
|
|
|
|
-
|
|
|
|
|
|
+ this.kefu.text = '扫一扫,立即联系您的专属客服'
|
|
} else {
|
|
} else {
|
|
- this.text = '扫一扫,立即联系客户经理'
|
|
|
|
- this.url = this.img
|
|
|
|
|
|
+ this.kefu.text = '扫一扫,立即联系客户经理'
|
|
}
|
|
}
|
|
this.isshow = true
|
|
this.isshow = true
|
|
},
|
|
},
|