Repository navigation
docs: role-based user manual V0.1 (review draft) with real system screenshots - #21
Merged
Merged
Conversation
按 os-project-impl-training 的目录生成法,从权限模型推出六个业务角色的手册结构: 通用操作一章 + 人力审核 / 部门填报人员 / 分公司核对人员 / 人力负责人 / 分管领导五章, 每个操作固定四段(场景引入 / 操作步骤+截图 / 结果确认 / 常见问题),另附常见问题总表、 手册章节与界面对照索引、各角色练习任务清单。 62 张截图全部取自演示环境的真实界面,并且用目标角色本人的账号操作截取(人力审核、 部门填报、分公司核对、人力负责人、分管领导各一个演示账号),图上用红框与序号标注要 点击的按钮与要填的字段;演示数据沿一条完整业务线产生:方案配置 → 发布(含完整性检查 不通过)→ 填报 → 提交(含未填全被拦)→ 分公司核对(争议 + 确认)→ 人力驳回 → 复核 通过 → 加减分 → 数据调整 → 领导审批 → 归档快照 → 审计查询。 scripts/md2docx.cjs 增加 markdown 图片行支持:`` 按版心宽度缩放后 居中嵌入,图题沿用既有的居中图注样式;设计方案的生成结果逐字节不变(同源比对 word/document.xml 的 md5 一致)。package.json 增加 docs:manual 生成 Word 成品。 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VR2khJ3Me96btawVsfG6jb
… evidence Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VR2khJ3Me96btawVsfG6jb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the role-based user manual V0.1 (review draft) — one volume, one chapter per business role — plus the 62 screenshots it is built on, and the Word build that produces it.
docs/手册/KPI考核管理系统-操作手册.md— markdown source (single source of truth)docs/手册/图片/*.png— 62 screenshotsdocs/交付/KPI考核管理系统-操作手册-V0.1.docx— Word deliverablescripts/md2docx.cjs— now embeds markdown image linespackage.json— newdocs:manualscriptREADME.md— manual added to the document tableStructure
Chapters are derived from the permission model (six positions), not from the menu tree:
Every operation follows the fixed four-part shape: context → steps with annotated screenshot → how to confirm it worked → common problems.
Screenshots
All 62 screenshots come from a live instance seeded with demo data, each captured while signed in as the target role's own demo account (five demo accounts with business-style Chinese names and
example.comaddresses), with red boxes and numbered badges injected over the button or field the step refers to. The demo data was produced by walking one continuous business line end to end: plan configuration → publish (including a failed completeness check) → data entry → submit (including the blocked incomplete submit) → branch check (dispute, then confirm) → HR reject → re-review and approve → bonus points → source-data and result adjustments → leader approval → archive snapshot → audit query.Word build
scripts/md2docx.cjsgains one rule: a line of the form[alt](图片/x.png)becomes a centredImageRunscaled to the text width (PNG dimensions read from the IHDR chunk, so no image dependency is added). Captions keep the existing centred-caption rule. Everything else is unchanged — the design proposal build is byte-identical:(md5 of
word/document.xml; the zip container itself is not byte-reproducible because docx embeds fresh ids.)pnpm typecheckpasses. Nosrc/file is touched.Notes for review
The manual documents the interface as it behaves today. Interface issues noticed while writing it (object and field labels resolving to the English bundle, raw status values and identifiers surfacing in the audit list and the person-score chart, a technical prefix on error toasts, the check-task decision maker/time not being stamped, a required status field with no default on new adjustment records) are reported separately as candidate work items rather than worked around here.
🤖 Generated with Claude Code
https://claude.ai/code/session_01VR2khJ3Me96btawVsfG6jb
Generated by Claude Code