feat(plugin): XQ0084 0.1.1 插件界面 + 核对通过自动导入 HR 工资卡并回写台账
- 新增 ui-src(Vue3+Element Plus,v3 规范)与构建产物 ui/,plugin.json 开启 ui - 接入 hr_sdk.wage_import:核对通过记录按身份证匹配导入工资卡,成功后回写「是否更新HR系统=是」 - 委托发放/缺开户银行记录跳过并注明原因,现金发放仍不导入;导入失败不中断出表与推送 - 工作簿新增 HR导入/说明列,推送正文补充导入统计;_pack 排除 ui-src 并校验 ui/index.html
This commit is contained in:
@@ -79,11 +79,15 @@ def verify(item, ocr):
|
||||
done = config.text(row.get(config.F_DONE))
|
||||
|
||||
base = {
|
||||
"record_id": item.get("record_id") or "",
|
||||
"emp_no": config.text(row.get(config.F_EMP_NO)),
|
||||
"emp_name": config.text(row.get(config.F_EMP_NAME)),
|
||||
"holder": holder or config.text(row.get(config.F_EMP_NAME)),
|
||||
"trust": config.text(row.get(config.F_TRUST)),
|
||||
"reason": reason,
|
||||
"triggers": "、".join(item.get("triggers") or []),
|
||||
"table_bank": table_bank,
|
||||
"table_branch": config.text(row.get(config.F_BRANCH)),
|
||||
"table_card": table_card,
|
||||
"table_id": table_id,
|
||||
"ocr_id": "",
|
||||
@@ -95,6 +99,8 @@ def verify(item, ocr):
|
||||
"card_status": "-",
|
||||
"bank_status": "-",
|
||||
"self_check": "",
|
||||
"hr_status": "",
|
||||
"hr_note": "",
|
||||
"conclusion": "",
|
||||
"notes": "",
|
||||
"image_dir": item.get("image_dir") or "",
|
||||
|
||||
Reference in New Issue
Block a user