From 5d2dc5c4bfc4e96298c6463c02203102a0797f22 Mon Sep 17 00:00:00 2001
From: jxjgmj <1351094127@qq.com>
Date: Thu, 16 Jun 2022 14:33:15 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AD=97=E6=AE=B5=E5=8F=8A?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=A0=B8=E9=85=B8=E7=8A=B6=E6=80=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../i18n/langs/cn/laborManage/personManage.js | 7 +-
src/util/nowDate/index.js | 3 +-
.../attendanceManage/attendanceManage.vue | 62 +++
.../projectFront/laborManage/overview.vue | 372 +++++++++++++-----
4 files changed, 354 insertions(+), 90 deletions(-)
diff --git a/src/assets/i18n/langs/cn/laborManage/personManage.js b/src/assets/i18n/langs/cn/laborManage/personManage.js
index 59812369..f9433410 100644
--- a/src/assets/i18n/langs/cn/laborManage/personManage.js
+++ b/src/assets/i18n/langs/cn/laborManage/personManage.js
@@ -822,7 +822,7 @@ export default {
bluetooth: '蓝牙',
entranceGuardPhotos: '门禁照片',
attendanceRules: '考勤规则',
-
+
//LED大屏显示器--------- 新增LED
@@ -996,6 +996,11 @@ export default {
out: '出',
peopleIdNo: 'I深建人员序列号',
inOutTime: '出入时间',
+ healthCodeStatus:"健康码状态",
+ nucleicAcidTime:"核酸时间",
+ nucleicAcidResults:"核酸结果",
+ vaccinationTime:"疫苗接种时间",
+ vaccinationFrequency:"疫苗接种次数",
diff --git a/src/util/nowDate/index.js b/src/util/nowDate/index.js
index 6e5d0267..16996624 100644
--- a/src/util/nowDate/index.js
+++ b/src/util/nowDate/index.js
@@ -39,4 +39,5 @@ export function getNowTime() {
let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds() : new Date().getSeconds()
dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss
return dateTime
-}
\ No newline at end of file
+}
+
diff --git a/src/views/projectFront/laborManage/attendanceManage/attendanceManage.vue b/src/views/projectFront/laborManage/attendanceManage/attendanceManage.vue
index bb816bb1..4a870dfb 100644
--- a/src/views/projectFront/laborManage/attendanceManage/attendanceManage.vue
+++ b/src/views/projectFront/laborManage/attendanceManage/attendanceManage.vue
@@ -268,6 +268,51 @@
{{scope.row.temperature?scope.row.temperature:'--'}}
+
+
- {{ $t("message.laborMange.workersOnSite") }}:{{ statictisData.presencePerson.totalPerson }}{{ $t("message.laborMange.person") }} + >{{ $t('message.laborMange.person') }}
- {{ $t("message.laborMange.peopleWhoPunchInToday") }}:{{ statictisData.todayNum }}{{ $t("message.laborMange.person") }} + >{{ $t('message.laborMange.person') }}
{{ - $t("message.laborMange.peopleWhoClockedInYesterday") + $t('message.laborMange.peopleWhoClockedInYesterday') }}:{{ statictisData.yesterdayNum }}{{ $t("message.laborMange.person") }} + >{{ $t('message.laborMange.person') }}
+
体温:{{currentPersonDetail.temperature}}°
+体温:{{ currentPersonDetail.temperature }}°
- {{ $t("message.laborMange.inOutTime") }}:{{ + {{ $t('message.laborMange.inOutTime') }}:{{ currentPersonDetail.createTime }}
- {{ $t("message.laborMange.team") }}:{{ + {{ $t('message.laborMange.team') }}:{{ currentPersonDetail.teamName }}
- {{ $t("message.laborMange.section") }}:{{ + {{ $t('message.laborMange.section') }}:{{ currentPersonDetail.departmentName }}
- {{ $t("message.laborMange.companies") }}:{{ + {{ $t('message.laborMange.companies') }}:{{ currentPersonDetail.enterpriseName }}
@@ -144,8 +161,8 @@ />{{ item.workerName }}
-- {{ - item.departmentName ? item.departmentName : item.teamName - }} -
-{{ item.createTime.split(" ")[1] }}
-体温:{{item.temperature}}°
-
-
+ {{ item.workerName }}
+ {{
+ item.departmentName
+ ? item.departmentName
+ : item.teamName
+ }}
+ {{ item.createTime.split(' ')[1] }} 体温:{{ item.temperature }}°
+
无码
-
-
+
+
红码
-
-
+
+
黄码
-
-
+
+
绿码
-
-
+
{{ item.workerName }}
-- {{ - item.departmentName ? item.departmentName : item.teamName - }} -
-{{ item.createTime.split(" ")[1] }}
-体温:{{item.temperature}}°
-
-
+ {{ item.workerName }}
+ {{
+ item.departmentName
+ ? item.departmentName
+ : item.teamName
+ }}
+ {{ item.createTime.split(' ')[1] }} 体温:{{ item.temperature }}°
+
无码
-
-
+
+
红码
-
-
+
+
黄码
-
-
+
+
绿码
-
-
+
- {{ $t("message.laborMange.total") }}{{ $t('message.laborMange.total') }}{{ $t("message.laborMange.today") }}:{{
+ >{{ $t('message.laborMange.today') }}:{{
item.totaltodayNum
}}{{ $t("message.laborMange.yesterday") }}:{{
+ >{{ $t('message.laborMange.yesterday') }}:{{
item.totalyesterdayNum
}}
@@ -291,7 +418,7 @@
v-if="statictisData.list.length == 0"
>
-
{{ $t("message.laborMange.noData") }}
+{{ $t('message.laborMange.noData') }}