Commit 829a607a authored by 军师中郎将's avatar 军师中郎将

统计分析-概况-地图更换

parent 0467fee7
......@@ -22,10 +22,10 @@
</div>
<div class="num-wrapper" v-if="false">
<div class="left">
<span class="text">隐患总数</span><span class="num">12</span>
<span class="text">隐患总数</span><span class="num">0</span>
</div>
<div class="right">
<span class="text">已整改</span><span class="num">10</span>
<span class="text">已整改</span><span class="num">0</span>
</div>
</div>
......
......@@ -43,7 +43,7 @@ export default {
type: Object,
default: () => ({
text: "驻村安全员",
numArr: "224",
numArr: "0",
unit: "名",
}),
},
......@@ -51,7 +51,7 @@ export default {
type: Object,
default: () => ({
text: "燃气协管员",
numArr: "214",
numArr: "0",
unit: "名",
}),
},
......
......@@ -45,7 +45,7 @@ export default {
},
right:{
text: "气代煤",
numArr: "116799",
numArr: "0",
unit: "个",
}
},
......
......@@ -15,24 +15,22 @@
<script>
import Chars from "@/components/allCharsCom/Chars";
import Infowindow from "./Infowindow";
import { pingshanArr } from "@/utils/echarsMap/pingshan";
import { anpingxianArr} from "@/utils/echarsMap/anpingxian";
import axios from "axios";
const data = [
// 每个县点击时显示数据格式
// {
// name: "丰登坞镇",
// index: 21,
// a:21,
// b: 21,
// c: 7149,
// d: 0,
// e: 0,
// f: 0,
// g: "0/0",
// h: "0/0",
// i: "0/0",
// }
{
name: "安平县",
index: 0,
a: 0,
b: 0,
c: 0,
d: 0,
e: 0,
f: 0,
g: "0/0",
h: "0/0",
i: "0/0",
}
];
export default {
......@@ -61,7 +59,6 @@ export default {
// "https://cdn.jsdelivr.net/gh/apache/echarts-website@asf-site/examples/data/asset/geo/HK.json"
// );
const geoJson = { features: anpingxianArr, type: "FeatureCollection" };
console.log(geoJson);
this.$echarts.registerMap("HK", geoJson);
this.options = {
roam: true,
......@@ -128,27 +125,6 @@ export default {
},
},
data,
// 自定义名称映射
// nameMap: {
// "Central and Western": "中西区",
// Eastern: "东区",
// Islands: "离岛",
// "Kowloon City": "九龙城",
// "Kwai Tsing": "葵青",
// "Kwun Tong": "观塘",
// North: "北区",
// "Sai Kung": "西贡",
// "Sha Tin": "沙田",
// "Sham Shui Po": "深水埗",
// Southern: "南区",
// "Tai Po": "大埔",
// "Tsuen Wan": "荃湾",
// "Tuen Mun": "屯门",
// "Wan Chai": "湾仔",
// "Wong Tai Sin": "黄大仙",
// "Yau Tsim Mong": "油尖旺",
// "Yuen Long": "元朗",
// },
},
],
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment