liu
2 天以前 dcc9f445f4dfe583910b789d0fc2506573a67a41
分支
用户 liu <2021943741@qq.com>
星期一, 十月 26, 2026 16:48 +0800
提交者 liu <2021943741@qq.com>
星期一, 十月 26, 2026 17:46 +0800
提交dcc9f445f4dfe583910b789d0fc2506573a67a41
目录 e584495747f7fbf5117011418882c2f962401a4d 目录 | zip | gz
上一版本 e1d9e7032febe3aa757582569889c6f3bd863937 查看 | 对比
feat(hrm): 考勤规则支持地图定位打卡

- 考勤规则新增打卡地点、地址、WGS84 经纬度、半径与坐标系配置
- 新增百度地图选点组件,支持搜索地址、定位当前位置、点击选点
- 打卡时采集 GPS 并提交,提示与打卡地点距离
- 未启用定位的规则保留原文本打卡;接口兼容旧版 location 参数

Co-Authored-By: Claude <noreply@anthropic.com>
(cherry picked from commit d514e9ea7a4804e6dbeae43ba0f1a81324c7a042)
已修改5个文件
已添加1个文件
796 ■■■■■ 文件已修改
src/api/hrm/attendance/record/index.ts 71 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/api/hrm/attendance/rule/index.ts 14 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/views/hrm/attendance/record/modules/clock-panel.vue 116 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/views/hrm/attendance/rule/data.ts 108 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/views/hrm/attendance/rule/modules/form.vue 81 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/views/hrm/attendance/rule/modules/location-map-picker.vue 406 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史