From d3e0c333ca7b748e3362f154f6e3173df9974830 Mon Sep 17 00:00:00 2001 From: jiayu Date: Fri, 20 Sep 2024 15:35:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=BA=E8=83=BD=E8=AE=BE=E5=A4=87=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=20=E6=8E=A5=E5=8F=A3=E6=B7=BB=E5=8A=A0type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/reset.scss | 3 ++- .../digitalConstruction/smartSafeHat/index.vue | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/styles/reset.scss b/src/styles/reset.scss index f23d385..e7fcf71 100644 --- a/src/styles/reset.scss +++ b/src/styles/reset.scss @@ -136,6 +136,7 @@ body, padding: 0; margin: 0; font-family: siyuan; + background: #00021e; .el-message__badge { display: none; } @@ -152,4 +153,4 @@ body, // box-shadow: inset 0 0 0 2000px pink !important; // background-color: transparent; // transition: background-color 50000s ease-in-out 0s; -// } \ No newline at end of file +// } diff --git a/src/views/sevenLargeScreen/digitalConstruction/smartSafeHat/index.vue b/src/views/sevenLargeScreen/digitalConstruction/smartSafeHat/index.vue index 49a8a48..a388845 100644 --- a/src/views/sevenLargeScreen/digitalConstruction/smartSafeHat/index.vue +++ b/src/views/sevenLargeScreen/digitalConstruction/smartSafeHat/index.vue @@ -827,6 +827,7 @@ let yData2 = ref([0, 0, 0, 0, 0, 0, 0] as any); //静默报警 let yData3 = ref([0, 0, 0, 0, 0, 0, 0] as any); //围栏报警 function getWeekAlarmData() { let data = { + type: 1, // 设备类型(1:安全帽;2:安全带) projectSn: store.sn }; getWeekAlarmDataApi(data).then(res => { @@ -1133,6 +1134,7 @@ function getFenceList() { // 智能安全帽--查询设备状态 function getFenceType() { let data = { + type: 1, // 设备类型(1:安全帽;2:安全带) projectSn: store.sn }; getSafeHatTypeTotalApi(data).then(res => { @@ -1195,6 +1197,7 @@ function getCrewListData() { } let data = { online: onlineType, + type: 1, // 设备类型(1:安全帽;2:安全带) projectSn: store.sn }; console.log("👇智能安全帽--分类查询设备列表--查询参数"); @@ -1239,7 +1242,7 @@ function getProgressListData() { // pageNo: pagInfo.value.pageNo, // pageSize: pagInfo.value.pageSize, devSns: alarmDevSn.value, - + type: 1, // 设备类型(1:安全帽;2:安全带) projectSn: store.sn }; getAlarmRecordInfoApi(data).then(res => {