diff --git a/src/api/area.js b/src/api/area.js
index 719064c..824d4ec 100644
--- a/src/api/area.js
+++ b/src/api/area.js
@@ -98,4 +98,13 @@ export function selectLocalMonthArea(params) {
})
}
+// 弹窗--图片,周边监控
+export function selectByAreaImage(params) {
+ return request({
+ url: 'api/project/keyArea/selectByAreaImage',
+ method: 'get',
+ params
+ })
+}
+
\ No newline at end of file
diff --git a/src/api/waterPoints.js b/src/api/waterPoints.js
index e46c4d1..3c7cff4 100644
--- a/src/api/waterPoints.js
+++ b/src/api/waterPoints.js
@@ -56,3 +56,12 @@ export function selectCountLevel(params) {
params
})
}
+
+// 查询交警上报数据
+export function selectWaterPoliceList(params) {
+ return request({
+ url: 'api/project/water/selectWaterPoliceList',
+ method: 'get',
+ params
+ })
+}
diff --git a/src/views/pages/area/components/ImportantAreaPop.vue b/src/views/pages/area/components/ImportantAreaPop.vue
index 7df2bb8..da5ea70 100644
--- a/src/views/pages/area/components/ImportantAreaPop.vue
+++ b/src/views/pages/area/components/ImportantAreaPop.vue
@@ -67,13 +67,14 @@
-->
-
+
暂无图片
周边监控
{
+ let returnData = res.data.data
+ if (returnData.length) {
+ this.picUrl = returnData[0].picUrl
+ this.cameraData.push({
+ cameraName: returnData[0].channelName,
+ channelCode: returnData[0].channelCode
+ })
+ }
+ })
},
data() {
return {
@@ -147,6 +158,7 @@ export default {
outer:[],
},
chartData:{},
+ picUrl: ''
};
},
methods: {
@@ -173,9 +185,10 @@ export default {
}
this.initCharts()
},
-
+ openVideo(row){
+ bus.$emit('openCurrentVideoWaterPoint',row.channelCode)
+ },
initCharts () {
- console.log('this.chartData---', this.chartData)
const option = {
grid: {
bottom: 34,
diff --git a/src/views/pages/area/index.vue b/src/views/pages/area/index.vue
index 2ef0f60..54969a5 100644
--- a/src/views/pages/area/index.vue
+++ b/src/views/pages/area/index.vue
@@ -167,6 +167,11 @@ export default {
this.openVideo = true
this.channelCode.unshift(channelCode)
})
+ bus.$off('openCurrentVideoWaterPoint')
+ bus.$on('openCurrentVideoWaterPoint', channelCode => {
+ this.openVideo = true
+ this.channelCode.unshift(channelCode)
+ })
// 根据经纬度查询半径内所有的工地
bus.$off("openCauseAnalysis");
bus.$on("openCauseAnalysis", (row) => {
diff --git a/src/views/pages/waterPoints/components/ComplaintEvent.vue b/src/views/pages/waterPoints/components/ComplaintEvent.vue
index 45783ee..007c5e0 100644
--- a/src/views/pages/waterPoints/components/ComplaintEvent.vue
+++ b/src/views/pages/waterPoints/components/ComplaintEvent.vue
@@ -37,14 +37,15 @@
-
+
{{item.waterPointName}}
- {{item.waterPointDepth != null ? '水务局' : '水务集团'}}
+ {{item.waterPointDepth != null ? '水务局' : '水务集团'}}
+ 交警
-
+
{{ getDesc(item) }}
@@ -61,7 +62,7 @@