Commit Graph

8 Commits

Author SHA1 Message Date
renjianbo
a4dd5c80ac docs: add code sync task command reference
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-07 10:27:13 +08:00
renjianbo
1d0a0b9b04 feat: add request.js utility, service page, and fix hospital image URLs
- Add request.js for unified API calls with loading/error handling
- Add service page (service type listing)
- Fix hospital list to load from API with proper image URL construction
- Add service types dynamic loading on index page
- Various mini program improvements (order, care, wallet pages)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-07 10:13:26 +08:00
renjianbo
7d56ff4bfe fix: add placeholder data and error handling for nursing info display
- Pre-populate nursingInfoList with placeholder to prevent empty RecyclerView
- Add try-catch around JSON parsing in initNursingInfo
- Add toast on parse failure

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-23 01:29:43 +08:00
renjianbo
97ad453e89 feat: implement serve-first-pay-later order flow
- Redesign order status: 0待接单→1已接单→2服务中→3待支付→4已完成
- Backend: startService now requires status=1, completeOrder sets status=3
- Backend: payment callback sets status=4, only status=3 can pay
- Backend: cancel only allowed at status 0/1 (not during service)
- Mini-program: update status labels and payment button to status=3
- Android: TobeSerFragment queries status=1, SerFragment queries status=2
- Update all status comments and UI mappings across three platforms

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-21 23:16:27 +08:00
renjianbo
17e91fcf84 refactor: redesign order flow - serve first, pay later
- Redesign order status flow: 0待接单→1已接单→2服务中→3待支付→4已完成
- Allow service start from status 1 (removed payment barrier)
- Add payment entry after service completion (status 3)
- Update Android/miniprogram UI status mappings
- Add order flow design document to docs/

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-21 00:56:17 +08:00
renjianbo
68f830c75c docs: add cloud server deployment guide and update improvement log
- New: 云服务器部署实操手册.md covering Docker, database, frontend
  deployment, Git sync, paramiko, API testing, menu management, and
  troubleshooting
- Update: 改进完成记录.md with Issue #18, #21, and order_view fix

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-17 01:18:22 +08:00
renjianbo
cccc88e2e2 refactor: de-submodule rlz backend and integrate all source code
Move rlz/ backend from git submodule to first-class source tree.
Includes all RuoYi 3.8.3 backend source, mapper XMLs, SQL scripts,
Dockerfile, and build configs. Also adds frontend enhancements:

- Order management: status filters, refund review, settlement (Issue #14)
- Hospital management: level/description/image fields (Issue #16)
- User management: type filter, userLevel, stats endpoint (Issue #17)
- Dev environment: application-dev.yml for rlz_dev database
- CI/CD: Drone pipeline configuration (.drone.yml)
- Mini program: API config extraction (coupon/utils/config.js)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-17 00:20:42 +08:00
renjianbo
482b9ac92f feat: add service type management module (#15)
- Add rlz_service_type and rlz_price_history tables
- Add backend entities, mapper, service, and controller for /system/serviceType
- Add frontend Vue page with list/create/edit/price update/price history
- Add sys_menu entries and role permissions for admin role
- Add admin backend module planning document

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-15 00:18:21 +08:00