chenyuan
abba858cd6
feat(training): limit reference answer uploads to PDF
1 month ago
chenyuan
b4a2d0c8ad
feat(training): add Excel imports and templates for exercises 20 and 21
1 month ago
chenyuan
43257389a6
fix: keep school organization controls consistent and fail closed
1 month ago
chenyuan
9401d2a20a
fix: enforce student task access and preserve default task keys
1 month ago
chenyuan
d87153795c
feat(training): add interview records editor
1 month ago
chenyuan
a5c88c1d8c
fix(training): add product development process demo answers
1 month ago
chenyuan
94de4d455c
fix(training): 市场机会与选择/竞争环境分析页面交互优化
...
- 组合逻辑列改为仅展示第 2 步补充信息
- 好评率输入样式单元包裹
- 移除冗余的方法引导块
1 month ago
chenyuan
5e304b45a9
docs: 同步主题技能规范与实训页面设计文档
1 month ago
chenyuan
2985fce54f
feat(training): 学生上传图片接入AI视觉评分链路
...
- 各实训页图片上传统一走后端文件存储,供AI评分取证
- 评阅预览壳适配
1 month ago
chenyuan
1b5ba018e3
feat(task-review): 教师端评阅/任务页交互优化与列宽调整
...
- 评阅面板任务选择与列宽微调,与参考答案预览交互配套
- 任务分配班级下拉与任务页列宽对齐
- 学生首页成绩展示同步
1 month ago
chenyuan
3f1adac990
fix(task): 任务分配班级下拉只显示当前教师自己创建的教学班
...
- 与后端 requireOwnedTeachingClass 的属主校验对齐,
避免选中他人班级后保存被 403
- createdBy 比较统一走 sameValue(去空白)
1 month ago
chenyuan
422589fee2
feat(task-review): PDF预览关闭缩略图导航栏(pagemode=none)
...
- 教师弹窗与学生悬浮的参考答案预览地址追加 #pagemode=none,
关闭浏览器 PDF 查看器左侧缩略图导航栏,只保留正文预览
- 同步静态测试断言
1 month ago
chenyuan
d6e5271ff5
fix(student): 参考答案 objectURL 统一记录便于回收
1 month ago
chenyuan
8edb627495
fix(task-review): 补回参考答案弹窗与iframe样式
...
- 之前的样式区间替换误删了 .reference-answer-dialog/.reference-answer-frame 样式,
导致 iframe 以浏览器默认尺寸(304x154)挤在弹窗左侧
- 补回:弹窗900px内 iframe 100%x64vh 铺满,头部底色区分
1 month ago
chenyuan
e99cc9742d
fix(task-review): 参考答案预览 200 仍报错的修复
...
- axios 拦截器对 blob 响应返回的已是 Blob 本身,
原代码再取 response.data 为 undefined,
createObjectURL 抛 TypeError 被兜底成'参考答案预览失败'
- 兼容 Blob/原始响应两种形态,教师端弹窗与学生端悬浮共用修复
1 month ago
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