Commit Graph
83 Commits
Author SHA1 Message Date
zlwu 3a396d79a2 chore(mobile-h5): 切换本地联调环境与测试 AppID
continuous-integration/drone/tag Build is passing
按用户本地验收要求,将 APP_ENV 切换为 local,使用本机 API 和移动 H5 地址,并将微信 AppID 切换为测试号。
2026-11-10 09:37:04 +08:00
zlwuandCursor 1032631318 chore(mobile-h5): 微信小程序 AppID 切换为生产
将 mp-weixin.appid 改为 wx2b139581f4c855e4,与 APP_ENV=prod 对齐。

Refs: #77
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-09 16:32:24 +08:00
zlwuandCursor f9f79479e8 chore(mobile-h5): 小程序切换为生产环境配置
将 APP_ENV 设为 prod,API/OA H5/MinIO 指向 xwyd.zkxw.cn,便于发生产版。

Refs: #76
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-09 16:27:28 +08:00
zlwuandCursor e488b86c35 fix(mobile): 小程序 WebView 附件下载改走宿主原生预览页
continuous-integration/drone/tag Build is passing
鸿蒙微信 ArkWeb 下 H5 window.open 常静默失败,仅出现「开始下载…」。
OA/市场附件在小程序 WebView 内改为跳转 pages/oa/file-preview,
用 uni.downloadFile + openDocument 打开,浏览器环境仍用预签名直链。

Refs: #74
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-09 15:04:14 +08:00
zlwuandCursor 6a78c28121 chore(mobile-h5): 切换小程序到测试环境配置
将微信 AppID 与 APP_ENV 改为测试环境,便于对接测试后端与业务域名。

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

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-26 11:02:25 +08:00
zlwuandCursor ac8e471aca fix: align sample registration, freight scope, and OA datetime display
Let customer-service quick register write storage, certificate, and insurance separately without extra menu or data-scope checks. List freight by document data scope like the web admin, allow protocol staff outside the collection region, and pad OA datetimes to seconds so PC date pickers can show historical minute values.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-20 17:30:30 +08:00
zlwu 03fcc01d6d 提交 2026-10-17 17:36:14 +08:00
zlwu be2226e4ca 提交 2026-10-17 11:46:53 +08:00
zlwu 06d021807b 提交 2026-10-15 23:21:07 +08:00
zlwu ecde2ba07d 提交 2026-10-15 14:27:42 +08:00
zlwu 3950b5c334 提交 2026-10-14 12:32:03 +08:00
zlwu cc843535f5 提交 2026-10-13 15:18:01 +08:00
zlwuandCursor 3018d05bc4 feat(mobile-h5): show non-prod env stripe on home
Render a short local/test banner above the green header
so the active APP_ENV is obvious before WeChat upload.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 10:09:21 +08:00
zlwuandCursor a47a7db7dc feat(mobile-h5): export ENV_BANNER from APP_ENV
Add buildEnvBanner so the homepage can show a non-prod
stripe without hardcoding environment labels.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 10:01:42 +08:00
zlwu b9b4cc2673 提交 2026-09-24 09:59:26 +08:00
zlwuandCursor a4f00b2839 fix(mobile-h5): correct relative imports for web-qr login page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 14:15:58 +08:00
zlwuandCursor 56ddc212a7 feat: add mini program page for web-admin QR phone login
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 14:05:18 +08:00
zlwu d294ecad84 提交 2026-09-11 21:03:53 +08:00
zlwu 0d52442902 提交 2026-08-28 17:38:37 +08:00
zlwu d2792174b5 提交 2026-08-18 14:40:15 +08:00
zlwu 1bdf979a70 提交 2026-08-14 16:01:47 +08:00
zlwuandCursor eb337e6ce3 fix(mobile-h5): remove WeChat notify shortcut from home header
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 12:22:36 +08:00
zlwuandCursor 88d863288f fix(mobile-h5): remove follow-MP entry from login page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 12:22:00 +08:00
zlwuandCursor 01186adb46 fix(mobile-h5): show follow confirm after opening official account profile
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 12:18:23 +08:00
zlwuandCursor df42730cc8 feat(mobile-h5): add WeChat notify setup page with follow and bind steps
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 12:15:47 +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 239998ec44 feat(mobile-h5): add local follow-confirm helpers for WeChat notify steps
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 12:12:56 +08:00
zlwuandCursor 26fe6182df docs: design WeChat notify menu entry consolidating follow and bind
Capture the approved UX for a single「开启微信通知」menu after 抄送我的, with step 1/2 on one page and removal of login/home header entry points.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 09:39:30 +08:00
zlwuandCursor 722f634b61 feat(mobile-h5): restore session on OA notify deep link with returnUrl
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 19:28:25 +08:00
zlwuandCursor db975dac47 fix(mobile-h5): polish WeChat notify bind entry UX on home
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 19:25:41 +08:00
zlwuandCursor 3a41902d2b feat(mobile-h5): add OA WeChat notify bind entry and web-view page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 19:22:40 +08:00
zlwuandCursor afde67fd03 feat(mobile-h5): add follow service-account entry on login page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 19:20:41 +08:00
zlwu 283b8cd1e3 提交 2026-08-13 16:50:36 +08:00
zlwu 8c49021d38 提交 2026-08-13 14:31:57 +08:00
zlwuandCursor 93bb28c06b fix(mobile-h5): reserve left padding so OA circle indexes clear titles.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 14:26:56 +08:00
zlwuandCursor 6ece55a00b feat(mobile-h5): use solid circle badge for OA list card indexes.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 14:25:52 +08:00
zlwuandCursor e229525a61 feat(mobile-h5): show corner index on all five OA task list cards.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 11:37:10 +08:00
zlwuandCursor df941a3450 fix(mobile-h5): keep Task 2 commit scoped to corner styles and reach-bottom.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 11:34:31 +08:00
zlwuandCursor 9c3decc729 feat(mobile-h5): add shared OA card corner styles and reach-bottom distance.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 11:32:30 +08:00
zlwuandCursor 349019863b feat(mobile-h5): add formatCornerIndex for OA list corner badges.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 11:31:14 +08:00
zlwuandCursor 804995ea45 fix(oa): pass short fileUrl to PDF preview to avoid WeChat navigateTo limit
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 11:02:43 +08:00
zlwuandCursor fb625253f6 feat(oa): add WeChat host page to preview exported OA PDF
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 10:58:59 +08:00
zlwuandCursor cbef68199b feat(oa): add mobile approval PDF print for mine and cc
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 16:40:08 +08:00
zlwuandCursor 915253eefb feat(oa): show draft pending cc badges on mobile home menu
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 16:36:44 +08:00
zlwuandCursor 06b1468bf1 feat(oa): add cc read filters batch mark and unread styles
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 16:34:39 +08:00
zlwuandCursor ecdf73fe23 feat(oa): support withdraw and copy-restart on mobile mine flows
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 16:31:04 +08:00