1.4 KiB
1.4 KiB
Risk People Overview Risk Point Frontend Implementation Plan
For agentic workers: REQUIRED: Use superpowers:subagent-driven-development (if subagents available) or superpowers:executing-plans to implement this plan. Steps use checkbox (
- [ ]) syntax for tracking.
Goal: 确认风险人员总览前端在后端返回多条核心异常点拼接字符串后无需额外改造即可正常展示。
Architecture: 保持 RiskPeopleSection.vue 表格结构、字段绑定和接口契约不变,不新增补丁逻辑。前端仅做回归验证,确保 riskPoint 继续作为普通字符串渲染。
Tech Stack: Vue 2, Element UI, Node.js
Task 1: 回归确认风险人员总览字段绑定
Files:
-
Verify:
ruoyi-ui/src/views/ccdiProject/components/detail/RiskPeopleSection.vue -
Verify:
ruoyi-ui/tests/unit/preliminary-check-risk-people-binding.test.js -
Step 1: Review current binding
确认“核心异常点”列仍绑定 riskPoint,不拆分数组,不新增格式化逻辑。
- Step 2: Run regression check
Run:
cd ruoyi-ui
node tests/unit/preliminary-check-risk-people-binding.test.js
Expected:
-
PASS -
Step 3: Commit
git add ruoyi-ui/src/views/ccdiProject/components/detail/RiskPeopleSection.vue ruoyi-ui/tests/unit/preliminary-check-risk-people-binding.test.js
git commit -m "确认风险人员总览核心异常点前端展示口径"