|
@@ -602,8 +602,8 @@ let app = new Vue({
|
|
|
return new Promise((resolve, err) => {
|
|
return new Promise((resolve, err) => {
|
|
|
let value = {
|
|
let value = {
|
|
|
access_token: this.access_token,
|
|
access_token: this.access_token,
|
|
|
- mock: true,
|
|
|
|
|
- presetYear: 2023
|
|
|
|
|
|
|
+ mock: this.mockData,
|
|
|
|
|
+ presetYear: this.year
|
|
|
}
|
|
}
|
|
|
get('/ierp/kapi/v2/mdnb/mdnb_xmkb/presetdata/getKeyData', value).then(res => {
|
|
get('/ierp/kapi/v2/mdnb/mdnb_xmkb/presetdata/getKeyData', value).then(res => {
|
|
|
// 头部指标
|
|
// 头部指标
|
|
@@ -618,7 +618,7 @@ let app = new Vue({
|
|
|
center1[3] = res.data.keyIndicators.invest
|
|
center1[3] = res.data.keyIndicators.invest
|
|
|
// 投资产业分布
|
|
// 投资产业分布
|
|
|
for (let i = 0; i < center2.length; i++) {
|
|
for (let i = 0; i < center2.length; i++) {
|
|
|
- center2[i].y = res.data.distribution[i].amount
|
|
|
|
|
|
|
+ center2[i].y = that.yuanChange(res.data.distribution[i].amount)
|
|
|
center2[i].num = res.data.distribution[i].count
|
|
center2[i].num = res.data.distribution[i].count
|
|
|
center2[i].typeno = res.data.distribution[i].typeno
|
|
center2[i].typeno = res.data.distribution[i].typeno
|
|
|
}
|
|
}
|
|
@@ -633,7 +633,7 @@ let app = new Vue({
|
|
|
})
|
|
})
|
|
|
// 投资阶段分析
|
|
// 投资阶段分析
|
|
|
res.data.investmentStage.forEach((item, index) => {
|
|
res.data.investmentStage.forEach((item, index) => {
|
|
|
- center7[index] = { name: item.type, value: Number(item.num), value2: Number(item.amount), typeno: item.typeno, sliced: false, selected: false }
|
|
|
|
|
|
|
+ center7[index] = { name: item.type, value: Number(item.num), value2: that.yuanChange(item.amount), typeno: item.typeno, sliced: false, selected: false }
|
|
|
})
|
|
})
|
|
|
// 重点项目监控
|
|
// 重点项目监控
|
|
|
center8 = []
|
|
center8 = []
|
|
@@ -2593,8 +2593,8 @@ let app = new Vue({
|
|
|
point: {
|
|
point: {
|
|
|
events: {
|
|
events: {
|
|
|
click: function (e) {
|
|
click: function (e) {
|
|
|
- // that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
|
|
|
|
|
- that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '优势特色产业', '体育产业', '')
|
|
|
|
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
|
|
|
|
|
+ // that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '优势特色产业', '体育产业', '')
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -2688,8 +2688,8 @@ let app = new Vue({
|
|
|
point: {
|
|
point: {
|
|
|
events: {
|
|
events: {
|
|
|
click: function (e) { //点击事件
|
|
click: function (e) { //点击事件
|
|
|
- // that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
|
|
|
|
|
- that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '优势特色产业', '体育产业', '')
|
|
|
|
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
|
|
|
|
|
+ // that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '优势特色产业', '体育产业', '')
|
|
|
},
|
|
},
|
|
|
mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
|
|
mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
|
|
|
//console.log(e)
|
|
//console.log(e)
|
|
@@ -2706,8 +2706,8 @@ let app = new Vue({
|
|
|
point: {
|
|
point: {
|
|
|
events: {
|
|
events: {
|
|
|
click: function (e) {
|
|
click: function (e) {
|
|
|
- // that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
|
|
|
|
|
- that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '优势特色产业', '体育产业', '')
|
|
|
|
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
|
|
|
|
|
+ // that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '优势特色产业', '体育产业', '')
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -2738,8 +2738,8 @@ let app = new Vue({
|
|
|
point: {
|
|
point: {
|
|
|
events: {
|
|
events: {
|
|
|
click: function (e) {
|
|
click: function (e) {
|
|
|
- // that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
|
|
|
|
|
- that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '优势特色产业', '体育产业', '')
|
|
|
|
|
|
|
+ that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '传统产业分析', e.point.name, '')
|
|
|
|
|
+ // that.showChartLTipDouble(e.point.name, 'left', '产业布局分析', '优势特色产业', '体育产业', '')
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -4026,7 +4026,7 @@ let app = new Vue({
|
|
|
point: {
|
|
point: {
|
|
|
events: {
|
|
events: {
|
|
|
click: function (e) {
|
|
click: function (e) {
|
|
|
- that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'distribution', e.point.options.typeno, industry, e.point.options.typeno, 1)
|
|
|
|
|
|
|
+ that.showChartLTipDouble(e.point.name, 'center', '', '', '', '', 'distribution', e.point.options.typeno, 'industry', e.point.options.typeno, 1)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|