- 14 Feb, 2026 12 commits
-
-
- 提取计划书字段定义到独立配置文件 (plan-fields.js) - 定义字段类型枚举 (TEXT, NUMBER, AMOUNT, SELECT, RADIO, DATE, NAME) - 配置字段属性 (label, type, required, api_field, component) - 支持字段验证规则和显示条件 - 支持字段依赖关系 (affects, depends_on) - 新增字段值转换工具 (planFieldTransformers.js) - 分转元: fenToYuan (10000 → "100.00") - 元转分: yuanToFen ("100.00" → 10000) - 年龄格式化: formatAge (25 → "25岁") - 批量转换: batchTransformFields - 反向转换: reverseTransformFields - 新增测试目录 (src/utils/__tests__) 影响文件: - src/config/plan-fields.js (新增) - src/utils/planFieldTransformers.js (新增) - src/utils/__tests__/planFieldTransformers.test.js (新增) 技术栈: Vue 3, Taro 4 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>hookehuyr authored -
- 新增 src/config/constants/orderStatus.js - 定义 ORDER_STATUS 常量(PENDING/PROCESSING/GENERATED/VIEWED) - 定义 ORDER_STATUS_MAP 映射表 - 定义 ORDER_STATUS_TEXT 状态文本 - 导出 mapOrderStatus/getStatusText/isValidStatus 工具函数 - 重构 src/composables/usePlanView.js - 移除本地 mapOrderStatus/getStatusText 函数 - 使用常量替代硬编码状态值 --- **详细信息**: - **影响文件**: src/composables/usePlanView.js, src/config/constants/orderStatus.js - **技术栈**: Vue 3, Taro - **测试状态**: 已测试 - **备注**: 提升代码可维护性,避免魔法数字 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
hookehuyr authored -
### 消息列表页 - 优化消息项卡片布局,提升信息可读性 - 添加未读红点显示 - 改进标题和状态标签的视觉层级 ### 消息详情页 - 添加富文本内容格式化功能 - 处理图片宽度自适应 - 处理文本换行显示 详细变更: - src/pages/message/index.vue: 优化卡片布局和状态显示 - src/pages/message-detail/index.vue: 新增格式化功能
hookehuyr authored -
- 归档 102 条历史记录到 docs/changelog-archive/ - 主文件只保留最近 20 条记录 - 添加自动化归档脚本 scripts/archive-changelog.sh 详细变更: - docs/CHANGELOG.md: 从 122 条精简到 20 条 - docs/changelog-archive/CHANGELOG-archive-2024-2026.md: 历史记录归档 - scripts/archive-changelog.sh: 自动化归档脚本
hookehuyr authored -
- 只使用 title 字段显示标题,移除 note 降级处理 - 标题完整显示,不再省略(移除 line-clamp-1) - 预览简化为固定文本:"点击查看详情"或"暂无内容" - 删除 getItemTitle 和 getItemPreview 辅助函数(-50 行) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
hookehuyr authored -
- 人寿/重疾模板改为 Schema 驱动渲染与校验 - 人寿/重疾产品配置增加 form_schema 入口 - 提取方式字段统一命名为 withdrawal_method - 使用文档补充人寿/重疾示例 - README 同步最新更新 影响文件: plan-templates.js, LifeInsuranceTemplate.vue, CriticalIllnessTemplate.vue, plan-form-schema-usage.md, README.md, CHANGELOG.md
hookehuyr authored -
- 记录计划书表单重构相关更改 - 更新影响文件列表 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
hookehuyr authored -
- 重构 PlanFormContainer.vue 的 submit 函数,使用模板配置的 submit_mapping - 新增完整的储蓄计划书模板 SavingsTemplate.vue - 在 plan-templates.js 中添加详细的字段映射配置 - 更新 README.md 和 CHANGELOG.md - 新增 plan-form-schema-usage.md 使用说明文档 影响文件: - src/components/plan/PlanFormContainer.vue - src/components/plan/PlanTemplates/SavingsTemplate.vue - src/config/plan-templates.js - docs/plan/plan-form-schema-usage.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
hookehuyr authored -
- 在提交数据映射中添加 withdrawal_method 字段 - 确保提取方式正确提交到后端 影响文件: - src/components/plan/PlanFormContainer.vue
hookehuyr authored -
- 将 specified_amount_type 重命名为 withdrawal_method - 同步更新组件、文档和字段示例 - 保持"功能优先"的语义一致性 影响文件: - src/components/plan/PlanTemplates/SavingsTemplate.vue - docs/PLAN/plan-entry-architecture.md - docs/lessons-learned/plan-entry-module-summary.md - docs/CHANGELOG.md - README.md Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored
-
- 13 Feb, 2026 28 commits
-
-
- 清理架构文档中冗余的字段示例代码 - 调整快速指南格式 - 更新模块总结文档 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
hookehuyr authored
-
hookehuyr authored
-
hookehuyr authored
-
hookehuyr authored
-
hookehuyr authored
-
hookehuyr authored
-
hookehuyr authored
-
hookehuyr authored
-
该脚本原本用于在提交时根据 commit 类型自动更新 package.json 版本号,但其逻辑存在冗余且维护成本高。决定移除该脚本,后续版本管理将采用更明确的手动或 CI 流程控制。
hookehuyr authored -
hookehuyr authored
-
- 修复 JPEG 等图片文件显示为 "DOC" 标签的问题 - 优化 extractExtensionFromFile 函数的 fallback 逻辑 - 移除首页、搜索页、周热门资料页的错误扩展名提取逻辑 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
- 新增版本自动更新脚本 (scripts/update-version.sh) - 完善 Git 工作流说明(分支命名、commit 规范) - 更新 CLAUDE.md 文档结构 - 优化 commit-msg hook 支持 详细信息: - 技术栈: Bash, Git Hooks, Semantic Versioning - 测试状态: 已通过 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
hookehuyr authored -
- 添加从 develop 创建功能分支的工作流说明 - 添加分支命名规范(feature/xxx, fix/xxx, refactor/xxx) - 添加版本自动更新规则(Semantic Versioning) - 添加 feat(version) 格式跳过版本更新的说明 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
hookehuyr authored -
- 新增 docs/test.md 测试文件 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
hookehuyr authored -
- 已统一使用 requireLogin,不再需要 usePlanPermission - 删除冗余的 composable 文件 影响文件: - src/composables/usePlanPermission.js (删除) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
hookehuyr authored -
- 将 checkPlanPermission 改为 requireLogin - 更新导入:usePlanPermission → usePermission - 计划书专属文案:请先登录后制作专属计划书 影响文件: - src/pages/index/index.vue - src/pages/product-center/index.vue - src/pages/product-detail/index.vue - src/pages/search/index.vue Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
hookehuyr authored -
- 添加默认标题"未命名文件" - 数据获取后立即处理,保持模板简洁 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
新增功能: - 为首页网格导航"计划书"按钮添加登录权限检查 - 未登录用户点击时显示友好的登录提示弹窗 优化内容: - 优化默认登录权限提示文案 - 从"登录后即可查看完整内容"改为"登录后即可使用完整功能" - 新文案更通用,同时适用于查看型和操作型场景 - 提升文案与实际操作的匹配度 影响文件: - src/config/permissions.js - 优化默认提示文案 - src/pages/index/index.vue - 添加计划书按钮权限检查 - docs/CHANGELOG.md - 更新变更日志 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
- 导入 features 配置,使用命名导入 - 根据 features.feedback 动态控制"去反馈"按钮显示 - 根据配置动态调整提示文案(移除"前往意见反馈"提示) - 根据配置决定是否跳转反馈页面 - 修复 showModal cancelText 为 undefined 导致的参数错误 修复了当 feedback: false 时文件操作失败提示出现: "showModal:fail parameter error: parameter.cancelText should be String instead of Undefined" 影响文件: - src/composables/useFileOperation.js Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
- 完善三层结构字段说明(启用确认、提取选项、具体字段) - 添加完整的 Vue 组件实现示例(PlanFieldRadio、PlanFieldAgePicker 等) - 优化字段清理逻辑说明(按年岁/按保单年度两种模式的字段清理) - 改进业务场景描述,更清晰的结构层次 --- **详细信息**: - **影响文件**: docs/PLAN/plan-entry-architecture.md - **技术栈**: 文档 - **测试状态**: N/A - **备注**: 提升文档可读性和实现指导性
hookehuyr authored -
- 移除"是否生成说明"字段与"款项提取"配置的强依赖关系 - "是否希望生成一份允许减少名义金额的提取说明?"现在作为独立字段 - 删除错误的 watch 监听器,该监听器在选择"否"时会错误清除字段 - 更新校验逻辑:withdrawal_enabled 改为可选字段 - 更新架构文档:修正三层结构描述为字段结构说明 影响文件: - src/components/plan/PlanTemplates/SavingsTemplate.vue - docs/plan/plan-entry-architecture.md Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
hookehuyr authored -
- 添加 contactService 和 feedback 功能开关到 src/config/features.js - 联系客服功能默认关闭,影响帮助中心页面的联系客服按钮和弹窗 - 意见反馈功能默认关闭,影响我的页面的意见反馈菜单项 - 修复 mine/index.vue 中未使用的 index 变量导致的 ESLint 警告
hookehuyr authored -
- 忽略 docs/parsed-backup/ 备份目录 - 忽略 docs/to-parse/*.md 待处理文档 - 保留 docs/to-parse/README.md 说明文件 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
hookehuyr authored
-