{ "schema_version": 1, "id": "xq0006", "name": "EHR系统周考勤异常处理", "version": "1.2.0", "description": "拉取查询月份未调整考勤异常并导出 Excel,整月全量自动确认;上周职能序列及推送范围单位(默认总办/集团财经中心/金色湖畔事业部/集团管理中心/集团营建中心/金色印象事业部,不含大区)的严重异常按人合并推送;支持试算模式(只出表、不确认不推送)。", "category": "人事考勤", "icon": "", "platform": "hr", "uses_month": true, "ui": true, "capabilities": [ "xq0006" ], "permissions": { "platforms": [ "hr" ] }, "requires": { "sdks": { "dingtalk_sdk": { "compat": "^0.1" } } }, "fields": { "type": "object", "properties": { "ref_month": { "type": "string", "title": "执行月份", "default": "", "description": "留空=本月(1 号查上月);格式 YYYY-MM(如 2026-11)" }, "save_dir": { "type": "string", "title": "输出目录", "default": "D:\\资料\\人资\\考勤异常", "description": "考勤异常 Excel 底稿存放目录" }, "dry_run": { "type": "boolean", "title": "试算模式", "default": false, "description": "开启后只导出 Excel 并统计,不自动确认、不发送任何钉钉消息" }, "auto_confirm": { "type": "boolean", "title": "自动确认", "default": true, "description": "开启后对查询范围内全部异常调用确认接口(分批提交);试算模式下强制不确认" }, "push_enabled": { "type": "boolean", "title": "钉钉推送", "default": true, "description": "开启后推送上周职能序列及推送范围单位的严重异常给当事人,并推送条数汇总到钉钉群;试算模式下强制不推送" }, "push_units": { "type": "string", "title": "推送范围单位", "default": "总办,集团财经中心,金色湖畔事业部,集团管理中心,集团营建中心,金色印象事业部", "description": "除职能序列外,这些所属单位也推送(逗号/顿号分隔);留空=只推职能序列" }, "push_exclude_keyword": { "type": "string", "title": "推送排除关键字", "default": "大区", "description": "部门路径包含该关键字则不推送;留空表示不按部门路径排除" }, "dingtalk_webhook": { "type": "string", "title": "钉钉 Webhook", "default": "", "description": "留空使用内置默认机器人;需要发到其他群时填写完整 webhook 地址" }, "dingtalk_secret": { "type": "string", "title": "钉钉加签密钥", "default": "", "description": "机器人启用加签安全设置时填写,留空表示不加签" } }, "required": [] } }