|
@@ -2156,7 +2156,6 @@ export default {
|
|
|
sendTaskSource: null, //任务来源
|
|
|
sendTaskTitle: null, //联动标题
|
|
|
sendTaskContent: null, //联动内容
|
|
|
- centermonitorTCamera: null, //事件摄像头
|
|
|
sendLianDongDept: [], //联动部门
|
|
|
eventTypeList: [], //事件类型列表
|
|
|
guanLianYuAnList: [], //关联预案列表
|
|
@@ -2263,6 +2262,7 @@ export default {
|
|
|
/** *****************事件流程***************************/
|
|
|
showEventConfirm: false, //事件签收弹窗
|
|
|
showGuanLianYuAnConfirm: false, //调整关联预案弹窗
|
|
|
+ centermonitorTCamera: null, //事件摄像头
|
|
|
showEventConfirm_gd: false, //事件火险报告弹窗
|
|
|
address: null, //事件上报地址
|
|
|
eventStatusValue: null, //事件状态
|
|
@@ -2887,19 +2887,61 @@ export default {
|
|
|
} else if (type == "zdqy") {
|
|
|
markersMap.icon = "sj-icon-keyAreas";
|
|
|
} else if (type == "sxt") {
|
|
|
- if (res.data[i].cameraUse == 1) {
|
|
|
- markersMap.icon = "sj-icon-map-centerdata-slmonitor";
|
|
|
- } else if (res.data[i].cameraUse == 2) {
|
|
|
- markersMap.icon = "camera";
|
|
|
+ if(res.data[i].cameraUse==1)
|
|
|
+ {
|
|
|
+ if(res.data[i].workingStatus==0)
|
|
|
+ {
|
|
|
+ markersMap.icon='sj-icon-map-centerdata-slmonitor'
|
|
|
+ markersMap.click='preview'
|
|
|
+ }else if (res.data[i].workingStatus==1)
|
|
|
+ {
|
|
|
+ markersMap.icon='sj-icon-map-not-centerdata-slmonitor'
|
|
|
+ markersMap.click=''
|
|
|
+ }
|
|
|
+
|
|
|
+ } else if (res.data[i].cameraUse == 2){
|
|
|
+ if(res.data[i].workingStatus==0)
|
|
|
+ {
|
|
|
+ markersMap.icon = "camera";
|
|
|
+ markersMap.click='preview'
|
|
|
+ }else if (res.data[i].workingStatus==1)
|
|
|
+ {
|
|
|
+ markersMap.icon = "camera-not";
|
|
|
+ markersMap.click=''
|
|
|
+ }
|
|
|
} else if (res.data[i].cameraUse == 3) {
|
|
|
- markersMap.icon = 'sj-icon-map-centerdata-slmonitor-traffic'
|
|
|
- }
|
|
|
- else if (res.data[i].cameraUse == 4) {
|
|
|
- markersMap.icon = 'sj-icon-map-centerdata-sand-quarry-camera'
|
|
|
- }
|
|
|
- else if (res.data[i].cameraUse == 5) {
|
|
|
- markersMap.icon = 'sj-icon-map-centerdata-t-hydraulic-reservoir-camera'
|
|
|
- }
|
|
|
+ if(res.data[i].workingStatus==0)
|
|
|
+ {
|
|
|
+ markersMap.icon = 'sj-icon-map-centerdata-slmonitor-traffic'
|
|
|
+ markersMap.click='preview'
|
|
|
+ }else if (res.data[i].workingStatus==1)
|
|
|
+ {
|
|
|
+ markersMap.icon = 'sj-icon-map-not-centerdata-slmonitor-traffic'
|
|
|
+ markersMap.click=''
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ else if (res.data[i].cameraUse == 4) {
|
|
|
+ if(res.data[i].workingStatus==0)
|
|
|
+ {
|
|
|
+ markersMap.icon = 'sj-icon-map-centerdata-sand-quarry-camera'
|
|
|
+ markersMap.click='preview'
|
|
|
+ }else if (res.data[i].workingStatus==1)
|
|
|
+ {
|
|
|
+ markersMap.icon = 'sj-icon-map-not-centerdata-sand-quarry-camera'
|
|
|
+ markersMap.click=''
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ else if (res.data[i].cameraUse == 5) {
|
|
|
+ if (res.data[i].workingStatus == 0) {
|
|
|
+ markersMap.icon = 'sj-icon-map-centerdata-t-hydraulic-reservoir-camera'
|
|
|
+ markersMap.click = 'preview'
|
|
|
+ } else if (res.data[i].workingStatus == 1) {
|
|
|
+ markersMap.icon = 'sj-icon-map-not-centerdata-t-hydraulic-reservoir-camera'
|
|
|
+ markersMap.click = ''
|
|
|
+ }
|
|
|
+ }
|
|
|
if (res.data[i].cameraCode != null) {
|
|
|
markersMap.click = "preview";
|
|
|
// markersMap.parameter = res.data[i].cameraCode
|
|
@@ -3602,7 +3644,7 @@ export default {
|
|
|
markersMapList.push(markersMap);
|
|
|
if (res.data.centermonitorTCamera != null) {
|
|
|
that.centermonitorTCamera = null;
|
|
|
- that.centermonitorTCamera = res.data.centermonitorTCamera;
|
|
|
+ that.centermonitorTCamera = res.data.centermonitorTCamera
|
|
|
that.cameraCode = res.data.centermonitorTCamera.id;
|
|
|
let markersMap = {
|
|
|
lng: 124.59,
|
|
@@ -3726,7 +3768,7 @@ export default {
|
|
|
markersMapList.push(markersMap);
|
|
|
if (res.data.centermonitorTCamera != null) {
|
|
|
that.centermonitorTCamera = null;
|
|
|
- that.centermonitorTCamera = res.data.centermonitorTCamera;
|
|
|
+ that.centermonitorTCamera = res.data.centermonitorTCamera
|
|
|
let markersMap = {
|
|
|
lng: 124.59,
|
|
|
lat: 43.02,
|