|
@@ -107,17 +107,17 @@ let app = new Vue({
|
|
|
},
|
|
|
initChinaChart() {
|
|
|
var data = [
|
|
|
- { name: '大同市', value: 60.35 },
|
|
|
- { name: '朔州市', value: 33.61 },
|
|
|
- { name: '忻州市', value: 73.35 },
|
|
|
- { name: '吕梁市', value: 109.04 },
|
|
|
- { name: '太原市', value: 251.67 },
|
|
|
- { name: '阳泉市', value: 25.12 },
|
|
|
- { name: '晋中市', value: 148.57 },
|
|
|
- { name: '临汾市', value: 130.55 },
|
|
|
- { name: '长治市', value: 103.00 },
|
|
|
- { name: '运城市', value: 41.06 },
|
|
|
- { name: '晋城市', value: 45.43 }
|
|
|
+ { 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 }
|
|
|
]
|
|
|
|
|
|
var moveLine = {
|
|
@@ -379,7 +379,7 @@ let app = new Vue({
|
|
|
if (params.componentSubType == 'scatter') {
|
|
|
let tipHtml = `
|
|
|
<div class="tooltip-cont">
|
|
|
- <p>新开工:<span>工程建设项目</span></p>
|
|
|
+ <p>项目数量:<span>${data[params.dataIndex].value2}个</span></p>
|
|
|
<p>总投资额:<span>${params.data.value[2]}亿</span></p>
|
|
|
</div>`
|
|
|
callback(ticket, tipHtml)
|
|
@@ -388,7 +388,7 @@ let app = new Vue({
|
|
|
if (params.componentSubType == 'map') {
|
|
|
let tipHtml = `
|
|
|
<div class="tooltip-cont">
|
|
|
- <p>新开工:<span>工程建设项目</span></p>
|
|
|
+ <p>项目数量:<span>${data[params.dataIndex].value2}个</span></p>
|
|
|
<p>总投资额:<span>${params.data.value}亿</span></p>
|
|
|
</div>`
|
|
|
callback(ticket, tipHtml)
|