Commit Graph
146 Commits
Author SHA1 Message Date
zlwu 2cd1194d17 提交 2026-09-01 13:43:14 +08:00
zlwu 2fd826dbe1 提交 2026-09-01 11:32:49 +08:00
zlwuandCursor 2d6b367a67 feat(backend): 生产接收接种量改为 VARCHAR(255) 自由文本
同步模型、API、CRUD 与 SQL 迁移/基线,支持数字与说明文案组合录入。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 15:00:02 +08:00
zlwu 0d52442902 提交 2026-08-28 17:38:37 +08:00
zlwuandCursor 37e8ce52a7 feat(oa): expose GET /instances/history for start-page history
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 10:50:06 +08:00
zlwu a2d4d3b0d5 提交 2026-08-25 16:47:43 +08:00
zlwuandCursor caca786051 feat(backend): persist external target code on temporary QC work orders
Wire create/update API, list keyword search, and response dict field.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:40:22 +08:00
zlwu c7a7b6fa45 提交 2026-08-19 16:33:51 +08:00
zlwuandCursor 0a5bf28e58 feat: allow empty fields on qc material month template rows
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 13:06:35 +08:00
zlwuandCursor e4dcb43d77 feat(api): expose qc material month template endpoints
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:47:26 +08:00
zlwuandCursor 9cc66bdc80 feat: add production and QC menus for storage release review.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:43:22 +08:00
zlwuandCursor 50c41861bf feat: require reviewSide and write menus on storage release APIs.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:42:35 +08:00
zlwu 21e772db3a 提交 2026-08-18 17:23:46 +08:00
zlwuandCursor 49e208c241 feat: expose production task set REST APIs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 15:43:38 +08:00
zlwu d2792174b5 提交 2026-08-18 14:40:15 +08:00
zlwuandCursor c78d02a348 feat: wire production waste-output API route and menu mirror.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 11:30:16 +08:00
zlwuandCursor 301df76c65 feat(backend): expose GET /production-waste-outputs list API.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 11:06:56 +08:00
zlwuandCursor f014e3f88a feat(backend): filter QC material batches by stockStatus.
Support available (remaining_qty > 0) and exhausted (remaining_qty = 0) on the batch list API.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 09:41:10 +08:00
zlwuandCursor 52ec964f88 feat(api): expose QC inspection item template endpoints.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:46:59 +08:00
zlwuandCursor 9a0f48fbfd fix: allow production perm on shared pre-transit APIs.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 11:55:46 +08:00
zlwuandCursor b79ff2d830 feat: map oa-wechat-notify icon for mobile menu grid
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 12:14:04 +08:00
zlwuandCursor 80722d76db feat(mini-auth): add WeChat service-account bind APIs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 18:15:53 +08:00
zlwuandCursor 405808f4dd feat(mini-auth): allow silent wechat login when openid already bound
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 18:13:09 +08:00
zlwu 8c49021d38 提交 2026-08-13 14:31:57 +08:00
zlwu ec628e1b8d 提交 2026-08-12 15:48:15 +08:00
zlwu 1b2896c877 提交 2026-08-12 10:02:31 +08:00
zlwuandCursor a0775cf619 feat: wire mini menus API and OA start home entry for mobile
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 13:39:51 +08:00
zlwu 693e8a678e 提交 2026-08-11 11:13:01 +08:00
zlwuandCursor 80138c6388 feat: add filter search to OA pending/done/mine/cc task centers
Support server-side filters (app name, initiator, apply time, instance status)
with Fresh Mint filter blocks and 300ms debounced instant search.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 10:54:59 +08:00
zlwuandCursor efd7efbc69 feat: implement WeChat mini login with openid bind and phone match
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 16:24:19 +08:00
zlwu a9ba60cf6b 提交 2026-08-06 22:21:14 +08:00
zlwuandCursor de22678c87 feat: ship OA drafts/badges, role dual-track, and test-env deploy tooling.
Add approval instance drafts with menu badges, dual-track user/role read model and role bound names, form-designer outline docs, and bare-metal test deploy scripts. Ignore local test-server credential file.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 13:58:47 +08:00
zlwuandCursor fbfbaa6d17 feat(api): expose CC unread count and mark-read endpoints.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 12:11:14 +08:00
zlwuandCursor 06db3bc966 feat(permission): replace OA roles with post-bound roles and assignee posts
Unify effective roles via post-role bindings, remove dedicated OA role UI, and update OA assignee resolution plus related SQL/docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 17:41:04 +08:00
zlwuandCursor 684f152683 feat(oa): add resignation kit with last_work_day writeback on approval
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 17:51:33 +08:00
zlwuandCursor b22777fa2d feat(user): add hire_date and probation_months to sys_user and user admin
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 17:22:41 +08:00
zlwuandCursor 947e6ae6f8 feat(backend): expose receive account APIs and form validation.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 13:45:02 +08:00
zlwuandCursor 12df6d6836 feat(outbound-release): add reviewPhase, ready filter, and void hide
List supports pending/reviewed phase, readyForReviewOnly, and always hides schedules whose outbound QC or production WOs are all voided.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 13:34:29 +08:00
zlwuandCursor 9e5cc9188b feat(storage-release): add readyForReviewOnly list filter
Default pending list can exclude rows with unfinished QC or production work orders via SQL NOT EXISTS.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 11:16:42 +08:00
zlwuandCursor 33c4408557 feat: expose lineage QC API and wire viewer in outbound material dialog
Add GET /cell-products/{id}/lineage-qc, frontend client, readonly dialog,
and a 查看质检 action on outbound cell rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 09:55:51 +08:00
zlwu b569643581 提交 2026-07-28 21:33:15 +08:00
zlwuandCursor a3af039e74 feat: 质检工单结论、库位批量/筛选与协议样本接收质检摘要
落库并展示质检工单级结论(可编辑/任务派生),库位树支持批量新增子节点与货架格子检索,协议/捐赠列表补充接收与门禁质检摘要,并同步生产物料与工单卡片展示优化。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 18:46:24 +08:00
zlwuandCursor 57487fd0dc fix(protocol): save DJ pay details without blocking on due-sum mismatch
Persist payment before samples to avoid consuming sample codes on validation failure, soft-delete samples on create rollback, and surface DJ due-amount mismatch as a hint only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 17:49:36 +08:00
zlwu 7f4c9720e9 提交 2026-07-25 09:37:24 +08:00
zlwuandCursor 5ac5952c55 feat(oa): accept initiatorSelectByNode on start and flow-preview APIs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-23 16:10:36 +08:00
zlwuandCursor 71424e9dd1 feat(oa): resolve initiator_select per node map in engine
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-23 16:05:25 +08:00
zlwuandCursor dc54170771 feat(oa): expose POST /tasks/{id}/transfer API
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-23 15:14:35 +08:00
zlwuandCursor f2bf26cd8b feat(oa): add related-approval candidate and summary APIs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 16:48:53 +08:00
zlwu b8b0446542 提交 2026-07-22 10:43:55 +08:00
zlwu c8fe0cdc20 提交 2026-07-21 15:23:59 +08:00