From 0edc3c6a54ba9c759975aa03d813197abfa04dd0 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Tue, 13 Dec 2022 02:28:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=80=83=E5=8B=A4=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../parkingAreaControlVideo.js | 14 +++---- .../todayAttendanceDetail.html | 13 ++++-- public/vcCore/vcFramework.js | 42 ++++++++++++------- 3 files changed, 44 insertions(+), 25 deletions(-) diff --git a/public/components/property/parkingAreaControlVideo/parkingAreaControlVideo.js b/public/components/property/parkingAreaControlVideo/parkingAreaControlVideo.js index 5740a74a2..50c249c6e 100644 --- a/public/components/property/parkingAreaControlVideo/parkingAreaControlVideo.js +++ b/public/components/property/parkingAreaControlVideo/parkingAreaControlVideo.js @@ -171,13 +171,13 @@ }); wsUrl = wsUrl.replace(':8131', ':9080') let _protocol = window.location.protocol; - if (_protocol.startsWith('https')) { - wsUrl = - "wss://" + wsUrl; - } else { - wsUrl = - "ws://" + wsUrl; - } + // if (_protocol.startsWith('https')) { + // wsUrl = + // "wss://" + wsUrl; + // } else { + wsUrl = + "ws://" + wsUrl; + // } let image = document.getElementById("receiver2"); if (wsUrl.endsWith(".flv")) { diff --git a/public/components/property/todayAttendanceDetail/todayAttendanceDetail.html b/public/components/property/todayAttendanceDetail/todayAttendanceDetail.html index ab10dce8a..59f2d7d5c 100755 --- a/public/components/property/todayAttendanceDetail/todayAttendanceDetail.html +++ b/public/components/property/todayAttendanceDetail/todayAttendanceDetail.html @@ -16,18 +16,23 @@ + + + - - {{detail.specName}} + {{detail.specCd == '1001'?'上班':'下班'}} + {{vc.timeMinFormat(detail.leaveValue)}}~{{vc.timeMinFormat(detail.value)}} + {{vc.timeMinFormat(detail.value)}}~{{vc.timeMinFormat(detail.lateValue)}} + {{vc.timeMinFormat(detail.value)}}~{{vc.timeMinFormat(detail.lateValue)}} + {{vc.timeMinFormat(detail.leaveValue)}}~{{vc.timeMinFormat(detail.value)}} {{detail.stateName}} - {{detail.value}} - {{detail.checkTime}} + {{detail.checkTime || '未打卡' }}