saveStepFour hardcoded saveAction SUBMIT, so the step-4 save button also
submitted the task and both paths toasted '成本优化决策已保存', leaving
students unsure whether they had submitted (实训4.1). The toolbar submit
now goes through submitTask() -> SUBMIT + '任务提交成功', while the step
save keeps a SAVE draft + the original toast.
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.
table-layout:fixed split the unspecified 75% evenly between the title and
content columns; titles are 2-4 characters so half the title cell read as
an empty phantom column. Give title a fixed 14% (class-based, safe for
sections without the module column) and let the content column take the
remaining width.
- 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)
- 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
- 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
- TaskReviewPanel: keep one preview iframe and hot-switch students via
postMessage instead of rebuilding the SPA on every click; cache class
task config per class; reset preview scroll on switch.
- Show a loading overlay on the preview container and reveal it only
after the embedded page reports component + requests + DOM settled.
- StudentTaskReadonlyPreview: two-phase component swap so the previous
student instance is fully unmounted before the next mounts; sync the
iframe URL previewKey so context lookups keep working; isolate
localStorage to stop student pages leaking drafts between previews.
- Block student-answer reads/writes in preview mode even when the
preview context key cannot be resolved.
Writing Admin-Token/UserInfo to .sztzjy.com made every subdomain system
share and overwrite the same login state. Cookies are now host-only;
legacy shared-domain cookies are still cleaned up on set/remove so stale
duplicates cannot be read back.
- 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.
- 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.
- 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.