Refine travel reimbursement steward flow

Align planner, runtime rules, and policy assets so travel guidance
matches the updated reimbursement workflow.
This commit is contained in:
caoxiaozhu
2026-06-15 22:55:18 +08:00
parent 792741709a
commit 9f7b8b46a3
85 changed files with 9496 additions and 2555 deletions

View File

@@ -1,17 +1,19 @@
{
"schema_version": "2.0",
"rule_code": "risk.application.large_expense_without_preapproval",
"name": "?????????",
"description": "???????? 2000 ?????????????",
"name": "通用大额费用无前置申请",
"description": "非业务招待、非办公用品的通用费用超过 2000 元且缺少关联费用申请。",
"enabled": true,
"requires_attachment": false,
"risk_dimension": "expense_control_demo",
"risk_category": "????",
"risk_category": "申请前置",
"ontology_signal": "application_required",
"evaluator": "template_rule",
"template_key": "composite_rule_v1",
"finance_rule_code": "expense.preapproval.policy",
"finance_rule_sheet": "????????",
"finance_rule_sheet": "费用申请审批规则",
"basic_rule_code": "expense.preapproval.policy",
"basic_rule_sheet": "费用申请审批规则",
"business_stage": [
"reimbursement"
],
@@ -34,67 +36,67 @@
"fields": [
{
"key": "claim.amount",
"label": "????",
"label": "报销金额",
"type": "number",
"source": "claim"
},
{
"key": "claim.expense_type",
"label": "????",
"label": "费用类型",
"type": "enum",
"source": "claim"
},
{
"key": "claim.department_name",
"label": "??",
"label": "部门",
"type": "text",
"source": "claim"
},
{
"key": "claim.reason",
"label": "??",
"label": "事由",
"type": "text",
"source": "claim"
},
{
"key": "item.item_reason",
"label": "????",
"label": "明细事由",
"type": "text",
"source": "item"
},
{
"key": "application.id",
"label": "???ID",
"label": "申请单ID",
"type": "text",
"source": "application"
},
{
"key": "application.claim_no",
"label": "????",
"label": "申请单号",
"type": "text",
"source": "application"
},
{
"key": "application.status",
"label": "????",
"label": "申请状态",
"type": "enum",
"source": "application"
},
{
"key": "application.approved_amount",
"label": "??????",
"label": "申请审批金额",
"type": "number",
"source": "application"
},
{
"key": "application.expense_type",
"label": "??????",
"label": "申请费用类型",
"type": "enum",
"source": "application"
},
{
"key": "application.department_name",
"label": "????",
"label": "申请部门",
"type": "text",
"source": "application"
}
@@ -144,10 +146,10 @@
"meal",
"entertainment",
"office",
"????",
"??",
"????",
"??"
"业务招待",
"招待",
"办公用品",
"办公"
]
}
],
@@ -161,10 +163,12 @@
]
},
"formula": "amount > threshold AND NOT hasApplication",
"condition_summary": "?????????????????? 2000 ????????????????",
"message_template": "?????? 2000 ?????????????????????????",
"condition_summary": "非业务招待、非办公用品的通用费用超过 2000 元且未关联费用申请时触发。",
"message_template": "通用大额费用超过 2000 元但未找到关联费用申请,请补充前置申请或审批说明。",
"finance_rule_code": "expense.preapproval.policy",
"finance_rule_sheet": "????????",
"finance_rule_sheet": "费用申请审批规则",
"basic_rule_code": "expense.preapproval.policy",
"basic_rule_sheet": "费用申请审批规则",
"business_stage": [
"reimbursement"
],
@@ -177,14 +181,14 @@
"facts": [
{
"id": "A",
"label": "????",
"label": "报销金额",
"fields": [
"claim.amount"
]
},
{
"id": "B",
"label": "???",
"label": "关联申请",
"fields": [
"application.id",
"application.claim_no"
@@ -192,7 +196,15 @@
}
],
"hit_logic": "A > threshold AND NOT EXISTS(B)"
}
},
"basic_rule_refs": [
{
"code": "expense.preapproval.policy",
"sheet": "费用申请审批规则",
"name": "公司费用申请审批规则",
"component": "preapproval"
}
]
},
"outcomes": {
"pass": {
@@ -206,25 +218,43 @@
}
},
"metadata": {
"owner": "??????",
"owner": "财务制度管理组",
"stability": "platform",
"source_ref": "??????????",
"source_ref": "公司费用申请审批规则",
"created_at": "2026-06-05T00:00:00+08:00",
"created_by": "system",
"risk_score": 86,
"risk_level": "high",
"rule_title": "?????????",
"rule_title": "通用大额费用无前置申请",
"finance_rule_code": "expense.preapproval.policy",
"finance_rule_sheet": "????????",
"finance_rule_sheet": "费用申请审批规则",
"basic_rule_code": "expense.preapproval.policy",
"basic_rule_sheet": "费用申请审批规则",
"business_stage": [
"reimbursement"
],
"expense_types": [
"all"
],
"budget_required": true
"budget_required": true,
"basic_rule_refs": [
{
"code": "expense.preapproval.policy",
"sheet": "费用申请审批规则",
"name": "公司费用申请审批规则",
"component": "preapproval"
}
]
},
"severity": "high",
"risk_score": 86,
"risk_level": "high"
"risk_level": "high",
"basic_rule_refs": [
{
"code": "expense.preapproval.policy",
"sheet": "费用申请审批规则",
"name": "公司费用申请审批规则",
"component": "preapproval"
}
]
}