Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yangpu
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
郭铭瑶
yangpu
Commits
9d648bad
Commit
9d648bad
authored
Dec 23, 2020
by
陶仁倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新数据
parent
91d6905c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13073 additions
and
15 deletions
+13073
-15
package-lock.json
package-lock.json
+13047
-0
.DS_Store
src/assets/.DS_Store
+0
-0
app5.png
src/assets/images/app5.png
+0
-0
state.js
src/store/state.js
+8
-8
application.vue
src/views/components/application.vue
+17
-6
city-environment.vue
src/views/components/city-environment.vue
+1
-1
No files found.
package-lock.json
0 → 100644
View file @
9d648bad
This diff is collapsed.
Click to expand it.
src/assets/.DS_Store
0 → 100644
View file @
9d648bad
File added
src/assets/images/app5.png
0 → 100644
View file @
9d648bad
2.97 KB
src/store/state.js
View file @
9d648bad
...
@@ -74,8 +74,8 @@ export default {
...
@@ -74,8 +74,8 @@ export default {
{
id
:
310110015000
,
name
:
'延吉新村街道'
,
en
:
'yj'
,
houseId
:
310110000172
,
center
:
[
6246.9579368837085
,
5745.491634168607
],
url
:
'http://10.81.71.38/chengyun/chengyun_town/page1.html#/?code=8zDuAqseqAD5EYvYclnY5jpQw_-TzblE'
},
{
id
:
310110015000
,
name
:
'延吉新村街道'
,
en
:
'yj'
,
houseId
:
310110000172
,
center
:
[
6246.9579368837085
,
5745.491634168607
],
url
:
'http://10.81.71.38/chengyun/chengyun_town/page1.html#/?code=8zDuAqseqAD5EYvYclnY5jpQw_-TzblE'
},
{
id
:
310110016000
,
name
:
'殷行街道'
,
en
:
'yh'
,
houseId
:
310110000176
,
center
:
[
6688.878806764382
,
10366.540369915294
],
url
:
'http://10.81.71.38/chengyun/chengyun_town/page1.html#/?code=B3_40kuhej63_QyN0LlDOeuOD1HqL5_F'
},
{
id
:
310110016000
,
name
:
'殷行街道'
,
en
:
'yh'
,
houseId
:
310110000176
,
center
:
[
6688.878806764382
,
10366.540369915294
],
url
:
'http://10.81.71.38/chengyun/chengyun_town/page1.html#/?code=B3_40kuhej63_QyN0LlDOeuOD1HqL5_F'
},
{
id
:
310110018000
,
name
:
'大桥街道'
,
en
:
'dq'
,
houseId
:
310110000166
,
center
:
[
6374.902499188995
,
3511.8719065605596
],
url
:
'http://10.81.71.38/chengyun/chengyun_town/page1.html#/?code=0Sn0K5LW4p7cc6rbCfY8mRqJ2uMS_Bvc'
},
{
id
:
310110018000
,
name
:
'大桥街道'
,
en
:
'dq'
,
houseId
:
310110000166
,
center
:
[
6374.902499188995
,
3511.8719065605596
],
url
:
'http://10.81.71.38/chengyun/chengyun_town/page1.html#/?code=0Sn0K5LW4p7cc6rbCfY8mRqJ2uMS_Bvc'
},
{
id
:
310110019000
,
name
:
'五角场街道'
,
en
:
'wjc'
,
houseId
:
310110000174
,
center
:
[
3296.4282528002864
,
7281.637272274846
],
url
:
'http://10.81.71.38/chengyun/chengyun_town/page1.html#/?code=aYOvtgp4LdE37YvY4twwbP-bAKl9gXK
x'
},
{
id
:
310110019000
,
name
:
'五角场街道'
,
en
:
'wjc'
,
houseId
:
310110000174
,
center
:
[
3296.4282528002864
,
7281.637272274846
],
url
:
'http://10.81.71.38/chengyun/chengyun_town/page1.html#/?code=aYOvtgp4LdE37YvY4twwbP-bAKl9gXKx'
,
specialUrl
:
'https://test.chanchuang.jdcloud.com/shsq/inde
x'
},
{
id
:
310110101000
,
name
:
'长海路街道'
,
en
:
'ch'
,
houseId
:
310110000175
,
center
:
[
6016.66261261553
,
8153.563542586172
],
url
:
'http://10.81.71.38/chengyun/chengyun_town/page1.html#/?code=cRV65vfRR-i9IHhK7TwAKte57x7W9iHC'
},
{
id
:
310110101000
,
name
:
'长海路街道'
,
en
:
'ch'
,
houseId
:
310110000175
,
center
:
[
6016.66261261553
,
8153.563542586172
],
url
:
'http://10.81.71.38/chengyun/chengyun_town/page1.html#/?code=cRV65vfRR-i9IHhK7TwAKte57x7W9iHC'
},
],
],
healthInfo
:
{
healthInfo
:
{
creditScore
:
{},
creditScore
:
{},
...
@@ -121,15 +121,15 @@ export default {
...
@@ -121,15 +121,15 @@ export default {
]
]
},
},
310110020000
:
{
310110020000
:
{
total
:
27251
,
total
:
76302
,
pie
:
[
pie
:
[
{
name
:
'0~14岁'
,
value
:
2557
},
{
name
:
'0~14岁'
,
value
:
7159
},
{
name
:
'15~64岁'
,
value
:
23420
},
{
name
:
'15~64岁'
,
value
:
65576
},
{
name
:
'65岁以上'
,
value
:
1274
},
{
name
:
'65岁以上'
,
value
:
3567
},
],
],
bar
:
[
bar
:
[
{
name
:
'男'
,
value
:
15564
},
{
name
:
'男'
,
value
:
43579
},
{
name
:
'女'
,
value
:
11687
},
{
name
:
'女'
,
value
:
32723
},
]
]
},
},
310110001000
:
{
310110001000
:
{
...
...
src/views/components/application.vue
View file @
9d648bad
<
template
>
<
template
>
<div
class=
"application"
>
<div
class=
"application"
>
<div
v-for=
"item in list"
:key=
"item.name"
@
click
.
prevent=
"handleClick(item.key)"
>
<div
v-for=
"item in list"
:key=
"item.name"
@
click
.
prevent=
"handleClick(item.key)"
>
<div
v-if=
"'all'==item.type"
>
<img
:src=
"require(`@/assets/images/$
{item.icon}`)" />
<p>
{{
item
.
name
}}
</p>
</div>
<div
v-if=
"$store.state.currentStreetInfo.id==item.type"
>
<img
:src=
"require(`@/assets/images/$
{item.icon}`)" />
<img
:src=
"require(`@/assets/images/$
{item.icon}`)" />
<p>
{{
item
.
name
}}
</p>
<p>
{{
item
.
name
}}
</p>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -13,10 +19,11 @@ export default {
...
@@ -13,10 +19,11 @@ export default {
data
()
{
data
()
{
return
{
return
{
list
:
[
list
:
[
{
name
:
'会议系统'
,
icon
:
'app1.png'
},
{
name
:
'会议系统'
,
icon
:
'app1.png'
,
type
:
'all'
},
{
name
:
'派单系统'
,
icon
:
'app2.png'
},
{
name
:
'派单系统'
,
icon
:
'app2.png'
,
type
:
'all'
},
{
name
:
'气象系统'
,
icon
:
'app3.png'
},
{
name
:
'气象系统'
,
icon
:
'app3.png'
,
type
:
'all'
},
{
name
:
'网格系统'
,
icon
:
'app4.png'
,
key
:
'jumpGridPage'
},
{
name
:
'五角场商圈'
,
icon
:
'app5.png'
,
type
:
'310110019000'
,
key
:
'jumpSpecicalPage'
},
{
name
:
'网格系统'
,
icon
:
'app4.png'
,
key
:
'jumpGridPage'
,
type
:
'all'
},
]
]
}
}
},
},
...
@@ -24,6 +31,10 @@ export default {
...
@@ -24,6 +31,10 @@ export default {
handleClick
(
key
)
{
handleClick
(
key
)
{
key
&&
this
[
key
]()
key
&&
this
[
key
]()
},
},
jumpSpecicalPage
(){
const
{
specialUrl
}
=
this
.
$store
.
state
.
currentStreetInfo
window
.
open
(
specialUrl
)
},
jumpGridPage
()
{
jumpGridPage
()
{
const
{
url
}
=
this
.
$store
.
state
.
currentStreetInfo
const
{
url
}
=
this
.
$store
.
state
.
currentStreetInfo
window
.
open
(
url
)
window
.
open
(
url
)
...
...
src/views/components/city-environment.vue
View file @
9d648bad
...
@@ -22,7 +22,7 @@ export default {
...
@@ -22,7 +22,7 @@ export default {
return
[
return
[
{
title
:
'空气质量'
,
value
:
91.1
,
unit
:
'%优良率'
,
decimal
:
1
,
icon
:
'city1.png'
},
{
title
:
'空气质量'
,
value
:
91.1
,
unit
:
'%优良率'
,
decimal
:
1
,
icon
:
'city1.png'
},
{
title
:
'PM2.5'
,
value
:
32
,
unit
:
'微克/㎡'
,
decimal
:
0
,
icon
:
'city2.png'
},
{
title
:
'PM2.5'
,
value
:
32
,
unit
:
'微克/㎡'
,
decimal
:
0
,
icon
:
'city2.png'
},
{
title
:
'人均绿地'
,
value
:
91.1
,
unit
:
'㎡/人'
,
decimal
:
2
,
icon
:
'city3.png'
},
{
title
:
'人均绿地'
,
value
:
3.72
,
unit
:
'㎡/人'
,
decimal
:
2
,
icon
:
'city3.png'
},
{
title
:
'环卫公厕'
,
value
:
a
.
value
,
unit
:
'个'
,
decimal
:
0
,
icon
:
'city4.png'
},
{
title
:
'环卫公厕'
,
value
:
a
.
value
,
unit
:
'个'
,
decimal
:
0
,
icon
:
'city4.png'
},
{
title
:
'生活垃圾收集'
,
value
:
b
.
value
,
unit
:
'个'
,
decimal
:
0
,
icon
:
'city5.png'
},
{
title
:
'生活垃圾收集'
,
value
:
b
.
value
,
unit
:
'个'
,
decimal
:
0
,
icon
:
'city5.png'
},
{
title
:
'小型压缩站'
,
value
:
c
.
value
,
unit
:
'个'
,
decimal
:
0
,
icon
:
'city6.png'
},
{
title
:
'小型压缩站'
,
value
:
c
.
value
,
unit
:
'个'
,
decimal
:
0
,
icon
:
'city6.png'
},
...
...
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