feat: 合同付款预警迁移到agent页面

This commit is contained in:
sophie committed 2026-09-16 09:36:18 +08:00
1 parent ef6bc42c20
commit 4ce2defef0
49 files changed
+1052 -423

No files matched your search

@@ -1,7 +1,9 @@
/**
* features/contract-payment/constants.ts
* 用途:合同付款预警前端权限键与路由 meta 共用常量。
* 用途:合同付款预警 Chat 视图与查询参数常量。
* 依赖:无。
* 逻辑:路由守卫、侧栏与用户管理勾选读取同一键,须与后端 User._role_default_feature_permissions 一致。
* 逻辑:Chat Tab、工作台旧地址重定向与详情下钻共用同一套 view 名。
*/
export const CONTRACT_PAYMENT_ACCESS_PERMISSION = 'contract_payment.access' as const;
export const CONTRACT_PAYMENT_VIEWS = ['ledger', 'review', 'batches'] as const;
export type ContractPaymentView = (typeof CONTRACT_PAYMENT_VIEWS)[number];