Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-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-baseversion-project
Commits
e7ff52ac
Commit
e7ff52ac
authored
Apr 22, 2024
by
军师中郎将
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏端-统计分析-地图切换
parent
1538b710
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
643 additions
and
366 deletions
+643
-366
jingkaiqu.png
zh-baseversion-web/src/assets/image-overview/jingkaiqu.png
+0
-0
jingkaiqu.js
zh-baseversion-web/src/utils/echarsMap/jingkaiqu.js
+635
-0
index.vue
...rsion-web/src/views/gasBottleTrack/bottleSpread/index.vue
+1
-1
CharBoxE.vue
...c/views/statistic/overview/conponents/Middle/CharBoxE.vue
+6
-364
index.vue
.../src/views/statistic/overview/conponents/Middle/index.vue
+1
-1
No files found.
zh-baseversion-web/src/assets/image-overview/jingkaiqu.png
0 → 100644
View file @
e7ff52ac
3.04 KB
zh-baseversion-web/src/utils/echarsMap/jingkaiqu.js
0 → 100644
View file @
e7ff52ac
This diff is collapsed.
Click to expand it.
zh-baseversion-web/src/views/gasBottleTrack/bottleSpread/index.vue
View file @
e7ff52ac
...
...
@@ -181,7 +181,7 @@
}
.active
{
background-image
:
url("~@/assets/image/dg.png")
;
//
background-image: url("~@/assets/image/dg.png");
background-repeat
:
no-repeat
;
background-position
:
top
right
;
}
...
...
zh-baseversion-web/src/views/statistic/overview/conponents/Middle/CharBoxE.vue
View file @
e7ff52ac
...
...
@@ -15,195 +15,14 @@
<
script
>
import
Chars
from
"@/components/allCharsCom/Chars"
;
import
Infowindow
from
"./Infowindow"
;
import
{
pingshanArr
}
from
"@/utils/echarsMap/pingshan"
;
// import { pingshanArr } from "@/utils/echarsMap/pingshan";
import
{
jingkaiquArr
}
from
"@/utils/echarsMap/jingkaiqu"
;
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
:
32
,
a
:
31
,
b
:
2
,
c
:
21595
,
d
:
0
,
e
:
0
,
f
:
0
,
g
:
"0/0"
,
h
:
"0/0"
,
i
:
"0/0"
,
},
{
name
:
"欢喜庄乡"
,
index
:
4
,
a
:
4
,
b
:
3
,
c
:
2744
,
d
:
0
,
e
:
0
,
f
:
0
,
g
:
"0/0"
,
h
:
"0/0"
,
i
:
"0/0"
,
},
{
name
:
"姜家营乡"
,
index
:
8
,
a
:
8
,
b
:
4
,
c
:
3611
,
d
:
0
,
e
:
0
,
f
:
0
,
g
:
"0/0"
,
h
:
"0/0"
,
i
:
"0/0"
,
},
{
name
:
"刘家营乡"
,
index
:
10
,
a
:
10
,
b
:
5
,
c
:
4960
,
d
:
0
,
e
:
0
,
f
:
0
,
g
:
"0/0"
,
h
:
"0/0"
,
i
:
"0/0"
,
},
{
name
:
"七树庄镇"
,
index
:
10
,
a
:
10
,
b
:
6
,
c
:
6094
,
d
:
0
,
e
:
0
,
f
:
0
,
g
:
"0/0"
,
h
:
"0/0"
,
i
:
"0/0"
,
},
{
name
:
"任各庄镇"
,
index
:
21
,
a
:
19
,
b
:
7
,
c
:
12244
,
d
:
0
,
e
:
0
,
f
:
0
,
g
:
"0/0"
,
h
:
"0/0"
,
i
:
"0/0"
,
},
{
name
:
"石各庄镇"
,
index
:
12
,
a
:
7
,
b
:
8
,
c
:
5569
,
d
:
0
,
e
:
0
,
f
:
0
,
g
:
"0/0"
,
h
:
"0/0"
,
i
:
"0/0"
,
},
{
name
:
"小张各庄镇"
,
index
:
10
,
a
:
0
,
b
:
90
,
c
:
6861
,
d
:
0
,
e
:
0
,
f
:
0
,
g
:
"0/0"
,
h
:
"0/0"
,
i
:
"0/0"
,
},
{
name
:
"新军屯镇"
,
index
:
30
,
a
:
29
,
b
:
0
,
c
:
14451
,
d
:
0
,
e
:
0
,
f
:
0
,
g
:
"0/0"
,
h
:
"0/0"
,
i
:
"0/0"
,
},
{
name
:
"银城铺镇"
,
index
:
11
,
a
:
11
,
b
:
0
,
c
:
8517
,
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"
,
},
{
name
:
"黄昏峪乡"
,
index
:
0
,
a
:
0
,
b
:
0
,
c
:
0
,
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"
,
},
{
name
:
"王官营镇"
,
name
:
"经开区"
,
index
:
0
,
a
:
0
,
a
:
0
,
b
:
0
,
c
:
0
,
d
:
0
,
...
...
@@ -212,163 +31,7 @@ const data = [
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"
,
},
{
name
:
"杨官林镇"
,
index
:
0
,
a
:
0
,
b
:
0
,
c
:
0
,
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"
,
},
{
name
:
"银城铺乡"
,
index
:
0
,
a
:
0
,
b
:
0
,
c
:
0
,
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"
,
},
{
name
:
"白官屯镇"
,
index
:
0
,
a
:
0
,
b
:
0
,
c
:
0
,
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"
,
},
{
name
:
"燕子河乡"
,
index
:
0
,
a
:
0
,
b
:
0
,
c
:
0
,
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"
,
},
{
name
:
"老庄子镇"
,
index
:
0
,
a
:
0
,
b
:
0
,
c
:
0
,
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"
,
},
{
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
{
...
...
@@ -396,7 +59,7 @@ export default {
// const res = await axios(
// "https://cdn.jsdelivr.net/gh/apache/echarts-website@asf-site/examples/data/asset/geo/HK.json"
// );
const
geoJson
=
{
features
:
pingshan
Arr
,
type
:
"FeatureCollection"
};
const
geoJson
=
{
features
:
jingkaiqu
Arr
,
type
:
"FeatureCollection"
};
console
.
log
(
geoJson
);
this
.
$echarts
.
registerMap
(
"HK"
,
geoJson
);
this
.
options
=
{
...
...
@@ -464,27 +127,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": "元朗",
// },
},
],
};
...
...
zh-baseversion-web/src/views/statistic/overview/conponents/Middle/index.vue
View file @
e7ff52ac
...
...
@@ -9,7 +9,7 @@
<
template
>
<div
class=
"middle-components all-flex-h"
>
<div
class=
"top"
>
<img
src=
"@/assets/image-overview/
fengrun
.png"
alt=
""
/>
<img
src=
"@/assets/image-overview/
jingkaiqu
.png"
alt=
""
/>
</div>
<div
class=
"bottom"
id=
"bottom-map"
>
<CharsBoxE/>
...
...
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