Commit Graph
38 Commits
Author SHA1 Message Date
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 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
zlwuandCursor 5e563a6669 fix: 子表保存改为就地同步,避免整批换 id 打断外键。
协议样本、生产产出和盘点明细按行更新并保留原 id;补齐存储证明质检预填、离职人员显示名,以及样本采集通知模板字段。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-28 10:51:53 +08:00
zlwuandCursor 5dad1bb0e3 fix: 协议子资源单事务保存,并补齐样本编码/OA/质检等近期能力
锁定缴费校验失败时整单回滚,避免样本半成功落库;前端禁止删除锁定缴费样本,改码走更正编码。同步落地样本更正、采集微信通知、OA提及未读、细胞产品套餐与相关迁移文档。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-26 11:02:25 +08:00
zlwu be2226e4ca 提交 2026-10-17 11:46:53 +08:00
zlwu 3950b5c334 提交 2026-10-14 12:32:03 +08:00
zlwu 02d1e16036 fix: scope authentication roles to the current tenant. 2026-10-11 12:25:50 +08:00
zlwu 337d31bbe8 feat: integrate required mobile market backend dependencies. 2026-10-11 12:00:52 +08:00
zlwu 4928e00423 提交 2026-09-28 10:49:53 +08:00
zlwuandCursor 68eb46c47d chore: add wx-qr login config and encrypt exclude paths
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 13:37:35 +08:00
zlwu 679285dcc6 提交 2026-09-17 23:49:16 +08:00
zlwu d294ecad84 提交 2026-09-11 21:03:53 +08:00
zlwu 1bdf979a70 提交 2026-08-14 16:01:47 +08:00
zlwuandCursor cfb7a227e3 feat(backend): add WeChat service-account template message sender
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 18:02:49 +08:00
zlwu 8c49021d38 提交 2026-08-13 14:31:57 +08:00
zlwu ec628e1b8d 提交 2026-08-12 15:48:15 +08:00
zlwu 693e8a678e 提交 2026-08-11 11:13:01 +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
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
zlwu 6eea13370c 提交 2026-07-14 13:55:11 +08:00
zlwu cdaa0ac273 提交 2026-07-06 16:59:53 +08:00
zlwu 038a60b09e 提交 2026-07-01 16:37:33 +08:00
zlwu e707ea57ab 提交 2026-06-26 10:48:09 +08:00
zlwu b23a2eb350 提交 2026-06-24 10:39:55 +08:00
zlwu 93c28759d0 提交 2026-06-23 10:25:33 +08:00
zlwu a79aee2614 提交 2026-06-14 09:14:11 +08:00
zlwu eec61cb5dd 提交 2026-06-04 12:57:59 +08:00
zlwu 09afdb1d65 提交 2026-06-02 09:39:50 +08:00
zlwu f1f5d24eff 提交 2026-05-28 08:37:37 +08:00
zlwu b6c63591ea 提交 2026-05-28 00:15:29 +08:00
zlwu 74f751d0d1 提交 2026-05-21 11:09:29 +08:00
zlwu c6c3a37fa7 提交 2026-05-20 18:06:21 +08:00
zlwu dc31968204 提交 2026-05-20 14:32:07 +08:00
zlwu 93cd506a90 提交 2026-05-19 12:03:08 +08:00
zlwu 2a4767a014 提交 2026-05-17 23:08:38 +08:00
zlwu 8e2dd8b9f0 提交 2026-05-17 08:36:37 +08:00
zlwu 058811ae77 提交 2026-05-12 22:07:53 +08:00
zlwu 2e9d020d50 提交 2026-05-12 16:35:07 +08:00