|
|
@@ -1,6 +1,110 @@
|
|
|
# 更新日志 (Changelog)
|
|
|
|
|
|
此文件记录所有构建版本的变更。
|
|
|
+## v$(node (2026-07-07)
|
|
|
+
|
|
|
+### 重构
|
|
|
+- rebuild admin dashboard
|
|
|
+
|
|
|
+### 其他
|
|
|
+- - Use API module (getDashboardStats/getRevenueStats/getMembershipStats/getTrendStats)
|
|
|
+- - Element UI icons replacing emojis
|
|
|
+- - Section-level v-loading states
|
|
|
+- - ECharts lifecycle (dispose on destroy, resize handler)
|
|
|
+- - Recent tasks table from dashboard API
|
|
|
+- - Hover effects and responsive layout
|
|
|
+-
|
|
|
+- - ~50 admin/9 teacher 页面统一添加 admin-page 样式类
|
|
|
+- - 所有列表/管理页添加 <=el-input> 关键字搜索
|
|
|
+- - 有分页的: keyword 传 API 参数
|
|
|
+- - 无分页的: computed filteredData 客户端过滤
|
|
|
+- - teacher 页面同时补齐 admin-page 类与面包屑样式
|
|
|
+-
|
|
|
+- - DatabaseInitializer migration 34: ensureColumn for all missing columns
|
|
|
+- - family_member_* (5): id, name, birthday, gender, age
|
|
|
+- - EMI psych (4): emotion, resilience, stress_coping, self_awareness
|
|
|
+- - Big Five (6): openness, conscientiousness, extraversion, agreeableness, neuroticism, big_five_overall
|
|
|
+- - child snapshot (20): name, birthday, gender, age, school, grade, grade_class, height, weight,
|
|
|
+- family_status, parent_degree, nation, province, city, district, address, single_child,
|
|
|
+- school_score, urgent_name, urgent_phone
|
|
|
+- - media (4): pics, videos, audio, audio_url
|
|
|
+- - extension (2): process_desc, result_desc
|
|
|
+-
|
|
|
+- (修复Field doesn't have a default value错误)
|
|
|
+- - schema.sql同步: capability_role列+default_role列并存(兼容保留)
|
|
|
+-
|
|
|
+- supply_settlement_detail 4张表 + product_orders追加supply_system_id/
|
|
|
+- supplier_id/supply_commission 3列+索引
|
|
|
+- - schema.sql: product_orders补列 + 追加4张新表定义
|
|
|
+- - supply_system_schema.sql: supplier_user_id→supplier_id(匹配实体) + 补充supply_commission
|
|
|
+-
|
|
|
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
|
|
|
+-
|
|
|
+- EnergyService.calculateBodyScore Unknown column 'subject_id' 错误)
|
|
|
+- - 迁移32: 创建supply_system/supply_system_member/supply_settlement/
|
|
|
+- supply_settlement_detail 4张表 + product_orders追加supply_system_id/
|
|
|
+- supplier_id/supply_commission 3列+索引 (修复OrderTimeoutCancelTask
|
|
|
+- Unknown column 'supply_system_id' 错误)
|
|
|
+-
|
|
|
+- - ProductDTO.java: add deliveryMethod, rejectReason fields + from() mapping
|
|
|
+- - DatabaseInitializer: migration 32 - ensureColumn for delivery_method, category_id, distribution_system_id
|
|
|
+- - schema.sql: add 3 columns to products table DDL
|
|
|
+-
|
|
|
+- - report-confirm.vue: add colored confidence badge + progress bar
|
|
|
+- - report-confirm.vue: add ranked candidate member list with similarity scores
|
|
|
+- - report-confirm.vue: add auto-create member form with pre-filled extracted data
|
|
|
+-
|
|
|
+- 替代: import E from '@wangeditor/editor' + new E(domRef)
|
|
|
+- 移除: initEditor()方法、beforeDestroy editor.destroy()、editor: null data
|
|
|
+- 新增: editorConfig (MENU_CONF.uploadImage) 传入Editor组件
|
|
|
+-
|
|
|
+- - Add Jupiter 12yr and Saturn 29.5yr cycle phase calculation
|
|
|
+- - Blend 60% Western + 40% Chinese zodiac with Tai Sui relation modifiers
|
|
|
+- - Update controller to accept birthMonth/birthDay, return full fusion result
|
|
|
+-
|
|
|
+- - 6步标准流程:错误定位→查实体→检查schema.sql→加迁移→同步schema.sql→编译验证
|
|
|
+- - ensureColumn() 辅助方法优先使用
|
|
|
+- - 幂等性要求:所有迁移必须可重复执行
|
|
|
+- - 同步原则:schema.sql 与 DatabaseInitializer 保持最终一致
|
|
|
+- - 4种场景代码模板:ADD COLUMN / CREATE TABLE / ADD INDEX / MODIFY COLUMN
|
|
|
+-
|
|
|
+
|
|
|
+### Bug 修复
|
|
|
+- FamilyRelationGraph 完善 + login/family-dashboard 页面更新
|
|
|
+- add dan_assessment_results missing columns - familyMember/EMI/Big Five/snapshot fields
|
|
|
+- relationship_types.capability_role 添加默认值
|
|
|
+- 迁移33 供应商分销体系(4新表+product_orders 3列)
|
|
|
+- health_reports补subject_id列 + 迁移32供商体系表(4张新表+product_orders 3列)
|
|
|
+- HealthEnergyConfig.vue 全角括号导致前端构建失败
|
|
|
+- add deliveryMethod/rejectReason/categoryId/distributionSystemId mappings - ProductEdit field alignment
|
|
|
+- 多页面综合修复 + 后端关系质量/能量同步 + 前端组件完善 - 后端: DatabaseInitializer/RelationshipQualityController/DimensionEnergySyncService - 前端组件: ContactImport/DimensionActivities 完善 - 页面: action/body/mind/wisdom/discover/health 各维度更新 - splash.vue 删除 - 新增 HealthEnergyConfig.vue 管理端页面 - router/Layout 同步更新
|
|
|
+- resolve rebase conflicts + update tests/docs
|
|
|
+- resolve .last_build_commit conflict
|
|
|
+- ProductEdit wangeditor 生产构建错误 — 改用 @wangeditor/editor-for-vue Vue组件替换programmatic API
|
|
|
+- product order stock check by product type (physical only)
|
|
|
+- resolve merge conflicts and sync build artifacts
|
|
|
+- create cart table migration and sync to schema.sql
|
|
|
+- add relationship score column migrations for family_members table
|
|
|
+- add require_registration, require_checkin_review, energy_penalty_unregistered migrations for activities table
|
|
|
+- add role_override column migration for family_members table
|
|
|
+- add default_role column migration for relationship_types table
|
|
|
+- add remaining child-specific column migrations for family_members table
|
|
|
+- activities表添加审核相关字段迁移(迁移25)
|
|
|
+- package.json 版本更新
|
|
|
+- add id_card column migration for family_members table
|
|
|
+
|
|
|
+### 文档
|
|
|
+- rewrite root AGENTS.md - compact, high-signal, removes stale refs
|
|
|
+- 添加数据库迁移工作流规范
|
|
|
+
|
|
|
+### 新功能
|
|
|
+- admin/teacher 页面全局搜索 + 统一 admin-page 样式
|
|
|
+- 心首页关键信息卡片 — 家庭+个人双栏概览
|
|
|
+- health report Phase 2 - match confidence, candidate selection, auto-create member
|
|
|
+- supplier distribution system - entities, services, controllers, and admin UI
|
|
|
+- fuse Western astrology with Chinese zodiac for annual energy calculation
|
|
|
+
|
|
|
+
|
|
|
## v1.0.6 (2026-07-06)
|
|
|
|
|
|
### Bug 修复
|