Commit Graph

92 Commits (2c2f1be695217a1724b803e0a0b927f5ec4f5a98)

Author SHA1 Message Date
chenyuan c515164653 fix(training): prompt the exact missing step when submitting incomplete tasks
industry-demand-analysis / competitive-environment-analysis /
market-opportunity-selection silently returned when earlier steps were
not passed; now they warn which step to finish first
(请先完成并保存第 N 步,再提交任务) before rejecting the submit.
1 month ago
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 8355c6c818 fix(training): wire submit/reset actions for factors and process pages, guard legacy reset
- product-development-factors / product-development-process never wired
  :on-submit/:on-reset into TrainingTaskToolbar, so the toolbar submit
  button fell into the legacy branch and refused with
  '请先完成各步骤,再通过本实训的提交按钮提交。' — students could not submit
  实训2/实训3; wire both pages to their existing submitTraining/resetTraining
- resetLegacyTraining: for structured tasks use a RESET save instead of
  deleteStudentTrainingAnswer so 重新实训 no longer deletes the answer row
  along with teacher/AI scores (affects the 10 pages without on-reset wiring)
- toolbar test now enforces :on-submit wiring on every built-in training page
  and keeps the two incident pages on :on-reset
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 7fbf5c00c7 feat(training): add Excel templates and imports for numeric tables 1 month ago
chenyuan d87153795c feat(training): add interview records editor 1 month ago
chenyuan 94de4d455c fix(training): 市场机会与选择/竞争环境分析页面交互优化
- 组合逻辑列改为仅展示第 2 步补充信息
- 好评率输入样式单元包裹
- 移除冗余的方法引导块
1 month ago
chenyuan 2985fce54f feat(training): 学生上传图片接入AI视觉评分链路
- 各实训页图片上传统一走后端文件存储,供AI评分取证
- 评阅预览壳适配
1 month ago
qinzhenpen 332d33bd32 fix(training): 修复知识自测答题回显与评阅预览步骤切换
知识自测回显:
- 新产品调查与分析 watch 漏了 stepOneChoiceAnswers,学生只答自测时本地草稿不落盘,刷新即丢
- applyStep1Answer 只在表格分类有值时返回 true,纯答题场景后端回显后 clearDraft 不生效
- 兼容 toolbox DOM 快照 legacy-training-snapshot-v3(教师端评阅预览返回的就是这类数据),
  按「选项以 A 开头分组 + 遇非字母选项停止」还原逐题作答
- 第 4 步 AI 应用价值分析在结构化数据为空时,用快照尾部 textarea 兜底回填(route 限定页面)
- 行业需求分析 / 竞争环境分析同步加上快照兜底

提交链路:
- new-product-survey 工具栏未传 on-submit/on-reset,提交走 DOM 兜底导致第 4 步内容从未落库,
  补上 :on-submit="submitTask" :on-reset="resetExample"
- 工具栏兜底快照改写 dynamicStepAnswers,不再覆盖 step1Answer 里的结构化答题

评阅预览:
- 步骤导航判定仅靠文案太窄(行业/竞争页胶囊文案是「01 PEST宏观环境分析 当前步骤 →」),
  改为容器白名单放行,文案正则补充「步骤 N / 点击切换 / 当前步骤」
- 预览只读拦截与加载失败时透出真实错误信息,不再静默失败
2 months ago
qinzhenpen eb8502b33b feat: 重构实训步骤一,替换分类表格为知识自测
- 新增 TrainingStepOneChoiceQuestions 组件浅色样式,适配多页面
- 调整侧边栏宽度和元素布局,优化窄屏显示
- 移除多个页面的分类表格校验,改为仅校验知识自测答案
- 重置功能同步清空知识自测答案
2 months ago
chenyuan 3fa1062d07 fix: 修复问卷预览弹窗样式选择器组断裂导致的构建失败 2 months 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 1de23486f3 feat: 重构学生首页与题库管理功能,优化交互与样式
- 重构学生首页布局,新增学习时间与任务进度可视化模块
- 移除业务可行性视图重复的工具栏
- 注销保存当前进度按钮
- 修正题库管理的选项操作逻辑,新增选项删除功能
- 修正资料按钮的文本与注释
- 新增题目编辑与AI出题弹窗的样式适配
- 新增题库管理相关的SCSS样式
2 months ago
qinzhenpen 9893e33a56 Merge remote-tracking branch 'origin/master' into dev-QQq 2 months ago
陈沅 2586cb4bee merge: 合并dev-QQq按钮位置统一调整(工具栏带页面函数绑定+考试分页)到master;解决重复工具栏与重复import,保留保存当前进度按钮与超管浅色主题 2 months ago
陈沅 4319e2c980 学生端实训页面按钮统一:TrainingTaskToolbar新增保存当前进度按钮(优先触发页面内保存,fallback快照SAVE与提交区分),25个缺失页面批量接入统一工具栏,所有实训页面具备保存+提交两个按钮 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 569839be27 style: 统一代码缩进与格式,修复模板头部空格问题
本次提交调整了多处文件的代码格式:
1. 修复了两个vue页面模板开头的多余空格问题
2. 统一了导航组件的缩进风格,修正了菜单列表的换行格式
3. 统一了scoped样式块的缩进与换行规范,提升代码可读性
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 f89a5649fa refactor(student-training): 重构实训页面样式与结构,统一墨黑极简主题
1.  重构TrainingMaterialButton.vue按钮样式,替换为墨黑极简风格
2.  全局样式student-training.scss替换旧蓝色主题为墨黑主题,修复!important覆盖问题
3.  重构行业需求分析页面结构,新增任务简介折叠功能
4.  将原生textarea替换为ElInput组件,优化交互体验
5.  重构页面样式,统一使用CSS变量实现主题切换,适配响应式布局
6.  重写步骤导航样式,改为按钮切换风格
2 months ago
qinzhenpen 512237b721 style: 统一项目UI配色风格,替换深色主题为浅色系主题
本次提交将项目内多处深色UI风格替换为统一的浅色系配色方案:
1.  替换全局主题色为#1e88e5系列蓝色,调整背景色为#f0f6fd、#e3f2fd等浅蓝白色系
2.  统一表格头部、边框、文字颜色,替换原有深色渐变和半透明背景
3.  调整按钮、卡片、输入框等组件的样式配色,保持视觉风格统一
4.  移除多处硬编码的背景图片,改用渐变背景替代
5.  新增check-parse.ps1脚本用于检查PowerShell脚本语法错误
2 months ago
qinzhenpen 9e6e3ffc13 Merge remote branch, resolve all conflicts using incoming version 2 months ago
chenyuan 43b48f6d6c feat: improve student training tasks and PDF export 3 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
陈沅 4ea4f28402 统一学生端实训步骤操作 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
陈沅 a9a8fe4f83 fix: align industry demand toolbar layout 3 months ago
陈沅 67a101077e fix: align competitive analysis toolbar layout 3 months ago
陈沅 8d7a33f336 fix: constrain business feasibility to configured steps 3 months ago
陈沅 3bcadca0f5 fix: align business feasibility toolbar layout 3 months ago
陈沅 890af109b2 fix: align target profile toolbar layout 3 months ago
陈沅 d49a7b2740 fix: align consumer behavior toolbar layout 3 months ago
陈沅 324f9cf959 fix: align consumer scenario toolbar layout 3 months ago
陈沅 8426e07bd9 fix: align feature conversion toolbar layout 3 months ago
陈沅 d8aeccb867 merge: 紧凑KANO需求列表 3 months ago
陈沅 9844696808 fix: 紧凑KANO需求列表 3 months ago
陈沅 e0d64a76b7 fix: 优化学生实训操作与成绩展示 3 months ago
陈沅 6c1a9f1ce9 fix: 修复实训8查看跳转 3 months ago