Просмотр исходного кода

chore: auto bump version and changelog [skip ci]

iwt 1 неделя назад
Родитель
Сommit
ff1894959c

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-816aedbd2fe3588fa4613ed9865139c730ac5199
+c19b579edf75bf2c01f39ac7864d4d842b56b3bc

+ 2 - 2
cfc-web/package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.1859",
+  "version": "1.0.1860",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.1859",
+      "version": "1.0.1860",
       "dependencies": {
         "@wangeditor/editor": "^5.1.23",
         "@wangeditor/editor-for-vue": "^1.0.2",

+ 1 - 1
cfc-web/package.json

@@ -1,6 +1,6 @@
 {
   "name": "cfc-web",
-  "version": "1.0.1860",
+  "version": "1.0.1861",
   "private": true,
   "scripts": {
     "dev": "vue-cli-service serve",

+ 42 - 0
cfc-web/public/CHANGELOG-v1.0.md

@@ -4,6 +4,48 @@
 
 ---
 
+## v1.0.1861 (2026-10-30)
+
+### Bug 修复
+- 健康打卡页 memberId 解析对齐首页,修复无任务进入时"成员ID无效"无法保存
+- 昵称全空格按空处理,命名回退到我的家庭
+
+### 其他
+-   if (role !== "child") { memberId = options.memberId || currentMemberId || null }
+- 与首页 growth-main 的 currentChildId || currentMemberId || userId 解析不一致:
+- 1) role==="child" 时 memberId 恒为 null(子用户打卡页拿不到成员)
+- 2) parent 角色缺 currentChildId / userId 兜底。
+- 触发路径:首页 handleProgressClick 仅在 item.taskId 存在(当日有待完成任务)时
+- 拼 memberId 参数;无任务时 URL 不带 memberId → 打卡页 memberId 为空 →
+- 提交被 if (!memberId) 拦截提示"成员ID无效",上传图片也无法保存
+- (后端 currentMemberId JWT 兜底到不了——前端提交前就拦截)。
+- 修复:memberNormalize.js 新增 resolveCheckinMemberId 纯函数,
+- 统一解析 options.memberId > currentChildId > currentMemberId > userId > null,
+- 不再受 role 限制;三个打卡页 onLoad 共用。
+- 测试:新增 7 用例(URL 优先/多级兜底/child 角色/全空),全部通过;
+- 全量 jest 无新增失败(4 个既有失败与本改动无关)。
+- 
+
+### 新功能
+- 家庭列表接入查看信息弹窗
+- 家庭信息查看弹窗组件
+- 前端API 家庭信息查看
+- 存量家庭名回填迁移(幂等)
+- 管理端家庭信息查看接口 overview/tasks
+- 家庭信息查看服务(计数+报告方案全量+任务分页)
+- 家庭信息查看 DTO/VO
+- 创建/更新资料时按真实姓名联动家庭名
+- 家庭命名规则工具 buildFamilyName
+
+### 文档
+- 计划修正-测试命令加 -DskipTests=false(项目 pom 默认 skipTests=true)
+- 计划 pre-flight 修正(Task5 参数读取/Task8 formatDate)
+- 家庭信息查看+家庭命名 实现计划
+- 修正操作列接入方式(下拉菜单)与核验细节
+- 设计文档补充实现核验结论与边界决策
+- 家庭信息查看+家庭命名XX家庭 设计文档
+
+
 ## v1.0.1860 (2026-10-30)
 
 ### Bug 修复

+ 43 - 1
cfc-web/public/CHANGELOG.md

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.1860
+> 当前版本: v1.0.1861
 
 ## 历史版本
 
@@ -8,6 +8,48 @@
 
 ---
 
+## v1.0.1861 (2026-10-30)
+
+### Bug 修复
+- 健康打卡页 memberId 解析对齐首页,修复无任务进入时"成员ID无效"无法保存
+- 昵称全空格按空处理,命名回退到我的家庭
+
+### 其他
+-   if (role !== "child") { memberId = options.memberId || currentMemberId || null }
+- 与首页 growth-main 的 currentChildId || currentMemberId || userId 解析不一致:
+- 1) role==="child" 时 memberId 恒为 null(子用户打卡页拿不到成员)
+- 2) parent 角色缺 currentChildId / userId 兜底。
+- 触发路径:首页 handleProgressClick 仅在 item.taskId 存在(当日有待完成任务)时
+- 拼 memberId 参数;无任务时 URL 不带 memberId → 打卡页 memberId 为空 →
+- 提交被 if (!memberId) 拦截提示"成员ID无效",上传图片也无法保存
+- (后端 currentMemberId JWT 兜底到不了——前端提交前就拦截)。
+- 修复:memberNormalize.js 新增 resolveCheckinMemberId 纯函数,
+- 统一解析 options.memberId > currentChildId > currentMemberId > userId > null,
+- 不再受 role 限制;三个打卡页 onLoad 共用。
+- 测试:新增 7 用例(URL 优先/多级兜底/child 角色/全空),全部通过;
+- 全量 jest 无新增失败(4 个既有失败与本改动无关)。
+- 
+
+### 新功能
+- 家庭列表接入查看信息弹窗
+- 家庭信息查看弹窗组件
+- 前端API 家庭信息查看
+- 存量家庭名回填迁移(幂等)
+- 管理端家庭信息查看接口 overview/tasks
+- 家庭信息查看服务(计数+报告方案全量+任务分页)
+- 家庭信息查看 DTO/VO
+- 创建/更新资料时按真实姓名联动家庭名
+- 家庭命名规则工具 buildFamilyName
+
+### 文档
+- 计划修正-测试命令加 -DskipTests=false(项目 pom 默认 skipTests=true)
+- 计划 pre-flight 修正(Task5 参数读取/Task8 formatDate)
+- 家庭信息查看+家庭命名 实现计划
+- 修正操作列接入方式(下拉菜单)与核验细节
+- 设计文档补充实现核验结论与边界决策
+- 家庭信息查看+家庭命名XX家庭 设计文档
+
+
 ## v1.0.1860 (2026-10-30)
 
 ### Bug 修复