|
@@ -34,7 +34,7 @@
|
|
<div class="d-tit">
|
|
<div class="d-tit">
|
|
<h4>事件分布</h4>
|
|
<h4>事件分布</h4>
|
|
</div>
|
|
</div>
|
|
- <div class="d-l-con" @click="" v-for="(item,index) in todayEventCountDeptList"
|
|
|
|
|
|
+ <div class="d-l-con" v-for="(item,index) in todayEventCountDeptList"
|
|
v-on:click="todayEventByDeptIdList(item.deptId)">
|
|
v-on:click="todayEventByDeptIdList(item.deptId)">
|
|
<div class="d-l-l-text">
|
|
<div class="d-l-l-text">
|
|
<i class="i-small"></i>
|
|
<i class="i-small"></i>
|
|
@@ -46,7 +46,7 @@
|
|
<h4>事件分类</h4>
|
|
<h4>事件分类</h4>
|
|
</div>
|
|
</div>
|
|
<div id="event-chart" style="width: 100%;height:26.2vh;"></div>
|
|
<div id="event-chart" style="width: 100%;height:26.2vh;"></div>
|
|
- <div class="d-l-con" @click="" v-for="(item,index) in todayEventCountTypeList"
|
|
|
|
|
|
+ <div class="d-l-con" v-for="(item,index) in todayEventCountTypeList"
|
|
v-on:click="todayEventByTypeList(item.eventType)">
|
|
v-on:click="todayEventByTypeList(item.eventType)">
|
|
<div class="d-l-l-text">
|
|
<div class="d-l-l-text">
|
|
<i class="i-small"></i>
|
|
<i class="i-small"></i>
|
|
@@ -68,8 +68,8 @@
|
|
<!-- <span>23</span> -->
|
|
<!-- <span>23</span> -->
|
|
</div>
|
|
</div>
|
|
<div class="i-list-con h-73">
|
|
<div class="i-list-con h-73">
|
|
- <div class="d-l-con d-evnet-list-con" @click="" v-for="(item,index) in eventList" v-on:click="dropLocation(item.latitude,item.longitude)">
|
|
|
|
- <img src="@/assets/images/visual/img-sample-1.jpg" :src="item.src" class="event-list-img">
|
|
|
|
|
|
+ <div class="d-l-con d-evnet-list-con" v-for="(item,index) in eventList" v-on:click="dropLocation(item.latitude,item.longitude)">
|
|
|
|
+ <img :src="item.picturePath" class="event-list-img">
|
|
<div class="event-list-text">
|
|
<div class="event-list-text">
|
|
<h3>{{item.eventTitle}}</h3>
|
|
<h3>{{item.eventTitle}}</h3>
|
|
<!-- <h4><span-->
|
|
<!-- <h4><span-->
|
|
@@ -107,7 +107,7 @@
|
|
<div class="forthis">
|
|
<div class="forthis">
|
|
<div class="i-list-con h-35">
|
|
<div class="i-list-con h-35">
|
|
<span v-for="(information,index) in information" :key="index">
|
|
<span v-for="(information,index) in information" :key="index">
|
|
- <div class="d-l-con" @click="">
|
|
|
|
|
|
+ <div class="d-l-con" >
|
|
<div class="d-l-l-text">
|
|
<div class="d-l-l-text">
|
|
<i class="i-small"></i>
|
|
<i class="i-small"></i>
|
|
<h4>{{information.name}}:</h4>
|
|
<h4>{{information.name}}:</h4>
|
|
@@ -123,7 +123,7 @@
|
|
</div>
|
|
</div>
|
|
<div class="i-list-con h-26">
|
|
<div class="i-list-con h-26">
|
|
<span v-for="(company,index) in listEventDept" :key="index">
|
|
<span v-for="(company,index) in listEventDept" :key="index">
|
|
- <div class="d-l-con" @click="">
|
|
|
|
|
|
+ <div class="d-l-con" >
|
|
<div class="d-l-l-text">
|
|
<div class="d-l-l-text">
|
|
<i class="i-small"></i>
|
|
<i class="i-small"></i>
|
|
<h4>{{company.deptName}}</h4>
|
|
<h4>{{company.deptName}}</h4>
|
|
@@ -257,7 +257,7 @@
|
|
<div class="forthis">
|
|
<div class="forthis">
|
|
<div class="i-list-con h-35">
|
|
<div class="i-list-con h-35">
|
|
<span v-for="(information,index) in information" :key="index">
|
|
<span v-for="(information,index) in information" :key="index">
|
|
- <div class="d-l-con" @click="">
|
|
|
|
|
|
+ <div class="d-l-con" >
|
|
<div class="d-l-l-text">
|
|
<div class="d-l-l-text">
|
|
<i class="i-small"></i>
|
|
<i class="i-small"></i>
|
|
<h4>{{information.name}}:</h4>
|
|
<h4>{{information.name}}:</h4>
|
|
@@ -273,7 +273,7 @@
|
|
</div>
|
|
</div>
|
|
<div class="i-list-con h-26">
|
|
<div class="i-list-con h-26">
|
|
<span v-for="(company,index) in listEventDept.allDept" :key="index">
|
|
<span v-for="(company,index) in listEventDept.allDept" :key="index">
|
|
- <div class="d-l-con" @click="">
|
|
|
|
|
|
+ <div class="d-l-con" >
|
|
<div class="d-l-l-text">
|
|
<div class="d-l-l-text">
|
|
<i class="i-small"></i>
|
|
<i class="i-small"></i>
|
|
<h4>{{company.deptName}}</h4>
|
|
<h4>{{company.deptName}}</h4>
|
|
@@ -490,72 +490,6 @@
|
|
label: '归档'
|
|
label: '归档'
|
|
}
|
|
}
|
|
],
|
|
],
|
|
- forestFarm: [
|
|
|
|
- {
|
|
|
|
- name: '双辽市',
|
|
|
|
- id: '',
|
|
|
|
- child: [{
|
|
|
|
- name: '叶赫林场',
|
|
|
|
- id: ''
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- name: '石岭子林场',
|
|
|
|
- id: ''
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- name: '梨树县',
|
|
|
|
- id: ''
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- name: '伊通县',
|
|
|
|
- id: ''
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- name: '铁东区',
|
|
|
|
- id: ''
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- name: '铁西区',
|
|
|
|
- id: ''
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- equipment: [
|
|
|
|
- {
|
|
|
|
- name: '摄像头',
|
|
|
|
- id: '',
|
|
|
|
- num: 52,
|
|
|
|
- child: [{
|
|
|
|
- name: '1km云台',
|
|
|
|
- id: '',
|
|
|
|
- num: 12
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- name: '1.5km云台',
|
|
|
|
- id: '',
|
|
|
|
- num: 12
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- name: '3.5km云台',
|
|
|
|
- id: '',
|
|
|
|
- num: 12
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- name: '5km云台',
|
|
|
|
- id: '',
|
|
|
|
- num: 12
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- name: '大喇叭',
|
|
|
|
- id: '',
|
|
|
|
- num: 12
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
// 弹出层 基本信息
|
|
// 弹出层 基本信息
|
|
information: [
|
|
information: [
|
|
{
|
|
{
|
|
@@ -596,32 +530,6 @@
|
|
}
|
|
}
|
|
],
|
|
],
|
|
// 弹出层 基本信息 涉事单位
|
|
// 弹出层 基本信息 涉事单位
|
|
- company: [
|
|
|
|
- {
|
|
|
|
- name: '沈洋镇',
|
|
|
|
- id: '',
|
|
|
|
- state: 0
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- name: '小宽镇',
|
|
|
|
- id: '',
|
|
|
|
- state: 1
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- name: '四棵树',
|
|
|
|
- id: '',
|
|
|
|
- state: 1
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- ],
|
|
|
|
- url01: require('@/assets/images/visual/img-sample-1.jpg'),
|
|
|
|
- url02: require('@/assets/images/visual/img-sample-2.jpg'),
|
|
|
|
- url03: require('@/assets/images/visual/img-sample-3.jpg'),
|
|
|
|
- url1: require('@/assets/images/visual/林业病虫害抓拍2.png'),
|
|
|
|
- url2: require('@/assets/images/visual/林业病虫害松墨天牛抓拍.png'),
|
|
|
|
- url3: require('@/assets/images/visual/img-sample-3.jpg'),
|
|
|
|
srcList: [
|
|
srcList: [
|
|
require('@/assets/images/visual/img-sample-3.jpg'),
|
|
require('@/assets/images/visual/img-sample-3.jpg'),
|
|
require('@/assets/images/visual/img-sample-2.jpg'),
|
|
require('@/assets/images/visual/img-sample-2.jpg'),
|
|
@@ -633,11 +541,6 @@
|
|
require('@/assets/images/visual/img-sample-3.jpg')
|
|
require('@/assets/images/visual/img-sample-3.jpg')
|
|
],
|
|
],
|
|
|
|
|
|
- interval: '',
|
|
|
|
- websocketURL: '',
|
|
|
|
- yjCount: 0,
|
|
|
|
- sxtObject: {},
|
|
|
|
-
|
|
|
|
//左右缩进
|
|
//左右缩进
|
|
indentStyle: '',
|
|
indentStyle: '',
|
|
indentleft: '',
|
|
indentleft: '',
|
|
@@ -1057,30 +960,31 @@
|
|
getEventStatusList(eventStatus).then(res => {
|
|
getEventStatusList(eventStatus).then(res => {
|
|
that.$refs.supermap.clearM(false)
|
|
that.$refs.supermap.clearM(false)
|
|
that.$refs.supermap.clearM(true)
|
|
that.$refs.supermap.clearM(true)
|
|
- that.eventList=res.data.eventList;
|
|
|
|
that.markersList = [];
|
|
that.markersList = [];
|
|
- let markersMap = {
|
|
|
|
- lng: 124.59,
|
|
|
|
- lat: 43.02,
|
|
|
|
- icon: 'marker',
|
|
|
|
- bindPopupHtml: '',
|
|
|
|
- click: '',
|
|
|
|
- parameter: '',
|
|
|
|
- keepBindPopup: false,
|
|
|
|
- isAggregation: false
|
|
|
|
- }
|
|
|
|
|
|
+ that.eventList = [];
|
|
if(res.data.eventList!=null&&res.data.eventList.length>0){
|
|
if(res.data.eventList!=null&&res.data.eventList.length>0){
|
|
- if(res.data.eventList.length>500){
|
|
|
|
- markersMap.isAggregation = true
|
|
|
|
- }
|
|
|
|
- if(eventStatus=="event_event_status_1_2_6"){
|
|
|
|
- markersMap.click = "showEventInfo_Processed"
|
|
|
|
- }else if(eventStatus=="event_event_status_4"){
|
|
|
|
- markersMap.click = "showEventInfo_notProcessed"
|
|
|
|
- }else{
|
|
|
|
- markersMap.click = "showEventInfo_Processed"
|
|
|
|
- }
|
|
|
|
for (let i = 0; i < res.data.eventList.length; i++) {
|
|
for (let i = 0; i < res.data.eventList.length; i++) {
|
|
|
|
+ res.data.eventList[i].picturePath=res.data.attach[i].attachPath
|
|
|
|
+ let markersMap = {
|
|
|
|
+ lng: 124.59,
|
|
|
|
+ lat: 43.02,
|
|
|
|
+ icon: 'marker',
|
|
|
|
+ bindPopupHtml: '',
|
|
|
|
+ click: '',
|
|
|
|
+ parameter: '',
|
|
|
|
+ keepBindPopup: false,
|
|
|
|
+ isAggregation: false
|
|
|
|
+ }
|
|
|
|
+ if(res.data.eventList.length>500){
|
|
|
|
+ markersMap.isAggregation = true
|
|
|
|
+ }
|
|
|
|
+ if(eventStatus=="event_event_status_1_2_6"){
|
|
|
|
+ markersMap.click = "showEventInfo_Processed"
|
|
|
|
+ }else if(eventStatus=="event_event_status_4"){
|
|
|
|
+ markersMap.click = "showEventInfo_notProcessed"
|
|
|
|
+ }else{
|
|
|
|
+ markersMap.click = "showEventInfo_Processed"
|
|
|
|
+ }
|
|
markersMap.parameter = res.data.eventList[i].id
|
|
markersMap.parameter = res.data.eventList[i].id
|
|
markersMap.lng = res.data.eventList[i].longitude
|
|
markersMap.lng = res.data.eventList[i].longitude
|
|
markersMap.lat =res.data.eventList[i].latitude
|
|
markersMap.lat =res.data.eventList[i].latitude
|
|
@@ -1110,6 +1014,7 @@
|
|
'</div>';
|
|
'</div>';
|
|
that.markersList.push(markersMap)
|
|
that.markersList.push(markersMap)
|
|
}
|
|
}
|
|
|
|
+ that.eventList=res.data.eventList;
|
|
that.$refs.supermap.setMarkers(that.markersList)
|
|
that.$refs.supermap.setMarkers(that.markersList)
|
|
}
|
|
}
|
|
// eventCode: "718b040cf1f747eb8ab4ffc6db643ca0"
|
|
// eventCode: "718b040cf1f747eb8ab4ffc6db643ca0"
|
|
@@ -1130,7 +1035,7 @@
|
|
getEventSourceList(eventSource).then(res => {
|
|
getEventSourceList(eventSource).then(res => {
|
|
that.$refs.supermap.clearM(true)
|
|
that.$refs.supermap.clearM(true)
|
|
that.$refs.supermap.clearM(false)
|
|
that.$refs.supermap.clearM(false)
|
|
- that.eventList=res.data.eventList;
|
|
|
|
|
|
+ that.eventList = [];
|
|
that.markersList = [];
|
|
that.markersList = [];
|
|
let markersMap = {
|
|
let markersMap = {
|
|
lng: 124.59,
|
|
lng: 124.59,
|
|
@@ -1146,6 +1051,8 @@
|
|
markersMap.isAggregation = true
|
|
markersMap.isAggregation = true
|
|
}
|
|
}
|
|
for (let i = 0; i < res.data.eventList.length; i++) {
|
|
for (let i = 0; i < res.data.eventList.length; i++) {
|
|
|
|
+ res.data.eventList[i].picturePath=res.data.attach[i].attachPath
|
|
|
|
+
|
|
if(res.data.eventList[i].eventStatus=="event_event_status_1"||res.data.eventList[i].eventStatus=="event_event_status_2"||res.data.eventList[i].eventStatus=="event_event_status_6"){
|
|
if(res.data.eventList[i].eventStatus=="event_event_status_1"||res.data.eventList[i].eventStatus=="event_event_status_2"||res.data.eventList[i].eventStatus=="event_event_status_6"){
|
|
markersMap.click = "showEventInfo_Processed"
|
|
markersMap.click = "showEventInfo_Processed"
|
|
}else if(res.data.eventList[i].eventStatus=="event_event_status_4"){
|
|
}else if(res.data.eventList[i].eventStatus=="event_event_status_4"){
|
|
@@ -1181,6 +1088,7 @@
|
|
'</div>';
|
|
'</div>';
|
|
that.markersList.push(markersMap)
|
|
that.markersList.push(markersMap)
|
|
}
|
|
}
|
|
|
|
+ that.eventList=res.data.eventList;
|
|
that.$refs.supermap.setMarkers(that.markersList)
|
|
that.$refs.supermap.setMarkers(that.markersList)
|
|
}
|
|
}
|
|
// eventCode: "718b040cf1f747eb8ab4ffc6db643ca0"
|
|
// eventCode: "718b040cf1f747eb8ab4ffc6db643ca0"
|
|
@@ -1201,8 +1109,8 @@
|
|
getEventListByDeptIdList(deptId).then(res => {
|
|
getEventListByDeptIdList(deptId).then(res => {
|
|
that.$refs.supermap.clearM(true)
|
|
that.$refs.supermap.clearM(true)
|
|
that.$refs.supermap.clearM(false)
|
|
that.$refs.supermap.clearM(false)
|
|
- that.eventList=res.data.eventList;
|
|
|
|
that.markersList = [];
|
|
that.markersList = [];
|
|
|
|
+ that.eventList = [];
|
|
let markersMap = {
|
|
let markersMap = {
|
|
lng: 124.59,
|
|
lng: 124.59,
|
|
lat: 43.02,
|
|
lat: 43.02,
|
|
@@ -1217,6 +1125,7 @@
|
|
markersMap.isAggregation = true
|
|
markersMap.isAggregation = true
|
|
}
|
|
}
|
|
for (let i = 0; i < res.data.eventList.length; i++) {
|
|
for (let i = 0; i < res.data.eventList.length; i++) {
|
|
|
|
+ res.data.eventList[i].picturePath=res.data.attach[i].attachPath
|
|
markersMap.lng = res.data.eventList[i].longitude
|
|
markersMap.lng = res.data.eventList[i].longitude
|
|
markersMap.lat =res.data.eventList[i].latitude
|
|
markersMap.lat =res.data.eventList[i].latitude
|
|
markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
@@ -1245,6 +1154,7 @@
|
|
'</div>';
|
|
'</div>';
|
|
that.markersList.push(markersMap)
|
|
that.markersList.push(markersMap)
|
|
}
|
|
}
|
|
|
|
+ that.eventList=res.data.eventList;
|
|
that.$refs.supermap.setMarkers(that.markersList)
|
|
that.$refs.supermap.setMarkers(that.markersList)
|
|
}
|
|
}
|
|
// eventCode: "718b040cf1f747eb8ab4ffc6db643ca0"
|
|
// eventCode: "718b040cf1f747eb8ab4ffc6db643ca0"
|
|
@@ -1265,22 +1175,23 @@
|
|
getEventListByTypeList(eventType).then(res => {
|
|
getEventListByTypeList(eventType).then(res => {
|
|
that.$refs.supermap.clearM(true)
|
|
that.$refs.supermap.clearM(true)
|
|
that.$refs.supermap.clearM(false)
|
|
that.$refs.supermap.clearM(false)
|
|
- that.eventList=res.data.eventList;
|
|
|
|
that.markersList = [];
|
|
that.markersList = [];
|
|
- let markersMap = {
|
|
|
|
- lng: 124.59,
|
|
|
|
- lat: 43.02,
|
|
|
|
- icon: 'marker',
|
|
|
|
- bindPopupHtml: '',
|
|
|
|
- click: '',
|
|
|
|
- keepBindPopup: false,
|
|
|
|
- isAggregation: false
|
|
|
|
- }
|
|
|
|
|
|
+ that.eventList = [];
|
|
if(res.data.eventList!=null&&res.data.eventList.length>0){
|
|
if(res.data.eventList!=null&&res.data.eventList.length>0){
|
|
- if(res.data.eventList.length>500){
|
|
|
|
- markersMap.isAggregation = true
|
|
|
|
- }
|
|
|
|
for (let i = 0; i < res.data.eventList.length; i++) {
|
|
for (let i = 0; i < res.data.eventList.length; i++) {
|
|
|
|
+ res.data.eventList[i].picturePath=res.data.attach[i].attachPath
|
|
|
|
+ let markersMap = {
|
|
|
|
+ lng: 124.59,
|
|
|
|
+ lat: 43.02,
|
|
|
|
+ icon: 'marker',
|
|
|
|
+ bindPopupHtml: '',
|
|
|
|
+ click: '',
|
|
|
|
+ keepBindPopup: false,
|
|
|
|
+ isAggregation: false
|
|
|
|
+ }
|
|
|
|
+ if(res.data.eventList.length>500){
|
|
|
|
+ markersMap.isAggregation = true
|
|
|
|
+ }
|
|
markersMap.lng = res.data.eventList[i].longitude
|
|
markersMap.lng = res.data.eventList[i].longitude
|
|
markersMap.lat =res.data.eventList[i].latitude
|
|
markersMap.lat =res.data.eventList[i].latitude
|
|
markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
markersMap.bindPopupHtml = '<div class="map-tip">' +
|
|
@@ -1311,6 +1222,7 @@
|
|
}
|
|
}
|
|
that.$refs.supermap.setMarkers(that.markersList)
|
|
that.$refs.supermap.setMarkers(that.markersList)
|
|
}
|
|
}
|
|
|
|
+ that.eventList=res.data.eventList;
|
|
// eventCode: "718b040cf1f747eb8ab4ffc6db643ca0"
|
|
// eventCode: "718b040cf1f747eb8ab4ffc6db643ca0"
|
|
// eventContent: "集安-东明-可见光2022-06-27 02:42:04烟雾报警"
|
|
// eventContent: "集安-东明-可见光2022-06-27 02:42:04烟雾报警"
|
|
// eventSource: "event_source_2"
|
|
// eventSource: "event_source_2"
|