diff --git a/src/utils/trainingOutcomePdf.js b/src/utils/trainingOutcomePdf.js
index 4b510b3..70e2513 100644
--- a/src/utils/trainingOutcomePdf.js
+++ b/src/utils/trainingOutcomePdf.js
@@ -850,7 +850,7 @@ export function collectTrainingOutcomeDetails(task, studentAnswer) {
const content = readableContent(nodes[index]);
return {
name,
- content: content.text || (content.tables.length ? "" : "当前步骤内容以页面实训说明为准。"),
+ content: content.text || (content.tables.length ? "" : "本步骤内容以页面实训说明为准。"),
tables: content.tables,
answers: domAnswers[index]?.length ? domAnswers[index] : savedAnswers[index],
};
@@ -894,7 +894,7 @@ function createPrintDocument(task) {
const title = normalizeText(task?.taskName || task?.title || "实训成果");
const objectives = normalizeList(task?.objectives);
const steps = normalizeList(task?.steps);
- const stepDetails = Array.isArray(task?.stepDetails) && task.stepDetails.length ? task.stepDetails : steps.map((name) => ({ name, content: "当前步骤内容以页面实训说明为准。", tables: [], answers: [] }));
+ const stepDetails = Array.isArray(task?.stepDetails) && task.stepDetails.length ? task.stepDetails : steps.map((name) => ({ name, content: "本步骤内容以页面实训说明为准。", tables: [], answers: [] }));
const generatedAt = new Intl.DateTimeFormat("zh-CN", {
year: "numeric",
month: "2-digit",
diff --git a/src/views/AI/index.vue b/src/views/AI/index.vue
index 1d1e2a8..1a75d4f 100644
--- a/src/views/AI/index.vue
+++ b/src/views/AI/index.vue
@@ -758,7 +758,7 @@ const onClick = (type, idx) => {
inputMessage.value = type.com
}
}
- currentNode.value = type //记录当前步骤节点
+ currentNode.value = type //记录步骤节点
scrollToElement(type.name)
}
const changeTab = (type) => {
diff --git a/src/views/assessment/diagnosis.vue b/src/views/assessment/diagnosis.vue
index cac039e..6843990 100644
--- a/src/views/assessment/diagnosis.vue
+++ b/src/views/assessment/diagnosis.vue
@@ -483,7 +483,7 @@ function runSentimentAnalysis() {
}))
proxy?.$modal?.msgSuccess?.("情感评论数量与占比已自动计算")
}
-async function saveStepTwoDraft() { if (saving.value) return false; saving.value = true; try { await saveStudentTrainingAnswer(TASK_KEY, { step2Answer: JSON.stringify(buildStepTwo()), currentStep: 2, submitted: false, saveAction: "SAVE" }); proxy?.$modal?.msgSuccess?.("当前步骤已保存"); return true } catch (error) { proxy?.$modal?.msgError?.(error?.message || "保存失败,请重试"); return false } finally { saving.value = false } } async function validateStepTwo() { if (saving.value) return false; saving.value = true; try { const data = buildStepTwo(); await validateProductDiagnosisIterationStepTwo(buildStepTwoValidationPayload(data)); await saveStudentTrainingAnswer(TASK_KEY, { step2Answer: JSON.stringify(data), currentStep: 2, submitted: false, saveAction: "SAVE" }); proxy?.$modal?.msgSuccess?.("第 2 步校验通过,已保存"); return true } catch (error) { proxy?.$modal?.msgError?.(diagnosisErrorMessage(error, "请检查词云、情感占比和根因分析")); return false } finally { saving.value = false } }
+async function saveStepTwoDraft() { if (saving.value) return false; saving.value = true; try { await saveStudentTrainingAnswer(TASK_KEY, { step2Answer: JSON.stringify(buildStepTwo()), currentStep: 2, submitted: false, saveAction: "SAVE" }); proxy?.$modal?.msgSuccess?.("已保存"); return true } catch (error) { proxy?.$modal?.msgError?.(error?.message || "保存失败,请重试"); return false } finally { saving.value = false } } async function validateStepTwo() { if (saving.value) return false; saving.value = true; try { const data = buildStepTwo(); await validateProductDiagnosisIterationStepTwo(buildStepTwoValidationPayload(data)); await saveStudentTrainingAnswer(TASK_KEY, { step2Answer: JSON.stringify(data), currentStep: 2, submitted: false, saveAction: "SAVE" }); proxy?.$modal?.msgSuccess?.("第 2 步校验通过,已保存"); return true } catch (error) { proxy?.$modal?.msgError?.(diagnosisErrorMessage(error, "请检查词云、情感占比和根因分析")); return false } finally { saving.value = false } }
function clearAbChart() { if (abChart.value.url.startsWith("blob:")) URL.revokeObjectURL(abChart.value.url); abChart.value = { url: "", name: "" } }
async function handleAbChartUpload(event) { const file = event.target?.files?.[0]; if (!file) return; const accepted = ["image/jpeg", "image/png", "image/webp"]; if (!accepted.includes(file.type) || file.size > 5 * 1024 * 1024) { proxy?.$modal?.msgError?.("请上传不超过 5MB 的 PNG、JPG 或 WEBP 图片"); event.target.value = ""; return } uploading.value = true; try { let url = ""; if (isStudentDemo()) url = URL.createObjectURL(file); else { const data = new FormData(); data.append("file", file); const response = await uploadStudentTrainingFile(data); url = response?.url || response?.data?.url || "" } if (!url) throw new Error("上传成功但未返回图片地址"); clearAbChart(); abChart.value = { url, name: file.name }; proxy?.$modal?.msgSuccess?.("AB 测试结果对比图上传成功,可点击图片预览") } catch (error) { proxy?.$modal?.msgError?.(error?.message || "图片上传失败,请重试") } finally { uploading.value = false; event.target.value = "" } }
async function saveStepThreeDraft() { if (saving.value) return; saving.value = true; try { await saveStudentTrainingAnswer(TASK_KEY, { step3Answer: JSON.stringify(buildStepThree()), currentStep: 3, submitted: false, saveAction: "SAVE" }); proxy?.$modal?.msgSuccess?.("草稿已保存") } catch (error) { proxy?.$modal?.msgError?.(error?.message || "保存失败,请重试") } finally { saving.value = false } }
@@ -1713,7 +1713,7 @@ button.is-disabled {
}
}
- /* 当前步骤:教育蓝实底 */
+ /* 步骤:教育蓝实底 */
&.active {
border-color: #2563eb !important;
background: #2563eb !important;
diff --git a/src/views/assessment/optimization.vue b/src/views/assessment/optimization.vue
index acb3293..99b3796 100644
--- a/src/views/assessment/optimization.vue
+++ b/src/views/assessment/optimization.vue
@@ -1588,7 +1588,7 @@ button:disabled {
}
}
- /* 当前步骤:教育蓝实底 */
+ /* 步骤:教育蓝实底 */
&.active {
border-color: #2563eb !important;
background: #2563eb !important;
diff --git a/src/views/channel/supplier.vue b/src/views/channel/supplier.vue
index 4c5011c..8397397 100644
--- a/src/views/channel/supplier.vue
+++ b/src/views/channel/supplier.vue
@@ -507,7 +507,7 @@ async function saveStepOne(advance = false) {
currentStep.value = 2
ElMessage.success("权重已保存,请继续完成渠道评分")
} else {
- ElMessage.success("当前步骤已保存")
+ ElMessage.success("已保存")
}
} catch (error) {
ElMessage.error(error?.message || "保存失败,请检查权重填写")
diff --git a/src/views/demand/competitive-environment-analysis.vue b/src/views/demand/competitive-environment-analysis.vue
index bf89ee2..5d0905d 100644
--- a/src/views/demand/competitive-environment-analysis.vue
+++ b/src/views/demand/competitive-environment-analysis.vue
@@ -32,7 +32,7 @@
:class="['step-tab', { active: currentStep === index + 1, complete: currentStep > index + 1 }]"
@click="switchStep(index + 1)">{{ String(index + 1).padStart(2,
'0') }}{{ step }}{{ currentStep
- === index + 1 ? '当前步骤' : '点击切换' }} →
diff --git a/src/views/demand/consumer-behavior.vue b/src/views/demand/consumer-behavior.vue
index 75038db..22bdf1f 100644
--- a/src/views/demand/consumer-behavior.vue
+++ b/src/views/demand/consumer-behavior.vue
@@ -348,7 +348,7 @@
-
@@ -1079,7 +1079,7 @@ function exportOutcome() {
const lines = [
`任务:${taskTitle.value}`,
"",
- `当前步骤:${flowSteps.value[form.value.activeStep] || ""}`,
+ `步骤:${flowSteps.value[form.value.activeStep] || ""}`,
"",
"问卷调查目标人群与核心假设:",
...form.value.targetHypotheses.map((item, index) => `${index + 1}. 目标人群:${item.targetGroup || ""}\n实训8关键发现:${item.keyFinding || ""}\n核心假设:${item.coreHypothesis || ""}`),
diff --git a/src/views/demand/consumer-scenario.vue b/src/views/demand/consumer-scenario.vue
index 4450d86..701888f 100644
--- a/src/views/demand/consumer-scenario.vue
+++ b/src/views/demand/consumer-scenario.vue
@@ -35,7 +35,7 @@
{{ String(index + 1).padStart(2, '0') }}
{{ step }}
- {{ form.activeStep === index + 1 ? "当前步骤" : "点击切换" }} {{ form.activeStep === index + 1 ? "" : "" }} →
@@ -251,7 +251,7 @@
-
@@ -1908,7 +1908,7 @@ function exportOutcome() {
}
}
- /* 当前步骤 */
+ /* 步骤 */
&.active {
border-color: #2563eb !important;
background: #2563eb !important;
diff --git a/src/views/demand/environment.vue b/src/views/demand/environment.vue
index 4de9528..119484b 100644
--- a/src/views/demand/environment.vue
+++ b/src/views/demand/environment.vue
@@ -37,7 +37,7 @@
{{ String(index + 1).padStart(2, '0') }}
{{ step }}
- {{ currentStep === index + 1 ? '当前步骤' : '点击切换' }} {{ currentStep === index + 1 ? '' : '' }} →
diff --git a/src/views/demand/feature-conversion.vue b/src/views/demand/feature-conversion.vue
index c5bf5a0..4e0e8b9 100644
--- a/src/views/demand/feature-conversion.vue
+++ b/src/views/demand/feature-conversion.vue
@@ -35,7 +35,7 @@
{{ String(index + 1).padStart(2, '0') }}
{{ step }}
- {{ form.activeStep === index + 1 ? "当前步骤" : "点击切换" }} {{ form.activeStep === index + 1 ? "" : "" }} →
diff --git a/src/views/demand/index.vue b/src/views/demand/index.vue
index 611489c..1d8ec76 100644
--- a/src/views/demand/index.vue
+++ b/src/views/demand/index.vue
@@ -37,7 +37,7 @@
{{ String(index + 1).padStart(2, "0") }}
{{ step }}
- {{ currentStep === index + 1 ? "当前步骤" : "点击切换" }} {{ currentStep === index + 1 ? "" : "" }} →
diff --git a/src/views/demand/industry-demand-analysis.vue b/src/views/demand/industry-demand-analysis.vue
index e3c5fdc..5675ec1 100644
--- a/src/views/demand/industry-demand-analysis.vue
+++ b/src/views/demand/industry-demand-analysis.vue
@@ -34,7 +34,7 @@
@click="switchStep(index + 1)">
{{ String(index + 1).padStart(2, '0') }}
{{ step }}{{ currentStep === index + 1 ? '当前步骤' : '点击切换' }}
+ class="step-action">{{ currentStep === index + 1 ? '' : '' }}
→
@@ -370,9 +370,9 @@ async function saveCurrentProgress(showMessage = true) {
if (currentStep.value === 2) stepTwoPassed.value = true
if (currentStep.value === 3) stepThreePassed.value = true
clearDraft()
- if (showMessage) proxy?.$modal?.msgSuccess("当前步骤已保存")
+ if (showMessage) proxy?.$modal?.msgSuccess("已保存")
return true
- } catch (error) { proxy?.$modal?.msgError?.(error?.message || "请完整填写当前步骤内容"); return false } finally { saving.value = false }
+ } catch (error) { proxy?.$modal?.msgError?.(error?.message || "请完整填写本步骤内容"); return false } finally { saving.value = false }
}
function previousStep() { if (currentStep.value > 1) currentStep.value -= 1 }
async function nextStep() { if (currentStep.value < trainingSteps.value.length && await saveCurrentProgress(false)) currentStep.value += 1 }
diff --git a/src/views/demand/people.vue b/src/views/demand/people.vue
index 16b9ca8..dd781e8 100644
--- a/src/views/demand/people.vue
+++ b/src/views/demand/people.vue
@@ -342,7 +342,7 @@
-
diff --git a/src/views/foundation/new-product-survey.vue b/src/views/foundation/new-product-survey.vue
index 3bbcbe7..62a8dd8 100644
--- a/src/views/foundation/new-product-survey.vue
+++ b/src/views/foundation/new-product-survey.vue
@@ -453,10 +453,10 @@ const stepOneQuestions = computed(() => parseStepOneChoiceQuestions(taskConfig.v
const currentStudyTip = computed(() => {
const tips = {
- 1: "当前步骤建议:先从案例或电商详情页中拆出核心层、有形层、延伸层,不要把功能和用户利益混在一起。",
- 2: "当前步骤建议:选择一个主流电商平台与真实 AI 产品,用“核心词 + 属性词 + 场景词”搜索并保留主图、详情页截图。",
- 3: "当前步骤建议:将上一步选定产品的卖点按核心层、有形层、延伸层拆分,每层至少记录两条可核对的分析要点。",
- 4: "当前步骤建议:把前面三步的发现收束为产品开发启发,说明哪些价值值得继续强化。",
+ 1: "建议:先从案例或电商详情页中拆出核心层、有形层、延伸层,不要把功能和用户利益混在一起。",
+ 2: "建议:选择一个主流电商平台与真实 AI 产品,用“核心词 + 属性词 + 场景词”搜索并保留主图、详情页截图。",
+ 3: "建议:将上一步选定产品的卖点按核心层、有形层、延伸层拆分,每层至少记录两条可核对的分析要点。",
+ 4: "建议:把前面三步的发现收束为产品开发启发,说明哪些价值值得继续强化。",
}
return tips[currentStep.value]
})
diff --git a/src/views/foundation/product-development-factors.vue b/src/views/foundation/product-development-factors.vue
index 56b958a..5b20074 100644
--- a/src/views/foundation/product-development-factors.vue
+++ b/src/views/foundation/product-development-factors.vue
@@ -1258,7 +1258,7 @@ async function nextStep() {
}
}
- /* 当前步骤:教育蓝实底白字,白色编号徽章蓝字 */
+ /* 步骤:教育蓝实底白字,白色编号徽章蓝字 */
&.active {
border-color: #2563eb !important;
background: #2563eb !important;
diff --git a/src/views/foundation/product-development-process.vue b/src/views/foundation/product-development-process.vue
index 1a0e308..8a1d54a 100644
--- a/src/views/foundation/product-development-process.vue
+++ b/src/views/foundation/product-development-process.vue
@@ -1705,7 +1705,7 @@ tr.is-incorrect .classification-feedback {
}
}
- /* 当前步骤:教育蓝实底白字 */
+ /* 步骤:教育蓝实底白字 */
&.active {
border-color: #2563eb !important;
background: #2563eb !important;
diff --git a/src/views/product/after-sales-service.vue b/src/views/product/after-sales-service.vue
index c57b393..30b402b 100644
--- a/src/views/product/after-sales-service.vue
+++ b/src/views/product/after-sales-service.vue
@@ -34,7 +34,7 @@
@click="switchStep(index + 1)">
{{ String(index + 1).padStart(2, '0') }}
{{ step }}{{ currentStep === index + 1 ? '当前步骤' : '点击切换' }}
+ class="step-action">{{ currentStep === index + 1 ? '' : '' }}
→
@@ -1557,7 +1557,7 @@ button:disabled {
}
}
- /* 当前步骤:教育蓝实底 */
+ /* 步骤:教育蓝实底 */
&.active {
border-color: #2563eb !important;
background: #2563eb !important;
diff --git a/src/views/product/components/ProductStandardTrainingPage.vue b/src/views/product/components/ProductStandardTrainingPage.vue
index 33439de..ba4d79b 100644
--- a/src/views/product/components/ProductStandardTrainingPage.vue
+++ b/src/views/product/components/ProductStandardTrainingPage.vue
@@ -44,7 +44,7 @@
:aria-label="`第${index + 1}步:${step}`" @click="setCurrentStep(index + 1)">
{{ String(index + 1).padStart(2, '0') }}
{{ step }}{{ activeStep === index + 1 ? "当前步骤" : "点击切换" }} {{ activeStep === index + 1 ? "" : "" }} →
{{ String(index + 1).padStart(2, '0') }}
{{ step }}
- {{ form.activeStep === index + 1 ? "当前步骤" : "点击切换" }} {{ form.activeStep === index + 1 ? "" : "" }} →
diff --git a/src/views/product/hardware-cost.vue b/src/views/product/hardware-cost.vue
index bf00a27..9676263 100644
--- a/src/views/product/hardware-cost.vue
+++ b/src/views/product/hardware-cost.vue
@@ -35,7 +35,7 @@
@click="goToStepFromTab(index + 1)">
{{ String(index + 1).padStart(2, "0") }}
{{ step }}{{ currentStep === index + 1 ? '当前步骤' : '点击切换' }} {{ currentStep === index + 1 ? '' : '' }} →
diff --git a/src/views/product/index.vue b/src/views/product/index.vue
index 0be1944..0428d9c 100644
--- a/src/views/product/index.vue
+++ b/src/views/product/index.vue
@@ -223,7 +223,7 @@
-
diff --git a/src/views/product/market-opportunity-selection.vue b/src/views/product/market-opportunity-selection.vue
index 08ce5fa..27f5e30 100644
--- a/src/views/product/market-opportunity-selection.vue
+++ b/src/views/product/market-opportunity-selection.vue
@@ -29,8 +29,8 @@
:key="step">{{ step }}{{ currentStep === index + 1 ? '' :
+ '' }} →
diff --git a/src/views/product/price.vue b/src/views/product/price.vue
index da81470..a7fb763 100644
--- a/src/views/product/price.vue
+++ b/src/views/product/price.vue
@@ -1355,7 +1355,7 @@ async function saveStepFiveDraft() {
dynamicStepAnswers: JSON.stringify(dynamicStepAnswers.value),
})
hasSavedAnswer.value = true
- proxy?.$modal?.msgSuccess?.("当前步骤已保存")
+ proxy?.$modal?.msgSuccess?.("已保存")
} finally {
saving.value = false
}
diff --git a/src/views/product/requirements-doc.vue b/src/views/product/requirements-doc.vue
index 97a73cf..8214580 100644
--- a/src/views/product/requirements-doc.vue
+++ b/src/views/product/requirements-doc.vue
@@ -451,9 +451,9 @@ function normalizeStepThreeDocument(value) {
}
}
function stepStateText(index) {
- if (index === 0) return stepOnePassed.value ? "已通过" : "当前步骤"
- if (index === 1) return stepOnePassed.value ? (currentStep.value === 2 ? "当前步骤" : "可填写") : "完成第 1 步后解锁"
- if (index === 2) return stepOnePassed.value ? (currentStep.value === 3 ? "当前步骤" : isDocumentReady.value ? "已上传" : "可填写") : "完成第 1 步后解锁"
+ if (index === 0) return stepOnePassed.value ? "已通过" : ""
+ if (index === 1) return stepOnePassed.value ? (currentStep.value === 2 ? "" : "可填写") : "完成第 1 步后解锁"
+ if (index === 2) return stepOnePassed.value ? (currentStep.value === 3 ? "" : isDocumentReady.value ? "已上传" : "可填写") : "完成第 1 步后解锁"
return currentStep.value > index + 1 ? "已完成" : "后续步骤"
}
function invalidateCheck() { checkResult.value = null; stepOnePassed.value = false }
@@ -614,7 +614,7 @@ function switchStep(step) {
currentStep.value = 3
return
}
- proxy?.$modal?.msgInfo("请先完成当前步骤后再进入后续实训。")
+ proxy?.$modal?.msgInfo("请先完成本步骤后再进入后续实训。")
}
function goNextStep() { switchStep(2) }
function saveCurrentProgress() {
@@ -1803,7 +1803,7 @@ function exportOutcome() { if (currentStep.value === 2) { exportStepTwoTable() }
}
}
- /* 当前步骤:教育蓝实底 */
+ /* 步骤:教育蓝实底 */
&.active {
border-color: #2563eb !important;
background: #2563eb !important;
diff --git a/src/views/teacherEnd/taskReview/StudentTaskReadonlyPreview.vue b/src/views/teacherEnd/taskReview/StudentTaskReadonlyPreview.vue
index 00b82db..7ebe871 100644
--- a/src/views/teacherEnd/taskReview/StudentTaskReadonlyPreview.vue
+++ b/src/views/teacherEnd/taskReview/StudentTaskReadonlyPreview.vue
@@ -114,7 +114,7 @@ function guardPreviewInteraction(event) {
/*
* 步骤导航容器白名单:
* 只靠文案(第N步/上一步/下一步)判断太窄——行业需求分析、竞争环境分析等页面的步骤胶囊
- * 文案是「01 PEST宏观环境分析 点击切换 →」,不匹配任何关键词,会被当成普通按钮拦掉,
+ * 文案是「01 PEST宏观环境分析 切换 →」,不匹配任何关键词,会被当成普通按钮拦掉,
* 表现为「点了没反应、也不报错」。凡落在已知步骤导航容器里的控件一律放行。
*/
const PREVIEW_STEP_NAV_CONTAINER = [
@@ -135,7 +135,7 @@ function isStepNavigation(element) {
if (element.closest(PREVIEW_STEP_NAV_CONTAINER)) return true;
const label = String(element.getAttribute("aria-label") || "");
const text = `${label} ${String(element.textContent || "")}`.replace(/\s+/g, " ").trim();
- return /(上一步|下一步|第\s*\d+\s*步|步骤\s*\d+|切换.*步骤|步骤.*切换|点击切换|当前步骤)/.test(text);
+ return /(上一步|下一步|第\s*\d+\s*步|步骤\s*\d+|切换.*步骤|步骤.*切换)/.test(text);
}
/* 只读态被拦截的操作要给提示,避免教师以为页面坏了 */
diff --git a/src/views/test/index.vue b/src/views/test/index.vue
index d14b2e4..ffd61b7 100644
--- a/src/views/test/index.vue
+++ b/src/views/test/index.vue
@@ -33,7 +33,7 @@
:aria-current="activeStep === index + 1 ? 'step' : undefined" @click="goToStepFromTab(index + 1)">
{{ String(index + 1).padStart(2, "0") }}{{ step
}}{{ activeStep === index + 1
- ? '当前步骤 →' : '点击切换 →' }}
+ ? '' : '' }}
diff --git a/src/views/test/promotion.vue b/src/views/test/promotion.vue
index 39bd404..5d7936e 100644
--- a/src/views/test/promotion.vue
+++ b/src/views/test/promotion.vue
@@ -33,7 +33,7 @@
:aria-current="activeStep === index + 1 ? 'step' : undefined" @click="goToStepFromTab(index + 1)">
{{ String(index + 1).padStart(2, "0") }}
{{ step }}{{
- activeStep === index + 1 ? '当前步骤' : '点击切换' }} →
+ activeStep === index + 1 ? '' : '' }} →
@@ -1369,7 +1369,7 @@ onMounted(async () => { try { const result = await getTrainingTaskByKey(TASK_KEY
}
}
- /* 当前步骤:教育蓝实底 */
+ /* 步骤:教育蓝实底 */
&.active {
border-color: #2563eb !important;
background: #2563eb !important;
diff --git a/src/views/training/GenericTrainingPage.vue b/src/views/training/GenericTrainingPage.vue
index de8b41a..a06a303 100644
--- a/src/views/training/GenericTrainingPage.vue
+++ b/src/views/training/GenericTrainingPage.vue
@@ -855,7 +855,7 @@ function startComprehensiveNavDrag(event) {
comprehensiveNavDrag.startScrollLeft = nav.scrollLeft;
comprehensiveNavDrag.moved = false;
// 按下时不立即捕获指针:捕获会把后续 click 重定向到容器,
- // 步骤按钮的 @click 将永远收不到事件(点击切换无响应)。
+ // 步骤按钮的 @click 将永远收不到事件(切换无响应)。
// 只有拖动超过阈值、确认是拖拽后再捕获(见 moveComprehensiveNavDrag)。
comprehensiveNavDrag.captured = false;
comprehensiveNavDragging.value = true;