From 37a5d8f6b8719ff1a390c455d998714c4ef1aac7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=AA=86=E4=B9=90?= <342503599@qq.com>
Date: Thu, 11 Aug 2022 13:36:33 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B9=96=E9=87=8C=E5=A4=A7=E5=B1=8F(=E6=95=B0?=
=?UTF-8?q?=E5=AD=97=E5=B7=A5=E5=9C=B0):=E4=BA=BA=E8=84=B8=E9=97=B8?=
=?UTF-8?q?=E6=9C=BA=E6=95=B0=E6=8D=AE=E6=B8=B2=E6=9F=93?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../projectAdmin/jlw/digitalSite/index.vue | 15 ++++++----
.../jlw/digitalSite/leftBottom.vue | 22 +++++++++++---
.../projectAdmin/jlw/digitalSite/leftTop.vue | 2 +-
.../jlw/digitalSite/rightBottom.vue | 30 +++++++++++++++----
4 files changed, 52 insertions(+), 17 deletions(-)
diff --git a/src/views/projectAdmin/jlw/digitalSite/index.vue b/src/views/projectAdmin/jlw/digitalSite/index.vue
index 13441771..b3a18369 100644
--- a/src/views/projectAdmin/jlw/digitalSite/index.vue
+++ b/src/views/projectAdmin/jlw/digitalSite/index.vue
@@ -24,7 +24,7 @@
-
+
@@ -64,7 +64,8 @@ export default {
towerList: [], // 塔吊设备列表
lifterList: [], // 升降机设备列表
videoCountList: {}, // 视频设备列表
- ufaceList: [], // 人脸闸机列表
+ ufaceList: {}, // 人脸闸机列表
+ uface:[],
ufaceInCount: 0, //人脸闸机今日进场人数
environmentDevList: [], //环境设备列表
dangerAlarmTypeList: [], // 预警类型列表
@@ -90,7 +91,7 @@ export default {
// 获取塔吊数量
getAllTowerDangerInfo(data).then(res => {
if (res.code === 200) {
- console.log('获取塔吊数量',res)
+ // console.log('获取塔吊数量',res)
let { result } = res
this.totalTowerDev = result.devCount.devNum
this.totalDangerTowerDev = result.towerAlarmCount
@@ -154,7 +155,7 @@ export default {
selectTowerDevAlarmCountList(data).then(res => {
if (res.code === 200) {
this.towerList = res.result.devList
- console.log('获取塔吊设备信息',this.towerList)
+ // console.log('获取塔吊设备信息',this.towerList)
}
})
// 获取升降机设备信息
@@ -173,8 +174,10 @@ export default {
// 获取人脸闸机设备信息
selectUfaceDevStatisticsList(data).then(res => {
if (res.code === 200) {
- this.ufaceList = res.result.devList
- this.ufaceList.forEach(item => {
+ console.log('获取人脸闸机设备信息',res)
+ this.ufaceList = res.result
+ this.uface = res.result.devList
+ this.uface.forEach(item => {
this.ufaceInCount += item.inTotalNum
})
}
diff --git a/src/views/projectAdmin/jlw/digitalSite/leftBottom.vue b/src/views/projectAdmin/jlw/digitalSite/leftBottom.vue
index 9db34e92..bfa291b3 100644
--- a/src/views/projectAdmin/jlw/digitalSite/leftBottom.vue
+++ b/src/views/projectAdmin/jlw/digitalSite/leftBottom.vue
@@ -6,10 +6,12 @@
>
设备名称
-
+
+
{{item.videoName}}
{{item.deviceState ==1 ? '在线' :'离线'}}
+
@@ -34,13 +36,18 @@ export default {
return {}
},
mounted(){
- console.log('--------------',this.videoCountList)
+ // console.log('--------------',this.videoCountList)
}
}
diff --git a/src/views/projectAdmin/jlw/digitalSite/leftTop.vue b/src/views/projectAdmin/jlw/digitalSite/leftTop.vue
index 1faed0a7..5e55589f 100644
--- a/src/views/projectAdmin/jlw/digitalSite/leftTop.vue
+++ b/src/views/projectAdmin/jlw/digitalSite/leftTop.vue
@@ -59,7 +59,7 @@ export default {
};
},
mounted() {
- console.log("传过来了吗", this.towerList, this.totalTowerDev);
+ // console.log("------", this.towerList, this.totalTowerDev);
// 备注:此处xy轴数据没有处理 报警数很多为0 无法渲染
//var datax = [],datay =[]
//this.towerList.forEach((item)=>{
diff --git a/src/views/projectAdmin/jlw/digitalSite/rightBottom.vue b/src/views/projectAdmin/jlw/digitalSite/rightBottom.vue
index acaf61c6..4d638908 100644
--- a/src/views/projectAdmin/jlw/digitalSite/rightBottom.vue
+++ b/src/views/projectAdmin/jlw/digitalSite/rightBottom.vue
@@ -10,11 +10,13 @@
进场人数
出场人数
-
-
在线
-
1号塔吊
-
66
-
99
+
+
+
{{item.deviceState ==1 ? '在线' :'离线'}}
+
{{item.devName}}
+
{{item.isEnter}}
+
{{item.outTotalNum}}
+
@@ -30,15 +32,26 @@ export default {
title: {
type: String,
default: ''
+ },
+ ufaceList:{
+ type: Object,
+ default: []
}
},
data() {
return {}
+ },
+ mounted(){
+ // console.log('--------------', this.ufaceList)
}
}