Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-hengshuipingan-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王浩
zh-hengshuipingan-project
Commits
829a607a
Commit
829a607a
authored
Apr 15, 2024
by
军师中郎将
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计分析-概况-地图更换
parent
0467fee7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
42 deletions
+18
-42
CharBoxB.vue
...src/views/statistic/overview/conponents/Left/CharBoxB.vue
+2
-2
Scound.vue
...b/src/views/statistic/overview/conponents/Left/Scound.vue
+2
-2
index.vue
...eb/src/views/statistic/overview/conponents/Left/index.vue
+1
-1
CharBoxE.vue
...c/views/statistic/overview/conponents/Middle/CharBoxE.vue
+13
-37
No files found.
zh-hengshuianping-web/src/views/statistic/overview/conponents/Left/CharBoxB.vue
View file @
829a607a
...
...
@@ -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"
>
1
0
</span>
件
<span
class=
"text"
>
已整改
</span><span
class=
"num"
>
0
</span>
件
</div>
</div>
...
...
zh-hengshuianping-web/src/views/statistic/overview/conponents/Left/Scound.vue
View file @
829a607a
...
...
@@ -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
:
"名"
,
}),
},
...
...
zh-hengshuianping-web/src/views/statistic/overview/conponents/Left/index.vue
View file @
829a607a
...
...
@@ -45,7 +45,7 @@ export default {
},
right
:{
text
:
"气代煤"
,
numArr
:
"
116799
"
,
numArr
:
"
0
"
,
unit
:
"个"
,
}
},
...
...
zh-hengshuianping-web/src/views/statistic/overview/conponents/Middle/CharBoxE.vue
View file @
829a607a
...
...
@@ -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": "元朗",
// },
},
],
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment