From 0e486e04855e26d243a3e03db5d0006413c46cd8 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Thu, 8 Jun 2023 14:11:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 +- src/api/modules/goverment.ts | 6 ++ .../attendanceStatistics/index.vue | 5 +- .../laborRealName/attendanceMonitor/index.vue | 70 ++++++++++++------- .../components/projectDetails.vue | 3 +- .../attendanceStatistics/index.vue | 5 +- 6 files changed, 62 insertions(+), 31 deletions(-) diff --git a/.env.production b/.env.production index 11d9e2e..772274e 100644 --- a/.env.production +++ b/.env.production @@ -3,8 +3,8 @@ NODE_ENV = "production" # 线上环境接口地址(easymock) # VITE_API_URL = "http://139.9.66.234:6688" -VITE_API_URL = "http://182.90.224.147:6688" -# VITE_API_URL = "http://101.43.164.214:6688" +# VITE_API_URL = "http://182.90.224.147:6688" +VITE_API_URL = "http://101.43.164.214:6688" # 打包 VITE_ULD_API_URL = 'http://182.90.224.147:8012/onlinePreview?url=' diff --git a/src/api/modules/goverment.ts b/src/api/modules/goverment.ts index be8a2fe..22c768b 100644 --- a/src/api/modules/goverment.ts +++ b/src/api/modules/goverment.ts @@ -348,6 +348,12 @@ export const smallStoreDelete = (params: { id: string }) => { return http.post(BASEURL + `/gov/inspectLibraryDetail/delete`, params); }; +// 劳务实名制-------- +// 人员出勤监管-顶部统计数据 +export const attendanceStatistics = () => { + return http.get(BASEURL + `/gov/workerStat/attendStatistics`); +}; + // 列表查询视频管理表信息 // export const getVideo = (params: { projectSn?: string; engineeringSn?: string }) => { // return http.post>(BASEURL + `/gov/projectMonitor/engineeringTree`, params); diff --git a/src/views/enterprise/laborRealName/attendanceStatistics/index.vue b/src/views/enterprise/laborRealName/attendanceStatistics/index.vue index d74a7a3..0760830 100644 --- a/src/views/enterprise/laborRealName/attendanceStatistics/index.vue +++ b/src/views/enterprise/laborRealName/attendanceStatistics/index.vue @@ -11,7 +11,7 @@ background >