chenyuan
90df198bb8
feat(consumer-scenario): compact step-4 table rows and add analysis conclusion box
...
- lower journey-optimization-table textarea min-height 112px -> 56px:
both columns hold short text and the tall rows left large blank areas
- add an optional 分析结论 textarea below the step-4 table; persisted as
journeyConclusion inside step4Answer (registered in
trainingStepAnswerFields.json panel 4 and the backend ownership guard)
1 month ago
chenyuan
6ed409c3ad
feat(training): store step answers in per-step columns and remove legacy snapshot pages
...
- split page outcomes into step1-stepN answers for 7 tasks via
trainingStepAnswers.mjs + trainingStepAnswerFields.json
- reroute legacy snapshot pages to canonical pages:
/demand/user->/demand/people, /test/channelas->/test/index,
/test/marketing->/test/promotion, /assessment/index->/assessment/diagnosis
- delete 12 whole-form/snapshot pages and TrainingLegacyActions;
clean dead taskKeyMap path entries
- add training-step-column-split regression test: every answer save site
must use the split helper or be allowlisted per-step; field map must not
duplicate keys across panels; backend ownership guard must register all
mapped tasks; deleted snapshot pages must not return
- refresh stale toolbar/demand-index test asserts
1 month ago
chenyuan
2985fce54f
feat(training): 学生上传图片接入AI视觉评分链路
...
- 各实训页图片上传统一走后端文件存储,供AI评分取证
- 评阅预览壳适配
1 month ago
chenyuan
b1aae20c39
fix: 学生端实训体验与一致性批量修复
...
- 步骤名称改为读取后台配置(任务16/21/22/23原写死),判题接口统一 skipErrorMessage 消除400英文报错
- 任务17 第1步双场景权重合并单表、任务22 第2步策略改两行直填、任务19/14/16/9/11/13/20/10/8/2 按原型修正文案与结构
- 任务9 问卷支持规范模板导入+在线预览+Word下载;任务22 第4步去除默认数据
- 实训简介卡默认展开且背景完整展示;小节标题统一蓝底序号样式(01/02/03)
- 导出实训成果PDF标题中文化;品类矩阵坐标轴美化
2 months ago
qinzhenpen
55ae2f3789
refactor: 重构实训页面底部导航,统一步骤按钮样式并移除重复代码
...
将各实训页面分散的步骤操作按钮整合为统一的工具栏式导航组件,移除重复的重置按钮和样式代码,新增上一步、保存进度、下一步按钮及步骤进度显示,优化响应式布局适配不同屏幕尺寸,提升界面一致性和可维护性。
2 months ago
qinzhenpen
3d83fefbce
style: 统一使用学生端字号变量替代硬编码字体大小
...
本次提交将多处硬编码的字体大小值替换为统一定义的学生端字号 CSS 变量,同时移除了各页面重复声明的字号变量定义,确保全站学生端字号梯度统一,提升样式一致性和可维护性。
2 months ago
qinzhenpen
c391961159
feat: 重构步骤导航为统一的组件化样式
...
将多个页面的旧版步骤导航(step-actions)替换为新的统一设计,新增步骤进度显示,优化按钮样式与布局,提升界面一致性与用户体验。
2 months ago
qinzhenpen
b37cb241ee
refactor: 统一将工具栏替换为共用的 TrainingTaskToolbar 组件
...
将多个页面的独立工具栏(包含资料按钮和导出按钮)替换为共用的 TrainingTaskToolbar 组件,新增统一的 task-action-strip 样式类,简化代码结构,提升组件复用性。
2 months ago
qinzhenpen
3ea98be5a5
style: 统一界面主题为教育蓝并优化组件样式
...
将原墨黑主题的界面统一更换为教育蓝主题,包括调整颜色变量、按钮样式、表格表头样式、图表颜色等;同时优化了组件的高度、边框、圆角等样式细节,移除了冗余的任务徽章和状态标签,使界面风格更统一简洁。
2 months ago
qinzhenpen
af791f30d2
style: 调整按钮样式以统一高度和内边距
...
将多个页面的按钮样式统一调整为高度36px,内边距改为14px,同时将圆角半径调整为8px,以提升视觉一致性和用户体验。涉及页面包括学生培训、评估、需求分析等多个模块。
2 months ago
qinzhenpen
ec8fa801f9
feat: 更新学生端界面为教育蓝主题
...
将学生端多个页面的主题色从墨黑改为教育蓝,调整相关样式以提升视觉一致性。新增步骤导航胶囊样式、任务头左侧蓝条、按钮 hover 效果等,同时在操作按钮中添加箭头和对勾图标,优化用户交互体验。
2 months ago
qinzhenpen
b67cc2d61f
style: 移除全局通用的material-button样式,统一使用业务自定义按钮类
...
本次提交删除了多个页面中重复定义的.material-button专属样式,将按钮样式统一交由业务侧的task-toolbar-button、outline-action等自定义类管理,同时调整了channel页面的按钮选择器,排除.material-button的样式污染,减少冗余代码并统一组件样式规则。
2 months ago
qinzhenpen
29b2a35661
style: 移除各页面冗余的页面画布和行高样式,统一全局样式管理
...
1. 移除了20+个页面内单独编写的app-main背景覆盖和行高样式代码
2. 仅保留学生首页的padding和margin清零调整,背景渐变由student-training.scss统一管理
3. 简化代码结构,将页面样式统一收敛到全局配置,减少重复代码
2 months ago
qinzhenpen
b17d47caa6
feat: 扩展实训材料下载能力,支持多类型资源下载
...
本次升级将原单一的案例资料下载按钮扩展为四个独立下载入口,分别支持案例资料、实训数据、实训指导手册以及AI辅助指导手册的下载与预览。
同时完成了23个业务页面的批量改造,为所有引用TrainingMaterialButton组件的页面新增了对应资源的传递props,并更新了共享组件以支持多类型材料的解析和下载逻辑,保留了旧字段的向后兼容性。
2 months ago
qinzhenpen
dbc3239ec3
style: 统一实训页面步骤导航与卡片样式,完成墨黑主题升级
...
1. 重构全局步骤导航样式,替换旧蓝色主题为墨黑极简风格
2. 统一三个业务页面的步骤标签样式:调整flex布局、内边距和文字换行规则
3. 重写TrainingTaskBrief组件样式,替换为新的task-header内联实训头部设计
4. 更新全局实训主题scss变量与样式规则,统一按钮、边框、配色规范
2 months ago
qinzhenpen
512237b721
style: 统一项目UI配色风格,替换深色主题为浅色系主题
...
本次提交将项目内多处深色UI风格替换为统一的浅色系配色方案:
1. 替换全局主题色为#1e88e5系列蓝色,调整背景色为#f0f6fd、#e3f2fd等浅蓝白色系
2. 统一表格头部、边框、文字颜色,替换原有深色渐变和半透明背景
3. 调整按钮、卡片、输入框等组件的样式配色,保持视觉风格统一
4. 移除多处硬编码的背景图片,改用渐变背景替代
5. 新增check-parse.ps1脚本用于检查PowerShell脚本语法错误
2 months ago
qinzhenpen
8e11f8c919
Merge branch 'master' of http://118.31.7.2:3000/chenyuan1/dianshang-qianduan
3 months ago
qinzhenpen
b3de85eda2
Revert "Merge branch 'master' of http://118.31.7.2:3000/chenyuan1/dianshang-qianduan "
...
This reverts commit 97ce7b394e , reversing
changes made to e09f424d5d .
3 months ago
陈沅
05cc586907
fix: hide previous action on first training step
3 months ago
陈沅
77bb2e19e3
fix: hide next action on final training step
3 months ago
陈沅
6f9ca8467c
fix: separate global and step actions
3 months ago
陈沅
324f9cf959
fix: align consumer scenario toolbar layout
3 months ago
陈沅
03a5967382
feat: 完善学生实训资料下载与步骤页面
3 months ago
qinzhenpen
85dc0b8099
refactor: 实训系统多模块优化与功能完善
...
1. 重构实训步骤解析工具,统一数组解析逻辑
2. 优化侧边栏与任务卡片样式,调整间距与圆角
3. 新增实训任务缓存机制,优化页面加载体验
4. 完善表单校验逻辑,新增定价模块后端校验接口
5. 修复权限路由加载逻辑,新增加载状态提示
6. 优化案例资料下载功能,修复本地URL处理与错误提示
7. 新增实训页面单元测试,补充定价步骤指示器校验
8. 调整全局布局样式,优化移动端适配与间距
3 months ago
qinzhenpen
a6d25a8473
refactor: 全局替换硬编码字体大小为CSS变量
...
统一项目中所有字体尺寸和字体族的硬编码值,使用预设的CSS变量进行替换,提升样式维护性和一致性,同时调整开发环境后端接口配置注释与代理目标地址
3 months ago
chenyuan
5320ef827b
fix: eliminate duplicate student task loads
3 months ago
chenyuan
aa66b87a5e
feat: add consumer scenario optimization analysis
4 months ago
chenyuan
7e0a687c5a
feat: add consumer scenario journey map upload
4 months ago
chenyuan
0443512735
feat: add consumer scenario journey analysis
4 months ago
chenyuan
731438754c
feat: add consumer scenario journey ordering
4 months ago
chenyuan
0235a1eafd
feat: unify student training page layout
4 months ago
chenyuan
6fb30dcb6b
chore: save current frontend training changes
5 months ago