For agentic workers: REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (
- [ ]) syntax for tracking.
Goal: 角色列表支持名称快捷查看,并展示有效拥有用户与关联职位。
Architecture: 后端在 list_roles 批量 enrichment boundUserNames / boundPostNames;前端对齐职位列表的 link 与多值换行单元格。
Tech Stack: FastAPI/SQLAlchemy、Vue 3 + Element Plus
Files: backend/app/crud/role.py, backend/tests/test_role_list_bound_names.py
_bound_user_names_by_role_ids、_bound_post_names_by_role_idslist_roles / _row_to_dict 输出新字段Files: web-admin/src/types/api.d.ts, web-admin/src/views/system/role/index.vue
RoleItem 增加字段handleViewpytest 相关用例(4 passed)./scripts/update-graph.sh backend(graphify 因节点数变化拒绝覆盖,可后续 force 重跑)