|
@@ -2,19 +2,21 @@ let app = new Vue({
|
|
|
el: '#app',
|
|
el: '#app',
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
|
- echartR4Chart:'',// 倒数第二个专用
|
|
|
|
|
- echartR5Chart:'', // 倒是第一个专用
|
|
|
|
|
|
|
+ echartR4Chart: '',// 倒数第二个专用
|
|
|
|
|
+ echartR5Chart: '', // 倒是第一个专用
|
|
|
echartEnterpriseShow: false, // 企业额度分析控制
|
|
echartEnterpriseShow: false, // 企业额度分析控制
|
|
|
mapChart: '',//地图专用echarts
|
|
mapChart: '',//地图专用echarts
|
|
|
chartCarousel: '',//做大屏轮播专用echarts
|
|
chartCarousel: '',//做大屏轮播专用echarts
|
|
|
mapTipShow: false,
|
|
mapTipShow: false,
|
|
|
echartSingleTipShow: false,
|
|
echartSingleTipShow: false,
|
|
|
echartDoubleTipShow: false,
|
|
echartDoubleTipShow: false,
|
|
|
|
|
+ projectListTipShow: false, //项目列表专属弹窗
|
|
|
backShow: false,
|
|
backShow: false,
|
|
|
titleUrl: '',
|
|
titleUrl: '',
|
|
|
titleName: '',
|
|
titleName: '',
|
|
|
yellowCount: 0, // 黄圈轮播参数
|
|
yellowCount: 0, // 黄圈轮播参数
|
|
|
yellowPosition: 40,// 黄圈悬浮窗位置参数
|
|
yellowPosition: 40,// 黄圈悬浮窗位置参数
|
|
|
|
|
+ yellowType: true, // 黄圈悬浮停止轮播
|
|
|
echartR1Fd: true,
|
|
echartR1Fd: true,
|
|
|
echartR2Fd: true,
|
|
echartR2Fd: true,
|
|
|
echartR3Fd: true,
|
|
echartR3Fd: true,
|
|
@@ -27,7 +29,7 @@ let app = new Vue({
|
|
|
totleLimit3: left4[2],
|
|
totleLimit3: left4[2],
|
|
|
totleLimit4: left4[3],
|
|
totleLimit4: left4[3],
|
|
|
totleLimit5: left4[4],
|
|
totleLimit5: left4[4],
|
|
|
- center1:center1,
|
|
|
|
|
|
|
+ center1: center1,
|
|
|
showTip2: false,
|
|
showTip2: false,
|
|
|
showTip3: false,
|
|
showTip3: false,
|
|
|
list: [],
|
|
list: [],
|
|
@@ -38,7 +40,71 @@ let app = new Vue({
|
|
|
storageRecordConfig2: center9,
|
|
storageRecordConfig2: center9,
|
|
|
titleList: right1,
|
|
titleList: right1,
|
|
|
centerLeftList: right3,
|
|
centerLeftList: right3,
|
|
|
- storageRecordConfig: left11
|
|
|
|
|
|
|
+ storageRecordConfig: left11,
|
|
|
|
|
+ config5: {
|
|
|
|
|
+ rowNum: 9,
|
|
|
|
|
+ waitTime: 2000,
|
|
|
|
|
+ headerHeight: '40',
|
|
|
|
|
+ header: ["项目名称", "所属组织", '实施主体', '建设性质(新建/续建)', '产业类别', '建设地点', '2022年投资完成额(万元)'],
|
|
|
|
|
+ data: [
|
|
|
|
|
+ ["青银二广高速公路太原联络线建设PPP项目", "交控集团", "山西路桥建设集团有限公司", "新建", "交通运输业", "山西省太原市、晋中市", "148,086.00"],
|
|
|
|
|
+ ["国道241、省道岚马线汾河水库段改线工程", "交控集团", "太原国省道汾河水库段建设管理有限公司", "续建", "交通运输业", "山西省 太原市、吕梁市", "165,314.33"],
|
|
|
|
|
+ ["路桥科技中心", "交控集团", "山西路桥集团多经营有限公司", "续建", "建筑房地产", "山西省太原市", "8,098.26"],
|
|
|
|
|
+ ["路桥科研基地", "交控集团", "山西路桥集团多经有限公司", "续建", "建筑房地产", "山西省太原市", "6,596.56"],
|
|
|
|
|
+ ["武宿高速充电站建设", "交控集团", "山西交通运输投融资集团有限责任公司", "新建", "新能源", "山西省太原市", "100.00"],
|
|
|
|
|
+ ["山西交通研创商务基地项目", "交控集团", "山西交通物流集团有限公司", "续建", "建筑房地产", "山西省太原市", "4,097.00"],
|
|
|
|
|
+ ["山西省交通科学研究院产业化基地", "交控集团", "山西省交通科技研发有限公司", "续建", "建筑房地产", "山西省太原市武洛街27号", "3,242.00"],
|
|
|
|
|
+ ["太长高速公路太原南收费站(二期工程暨龙城服务区)项目", "交控集团", "山西省交通开发投资集团有限公司龙城服务区发展分公司", "续建", "建筑房地产", "山西省太原市", "3,580.00"],
|
|
|
|
|
+ ["山西转型综改示范区中小企业产业园项目", "交控集团", "山西交投综改园区开发有限公司", "续建", "建筑房地产", "山西省太原市", "14,432.00"]
|
|
|
|
|
+ ],
|
|
|
|
|
+ align: ["center", "center", "center", "center", "center", "center", "center"],
|
|
|
|
|
+ headerBGC: "#153A62",
|
|
|
|
|
+ oddRowBGC: "#061F42",
|
|
|
|
|
+ evenRowBGC: "#0C284A",
|
|
|
|
|
+ },
|
|
|
|
|
+ config6: {
|
|
|
|
|
+ rowNum: 15,
|
|
|
|
|
+ waitTime: 1000,
|
|
|
|
|
+ headerHeight: '100',
|
|
|
|
|
+ header: ["项目名称", "所属组织", '实施主体', '产业类别I级', '产业类别II级', '2022年投资完成额(万元)'],
|
|
|
|
|
+ data: [
|
|
|
|
|
+ ["6万吨/年PBAT项目", "华阳新材", "华阳生物降解公司", "战略性新兴产业", "新材料", "20,340.00"],
|
|
|
|
|
+ ["2万吨/年生物降解改性材料及塑料制品项目", "华阳新材", "华阳生物降解公司", "战略性新兴产业", "新材料", "5,270.00"],
|
|
|
|
|
+ ["2万吨/年全系列生物降解新材料项目", "华阳新材", "华阳新材", "战略性新兴产业", "新材料", "5,560.00"],
|
|
|
|
|
+ ["开元煤层气发电项目", "华阳新材", "阳煤扬德公司", "战略性新兴产业", "煤层气", "880.00"],
|
|
|
|
|
+ ["平舒翟下庄煤层气发电项目", "华阳新材", "阳煤扬德公司", "战略性新兴产业", "煤层气", "570.00"],
|
|
|
|
|
+ ["5GW高效光伏组件制造项目一期2GW", "华阳新材", "华储光电公司", "战略性新兴产业", "新能源", "10,000.00"],
|
|
|
|
|
+ ["钠离子电池正极材料千吨级生产项目", "华阳新材", "华钠铜能公司", "战略性新兴产业", "新能源", "6,060.00"],
|
|
|
|
|
+ ["钠离子电池负极材料千吨级生产项目", "华阳新材", "华钠碳能公司", "战略性新兴产业", "新能源", "4,080.00"],
|
|
|
|
|
+ ["1GWh钠离子Pack电池生产线建设项目", "华阳新材", "华钠芯能公司", "战略性新兴产业", "新能源", "2790.00"],
|
|
|
|
|
+ ["天成光储网充项目", "华阳新材", "新阳公司", "战略性新兴产业", "新能源", "1680.00"],
|
|
|
|
|
+ ["宏厦三建绿色建材工业园区项目", "华阳新材", "宏厦三建", "战略性新兴产业", "新材料", "2,550.00"],
|
|
|
|
|
+ ["亚美公司超低排放改造及节能技改项目", "华阳新材", "亚美公司", "战略性新兴产业", "其他", "20,101.00"],
|
|
|
|
|
+ ["超净滤材项目", "华阳新材", "华阳科创城", "战略性新兴产业", "新材料", "5,510.00"],
|
|
|
|
|
+ ["华阳集团网络安全工作顶层设计及整体整改项目", "华阳新材", "华阳集团", "战略性新兴产业", "新一代信息技术", "814.00"],
|
|
|
|
|
+ ["山西科技创新城阳煤设计研发中心项目", "华阳新材", "碳基合成新材料公司", "战略性新兴产业", "其他", "12,930.00"],
|
|
|
|
|
+ ["阳煤西110kv变电站及线路建设工程", "华阳新材", "华阳股份", "战略性新兴产业", "其他", "7,060.00"],
|
|
|
|
|
+ ["郊区35kV输变电工程", "华阳新材", "华储光电公司", "战略性新兴产业", "其他", "1,250.00"],
|
|
|
|
|
+ ["环境保护及治理", "华阳新材", "华阳股份", "战略性新兴产业", "节能环保", "5,890.00"],
|
|
|
|
|
+ ["增资山西新阳清洁能源有限公司", "华阳新材", "华阳股份", "战略性新兴产业", "新能源产业", "101,700.00"],
|
|
|
|
|
+ ["增资阳煤集团纳谷(山西)气凝胶科创城管理有限责任公司", "华阳新材", "华阳集团", "战略性新兴产业", "新材料产业", "34,582.00"],
|
|
|
|
|
+ ["太化集团普田农业有限公司股权收购及增资", "华阳新材", "华阳新材", "战略性新兴产业", "新材料产业", "7,400.00"],
|
|
|
|
|
+ ["山西阳煤道得新材股权投资合伙企业(有限合伙)", "华阳新材", "华阳资本", "战略性新兴产业", "新材料产业", "5,000.00"],
|
|
|
|
|
+ ["阳泉市梧桐树嘉裕阳煤智能制造股权投资合伙企业(有限合伙)", "华阳新材", "华阳资本华阳股份", "战略性新兴产业", "新材料产业", "6,576.29"],
|
|
|
|
|
+ ["阳煤纳谷(山西)气凝胶经销有限责任公司", "华阳新材", "气凝胶科创城", "战略性新兴产业", "新材料产业", "4,335.00"],
|
|
|
|
|
+ ["阳煤纳谷(山西)节能服务有限责任公司", "华阳新材", "气凝胶科创城", "战略性新兴产业", "新材料产业", "3,674.00"],
|
|
|
|
|
+ ["华阳诺爱特(山西)新材料科技有限公司", "华阳新材", "气凝胶科创城", "战略性新兴产业", "新材料产业", "500.00"],
|
|
|
|
|
+ ["华阳纳谷(北京)新材料科技有限公司", "华阳新材", "气凝胶科创城", "战略性新兴产业", "新材料产业", "250.00"],
|
|
|
|
|
+ ["山西华储光电有限责任公司", "华阳新材", "山西新阳清洁能源有限公司", "战略性新兴产业", "新材料产业", "45,000.00"],
|
|
|
|
|
+ ["山西华钠铜能科技有限责任公司", "华阳新材", "山西新阳清洁能源有限公司", "战略性新兴产业", "新能源产业", "900.00"],
|
|
|
|
|
+ ["山西华钠碳能科技有限责任公司", "华阳新材", "山西新阳清洁能源有限公司", "战略性新兴产业", "新能源产业", "450.00"]
|
|
|
|
|
+
|
|
|
|
|
+ ],
|
|
|
|
|
+ align: ["center", "center", "center", "center", "center", "center", "center"],
|
|
|
|
|
+ headerBGC: "#153A62",
|
|
|
|
|
+ oddRowBGC: "#061F42",
|
|
|
|
|
+ evenRowBGC: "#0C284A",
|
|
|
|
|
+ },
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created () {
|
|
created () {
|
|
@@ -47,7 +113,7 @@ let app = new Vue({
|
|
|
this.time = formatDate()
|
|
this.time = formatDate()
|
|
|
}, 1000)
|
|
}, 1000)
|
|
|
this.timer2 = setInterval(() => {
|
|
this.timer2 = setInterval(() => {
|
|
|
- this.changeYellow()
|
|
|
|
|
|
|
+ this.yellowType && this.changeYellow()
|
|
|
}, 2000)
|
|
}, 2000)
|
|
|
},
|
|
},
|
|
|
beforeDestroy () {
|
|
beforeDestroy () {
|
|
@@ -89,10 +155,74 @@ let app = new Vue({
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- yellowMouse(index){
|
|
|
|
|
- if(index%2 == 0){
|
|
|
|
|
|
|
+ getDate () {
|
|
|
|
|
+ let dataList = []
|
|
|
|
|
+ // 中间
|
|
|
|
|
+ // 投资关键指标
|
|
|
|
|
+ center1[0] = dataList.keyIndicators.totalSum
|
|
|
|
|
+ center1[1] = dataList.keyIndicators.total
|
|
|
|
|
+ center1[2] = dataList.keyIndicators.property
|
|
|
|
|
+ center1[3] = dataList.keyIndicators.invest
|
|
|
|
|
+ // 投资产业分布
|
|
|
|
|
+ // center2[0].value = dataList.distribution
|
|
|
|
|
+ // 投资执行情况
|
|
|
|
|
+ // center3
|
|
|
|
|
+ // 中上
|
|
|
|
|
+ center4[0] = dataList.transformations.estateAmount
|
|
|
|
|
+ center4[1] = dataList.transformations.estateNum
|
|
|
|
|
+ center4[2] = dataList.transformations.figureAmount
|
|
|
|
|
+ center4[3] = dataList.transformations.figureNum
|
|
|
|
|
+ // 地图
|
|
|
|
|
+ // center5
|
|
|
|
|
+ // 五个一体化
|
|
|
|
|
+ center6[0] = dataList.five.amount1
|
|
|
|
|
+ center6[1] = dataList.five.amount2
|
|
|
|
|
+ center6[2] = dataList.five.amount3
|
|
|
|
|
+ center6[3] = dataList.five.amount4
|
|
|
|
|
+ center6[4] = dataList.five.amount5
|
|
|
|
|
+ // 投资阶段分析
|
|
|
|
|
+ // center7
|
|
|
|
|
+ // 重点项目监控
|
|
|
|
|
+ // center8
|
|
|
|
|
+
|
|
|
|
|
+ // 左边
|
|
|
|
|
+ // 投资额度分析
|
|
|
|
|
+ left1[0] = dataList.investmentQuota.netProfit
|
|
|
|
|
+ left1[1] = dataList.investmentQuota.pressureDrop
|
|
|
|
|
+ left1[2] = dataList.investmentQuota.amortization
|
|
|
|
|
+ // left2
|
|
|
|
|
+ // 企业额度分析
|
|
|
|
|
+ // left3
|
|
|
|
|
+ // 重点两线指标
|
|
|
|
|
+ // left11
|
|
|
|
|
+ // 投资计划分析
|
|
|
|
|
+ totleLimit = investmentPlan.total
|
|
|
|
|
+ totleLimit2 = investmentPlan.fixedAmount
|
|
|
|
|
+ totleLimit3 = investmentPlan.fixedNum
|
|
|
|
|
+ totleLimit4 = investmentPlan.stockAmount
|
|
|
|
|
+ totleLimit5 = investmentPlan.stockNum
|
|
|
|
|
+ // left5
|
|
|
|
|
+ // left6
|
|
|
|
|
+ // 产业布局分析
|
|
|
|
|
+ // left7
|
|
|
|
|
+ // left8
|
|
|
|
|
+ // left9
|
|
|
|
|
+ // left10
|
|
|
|
|
+ // 项目阶段分析
|
|
|
|
|
+ // echartL10
|
|
|
|
|
+ // echartL11
|
|
|
|
|
+
|
|
|
|
|
+ // 右边
|
|
|
|
|
+ // 上面黄色轮播
|
|
|
|
|
+ // right1
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ yellowMouse (index) {
|
|
|
|
|
+ if (index % 2 == 0) {
|
|
|
this.yellowCount = index
|
|
this.yellowCount = index
|
|
|
- this.yellowPosition = (index/2-1) * 315 + 40
|
|
|
|
|
|
|
+ this.yellowPosition = (index / 2 - 1) * 315 + 40
|
|
|
|
|
+ this.yellowType = false
|
|
|
this.changeYellow()
|
|
this.changeYellow()
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -148,7 +278,7 @@ let app = new Vue({
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
xAxis: {
|
|
xAxis: {
|
|
|
- data:commonCompany,
|
|
|
|
|
|
|
+ data: commonCompany,
|
|
|
axisTick: {
|
|
axisTick: {
|
|
|
show: false,
|
|
show: false,
|
|
|
},
|
|
},
|
|
@@ -276,7 +406,8 @@ let app = new Vue({
|
|
|
})
|
|
})
|
|
|
let that = this
|
|
let that = this
|
|
|
myChart.on('click', function (param) {
|
|
myChart.on('click', function (param) {
|
|
|
- window.location.href = './investHomeChild.html?type=2'
|
|
|
|
|
|
|
+ that.projectListTipShow = true
|
|
|
|
|
+
|
|
|
})
|
|
})
|
|
|
myChart.setOption(option);
|
|
myChart.setOption(option);
|
|
|
},
|
|
},
|
|
@@ -325,7 +456,7 @@ let app = new Vue({
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
yAxis: {
|
|
yAxis: {
|
|
|
- name: '亿元',
|
|
|
|
|
|
|
+ name: '个',
|
|
|
nameTextStyle: {//y轴上方单位的颜色
|
|
nameTextStyle: {//y轴上方单位的颜色
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
fontSize: '15'
|
|
fontSize: '15'
|
|
@@ -430,7 +561,7 @@ let app = new Vue({
|
|
|
})
|
|
})
|
|
|
let that = this
|
|
let that = this
|
|
|
myChart.on('click', function (param) {
|
|
myChart.on('click', function (param) {
|
|
|
- window.location.href = './investHomeChild.html?type=2'
|
|
|
|
|
|
|
+ that.projectListTipShow = true
|
|
|
})
|
|
})
|
|
|
myChart.setOption(option);
|
|
myChart.setOption(option);
|
|
|
},
|
|
},
|
|
@@ -479,7 +610,7 @@ let app = new Vue({
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
yAxis: {
|
|
yAxis: {
|
|
|
- name: '个',
|
|
|
|
|
|
|
+ name: '亿元',
|
|
|
nameTextStyle: {//y轴上方单位的颜色
|
|
nameTextStyle: {//y轴上方单位的颜色
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
fontSize: '15'
|
|
fontSize: '15'
|
|
@@ -583,7 +714,7 @@ let app = new Vue({
|
|
|
})
|
|
})
|
|
|
let that = this
|
|
let that = this
|
|
|
myChart.on('click', function (param) {
|
|
myChart.on('click', function (param) {
|
|
|
- window.location.href = './investHomeChild.html?type=2'
|
|
|
|
|
|
|
+ that.projectListTipShow = true
|
|
|
})
|
|
})
|
|
|
myChart.setOption(option);
|
|
myChart.setOption(option);
|
|
|
},
|
|
},
|
|
@@ -592,6 +723,7 @@ let app = new Vue({
|
|
|
this.mapTipShow = false
|
|
this.mapTipShow = false
|
|
|
this.echartSingleTipShow = false
|
|
this.echartSingleTipShow = false
|
|
|
this.echartDoubleTipShow = false
|
|
this.echartDoubleTipShow = false
|
|
|
|
|
+ this.projectListTipShow = false
|
|
|
},
|
|
},
|
|
|
//点击弹窗左半部分
|
|
//点击弹窗左半部分
|
|
|
popLeftClick () {
|
|
popLeftClick () {
|
|
@@ -914,7 +1046,8 @@ let app = new Vue({
|
|
|
point: {
|
|
point: {
|
|
|
events: {
|
|
events: {
|
|
|
click: function (e) {
|
|
click: function (e) {
|
|
|
- console.log(e)
|
|
|
|
|
|
|
+ that.showTip3 = true
|
|
|
|
|
+ that.showChartLTipDouble(e.point.name)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -940,13 +1073,15 @@ let app = new Vue({
|
|
|
align: 'right',//横向位置
|
|
align: 'right',//横向位置
|
|
|
verticalAlign: 'middle', // 纵向位置
|
|
verticalAlign: 'middle', // 纵向位置
|
|
|
layout: "vertical",//横排还是竖排
|
|
layout: "vertical",//横排还是竖排
|
|
|
- x: -30,
|
|
|
|
|
- y: 50,
|
|
|
|
|
|
|
+ x: -110,
|
|
|
|
|
+ y: 90,
|
|
|
symbolWidth: 50,
|
|
symbolWidth: 50,
|
|
|
itemStyle: {
|
|
itemStyle: {
|
|
|
fontSize: '20px',
|
|
fontSize: '20px',
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
- x: 20
|
|
|
|
|
|
|
+ x: 20,
|
|
|
|
|
+ fontWeight:0,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
title: {
|
|
title: {
|
|
@@ -954,10 +1089,11 @@ let app = new Vue({
|
|
|
style: {
|
|
style: {
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
fontSize: 22,
|
|
fontSize: 22,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
},
|
|
},
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
verticalAlign: "bottom",
|
|
verticalAlign: "bottom",
|
|
|
- x: -80
|
|
|
|
|
|
|
+ x: -120
|
|
|
},
|
|
},
|
|
|
tooltip: {
|
|
tooltip: {
|
|
|
crosshairs: false,
|
|
crosshairs: false,
|
|
@@ -995,7 +1131,7 @@ let app = new Vue({
|
|
|
series: [{
|
|
series: [{
|
|
|
type: 'pie',
|
|
type: 'pie',
|
|
|
name: '占比',
|
|
name: '占比',
|
|
|
- // center: ['70%', '50%'],
|
|
|
|
|
|
|
+ center: ['50%', '50%'],
|
|
|
point: {
|
|
point: {
|
|
|
events: {
|
|
events: {
|
|
|
click: function (e) { //点击事件
|
|
click: function (e) { //点击事件
|
|
@@ -1068,7 +1204,6 @@ let app = new Vue({
|
|
|
point: {
|
|
point: {
|
|
|
events: {
|
|
events: {
|
|
|
click: function (e) {
|
|
click: function (e) {
|
|
|
- that.showTip3 = true
|
|
|
|
|
that.showChartLTipDouble(e.point.name)
|
|
that.showChartLTipDouble(e.point.name)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -1154,7 +1289,7 @@ let app = new Vue({
|
|
|
point: {
|
|
point: {
|
|
|
events: {
|
|
events: {
|
|
|
click: function (e) {
|
|
click: function (e) {
|
|
|
- console.log(e)
|
|
|
|
|
|
|
+ that.showChartLTipDouble(e.point.name)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -1180,14 +1315,15 @@ let app = new Vue({
|
|
|
align: 'right',//横向位置
|
|
align: 'right',//横向位置
|
|
|
verticalAlign: 'middle', // 纵向位置
|
|
verticalAlign: 'middle', // 纵向位置
|
|
|
layout: "vertical",//横排还是竖排
|
|
layout: "vertical",//横排还是竖排
|
|
|
- x: -30,
|
|
|
|
|
- y: 50,
|
|
|
|
|
|
|
+ x: -70,
|
|
|
|
|
+ y: 90,
|
|
|
symbolWidth: 50,
|
|
symbolWidth: 50,
|
|
|
- itemDistance: 50,
|
|
|
|
|
itemStyle: {
|
|
itemStyle: {
|
|
|
fontSize: '20px',
|
|
fontSize: '20px',
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
- x: 20
|
|
|
|
|
|
|
+ x: 20,
|
|
|
|
|
+ fontWeight:0,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
title: {
|
|
title: {
|
|
@@ -1195,6 +1331,7 @@ let app = new Vue({
|
|
|
style: {
|
|
style: {
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
fontSize: 22,
|
|
fontSize: 22,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
},
|
|
},
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
verticalAlign: "bottom",
|
|
verticalAlign: "bottom",
|
|
@@ -1547,7 +1684,9 @@ let app = new Vue({
|
|
|
itemStyle: {
|
|
itemStyle: {
|
|
|
fontSize: '20px',
|
|
fontSize: '20px',
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
- x: 20
|
|
|
|
|
|
|
+ x: 20,
|
|
|
|
|
+ fontWeight:0,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
title: {
|
|
title: {
|
|
@@ -1555,6 +1694,7 @@ let app = new Vue({
|
|
|
style: {
|
|
style: {
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
fontSize: 22,
|
|
fontSize: 22,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
},
|
|
},
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
verticalAlign: "bottom",
|
|
verticalAlign: "bottom",
|
|
@@ -1754,7 +1894,9 @@ let app = new Vue({
|
|
|
itemStyle: {
|
|
itemStyle: {
|
|
|
fontSize: '20px',
|
|
fontSize: '20px',
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
- x: 20
|
|
|
|
|
|
|
+ x: 20,
|
|
|
|
|
+ fontWeight:0,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
title: {
|
|
title: {
|
|
@@ -1762,6 +1904,7 @@ let app = new Vue({
|
|
|
style: {
|
|
style: {
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
fontSize: 22,
|
|
fontSize: 22,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
},
|
|
},
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
verticalAlign: "bottom",
|
|
verticalAlign: "bottom",
|
|
@@ -1951,6 +2094,7 @@ let app = new Vue({
|
|
|
style: {
|
|
style: {
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
fontSize: 22,
|
|
fontSize: 22,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
},
|
|
},
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
verticalAlign: "bottom",
|
|
verticalAlign: "bottom",
|
|
@@ -1970,7 +2114,9 @@ let app = new Vue({
|
|
|
itemStyle: {
|
|
itemStyle: {
|
|
|
fontSize: '20px',
|
|
fontSize: '20px',
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
- x: 20
|
|
|
|
|
|
|
+ x: 20,
|
|
|
|
|
+ fontWeight:0,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
tooltip: {
|
|
tooltip: {
|
|
@@ -2158,6 +2304,7 @@ let app = new Vue({
|
|
|
style: {
|
|
style: {
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
fontSize: 22,
|
|
fontSize: 22,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
},
|
|
},
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
verticalAlign: "bottom",
|
|
verticalAlign: "bottom",
|
|
@@ -2177,7 +2324,9 @@ let app = new Vue({
|
|
|
itemStyle: {
|
|
itemStyle: {
|
|
|
fontSize: '20px',
|
|
fontSize: '20px',
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
- x: 20
|
|
|
|
|
|
|
+ x: 20,
|
|
|
|
|
+ fontWeight:0,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
tooltip: {
|
|
tooltip: {
|
|
@@ -2860,11 +3009,13 @@ let app = new Vue({
|
|
|
legend: {
|
|
legend: {
|
|
|
layout: 'vertical',
|
|
layout: 'vertical',
|
|
|
align: 'right',
|
|
align: 'right',
|
|
|
|
|
+ y:-10,
|
|
|
verticalAlign: 'bottom',
|
|
verticalAlign: 'bottom',
|
|
|
itemStyle: {
|
|
itemStyle: {
|
|
|
fontSize: '20px',
|
|
fontSize: '20px',
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
- x: 20
|
|
|
|
|
|
|
+ fontWeight:0,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
plotOptions: {
|
|
plotOptions: {
|
|
@@ -2873,9 +3024,9 @@ let app = new Vue({
|
|
|
showInLegend: true, // 图例
|
|
showInLegend: true, // 图例
|
|
|
cursor: 'pointer',
|
|
cursor: 'pointer',
|
|
|
size: 500,
|
|
size: 500,
|
|
|
- innerSize: 300, //环形图中间空白,0为饼图
|
|
|
|
|
- depth: 28, //立体高度
|
|
|
|
|
- slicedOffset: 23, //动画距离
|
|
|
|
|
|
|
+ innerSize: 330, //环形图中间空白,0为饼图
|
|
|
|
|
+ depth: 50, //立体高度
|
|
|
|
|
+ slicedOffset: 40, //动画距离
|
|
|
dataLabels: {
|
|
dataLabels: {
|
|
|
enabled: false, // 是否展示指示线
|
|
enabled: false, // 是否展示指示线
|
|
|
format: '{point.name}: {point.percentage}'
|
|
format: '{point.name}: {point.percentage}'
|
|
@@ -2885,7 +3036,7 @@ let app = new Vue({
|
|
|
series: [{
|
|
series: [{
|
|
|
type: 'pie',
|
|
type: 'pie',
|
|
|
name: '占比',
|
|
name: '占比',
|
|
|
- center: ['70%', '50%'],
|
|
|
|
|
|
|
+ center: ['75%', '45%'],
|
|
|
point: {
|
|
point: {
|
|
|
events: {
|
|
events: {
|
|
|
click: function (e) { //点击事件
|
|
click: function (e) { //点击事件
|
|
@@ -3130,7 +3281,7 @@ let app = new Vue({
|
|
|
],
|
|
],
|
|
|
}
|
|
}
|
|
|
myChart.on('click', function (param) {
|
|
myChart.on('click', function (param) {
|
|
|
- window.location.href = './investHomeChild.html?type=2'
|
|
|
|
|
|
|
+ that.projectListTipShow = true
|
|
|
})
|
|
})
|
|
|
myChart.setOption(option)
|
|
myChart.setOption(option)
|
|
|
tools.loopShowTooltip(myChart, option, {
|
|
tools.loopShowTooltip(myChart, option, {
|
|
@@ -3178,8 +3329,20 @@ let app = new Vue({
|
|
|
return res
|
|
return res
|
|
|
},
|
|
},
|
|
|
initProvinceChart () {
|
|
initProvinceChart () {
|
|
|
- var data = []
|
|
|
|
|
- this.geoCoordMap = []
|
|
|
|
|
|
|
+ var data = [
|
|
|
|
|
+ { name: '大同市', value: 60.35, value2: 28 },
|
|
|
|
|
+ { name: '朔州市', value: 33.61, value2: 13 },
|
|
|
|
|
+ { name: '忻州市', value: 73.35, value2: 25 },
|
|
|
|
|
+ { name: '吕梁市', value: 109.04, value2: 45 },
|
|
|
|
|
+ { name: '太原市', value: 251.67, value2: 113 },
|
|
|
|
|
+ { name: '阳泉市', value: 25.12, value2: 28 },
|
|
|
|
|
+ { name: '晋中市', value: 148.57, value2: 52 },
|
|
|
|
|
+ { name: '临汾市', value: 130.55, value2: 30 },
|
|
|
|
|
+ { name: '长治市', value: 103.00, value2: 23 },
|
|
|
|
|
+ { name: '运城市', value: 41.06, value2: 23 },
|
|
|
|
|
+ { name: '晋城市', value: 45.43, value2: 31 }
|
|
|
|
|
+ ]
|
|
|
|
|
+ this.geoCoordMap = []
|
|
|
var moveLine = {
|
|
var moveLine = {
|
|
|
normal: [
|
|
normal: [
|
|
|
{
|
|
{
|
|
@@ -3273,7 +3436,8 @@ let app = new Vue({
|
|
|
var name = v.properties.name
|
|
var name = v.properties.name
|
|
|
// 地区经纬度
|
|
// 地区经纬度
|
|
|
this.geoCoordMap[name] = v.properties.centroid
|
|
this.geoCoordMap[name] = v.properties.centroid
|
|
|
- data.push({ name: v.properties.name, value: v.properties.centroid[0], value2: v.properties.centroid[1] })
|
|
|
|
|
|
|
+ // 按照地图乱序
|
|
|
|
|
+ // data.push({ name: v.properties.name, value: v.properties.centroid[0], value2: v.properties.centroid[1] })
|
|
|
})
|
|
})
|
|
|
let option = {
|
|
let option = {
|
|
|
tooltip: {
|
|
tooltip: {
|
|
@@ -3507,7 +3671,7 @@ let app = new Vue({
|
|
|
},
|
|
},
|
|
|
initChinaChart () {
|
|
initChinaChart () {
|
|
|
var data = []
|
|
var data = []
|
|
|
- this.geoCoordMap = []
|
|
|
|
|
|
|
+ this.geoCoordMap = []
|
|
|
// var moveLine = {
|
|
// var moveLine = {
|
|
|
// normal: [
|
|
// normal: [
|
|
|
// {
|
|
// {
|
|
@@ -3957,7 +4121,7 @@ let app = new Vue({
|
|
|
],
|
|
],
|
|
|
}
|
|
}
|
|
|
myChart.on('click', function (param) {
|
|
myChart.on('click', function (param) {
|
|
|
- window.location.href = './investHomeChild.html?type=2'
|
|
|
|
|
|
|
+ that.projectListTipShow = true
|
|
|
})
|
|
})
|
|
|
myChart.setOption(option)
|
|
myChart.setOption(option)
|
|
|
tools.loopShowTooltip(myChart, option, {
|
|
tools.loopShowTooltip(myChart, option, {
|
|
@@ -4085,11 +4249,13 @@ let app = new Vue({
|
|
|
legend: {
|
|
legend: {
|
|
|
layout: 'vertical',
|
|
layout: 'vertical',
|
|
|
align: 'right',
|
|
align: 'right',
|
|
|
|
|
+ y:-10,
|
|
|
verticalAlign: 'bottom',
|
|
verticalAlign: 'bottom',
|
|
|
itemStyle: {
|
|
itemStyle: {
|
|
|
fontSize: '20px',
|
|
fontSize: '20px',
|
|
|
color: '#fff',
|
|
color: '#fff',
|
|
|
- x: 20
|
|
|
|
|
|
|
+ fontWeight:0,
|
|
|
|
|
+ fontFamily:'Microsoft YaHei'
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
plotOptions: {
|
|
plotOptions: {
|
|
@@ -4098,9 +4264,9 @@ let app = new Vue({
|
|
|
showInLegend: true, // 图例
|
|
showInLegend: true, // 图例
|
|
|
cursor: 'pointer',
|
|
cursor: 'pointer',
|
|
|
size: 500,
|
|
size: 500,
|
|
|
- innerSize: 300, //环形图中间空白,0为饼图
|
|
|
|
|
- depth: 28, //立体高度
|
|
|
|
|
- slicedOffset: 23, //动画距离
|
|
|
|
|
|
|
+ innerSize: 330, //环形图中间空白,0为饼图
|
|
|
|
|
+ depth: 50, //立体高度
|
|
|
|
|
+ slicedOffset: 40, //动画距离
|
|
|
dataLabels: {
|
|
dataLabels: {
|
|
|
enabled: false, // 是否展示指示线
|
|
enabled: false, // 是否展示指示线
|
|
|
format: '{point.name}: {point.percentage}'
|
|
format: '{point.name}: {point.percentage}'
|
|
@@ -4110,7 +4276,8 @@ let app = new Vue({
|
|
|
series: [{
|
|
series: [{
|
|
|
type: 'pie',
|
|
type: 'pie',
|
|
|
name: '占比',
|
|
name: '占比',
|
|
|
- center: ['60%', '50%'],
|
|
|
|
|
|
|
+ center: ['60%', '45%'],
|
|
|
|
|
+ y:-10,
|
|
|
point: {
|
|
point: {
|
|
|
events: {
|
|
events: {
|
|
|
click: function (e) { //点击事件
|
|
click: function (e) { //点击事件
|
|
@@ -4208,7 +4375,7 @@ let app = new Vue({
|
|
|
center8.map(item => {
|
|
center8.map(item => {
|
|
|
dataList.push([item.office, item.name, item.value + '亿'])
|
|
dataList.push([item.office, item.name, item.value + '亿'])
|
|
|
})
|
|
})
|
|
|
- this.storageRecordConfig2.data = dataList
|
|
|
|
|
|
|
+ this.storageRecordConfig2.data = dataList
|
|
|
this.storageRecordConfig2 = { ...this.storageRecordConfig2 }
|
|
this.storageRecordConfig2 = { ...this.storageRecordConfig2 }
|
|
|
},
|
|
},
|
|
|
// 大屏三
|
|
// 大屏三
|
|
@@ -4460,7 +4627,7 @@ let app = new Vue({
|
|
|
],
|
|
],
|
|
|
}
|
|
}
|
|
|
myChart.on('click', function (param) {
|
|
myChart.on('click', function (param) {
|
|
|
- window.location.href = './investHomeChild.html?type=2'
|
|
|
|
|
|
|
+ that.projectListTipShow = true
|
|
|
})
|
|
})
|
|
|
myChart.setOption(option)
|
|
myChart.setOption(option)
|
|
|
tools.loopShowTooltip(myChart, option, {
|
|
tools.loopShowTooltip(myChart, option, {
|
|
@@ -4671,7 +4838,8 @@ let app = new Vue({
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|
|
|
myChart.on('click', function (param) {
|
|
myChart.on('click', function (param) {
|
|
|
- that.showChartLTipDouble(param.name)
|
|
|
|
|
|
|
+ // that.showChartLTipDouble(param.name)
|
|
|
|
|
+ that.projectListTipShow = true
|
|
|
})
|
|
})
|
|
|
myChart.setOption(option)
|
|
myChart.setOption(option)
|
|
|
tools.loopShowTooltip(myChart, option, {
|
|
tools.loopShowTooltip(myChart, option, {
|
|
@@ -4683,8 +4851,8 @@ let app = new Vue({
|
|
|
let that = this
|
|
let that = this
|
|
|
let myChart = echarts.init(this.$refs['echartR3'])
|
|
let myChart = echarts.init(this.$refs['echartR3'])
|
|
|
myChart.on('showTip', (params) => {
|
|
myChart.on('showTip', (params) => {
|
|
|
- this.echartR4Chart?this.echartR4Chart.dispose():''
|
|
|
|
|
- this.echartR5Chart?this.echartR5Chart.dispose():''
|
|
|
|
|
|
|
+ this.echartR4Chart ? this.echartR4Chart.dispose() : ''
|
|
|
|
|
+ this.echartR5Chart ? this.echartR5Chart.dispose() : ''
|
|
|
that.initChartR4()
|
|
that.initChartR4()
|
|
|
that.initChartR5()
|
|
that.initChartR5()
|
|
|
// 如果是7或者15并且满足防抖则切换
|
|
// 如果是7或者15并且满足防抖则切换
|