# 每日统计

来源快照：`result_data_new_260518.json`

- 来源 ID：`1180672748821692532`
- 模块：出勤
- 目录：前台使用 - 统计报表 - 工作时长
- space ID：`4525924050788866030`
- 原文链接：未提供
- 产品基线：未提供

## 正文

# 一、 功能背景

 

实现对员工出勤情况以日为维度的统计，方便查看员工日出勤情况

 

# 二、 功能概述

每日统计报表提供员工按日统计的出勤情况，包括签到签退、申诉、关联流程、迟到早退等数据统计及导出功能

 

# 三、 使用说明

 每日统计中，支持查看某位团队成员的指定日期的出勤明细。管理员可查看所有成员的出勤数据，普通成员仅支持查看自己和下属的出勤数据。

![](https://weapp.eteams.cn/papi/file/preview?fileId=1180672868949573638&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

 

 

数据筛选

![](https://weapp.eteams.cn/papi/file/preview?fileId=1180672942041808900&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

提供快捷的姓名搜索及搜索条件更复杂高级联合搜索

 

 

自定义列

![](https://weapp.eteams.cn/papi/file/preview?fileId=1180673002194223105&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

自定义列默认展示第一层表头，第二层表头通过左上角选择对应的第一层表头字段切换。支持双层表头分别做以下操作：

1）

调整顺序

2）

设置显示隐藏（鼠标点击字段）

3）

禁用（拥有禁用权限的人员可以全局禁用该字段，禁用后所有人员的每日统计中将不展示该字段，权限对应后台管理中心-权限管理中心-角色-功能权限-出勤-工作时长-自定义列禁用权限项）

 

#### 每日统计报表和原始打卡记录增加手工修改功能

**前提条件：**

通过eb来设置配置表

设置一个配置的eb表，表字段如下

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119131791122440&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

1）true:开启

2）false：关闭

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119131857313795&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119123251519495&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

3）每日统计报表里的排班调整流程的workflowid：工作流，编辑点开排班流程可获取排班流程id，配置到下拉框的value下

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119127458029573&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

4）每日统计表里的补卡流程id：工作流，编辑点开补卡流程可获取补卡流程id，配置到下拉框的value下

5）补卡流程-补卡人字段的fieldid：补卡流程，选择补卡人可或者字段的fieldid，配置到下拉框的value下

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119144533417997&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119127336771594&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

 

通过ebuild表单触发

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119136006021135&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119144533417988&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

通过serverless调用设置

分组标识：ATTEND

版本号：attendConfigurationV1  
参数  
 save_type 0是新增,1是修改,2是删除  
tenantKey 租户  
config_name 配置文件中文名  
config_key    
config_value true开启

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119148819079181&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

修改和删除需另外复制2个动作流，改下触发时机，改下save_type（0是新增，1是修改，2是删除）

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119135960260608&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119144540889093&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119131857313792&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

在eb表创建配置数据

每日统计报表和每日统计是否显示按钮：配置key:hasManualCard

每日统计报表里的排班调整流程的workflowid：配置key：createSchedulingShiftwfId

补卡流程的workflowid：配置key：manualCardWfid

补卡流程-补卡人员字段的fieldid：配置key：manualCardWfidEmp

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119127336771611&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119135992897551&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119136006021124&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

**功能说明：**

1、每日统计表调整

1）权限：有出勤报表-重新计算考勤数据权限的人，每日统计表会显示按钮

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119127353237507&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119148845162505&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

2）勾选人员，选择补卡流程，会跳转到补卡流程，自动导出人员名称，补卡时间需自行填写

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119148845162501&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119140237533189&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

3）勾选人员，点击原始打卡记录，会调转到原始打卡记录页面，显示勾选人员对应日期的打卡记录

若勾选当日无打卡记录，则跳转到原始打卡记录显示今天所在月份所有打卡记录

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119131774033925&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119135968337923&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

4）勾选人员，选择排班可修改排班的班次

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119144533417991&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

5）勾选人员，选择补卡，可修改打卡数据，报表按照修改后的打卡数据统计考勤

需注意修改后，无法再重算当天的数据，重算只要包含的日期范围有一天是通过每日统计补卡修改过考勤结果的，均无法重算

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119144533417986&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

4、原始打卡记录增加新增、修改、删除按钮

1）权限：有出勤报表-重新计算考勤数据权限的人，原始打卡记录会显示按钮

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119127353237507&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

2）可新增、修改、删除打卡记录

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119140439465987&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)

修改打卡数据后，报表需选择对应人员和日期范围，点重算才会生效

![](https://weapp.eteams.cn/papi/file/preview?fileId=1267119127336771605&type=redirect&customParam=%7B%22isExtDist%22%3Atrue%2C%22distributeId%22%3A%22%22%2C%22externalId%22%3A%22%22%2C%22appId%22%3A%22%22%7D)
