feat(agents, players): enhance agent console and players panel functionality
Some checks failed
lotteryadmin CI / build (push) Has been cancelled

Updated the AgentsConsole to improve node ID handling from URL parameters, ensuring better validation and selection logic. Enhanced the AgentsPlayersPanel by introducing new permissions for managing bills and refining the conditions for displaying bill actions based on user roles. Improved overall code clarity and maintainability through refactoring and added checks for selected bills.
This commit is contained in:
2026-06-17 15:23:46 +08:00
parent 7224d044ae
commit d6c7d2c361
4 changed files with 66 additions and 26 deletions

View File

@@ -31,6 +31,7 @@ This version has breaking changes — APIs, conventions, and file structure may
## Learned User Preferences
- 排障/上线评估时用 MCPpostgres直查库验证数据与权限勿仅凭代码推断生产态。
- 占成/授信/回水/上限等数值字段用 `AdminNumericStepper`(± 步进 + 可手输),勿单独裸 `input[type=number]`
- 对外文档(接入 + 后台运营手册)禁用 RBAC slug`prd.settlement.agent.manage`);对客户称「贵司」;排版忌 AI 感,正文对比度与字号可读优先。
- 文档 i18n`useTranslation` 须显式 `ns``returnObjects` 列表用 `Array.isArray` 守卫;避免节名与表头 key 冲突(如 `billStatus`)。