Commit 9d648bad authored by 陶仁倩's avatar 陶仁倩

更新数据

parent 91d6905c
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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: 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: 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'},
{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: 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/index'},
{ 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: {
creditScore: {},
......@@ -121,15 +121,15 @@ export default {
]
},
310110020000: {
total: 27251,
total: 76302,
pie: [
{name: '0~14岁', value: 2557},
{name: '15~64岁', value: 23420},
{name: '65岁以上', value: 1274},
{name: '0~14岁', value: 7159},
{name: '15~64岁', value: 65576},
{name: '65岁以上', value: 3567},
],
bar: [
{name: '男', value: 15564},
{name: '女', value: 11687},
{name: '男', value: 43579},
{name: '女', value: 32723},
]
},
310110001000: {
......
<template>
<div class="application">
<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}`)" />
<p>{{item.name}}</p>
</div>
</div>
</div>
</template>
<script>
......@@ -13,10 +19,11 @@ export default {
data() {
return {
list: [
{name: '会议系统', icon: 'app1.png'},
{name: '派单系统', icon: 'app2.png'},
{name: '气象系统', icon: 'app3.png'},
{name: '网格系统', icon: 'app4.png', key: 'jumpGridPage'},
{name: '会议系统', icon: 'app1.png', type: 'all'},
{name: '派单系统', icon: 'app2.png', type: 'all'},
{name: '气象系统', icon: 'app3.png', type: 'all'},
{name: '五角场商圈', icon: 'app5.png', type: '310110019000', key: 'jumpSpecicalPage'},
{name: '网格系统', icon: 'app4.png', key: 'jumpGridPage', type: 'all'},
]
}
},
......@@ -24,6 +31,10 @@ export default {
handleClick(key) {
key && this[key]()
},
jumpSpecicalPage(){
const {specialUrl} = this.$store.state.currentStreetInfo
window.open(specialUrl)
},
jumpGridPage() {
const {url} = this.$store.state.currentStreetInfo
window.open(url)
......
......@@ -22,7 +22,7 @@ export default {
return [
{title: '空气质量', value: 91.1, unit: '%优良率', decimal: 1, icon: 'city1.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: b.value, unit: '个', decimal: 0, icon: 'city5.png'},
{title: '小型压缩站', value: c.value, unit: '个', decimal: 0, icon: 'city6.png'},
......
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