Files
37duAutomation/plugins/XQ0001-0100/XQ0009 门店上月请休假异常人员名单梳理/plugin.json
T

82 lines
3.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"schema_version": 1,
"id": "xq0009",
"name": "门店上月请休假异常人员名单梳理",
"version": "1.0.13",
"description": "梳理上月请休假异常人员名单:花名册 + 考勤统计报表 + 请假记录(2026-09 起技师考勤联动收银系统),计算每人月末往前连续未出勤 ≥5 天并跨月追溯,确定请休假起止日期与天数(当前月返岗判定),导出 20 列 Excel 名单。",
"category": "人事考勤",
"icon": "",
"platform": "hr",
"uses_month": true,
"ui": true,
"capabilities": [
"xq0009"
],
"permissions": {
"platforms": [
"hr"
]
},
"fields": {
"type": "object",
"properties": {
"ref_month": {
"type": "string",
"title": "统计月份",
"default": "",
"description": "留空=上月;格式 YYYY-MM(如 2026-08)"
},
"save_dir": {
"type": "string",
"title": "输出目录",
"default": "D:\\资料\\人资\\请休假异常",
"description": "名单 Excel 与花名册输出目录"
},
"roster_path": {
"type": "string",
"title": "花名册路径",
"default": "",
"description": "留空=输出目录/员工花名册.xlsx(插件自动导出,15 分钟内缓存复用)"
},
"cashier_login_mode": {
"type": "string",
"title": "收银登录方式",
"default": "自动",
"enum": [
"自动",
"仅接口登录",
"钉钉扫码登录"
],
"description": "自动=接口登录优先、失败回退浏览器自动登录;仅接口登录=不弹浏览器;钉钉扫码登录=弹浏览器生成二维码图片(发到钉钉群让有权限的同事扫码),扫码后用 auth_code 换 Token 落盘复用,不需要插件里的账号密码"
},
"cashier_username": {
"type": "string",
"title": "收银系统账号",
"default": "",
"description": "技师考勤数据源(2026-09 起技师考勤迁移到收银系统);留空时复用已缓存登录态,无登录态则降级仅用 HR(技师数据缺失)"
},
"cashier_password": {
"type": "string",
"title": "收银系统密码",
"default": "",
"format": "password",
"description": "填了账号需同时填密码;凭据错误会中止运行(避免静默导出缺技师数据的名单)"
},
"push_webhook": {
"type": "string",
"title": "钉钉群机器人 Webhook",
"default": "",
"description": "留空=不推送;填写后「钉钉扫码登录」时把二维码上传到钉钉媒体库,再以图片消息推到该群(自定义机器人不能直接发本地图片)"
},
"push_secret": {
"type": "string",
"title": "钉钉机器人加签密钥",
"default": "",
"format": "password",
"description": "机器人安全设置为「加签」时填写,未配置加签留空"
}
},
"required": []
}
}