Files
37duAutomation/plugins/XQ0001-0100/XQ0036 门店员工起调薪处理/plugin.json
T
puddy 8cab685d8f feat(xq0036): 接入钉钉群机器人通知,webhook/加签界面配置
新增 report/notify.py 走 dingtalk_sdk 推送处理汇总与失败/待人工核对明细(分批、状态色、试算标题);plugin.json 增加 dingtalk_sdk 依赖与 push_enabled/robot_webhook/robot_secret 字段;UI 新增「钉钉通知」一行配置区;版本 0.1.8。
2026-11-20 15:45:13 +08:00

85 lines
2.8 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": "xq0036",
"name": "门店员工起调薪处理",
"version": "0.1.8",
"description": "花名册职位序列过滤(仅门店服务/技师/管理序列):入职起薪、其他调薪(自动判断换账套与调薪类型),核对工资项/岗位名称/固定项总额与线下标准一致后提交;离职不处理;纳税单位缺失时按部门全路径会馆兜底;技师岗免核对固定项总额。默认试算不提交,结果导出 xlsx;可选推送到界面配置的钉钉群机器人。",
"category": "人资",
"icon": "",
"platform": "hr",
"uses_month": false,
"ui": true,
"capabilities": [
"xq0036"
],
"permissions": {
"platforms": [
"hr"
]
},
"requires": {
"sdks": {
"hr_sdk": {
"compat": "^0.2"
},
"dingtalk_sdk": {
"compat": "^0.1"
}
}
},
"fields": {
"type": "object",
"properties": {
"work_dir": {
"type": "string",
"title": "工作目录(标准表 + 处理结果)",
"default": "D:\\资料\\人资\\门店员工起调薪处理",
"description": "线下《起调薪薪资标准》xlsx 所在目录:按文件名关键词(起调薪薪资标准/薪资标准)与文件名日期自动取最新一个;处理结果 xlsx 也输出到该目录"
},
"date_start": {
"type": "string",
"title": "开始日期",
"default": "",
"description": "YYYY-MM-DD;留空=全部待办"
},
"date_end": {
"type": "string",
"title": "结束日期",
"default": "",
"description": "YYYY-MM-DD;留空=全部待办"
},
"dry_run": {
"type": "boolean",
"title": "试算模式(不提交)",
"default": true,
"description": "开启后只核对并输出结果,不调用起薪/调薪提交;验证通过后可关闭"
},
"debug_mode": {
"type": "boolean",
"title": "调试日志",
"default": false,
"description": "开启后输出完整调试信息(默认关闭)"
},
"push_enabled": {
"type": "boolean",
"title": "钉钉群通知",
"default": false,
"description": "开启后把本次处理汇总(成功/待人工核对/失败明细)推送到下方群机器人"
},
"robot_webhook": {
"type": "string",
"title": "机器人 Webhook",
"default": "",
"description": "钉钉群自定义机器人地址(https://oapi.dingtalk.com/robot/send?access_token=...)"
},
"robot_secret": {
"type": "string",
"title": "加签密钥(Secret)",
"default": "",
"description": "机器人安全设置选择「加签」时填写 SEC 开头的密钥;未加签留空"
}
},
"required": []
}
}