Commit Graph
1016 Commits
Author SHA1 Message Date
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
zlwu d1347e8cea fix(web): limit protocol managers to active region leaders
Provide tenant-scoped leader options for the Web protocol form, exclude ordinary members and retain historical names only for display. Default only to a leader of the selected region and prevent delayed requests from replacing manual choices.

Refs #1. Add backend option isolation and Web cascade regression coverage.
2026-10-30 17:47:43 +08:00
zlwu f6cfce3315 fix(market): restrict protocol managers to region leaders
Use a dedicated tenant-scoped active region leader list instead of all region staff. Preserve historical labels without offering them as choices and remove the ordinary-member default during region changes.

Refs #1. Add regression coverage for tenant isolation, inactive records, deduplication, historical labels and region cascades.
2026-10-30 16:11:17 +08:00
zlwu d0ff3cf23a chore(agents): 接入个人开发流程的隔离试点
保留原有工程规则,以共享 Skill 和配置记录应用映射、V2.0、Figma 示例及用户确认的 Drone 状态。安装、重复执行与恢复已验证;不修改 MCP、业务代码和流水线,不代表真实业务或两端会话验收完成。
2026-10-30 15:47:18 +08:00
zlwu b6080571ff chore(sql): 清空历史数据库导出内容
移除 zkxw.sql 中的历史业务导出及连接信息,避免在当前版本继续携带业务数据;保留文件路径以兼容现有打包引用。该文件现为空,不再提供数据库初始化内容,空库部署仍需另行补齐并验证基线。
2026-10-30 10:02:31 +08:00
zlwu 7b28447e02 chore(skills): 引入工程协作技能并配置 Claude 引用
新增 27 个 mattpocock 技能及配套资源,补充来源锁定记录与 Claude 相对符号链接,使仓库内开发工具共享技能配置。
2026-10-30 10:02:24 +08:00
zlwu b220298f89 chore: 清理历史资料并规范工程目录与开发规则
为减少仓库噪声和重复规则,整理当前开发入口并移除已废弃资料。

- 精简根 AGENTS,补充四个应用规则与 README,统一规范入口
- 归整部署文件、SOP 原稿和参考资源,修正迁移后的脚本路径
- 取消虚拟环境、工具状态、业务导出及备份的跟踪,本机所需原件保留
- 移除停用的 graphify 配置、脚本与产物
- 删除历史业务文档、执行计划、OpenSpec 业务变更和移动 UI 原型
- 清理失效引用,历史细胞产品导入改为必须显式指定 --file

验证:git diff --cached --check、OpenSpec 严格校验、导入参数隔离检查 3/3 通过;
迁移文件完整性和现行链接已核对。未执行部署、业务数据导入或服务启停。
2026-10-29 23:08:29 +08:00
zlwu 8321246765 fix: 取消附件上传超时并放宽代理限制,避免慢网大文件上传中断。 2026-10-29 16:01:26 +08:00
zlwuandCursor 8020e667f1 fix: 多张大图并行上传时不再拆掉进行中的请求,并放宽附件上传超时。
审批附件在第一张成功后会重建上传组件,其余请求被取消并显示超时。现保留进行中的文件,附件请求与 Nginx 上传超时放宽到 5 分钟,存储写入不再堵住事件循环。

Co-authored-by: Cursor <cursoragent@cursor.com>
20261029
2026-10-29 10:42:07 +08:00
zlwuandCursor 50d56ce0bb chore: 添加仓库根目录实验室场景图 fmtp.png。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-29 09:37:50 +08:00
zlwuandCursor 4efd423d2d chore: 同步提交后自动更新的知识图谱。
Co-authored-by: Cursor <cursoragent@cursor.com>
202610281050
2026-10-28 10:52:38 +08:00
zlwuandCursor 5e563a6669 fix: 子表保存改为就地同步,避免整批换 id 打断外键。
协议样本、生产产出和盘点明细按行更新并保留原 id;补齐存储证明质检预填、离职人员显示名,以及样本采集通知模板字段。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-28 10:51:53 +08:00
zlwuandCursor d66e55af65 fix: 小程序新增样本发微信通知,并放宽部分 Web 菜单强校验。
移动端协议保存后调度样本采集服务号通知;收款确认/储存证等写接口改为运营端登录即可。同步日期字段规范化与 OA 日期选择器复开修复。

Co-authored-by: Cursor <cursoragent@cursor.com>
202610261602
2026-10-26 16:02:47 +08:00
zlwuandCursor 045ee8d0e3 fix: Drone 打包改用阿里云 Alpine 源,避免 apk 偶发失败
国内机访问 dl-cdn.alpinelinux.org 会 Permission denied,导致 bash/python3 装不上整包失败。

Co-authored-by: Cursor <cursoragent@cursor.com>
20261026-alpine-mirror
2026-10-26 11:18:58 +08:00
zlwuandCursor 4583c54568 chore: 同步 web-admin graphify manifest
Co-authored-by: Cursor <cursoragent@cursor.com>
20261026
2026-10-26 11:02:43 +08:00