Commit Graph

887 Commits (ff43967cbb7a7baaba5178eb06c95544599dd1f0)
 

Author SHA1 Message Date
chenyuan ff43967cbb fix(task-review): 参考答案未上传时给出明确提示
- 预览接口 404(未上传)时提示'该任务暂未上传参考答案',
  与真正的预览流程异常区分开
1 month ago
chenyuan bdc48aa6c1 style(task-review): AI评分详情弹窗排版优化
- 弹窗加宽至640px,正文留白与行高加大
- 综合评分与评语分层展示,逐项评分独立卡片化,优先改进红色提示块
1 month ago
chenyuan edd1493fc4 refactor(task-review): AI评分详情改为居中弹窗展示
- 锚定浮层在学生列表行数多时会遮挡错乱,改为居中弹窗
- 弹窗内容不变:综合评分/评语/逐项评分/优先改进,内部滚动
1 month ago
chenyuan d28e896b86 feat: 参考答案推送开关与学生首页成绩展示
- 任务页(实训任务管理)增加参考答案推送开关,推送后学生端可见
- 学生首页成绩区同步展示AI评分与老师评分
- 静态测试同步更新
1 month ago
chenyuan efd1679952 feat(student): 查看成绩弹窗展示参考答案(老师推送后)
- 老师在任务配置推送参考答案后,学生查看成绩弹窗展示参考答案名称并
  内嵌 PDF 预览(新增学生端预览接口 /key/{taskKey}/reference-answer/preview,
  未推送时接口 404,弹窗不展示该区)
- 分数徽标只要有 AI 评分即可点击查看 AI 评分结果悬浮卡片
1 month ago
chenyuan 2b7ca3d472 feat(student): 任务页分数徽标点击悬浮展示AI评分结果
- 学生端点击工具栏分数徽标(教师端或学生端任一侧触发的AI评分),
  页面内悬浮卡片展示综合评分/评语/逐项评分/优先改进,与学生端AI评分结果一致
- 有AI评分即可点击(教师已批阅的也保留AI详情入口),点击外部收起
1 month ago
chenyuan 19a74dfc19 feat(task-review): AI评分一栏点击分数悬浮展示评分结果
- 学生列表 AI评分 一栏:有分数即可点击,评分结果浮层锚定在该行分数旁
  (综合评分+评语+逐项评分+优先改进,与学生端评分结果界面一致),非弹窗
- 点击浮层与分数以外区域收起;批量AI评分完成的小绿点保留在分数旁
1 month ago
chenyuan f3ec905211 feat(task-review): 批量/单个AI评分交互完善
- 批量AI评分:发起后工具栏按钮进入'正在评分...'禁用态,完成后按钮与
  已完成学生的AI评分旁显示小绿点,弹窗展示成功/失败进度
- AI助评:按钮进入'正在评分...'加载态,完成后右侧AI评分徽标刷新并
  可点击浮窗查看评分详情(综合评分/逐项评分/优先改进,与学生端一致)
1 month ago
chenyuan f520d0e218 fix(task-review): 老师评分列已评展示分数+修改按钮(验收:评阅后展示分数,按钮变修改) 1 month ago
chenyuan 3927e8a4fc feat(task-review): 任务评阅AI评分与AI评语
- 学生列表支持单个/批量AI评分,轮询展示AI分与AI评分详情
- 点击评阅打开弹窗时,若无教师评语则调用 /taskReview/ai-comment
  按该生AI评分+助学报告自动生成10-50字评语填入,教师可改后保存
- 参考答案在线预览;工具栏与AI侧边栏配套调整
1 month ago
chenyuan 603f5711e9 feat(training-task): 实训任务编辑新增参考答案上传(教师端/超管端)
- 资料与步骤区新增参考答案槽位,限 Word 文件(.doc/.docx),配套学生端
  332d33b 预留的 referenceAnswer 展示字段
- 表单归一化与保存 payload 透传 referenceAnswerName/referenceAnswerUrl
1 month ago
chenyuan eb665c55ab fix(class): 教师端班级管理严格按超管组织模式配置渲染
- 5c51a58 让普通路由不再等待学校产品配置接口,班级管理页挂载时配置未就绪,
  一次性 onMounted 判断误按行政班视角定格:列表被 ADMIN 过滤后教学班全部不可见,
  按钮与空态停留在'新增行政班/暂无行政班',配置返回后 Tab 隐藏但过滤已无法纠正
- onMounted 一次性判断改为 watch(adminClassManagementEnabled) 响应式修正,
  行政班管理关闭(TEACHING_CLASS_ONLY)的学校固定教学班视角
- /class/index 路由增加 awaitSchoolProductConfig meta,导航前先等配置接口返回,
  首屏即按配置渲染,消除闪变
1 month ago
qinzhenpen a5b5c05424 style(sidebar): 学生端侧边栏图标替换为层级序号徽标
老师要求去掉图标,学生端侧边栏改用层级序号:
- 有 children 的分组父级编号 1/2/3…,子项 N.M…(与 currentCourseNav 渲染顺序实时对应)
- 直跳工具项(AI 智能助手)不编号,保持纯文字
- 新增 studentNavNumberMap computed 与 .student-menu-index 徽标样式(含 active 高亮、折叠轨道居中)
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 / 点击切换 / 当前步骤」
- 预览只读拦截与加载失败时透出真实错误信息,不再静默失败
1 month ago
qinzhenpen c3a33335a0 refactor(task-review-panel): update student table data handling and enhance pagination
- Changed the data source for the student table from `review.students` to `paginatedStudents` for improved performance and clarity.
- Added pagination controls to the task review panel to manage large student lists more effectively.
- Streamlined dialog component structures for better readability and maintenance.
- Minor adjustments to button and dialog layouts for improved user experience.
2 months ago
qinzhenpen cb1d33da5a refactor(student-view): enhance score display logic and improve UI consistency
- Updated score display logic to show teacher scores when available, otherwise defaulting to AI scores.
- Introduced computed properties for better handling of score visibility and labeling.
- Improved the layout and styling of score metrics for better visual consistency across the application.
- Added new dialog components for batch AI scoring and AI-assisted evaluation in the teacher's score review panel.
2 months ago
qinzhenpen d77b307457 refactor(task-review): enhance scoring interface and improve user interactions
- Introduced a new button for batch AI scoring alongside the existing batch scoring functionality.
- Replaced the inline input for teacher scores with a button that opens a dedicated score dialog for better user experience.
- Improved the layout of the task review panel, including the addition of action buttons for viewing reference answers and AI assistance.
- Updated dialog components for single and batch scoring to enhance usability and visual consistency.
2 months ago
qinzhenpen fcb060fde0 refactor(training-task): streamline SVG and input elements for improved readability
- Cleaned up SVG and input element formatting for consistency and readability.
- Ensured proper spacing and alignment in the template structure.
- Enhanced the overall maintainability of the code by reducing unnecessary line breaks and improving element organization.
2 months ago
qinzhenpen 30e5c9ee11 refactor(task-view): implement tree structure for task display with project grouping
- Replaced the table view with a tree structure to enhance task organization by project.
- Introduced project selection checkboxes and task selection within expandable project sections.
- Added computed properties for managing task grouping and selection states.
- Improved loading state handling and empty task display messaging.
2 months ago
qinzhenpen 39113aa091 fix(task-review): 实训任务下拉首次加载按实训项目联动过滤
现象:进入任务评阅页、默认选中教学班后,「实训项目」已显示某项目,
但「实训任务」下拉列出该教学班全部任务;手动重选一次实训项目才恢复。

根因:首次进入/切换班级时的首个请求不带 projectName,后端在 projectName 为空时
不做项目过滤、返回全量任务;normalizeReview 随后用 selectedTask 回填了
filters.projectName,但没有因此重新请求,任务下拉仍停留在全量数据上。

修法:loadReview 记录本次请求是否带了项目;若未带且响应后回填出了 projectName,
则按该项目补查一次 getTaskReview。常规分支只替换 review.tasks 与 projects,
不整体 normalize —— selectedTask 的对象引用被预览 watcher 监听,整体替换会白白
重建一次右侧学生页预览 iframe(预览页会真实发起接口请求)。补查结果不含当前
taskId 时整体刷新兜底;结果为空时保留首份响应。补查请求已带 projectName,
不会再触发补查,幂等无死循环。

影响面:仅首次进入/切换班级多一次接口调用,其余选择路径请求次数不变。
2 months ago
qinzhenpen 0e237e5cdb Merge branch 'dev-QQq' of http://118.31.7.2:3000/chenyuan1/dianshang-qianduan into dev-QQq 2 months ago
qinzhenpen 511abe73b9 fix(task-review): 评阅预览改用最新学生页并修复新版样式门控失配
1. previewMap 三处指向已废弃的旧页面,改为 router 实际引用的最新页面:
   industry-demand-analysis      -> demand/industry-demand-analysis.vue
   competitive-environment-analysis -> demand/competitive-environment-analysis.vue
   market-opportunity-selection  -> product/market-opportunity-selection.vue
   并在文件头补充契约注释(必须与 router 一致,不得指向废弃页面)。

2. 修复评阅预览"看起来仍在用废弃页面"的根因,两重原因叠加:
   a) /task-review-preview 是脱离 Layout 的独立路由,DOM 里没有 .studentLayout
      与 section.app-main,导致学生页新版皮肤的门控选择器
      `#app .studentLayout section.app-main:has(.xxx-page) …` 集体失配,
      页面静默回落全局旧版样式(胶囊满宽、步骤说明小字重新出现、按钮配色不一致)。
      模板外层补两级空壳祖先容器,只补壳、不渲染顶栏侧栏。
   b) 预览 iframe 宽约 1000px,命中 student-training.scss 的
      @media (max-width: 1100px):`#app .student-training-shell .step-tab
      { width: 100% }`(特异性 1,2,0)压过预览自身 :deep() 覆盖(0,4,0),
      步骤胶囊被撑成整行、只剩第一个可见并出现横向滚动条。
      新增非 scoped 样式用更高特异性复位宽度,并压掉布局级背景与内边距。

实测(真实 Chrome,1000px 视口,与预览 iframe 同宽):
修复前 胶囊宽 952px x4、导航区 scrollWidth 3874/952(溢出);
修复后 214/169/199/200px、952/952(无溢出),与学生端外观一致。
2 months ago
qinzhenpen 5f01ee20cb style: adjust media query breakpoint for student training styles
- Changed the media query breakpoint from 1100px to 800px to improve responsiveness of the student training shell on narrower screens.
- Ensured that the AI floating panel remains fixed and adapts its width appropriately on smaller devices.
2 months ago
qinzhenpen 71ac33be70 style: synchronize sidebar toggle behavior and improve menu visibility
- Updated sidebar styles to ensure the collapse toggle remains visible across all student and teacher roles, removing conditional rendering.
- Enhanced specificity of styles to synchronize the toggle arrow and menu visibility with the sidebar's expanded/collapsed state.
- Added logic to force the menu to display correctly when the sidebar is expanded, addressing previous inconsistencies.
2 months ago
qinzhenpen 5bf2ba612d Merge remote-tracking branch 'origin/master' into dev-QQq 2 months ago
qinzhenpen e1da3bd6a2 style: update sidebar styles for student layout in collapsed state
- Added specific styles for the student layout sidebar when collapsed, ensuring it reduces to 64px width.
- Addressed specificity issues with existing styles to prevent layout conflicts in non-mobile views.
2 months ago
chenyuan ae64fb3465 fix: BI可视化分析改走/bi/同机反代修复跨域丢Cookie弹登录;AI助学/助评前置校验提示中文化;教师端实训管理文案与搜索翻页对齐管理端 2 months ago
chenyuan ab6c9cdc7b merge: sync dev-QQq into master 2 months ago
qinzhenpen c3b1e99267 Merge branch 'dev-QQq' of http://118.31.7.2:3000/chenyuan1/dianshang-qianduan into dev-QQq 2 months ago
qinzhenpen 4b20ea3d99 refactor: 统一项目名称为互联网产品开发实训系统并优化代码格式
- 替换所有文件中的项目名称“电商互联网产品开发实训系统”为“互联网产品开发实训系统”
- 优化多个文件的代码换行格式,提升可读
- 停用教师端和班级管理中院系/专业相关的旧逻辑
- 设计登录页ui
2 months ago
chenyuan d8c4e40bef fix: 大数据表格列改用tableColumns并为content列增加宽度与溢出提示 2 months ago
chenyuan 4419a3cfd1 merge: sync dev-QQq into master 2 months ago
qinzhenpen 89d08986cf feat: 重设计 AI 学习助手悬浮按钮并添加滚动隐藏与扇形展开交互 2 months ago
chenyuan d4d7a1c033 merge: sync dev-QQq into master 2 months ago
qinzhenpen e175e3e4f9 修改考试时长最大值限制问题 2 months ago
chenyuan a8425d74bd merge: sync dev-QQq into master 2 months ago
qinzhenpen 623771ec6b Merge remote-tracking branch 'origin/fix/exam-question-access-material-excel-delete-draft' into dev-QQq 2 months ago
qinzhenpen 2b640c32f5 feat(考试系统): 增加题目来源筛选、侧边栏变量、题目排序及分页功能 2 months ago
chenyuan 5b16fc5be6 feat: 简答题资料支持上传Excel;未发布考试增加删除按钮
- 教师端/平台管理端题目资料上传的 accept 增加 .xls/.xlsx
- 考试列表"未发布"状态增加删除按钮,确认文案区分未发布与已结束
2 months ago
qinzhenpen 1bee8f0d32 style: 复刻扁平按钮样式并添加反思题序号徽章
- 复刻 new-product-survey.vue 的扁平按钮样式,移除任务栏白卡背景
- 为产品开发流程第4步反思题添加带样式的序号徽章
2 months ago
qinzhenpen eb8502b33b feat: 重构实训步骤一,替换分类表格为知识自测
- 新增 TrainingStepOneChoiceQuestions 组件浅色样式,适配多页面
- 调整侧边栏宽度和元素布局,优化窄屏显示
- 移除多个页面的分类表格校验,改为仅校验知识自测答案
- 重置功能同步清空知识自测答案
2 months ago
chenyuan b5ff398c61 feat: 管理端题库管理屏蔽归属项目(任务)功能
- 隐藏工具栏筛选、编辑器与AI出题弹窗中的归属项目选择
- 保存/导入/AI出题不再要求选择归属项目
2 months ago
chenyuan 4ac7204300 fix: 完善学生端布局与实训页面 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 6c1a8149ae feat(考试编辑器): 新增题型每题分值配置项
新增每题分值列到分数表格,添加分值输入组件及联动更新逻辑,调整表格最小宽度适配新增列
2 months ago