fix(gxmu): 修复 spec #58 双轴 review 的 admin 侧问题
1. 新建审批链丢审批人规则:新建/编辑共用 toReviewFlowPayload,reviewerRule 不再漏带; 自检新增「审批链保存体」一组断言。 2. 审核列表模块筛选取注册表全量清单(?all=true),停用模块标题带「(已停用)」; 只有审批链配置下拉仍用启用集。 3. 审批人规则 placeholder 换成真实角色码 YouthLeagueCommitteeOfSecondaryColleges。 4. getModuleDetailConfig 改为显式传入注册表快照(纯函数),消除加载前后配置不一致; 快照在 module-registry 里冻结,并落 localStorage 供失败兜底。 5. 自检脚本:fixture 与种子对齐(10 行、5 个启用,含 cms_manuscript), 「5 组行为」改为按实际组数统计;新增 npm run selfcheck:module-registry。 6. 注册表取不到时:保留上次成功清单 + 顶部 a-alert 提示 + 重试按钮(不静默留空下拉)。 门禁:npm run build 通过;npm run selfcheck:module-registry 6 组行为全绿。
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
"dev": "vite",
|
||||
"serve": "vite build && vite preview",
|
||||
"build": "vite build",
|
||||
"selfcheck:module-registry": "node scripts/selfcheck-module-registry.mjs",
|
||||
"lint:eslint": "eslint --cache --max-warnings 0 \"src/**/*.{vue,ts}\" --fix",
|
||||
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite/",
|
||||
"clean:lib": "rimraf node_modules"
|
||||
|
||||
Reference in New Issue
Block a user