|
@@ -129,6 +129,7 @@ import {
|
|
selectKeyAreaList,
|
|
selectKeyAreaList,
|
|
getRegionalFlag,
|
|
getRegionalFlag,
|
|
getCamerasByDeptId,
|
|
getCamerasByDeptId,
|
|
|
|
+ selectCreamedAndDeviceCount,
|
|
selectByCameraId,
|
|
selectByCameraId,
|
|
selectByDeviceId,
|
|
selectByDeviceId,
|
|
selectByBroadcastId, selectRecorderByDeptId
|
|
selectByBroadcastId, selectRecorderByDeptId
|
|
@@ -189,6 +190,13 @@ export default {
|
|
// this.getMonitorDeviceAndDataLists();
|
|
// this.getMonitorDeviceAndDataLists();
|
|
// this.getDlblistBydeptIds();
|
|
// this.getDlblistBydeptIds();
|
|
// this.selectRecorder();
|
|
// this.selectRecorder();
|
|
|
|
+ // 查询摄像头、传感器、执法设备数量
|
|
|
|
+ selectCreamedAndDeviceCount().then(res => {
|
|
|
|
+ if(res.data){
|
|
|
|
+ this.sheNum = res.data.creamedCount || 0
|
|
|
|
+ this.sensorNum = res.data.deviceCount || 0
|
|
|
|
+ }
|
|
|
|
+ })
|
|
this.selectDeviceType(-1);
|
|
this.selectDeviceType(-1);
|
|
// this.showTVWall();
|
|
// this.showTVWall();
|
|
}, 2000)
|
|
}, 2000)
|
|
@@ -559,11 +567,10 @@ export default {
|
|
this.localMark = 'She'
|
|
this.localMark = 'She'
|
|
this.deptId = Cookies.get("deptId")
|
|
this.deptId = Cookies.get("deptId")
|
|
let that = this;
|
|
let that = this;
|
|
- selectRecorderByDeptId({deptId: this.deptId, cameraUse: "1,2,3,4,5,7", type: 18}).then((res) => {
|
|
|
|
|
|
+ selectRecorderByDeptId({deptId: this.deptId, cameraUse: "1,2,3,4,5,6,7", type: 18}).then((res) => {
|
|
that.cameraMarkersList = [];
|
|
that.cameraMarkersList = [];
|
|
that.visuForestCloudCameraBOList = res.data;
|
|
that.visuForestCloudCameraBOList = res.data;
|
|
that.visuForestCloudCameraBOListSearch = res.data;
|
|
that.visuForestCloudCameraBOListSearch = res.data;
|
|
- that.sheNum = res.data.length;
|
|
|
|
if(initial != -1){
|
|
if(initial != -1){
|
|
if (
|
|
if (
|
|
res.data != null && res.data.length > 0
|
|
res.data != null && res.data.length > 0
|