diff --git a/src/views/pages/waterPoints/components/ComplaintEvent.vue b/src/views/pages/waterPoints/components/ComplaintEvent.vue
index 01600bb..45783ee 100644
--- a/src/views/pages/waterPoints/components/ComplaintEvent.vue
+++ b/src/views/pages/waterPoints/components/ComplaintEvent.vue
@@ -41,11 +41,12 @@
{{item.waterPointName}}
- {{reportOrigin(item.reportOrigin)}}
+
+ {{item.waterPointDepth != null ? '水务局' : '水务集团'}}
- {{item.pointLevel=='traffic' ? '影响车辆(>30cm)' : item.pointLevel=='pedestrian' ? '影响行人(<30cm)' : '无积水(<10cm)' }}
+ {{ getDesc(item) }}
@@ -78,7 +79,7 @@ export default {
},
{
title:'水务局',
- id:'null'
+ id:'auditorReport'
},
{
title:'城管局',
@@ -90,7 +91,7 @@ export default {
},
{
title:'水务集团',
- id:'auditorReport'
+ id:'null'
},
{
title:'群众上报',
@@ -160,6 +161,20 @@ export default {
// })
},
methods: {
+ getDesc(item) {
+ let deepth = item.waterPointDepth ? parseFloat(item.waterPointDepth) * 100 : 0
+ switch(item.pointLevel) {
+ case 'traffic':
+ return `影响车辆(${deepth}cm)`
+ break
+ case 'pedestrian':
+ return `影响行人(${deepth}cm)`
+ break
+ default:
+ return `无积水(${deepth}cm)`
+ break
+ }
+ },
selectType (item) {
if (this.filterButton.typeActive.indexOf(item) > -1) {
this.filterButton.typeActive.splice(this.filterButton.typeActive.indexOf(item), 1)
diff --git a/src/views/pages/waterPoints/components/SiteList.vue b/src/views/pages/waterPoints/components/SiteList.vue
index d43d310..ae6bd4a 100644
--- a/src/views/pages/waterPoints/components/SiteList.vue
+++ b/src/views/pages/waterPoints/components/SiteList.vue
@@ -188,7 +188,7 @@ export default {
}
},
grid: {
- bottom: 40,
+ bottom: 30,
top:10,
},
xAxis: {
@@ -238,10 +238,17 @@ export default {
barWidth: 23,
label: {
show: true,
- position: 'top',
- distance: 5,
- color: 'fe982a',
- fontSize: 18
+ position: 'inside',
+ distance: 0,
+ formatter: function(param) {
+ if(param.value > 0)
+ return param.value
+ else return ''
+ },
+ textStyle: {
+ color: '#fff',
+ fontSize: 12
+ }
}
}
]
diff --git a/src/views/pages/waterPoints/components/WaterPointPop.vue b/src/views/pages/waterPoints/components/WaterPointPop.vue
index b72c9bf..f2fd2b6 100644
--- a/src/views/pages/waterPoints/components/WaterPointPop.vue
+++ b/src/views/pages/waterPoints/components/WaterPointPop.vue
@@ -23,9 +23,14 @@
width: 280px;
height: 158px;
cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ border: #f2f2f2 1px solid;
"
>
-
+
+
暂无视频内容