|
@@ -164,6 +164,7 @@ var vmPurSearch = new Vue({
|
|
|
inIframe: false,
|
|
|
isLogin: false,
|
|
|
isMember: false,
|
|
|
+ isVip: false,
|
|
|
isEntService: false,
|
|
|
isNewEntNiche: false,
|
|
|
area: {
|
|
@@ -176,6 +177,7 @@ var vmPurSearch = new Vue({
|
|
|
showD1: false,
|
|
|
showD2: false,
|
|
|
showD3: false,
|
|
|
+ showD4: false,
|
|
|
alreadyNum: 0,
|
|
|
remainNum: 0,
|
|
|
item: {}
|
|
@@ -222,6 +224,7 @@ var vmPurSearch = new Vue({
|
|
|
this.inIframe = goTemplateData.inIframe
|
|
|
this.isLogin = params.login && Object.keys(params.login).length > 0
|
|
|
this.isMember = params.isMember
|
|
|
+ this.isVip = params.isVip
|
|
|
this.isEntService = params.isEntService
|
|
|
this.isNewEntNiche = params.isEntnicheNew
|
|
|
// this.initIndustryMap()
|
|
@@ -270,14 +273,22 @@ var vmPurSearch = new Vue({
|
|
|
window.open('/page_workDesktop/work-bench/app/big/push_setting')
|
|
|
},
|
|
|
monitorApply () {
|
|
|
- if(goTemplateData.params.isVip) {
|
|
|
+ if(this.isVip) {
|
|
|
vm.isNeedSubmit('pc_buyer_monitor_more')
|
|
|
} else {
|
|
|
- this.monitorInfo.showD1 = true
|
|
|
+ this.monitorInfo.showD4 = true
|
|
|
}
|
|
|
},
|
|
|
monitorStatus (data, item) {
|
|
|
- window.open('/swordfish/page_big_pc/unit_portrayal/' + item.buyer + '?active=2')
|
|
|
+ // 是渠道合作页面需要登录后重定向
|
|
|
+ let url = ''
|
|
|
+ const BIPge = this.getBIParams ? '?resource=BI&active=2' : '?active=2'
|
|
|
+ if (this.isNewEntNiche) {
|
|
|
+ url = '/entpc/unit_portrayal/' + item.buyer + BIPge
|
|
|
+ } else {
|
|
|
+ url = '/swordfish/page_big_pc/unit_portrayal/' + item.buyer + BIPge
|
|
|
+ }
|
|
|
+ window.open(url)
|
|
|
},
|
|
|
monitorCancel (data, item) {
|
|
|
this.monitorInfo.item = item
|