Commit Graph
1030 Commits
Author SHA1 Message Date
zlwuandCursor 25c12ad4ff chore(agents): point Figma config to web and mobile design systems
Replace the demo Figma reference with the confirmed web/mobile authority files and status notes so agent UI work follows the current design systems.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-05 11:00:53 +08:00
zlwu 5b440df17e Merge origin/V2.0: include list column order fix from #37 2026-11-05 10:55:34 +08:00
cykj 67846493fa Merge pull request 'fix(web-admin): 列表所属项目/项目组列移到序号之后' (#37) from codex/issue-34-list-col-order-20662a540e4e into V2.0
fix(web-admin): 列表所属项目/项目组列移到序号之后 (#37)

Refs: #34
2026-11-05 02:55:07 +00:00
zlwu 81154f4c94 Merge remote-tracking branch 'origin/V2.0' into V2.0 2026-11-05 10:50:41 +08:00
cykj 125398a3f5 Merge pull request 'fix(web): 加宽项目组新增编辑弹窗并调整字段布局' (#36) from codex/issue-33-team-dialog into V2.0 2026-11-05 02:49:53 +00:00
zlwu af730ad050 Merge remote-tracking branch 'origin/V2.0' into codex/issue-33-team-dialog 2026-11-05 10:48:32 +08:00
zlwu 2e21884d65 Merge remote-tracking branch 'origin/V2.0' into V2.0 2026-11-05 10:40:34 +08:00
cykj 6292badf8e Merge pull request 'fix(oa): 审批单 PDF 补齐评论、提及及附件链接' (#35) from codex/issue-30-oa-print-comments into V2.0
User explicitly requested merging issue #30 before user testing. Acceptance remains pending; keep issue open.
2026-11-05 02:40:21 +00:00
zlwu 5a55e9f574 fix(web): widen project team edit dialogs and give multi-select fields full rows 2026-11-05 10:35:08 +08:00
zlwu a511004812 fix(oa): include discussion comments and attachment links in approval PDFs
Merge discussion comments into the existing printed approval flow on Web and mobile OA, preserving detail timeline order and hiding revoked content. Include mentions and absolute attachment URLs, and add PDF link annotations so rasterized exports retain usable links. Add regression tests for ordering, attachments, mentions and revoked comments. Related to Gitea issue #30.
2026-11-05 10:27:39 +08:00
zlwu f1b4a5ce26 fix(web-admin): place project columns after index in lists
Move 所属项目/项目组 after selection and serial-number columns so multi-select and index stay leftmost across affected business lists.
2026-11-05 10:26:59 +08:00
zlwuandCursor 01fef051da chore(cursor): enable the Figma plugin
The screen baseline is drawn in the shared Figma file, so the workspace plugin needs to stay enabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-05 06:45:27 +08:00
cykj 7ac2ff282c Merge pull request 'feat(project): add a standalone presign statistics column' (#22) from codex/issue-13-project-statistics into V2.0 2026-11-04 06:55:22 +00:00
zlwu 79ca01ac0d feat(project): show presign counts as a statistics column
Group presign counts by project and team, include totals and unassigned rows, and reuse count drill-down. Remove the standalone footer while retaining presignTotal compatibility and the four formal business types.

Related to issue #13. Independent source review completed; no tests or builds run under user self-test arrangement.
2026-11-04 14:53:07 +08:00
cykj ce8babcb7b Merge pull request 'feat(project): show business fields in statistics detail dialogs' (#21) from codex/issue-13-project-statistics into V2.0 2026-11-04 06:42:47 +00:00
zlwu fa5efa9629 feat(project): show business fields in statistics details
Reuse assignment business columns and keyword searches in the four statistics drill-down lists. Add a statistics-permission read endpoint sharing tenant-scoped detail queries without granting assignment access.

Related to issue #13. Independent static review completed. User self-test arrangement: regression cases authored, no tests or builds executed.
2026-11-04 14:40:04 +08:00
cykj f04e24186f Merge pull request 'fix(project): show sample codes in storage and donation assignments' (#20) from codex/issue-13-project-statistics into V2.0 2026-11-04 06:30:24 +00:00
zlwu 6e682f8d18 fix(project): identify storage and donation assignments by sample codes
Replace order number columns with batched sample codes and support sample keyword searches without duplicating parent records. Preserve tenant and soft-delete boundaries, existing assignment writes and preview identifiers.

Related to issue #13. Independent static review completed; tests authored but not run under user self-test arrangement.
2026-11-04 14:27:57 +08:00
cykj 74064e137c Merge pull request 'feat(project): add business tabs and identifying fields for assignment' (#19) from codex/issue-13-project-statistics into V2.0 2026-11-04 06:16:58 +00:00
zlwu 29f9866a24 feat(project): group assignment records by business type
Add four business tabs and identifying fields so users can locate orders before assigning projects. Introduce a permission-scoped detail query with child EXISTS searches and batched enrichment, preserving statistics and assignment writes.

Approved Figma v2; independent source review completed. Tests authored but not executed under the user self-test arrangement. Related to issue #13.
2026-11-04 14:14:50 +08:00
cykj 2a7e763cdf Merge pull request 'fix(project): remove statistics explanation banner' (#18) from codex/issue-13-project-statistics into V2.0 2026-11-04 05:46:15 +00:00
zlwu 560bb3dde2 fix(project): remove statistics list explanation banner
Remove the explanatory alert above the statistics table as requested, keeping the separate presign count and existing statistics behavior.
2026-11-04 13:45:35 +08:00
cykj ab019f6e0e Merge pull request 'fix(project): fill date fields in project dialogs' (#17) from codex/issue-13-project-statistics into V2.0 2026-11-04 05:42:47 +00:00
zlwu 801a5a75d2 fix(project): fill date input widths in project dialogs
Set both project date pickers to full column width, matching existing form conventions in create and edit dialogs.
2026-11-04 13:41:44 +08:00
cykj dae1d04672 Merge pull request 'fix(project): add project management menu icon' (#16) from codex/issue-13-project-statistics into V2.0 2026-11-04 04:21:23 +00:00
zlwu 88b971e1b7 fix(project): add icon to project management directory
Reuse the existing folder-chart icon in frontend and backend menu metadata so the project management sidebar directory has a leading icon.
2026-11-04 12:20:21 +08:00
cykj 4b1bf0f783 Merge pull request 'feat(project): add project management menu grouping' (#15) from codex/issue-13-project-statistics into V2.0 2026-11-04 04:16:38 +00:00
zlwu d8d7001b9b feat(project): group project pages under a management menu
Add a second-level project management directory to match the requested navigation hierarchy. Preserve page permissions and legacy URLs, and migrate existing role grants to include the new ancestor. User will validate after integration.
2026-11-04 12:15:00 +08:00
cykj c4d157b23a Merge pull request 'feat(project): 项目组归属、四业务统计与项目选择权限' (#14) from codex/issue-13-project-statistics into V2.0 2026-11-04 03:54:19 +00:00
zlwu 0bddf38e52 feat(project): enforce team-scoped selection with explicit all-project permission
Separate cross-team selection from attribution maintenance and apply the same scope to options, history filters and writes. Add an opt-in tenant permission without granting existing roles.

Protect authorization mutation paths against self-grants, validate tenant targets and links, and include menu ancestors atomically. Cover role union, revocation, mobile writes and administration boundaries with regression tests.
2026-11-02 17:09:20 +08:00
zlwu b510d18439 fix(project): add list row numbers and align search actions
Keep project management lists and related detail, preview and audit dialogs consistent with existing table and filter styles. Number paginated rows continuously and align statistics and assignment searches to the right.
2026-11-02 16:31:02 +08:00
zlwu f41e6f60d6 feat(projects): move management pages into a dedicated top-level menu
Add the Project navigation group alongside Market, Production and Quality. Preserve existing leaf IDs and role grants while migrating the menu hierarchy, keep legacy URLs redirecting, and align frontend/backend menus.
2026-11-02 16:22:18 +08:00
zlwu a4c4028144 fix(projects): resolve runtime permissions and migration compatibility
Use existing menu permissions for management actions, preserve shared list styles in teleported detail dialogs, and align project attribution column collations with the project primary key. Record isolated MySQL and browser validation while retaining the real-device acceptance gate.
2026-11-02 16:04:31 +08:00
zlwu bd62416263 feat(project): add team attribution and business statistics
Add tenant-scoped teams and projects, order attribution across four businesses, conversion inheritance, scoped statistics and audited reassignment. Reuse existing Web and mobile UI patterns; team regions and hospitals remain informational.

Include incremental SQL and isolated regression coverage. Actual MySQL and browser/WebView integration validation remains pending; relates to issue #13.
2026-11-02 15:29:43 +08:00
cykj e9df9d65e1 Merge pull request 'chore(agents): 将协议 6 个人智能体接入 V2.0' (#12) from codex/personal-agent-pilot into V2.0
固定官方 main eb4c320,保留工程配置与原授权;252 项测试及独立审查通过。
2026-11-02 04:02:21 +00:00
zlwu a56d349152 chore(agents): 同步 V2.0 工程规则并保留智能体安装 2026-11-02 12:00:03 +08:00
zlwu 42301730ef chore(agents): 更新个人智能体至官方 main eb4c320
固定协议 6 安装内容与来源摘要,保留试点工程配置及既有授权,为合入 V2.0 提供可复现版本。
2026-11-02 11:59:53 +08:00
zlwuandCursor 289e38f413 chore(mcp): 登记 Figma MCP 服务地址
continuous-integration/drone/tag Build is passing
让 Cursor 与 Claude 都能连到同一 Figma 端点,配置中不含凭据。

Co-authored-by: Cursor <cursoragent@cursor.com>
20261102
2026-11-02 09:19:54 +08:00
zlwuandCursor 245b8c9a81 docs(agents): 区分应用运行凭据与 Agent 操作账号
避免排障时把管理账号写进应用配置,操作账号只从本工程授权来源按需读取。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-02 09:19:54 +08:00
cykj 0f7115205d Merge pull request 'fix(mobile): 按确认原型美化财务备注弹窗' (#9) from codex/oa-finance-remark-ui into V2.0 2026-10-30 14:18:30 +00:00
zlwu a8ee0fcebd fix(mobile): polish finance remark dialog from approved Figma design
Use compact layout, independent buttons and keyboard-aware viewport; retain drafts on failure and block closing during save. Require Figma approval for future screens and dialogs unless explicitly waived.
2026-10-30 22:17:49 +08:00
cykj 5b1367c775 feat(oa): add permission-controlled shared finance remarks (#8)
Refs #7. H5 acceptance confirmed; approved test database migration verified. No release tag or deployment.
2026-10-30 13:44:33 +00:00
zlwu 802985dd99 docs(oa): record H5 acceptance and approved test database migration 2026-10-30 21:43:41 +08:00
zlwu 0e64b413ce feat(oa): add permission-controlled shared finance remarks to done center
Share one finance remark per approval instance across Web and mobile. Require the explicit permission and the current tenant user's own done task for every read and write; keep general instance responses free of financial remarks.

Add idempotent MySQL migration without automatic role grants, cross-end editors, isolated backend and frontend tests, and rollout requirements. Refs #7; platform validation and target database migration remain pending.
2026-10-30 20:42:05 +08:00
cykj 86df360f35 docs(agents): confirm application scope before implementation (#6)
Require clarification of unclear application scope before business changes; reuse confirmed scope and confirm shared API impact. Refs #4.
2026-10-30 10:33:05 +00:00
zlwu 0e98593671 docs(agents): confirm application scope before implementation
Ask which applications to change when task scope is unclear, reuse confirmed scope, and confirm shared API impact before expanding it. Refs #4.
2026-10-30 18:32:04 +08:00
cykj f12980a053 docs(agents): adopt test ownership and automatic issue completion (#5)
Record default Agent verification and explicit user acceptance, followed by authorized merge, push and issue closure. Refs #4.
2026-10-30 10:17:12 +00:00
zlwu 6356bdecc0 docs(agents): adopt test ownership and automatic issue completion
Default to agent validation followed by merge/push/close. Respect explicit user testing without running tests or builds, provide branch and runtime handoff, and resume completion on acceptance. Preserve separate release and service permissions. Refs #4.
2026-10-30 18:14:05 +08:00
cykj 05de8924b0 fix: 合并采集协议单地区经理负责人筛选修复 (#2)
用户已确认 Web 与小程序测试通过并授权合入 V2.0。Refs #1;合并后执行集成回归再关闭工单。
2026-10-30 10:02:59 +00:00
zlwu 3793dcdfac docs(agents): require Gitea issue intake and repair status updates
Create issues for new unnumbered development requests, read supplied issues before implementation and reuse the active issue for follow-ups. Report repaired, acceptance, merge and release states separately.
2026-10-30 17:52:45 +08:00