|
@@ -7,14 +7,14 @@ var vNode = {
|
|
|
hisproComponent: hisproComponent,
|
|
|
buyerExample: buyerExample,
|
|
|
},
|
|
|
- data() {
|
|
|
+ data () {
|
|
|
// 修改柱状条颜色为渐变色
|
|
|
this.colorGreen = [new echarts.graphic.LinearGradient(
|
|
|
0, 0, 0, 1,
|
|
|
[
|
|
|
- {offset: 1, color: '#2ABED1'},
|
|
|
- {offset: 0.5, color: '#2ABED1'},
|
|
|
- {offset: 0, color: '#8DE0EB'}
|
|
|
+ { offset: 1, color: '#2ABED1' },
|
|
|
+ { offset: 0.5, color: '#2ABED1' },
|
|
|
+ { offset: 0, color: '#8DE0EB' }
|
|
|
], false
|
|
|
), '#FF9F40']
|
|
|
return {
|
|
@@ -40,7 +40,7 @@ var vNode = {
|
|
|
},
|
|
|
projectChartSettings: {
|
|
|
showLine: ['项目金额'],
|
|
|
- axisSite: {right: ['项目金额']}
|
|
|
+ axisSite: { right: ['项目金额'] }
|
|
|
},
|
|
|
isShow: {
|
|
|
showDynamic: false,
|
|
@@ -66,7 +66,7 @@ var vNode = {
|
|
|
},
|
|
|
regCapSettings: {
|
|
|
showLine: ['累计采购规模'],
|
|
|
- axisSite: {right: ['累计采购规模']},
|
|
|
+ axisSite: { right: ['累计采购规模'] },
|
|
|
// stack: { '注册资本分布': ['注册资本','企业数量', '采购项目数量', '平均节支率'] }
|
|
|
},
|
|
|
// 合作企业注册资本分布
|
|
@@ -245,7 +245,7 @@ var vNode = {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- created() {
|
|
|
+ created () {
|
|
|
this.getPowerInfo()
|
|
|
setTimeout(() => {
|
|
|
this.getIsSc()
|
|
@@ -261,7 +261,7 @@ var vNode = {
|
|
|
sessionStorage.removeItem('buyer_high_name')
|
|
|
}
|
|
|
},
|
|
|
- beforeDestroy() {
|
|
|
+ beforeDestroy () {
|
|
|
window.removeEventListener("resize", this.init, 20);
|
|
|
},
|
|
|
methods: {
|
|
@@ -276,7 +276,8 @@ var vNode = {
|
|
|
}
|
|
|
}, 300),
|
|
|
goOpenVip: function () {
|
|
|
- location.href = "/jyapp/vipsubscribe/vipsubscribe_new"
|
|
|
+ // location.href = "/jyapp/vipsubscribe/vipsubscribe_new"
|
|
|
+ location.href = '/jy_mobile/common/order/create/svip?type=buy'
|
|
|
},
|
|
|
// 查询超级订阅采购单位画像浏览次数
|
|
|
getUsage: function () {
|
|
@@ -406,7 +407,7 @@ var vNode = {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- init() {
|
|
|
+ init () {
|
|
|
setTimeout(function () {
|
|
|
window.addEventListener('resize', function () {
|
|
|
if (this.hotChart) {
|
|
@@ -478,7 +479,8 @@ var vNode = {
|
|
|
confirmButtonText: '前往升级',
|
|
|
showCancelButton: true
|
|
|
}).then(function () {
|
|
|
- location.href = '/jyapp/vipsubscribe/upgradePage'
|
|
|
+ // location.href = '/jyapp/vipsubscribe/upgradePage'
|
|
|
+ location.href = '/jy_mobile/common/order/create/svip?type=upgrade'
|
|
|
}).catch(function () {
|
|
|
})
|
|
|
} else {
|
|
@@ -490,7 +492,7 @@ var vNode = {
|
|
|
}
|
|
|
},
|
|
|
//数据导出
|
|
|
- onExport() {
|
|
|
+ onExport () {
|
|
|
var storageSet = JSON.parse(sessionStorage.getItem('buyer_high_set'))
|
|
|
// var isMember = this.bigStatus > 0 && this.power.indexOf(5) > -1
|
|
|
var data = {
|
|
@@ -515,13 +517,13 @@ var vNode = {
|
|
|
})
|
|
|
},
|
|
|
//收藏
|
|
|
- addKeepStatus(item) {
|
|
|
+ addKeepStatus (item) {
|
|
|
if (vKeepComponent) {
|
|
|
let canKeep = this.idx.indexOf(item.id) > -1
|
|
|
vKeepComponent.changeBid(item.id, !canKeep)
|
|
|
}
|
|
|
},
|
|
|
- changeKeepStatus(id, type) {
|
|
|
+ changeKeepStatus (id, type) {
|
|
|
let canHas = this.idx.indexOf(id) > -1
|
|
|
if (type) {
|
|
|
if (!canHas) {
|
|
@@ -532,7 +534,7 @@ var vNode = {
|
|
|
}
|
|
|
},
|
|
|
//招标信息是否被收藏
|
|
|
- getIsSc() {
|
|
|
+ getIsSc () {
|
|
|
let _this = this
|
|
|
$.ajax({
|
|
|
url: '/publicapply/bidcoll/isColl',
|
|
@@ -590,7 +592,7 @@ var vNode = {
|
|
|
)
|
|
|
)
|
|
|
})
|
|
|
- } catch (error) {}
|
|
|
+ } catch (error) { }
|
|
|
res.data.list.forEach((item) => {
|
|
|
if (that.dt.list.length < 3) {
|
|
|
that.dt.list.push(item)
|
|
@@ -780,7 +782,7 @@ var vNode = {
|
|
|
}
|
|
|
},
|
|
|
//
|
|
|
- changeList() {
|
|
|
+ changeList () {
|
|
|
if (this.isActive == 0) {
|
|
|
this.isActive = 1
|
|
|
} else {
|
|
@@ -1233,12 +1235,12 @@ var vNode = {
|
|
|
opt.graphic[0].children[0].style.text = '项目数量(个)';
|
|
|
var pj = Math.floor((opt.visualMap.max / 5) * 100) / 100;
|
|
|
opt.visualMap[0].pieces = [
|
|
|
- {min: 0, max: 0, color: '#FFF4EB', symbol: 'rect'},
|
|
|
- {min: 1, max: pj * 1, color: '#FFE7CF', symbol: 'rect'},
|
|
|
- {min: pj * 1, max: pj * 2, color: '#FFCF9F', symbol: 'rect'},
|
|
|
- {min: pj * 2, max: pj * 3, color: '#FFB366', symbol: 'rect'},
|
|
|
- {min: pj * 3, max: pj * 4, color: '#F48A5D', symbol: 'rect'},
|
|
|
- {min: pj * 4, color: '#F06326', symbol: 'rect'},
|
|
|
+ { min: 0, max: 0, color: '#FFF4EB', symbol: 'rect' },
|
|
|
+ { min: 1, max: pj * 1, color: '#FFE7CF', symbol: 'rect' },
|
|
|
+ { min: pj * 1, max: pj * 2, color: '#FFCF9F', symbol: 'rect' },
|
|
|
+ { min: pj * 2, max: pj * 3, color: '#FFB366', symbol: 'rect' },
|
|
|
+ { min: pj * 3, max: pj * 4, color: '#F48A5D', symbol: 'rect' },
|
|
|
+ { min: pj * 4, color: '#F06326', symbol: 'rect' },
|
|
|
];
|
|
|
opt.series[0].tooltip.formatter = function (params) {
|
|
|
// console.log(params.value[2])
|
|
@@ -1276,7 +1278,7 @@ var vNode = {
|
|
|
var index;
|
|
|
that.$nextTick(function () {
|
|
|
var ref = that.$refs.hotChart;
|
|
|
- that.hotChart = echarts.init(ref, null, {renderer: "svg"});
|
|
|
+ that.hotChart = echarts.init(ref, null, { renderer: "svg" });
|
|
|
that.hotChart.setOption(chartOptions.hotChart);
|
|
|
setTimeout(function () {
|
|
|
// 默认展示某一个tooltip
|
|
@@ -1382,7 +1384,7 @@ var vNode = {
|
|
|
}
|
|
|
that.$nextTick(function () {
|
|
|
var ref = that.$refs.pieChart;
|
|
|
- that.pieChart = echarts.init(ref, null, {renderer: "svg"});
|
|
|
+ that.pieChart = echarts.init(ref, null, { renderer: "svg" });
|
|
|
that.pieChart.setOption(chartOptions.deformPieChart);
|
|
|
that.pieChart.resize();
|
|
|
})
|
|
@@ -1590,9 +1592,11 @@ var vNode = {
|
|
|
// }
|
|
|
location.href = '/jyapp/free/customer'
|
|
|
} else if (btnText == '前往升级') {
|
|
|
- location.href = '/jyapp/vipsubscribe/upgradePage'
|
|
|
+ // location.href = '/jyapp/vipsubscribe/upgradePage'
|
|
|
+ location.href = '/jy_mobile/common/order/create/svip?type=upgrade'
|
|
|
} else if (btnText == '去开通') {
|
|
|
- location.href = '/jyapp/vipsubscribe/vipsubscribe_new'
|
|
|
+ // location.href = '/jyapp/vipsubscribe/vipsubscribe_new'
|
|
|
+ location.href = '/jy_mobile/common/order/create/svip?type=buy'
|
|
|
} else {
|
|
|
_this.goBuyBuried('开通大会员,采购单位项目动态全面获取,帮助企业洞察采购需求,开发新客户!')
|
|
|
}
|
|
@@ -1611,7 +1615,7 @@ var vNode = {
|
|
|
`id=${item.id}`
|
|
|
)
|
|
|
)
|
|
|
- } catch (error) {}
|
|
|
+ } catch (error) { }
|
|
|
var href = '/jyapp/article/content/' + item.id + '.html'
|
|
|
location.href = href
|
|
|
} else {
|
|
@@ -1662,7 +1666,8 @@ var vNode = {
|
|
|
cancelButtonText: '取消'
|
|
|
}).then(function (data) {
|
|
|
if (item == '前往升级') {
|
|
|
- location.href = '/jyapp/vipsubscribe/upgradePage'
|
|
|
+ // location.href = '/jyapp/vipsubscribe/upgradePage'
|
|
|
+ location.href = '/jy_mobile/common/order/create/svip?type=upgrade'
|
|
|
} else if (item == '联系客服') {
|
|
|
location.href = '/jyapp/free/customer'
|
|
|
}
|