Refactor product development views: Replaced TrainingMaterialButton with a new TrainingTaskToolbar for improved functionality and layout consistency. Updated CSS for a sticky action toolbar and removed obsolete styles, enhancing user experience across the application.

fix/exam-question-access-material-excel-delete-draft
qinzhenpen 2 months ago
parent c4808269f7
commit ac22d2bc07

1
.gitignore vendored

@ -12,6 +12,7 @@ selenium-debug.log
# Editor directories and files
.idea
.cursor/
.vscode
*.suo
*.ntvs*

@ -21,26 +21,22 @@
</div>
</section>
<section class="factors-workbench">
<div class="workbench-head workbench-head--actions-only">
<div class="workbench-actions">
<TrainingMaterialButton
:material-name="taskConfig?.materialName"
:material-url="taskConfig?.materialUrl"
:training-data-name="taskConfig?.trainingDataName"
:training-data-url="taskConfig?.trainingDataUrl"
:guide-manual-name="taskConfig?.guideManualName"
:guide-manual-url="taskConfig?.guideManualUrl"
:ai-manual-name="taskConfig?.aiManualName"
:ai-manual-url="taskConfig?.aiManualUrl"
/>
<button type="button" class="outline-action" @click="exportOutcome">
<el-icon><Download /></el-icon>
导出实训成果
</button>
</div>
</div>
<section class="task-action-strip">
<TrainingTaskToolbar
:task-key="TASK_KEY"
:material-name="taskConfig?.materialName"
:material-url="taskConfig?.materialUrl"
:training-data-name="taskConfig?.trainingDataName"
:training-data-url="taskConfig?.trainingDataUrl"
:guide-manual-name="taskConfig?.guideManualName"
:guide-manual-url="taskConfig?.guideManualUrl"
:ai-manual-name="taskConfig?.aiManualName"
:ai-manual-url="taskConfig?.aiManualUrl"
:on-export="exportOutcome"
/>
</section>
<section class="factors-workbench">
<nav v-if="trainingSteps.length" class="step-indicator" aria-label="实训步骤">
<button
v-for="(step, index) in trainingSteps"
@ -134,7 +130,6 @@
<p class="factor-intro">结合案例信息及前述步骤,分析案例资料中产品一成功的关键因素是什么,产品二失败的关键因素是什么。</p>
<label class="factor-intro">产品成功的关键因素:</label><textarea v-model="stepFourForm.successFactors" class="table-textarea summary-textarea" />
<label class="factor-intro">产品失败的关键因素:</label><textarea v-model="stepFourForm.failedFactors" class="table-textarea summary-textarea" />
<div class="task-actions"><button type="button" class="btn-nav btn-submit" :disabled="saving" @click="submitTraining">提交任务<el-icon><CircleCheck /></el-icon></button><button type="button" class="btn-nav" :disabled="saving" @click="resetTraining">清空填写</button></div>
</template>
<div v-else class="step-placeholder">
<p>第 {{ currentStep + 1 }} 步内容待配置</p>
@ -155,13 +150,13 @@
</template>
<script setup>
import { ArrowRight, CircleCheck, Download, Operation, RefreshLeft } from "@element-plus/icons-vue";
import { ArrowRight, CircleCheck, Operation, RefreshLeft } from "@element-plus/icons-vue";
import { getTrainingTaskByKey } from "@/api/trainingTask";
import { parseTrainingArray } from "@/views/training/taskKeyMap";
import { checkProductDevelopmentFactorsStepOne, checkProductDevelopmentFactorsStepTwo, checkProductDevelopmentFactorsStepThree, checkProductDevelopmentFactorsStepFour, getStudentTrainingAnswer, saveStudentTrainingAnswer } from "@/api/studentTrainingAnswer";
import useUserStore from "@/store/modules/user";
import TrainingAiSidebar from "@/views/components/TrainingAiSidebar.vue";
import TrainingMaterialButton from "@/views/components/TrainingMaterialButton.vue";
import TrainingTaskToolbar from "@/views/components/TrainingTaskToolbar.vue";
const { proxy } = getCurrentInstance();
const TASK_KEY = "product-development-factors";
@ -651,21 +646,28 @@ function exportOutcome() {
}
}
/* 仅含操作按钮的头部:右对齐,无分隔线 */
.workbench-head--actions-only {
display: flex;
justify-content: flex-end;
margin-bottom: 10px;
padding-bottom: 0;
border-bottom: 0;
}
.workbench-actions {
display: flex;
flex: 0 0 auto;
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
/* ============================================================
* 操作工具栏横条:独立白卡 + 吸顶 + 按钮组右对齐
* ============================================================ */
.task-action-strip {
position: sticky;
top: 12px;
z-index: 10;
margin: 0;
padding: 10px 16px;
border: 1px solid var(--student-panel-border);
border-radius: 12px;
background: var(--student-card-bg);
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
transition: box-shadow 0.2s ease;
:deep(.training-task-toolbar) {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
gap: 8px;
}
}
/* 步骤导航(极简文字下划线)的换肤见非 scoped 块 */
@ -916,36 +918,6 @@ function exportOutcome() {
}
}
/* 工作台顶部"导出实训成果"按钮:白底教育蓝描边次按钮 */
.outline-action {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
min-height: 36px;
height: 36px;
padding: 0 14px;
border: 1px solid rgba(37, 99, 235, 0.35);
border-radius: 8px;
color: #2563eb;
background: #ffffff;
font-family: inherit;
font-size: 13px;
font-weight: 600;
line-height: 1;
cursor: pointer;
transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
&:hover {
border-color: #2563eb;
color: #2563eb;
background: #eff6ff;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}
}
/* 案例资料按钮(TrainingMaterialButton 子组件)的换肤见非 scoped 块 */
@media (max-width: 900px) {
/* 窄屏全宽规则的强制覆盖见非 scoped 块(scoped 打不赢全局 !important) */
@ -960,44 +932,6 @@ function exportOutcome() {
<style lang="scss">
/* ===== AI 侧栏样式已收敛进 TrainingAiSidebar 组件(教育蓝极简),此处不再覆盖 ===== */
/* ===== 共用组件换肤:TrainingMaterialButton 资料按钮 → 教育蓝 ===== */
.product-factors .workbench-actions .material-button.el-button {
height: 34px !important;
min-height: 34px !important;
border: 1px solid rgba(37, 99, 235, 0.35) !important;
border-radius: 8px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 600 !important;
transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease !important;
&:hover {
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
}
/* is-plain:无资料,弱化态 */
&.is-plain {
border-color: #e5e7eb !important;
color: #9ca3af !important;
&:hover {
border-color: #e5e7eb !important;
color: #9ca3af !important;
background: #ffffff !important;
box-shadow: none !important;
}
}
}
.product-factors .workbench-actions .material-button.el-button .material-icon {
color: inherit !important;
font-size: 14px !important;
}
/* ============================================================
* 步骤导航:胶囊分段 + 连接(教育蓝主题)
* 与 new-product-survey.vue 完全一致,覆盖全局 !important 规则
@ -1137,42 +1071,10 @@ function exportOutcome() {
/* ============================================================
* 按钮风格强制同步:
* 全局 student-training.scss 用 !important 把 .workbench-actions /
* .task-actions 按钮锁成浅蓝大胶囊,scoped 规则无法取胜。
* 这里用 id 锚点(特异性含 #app)+ !important 稳定覆盖。
* 全局 student-training.scss 用 !important 把 .task-actions 按钮锁成浅蓝大胶囊,
* scoped 规则无法取胜。这里用 id 锚点(特异性含 #app)+ !important 稳定覆盖。
* ============================================================ */
/* 顶部"导出实训成果"原生按钮:全局 L592 锁为 34px 浅蓝胶囊 */
#app .studentLayout section.app-main:has(.product-factors) .workbench-actions > button.outline-action {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
width: auto !important;
height: 34px !important;
min-height: 34px !important;
max-height: none !important;
padding: 0 14px !important;
border: 1px solid rgba(37, 99, 235, 0.35) !important;
border-radius: 8px !important;
color: #2563eb !important;
background: #ffffff !important;
box-shadow: none !important;
text-shadow: none !important;
font-size: 13px !important;
font-weight: 600 !important;
line-height: 1 !important;
transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease !important;
}
#app .studentLayout section.app-main:has(.product-factors) .workbench-actions > button.outline-action:hover {
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
transform: none !important;
}
/* --- 底部步骤按钮:36px 标准按钮(位置 A) --- */
#app .studentLayout section.app-main:has(.product-factors) .task-actions {
gap: 14px !important;
@ -1237,27 +1139,26 @@ function exportOutcome() {
/* 窄屏:按钮纵向全宽(全局容器 min-width/布局均为 !important,须在此覆盖) */
@media (max-width: 900px) {
#app .studentLayout section.app-main:has(.product-factors) .workbench-head,
#app .studentLayout section.app-main:has(.product-factors) .workbench-actions {
#app .studentLayout section.app-main:has(.product-factors) .task-actions {
flex-direction: column !important;
align-items: stretch !important;
min-width: 0 !important;
width: 100% !important;
}
#app .studentLayout section.app-main:has(.product-factors) .workbench-actions .material-actions {
display: grid !important;
#app .studentLayout section.app-main:has(.product-factors) .task-actions > button {
width: 100% !important;
}
#app .studentLayout section.app-main:has(.product-factors) .workbench-actions > button.outline-action,
#app .studentLayout section.app-main:has(.product-factors) .task-actions > button {
width: 100% !important;
/* task-action-strip 响应式 */
#app .studentLayout section.app-main:has(.product-factors) .task-action-strip {
position: static !important;
}
#app .studentLayout section.app-main:has(.product-factors) .task-actions {
flex-direction: column !important;
align-items: stretch !important;
#app .studentLayout section.app-main:has(.product-factors) .task-action-strip :deep(.training-task-toolbar) {
justify-content: stretch !important;
}
#app .studentLayout section.app-main:has(.product-factors) .task-action-strip :deep(.training-task-toolbar > *) {
flex: 1 1 auto !important;
}
}
</style>

@ -1,4 +1,4 @@
<template>
<template>
<div class="product-process student-training-shell">
<main class="process-core">
<section class="task-header">
@ -19,21 +19,20 @@
</span>
</div>
</div>
<div class="workbench-head workbench-head--actions-only">
<div class="workbench-actions">
<TrainingMaterialButton
:material-name="taskConfig?.materialName"
:material-url="taskConfig?.materialUrl"
:training-data-name="taskConfig?.trainingDataName"
:training-data-url="taskConfig?.trainingDataUrl"
:guide-manual-name="taskConfig?.guideManualName"
:guide-manual-url="taskConfig?.guideManualUrl"
:ai-manual-name="taskConfig?.aiManualName"
:ai-manual-url="taskConfig?.aiManualUrl"
/>
<button type="button" class="outline-action" @click="exportOutcome"><el-icon><Download /></el-icon>导出实训成果</button>
</div>
</div>
</section>
<section class="task-action-strip">
<TrainingTaskToolbar
:task-key="TASK_KEY"
:material-name="taskConfig?.materialName"
:material-url="taskConfig?.materialUrl"
:training-data-name="taskConfig?.trainingDataName"
:training-data-url="taskConfig?.trainingDataUrl"
:guide-manual-name="taskConfig?.guideManualName"
:guide-manual-url="taskConfig?.guideManualUrl"
:ai-manual-name="taskConfig?.aiManualName"
:ai-manual-url="taskConfig?.aiManualUrl"
/>
</section>
<section class="process-workbench">
@ -167,10 +166,6 @@
<label class="reflection-field"><span>场景2:</span><textarea v-model.trim="stepFourForm.aiScenarioTwo" :disabled="!stepThreePassed || checking" placeholder="例如:使用 AI 生成电商详情页文案、主图脚本或运营素材"></textarea></label>
</div>
</section>
<div class="task-actions">
<button type="button" class="btn-nav btn-submit" :disabled="checking || !stepThreePassed" @click="submitTraining">提交任务<el-icon><CircleCheck /></el-icon></button>
<button type="button" class="btn-nav" :disabled="checking" @click="resetStepFour"><el-icon><RefreshLeft /></el-icon>清空本步</button>
</div>
</template>
<div v-else class="step-placeholder"><p>第 {{ currentStep }} 步内容待配置</p><span>第 1 步答案已保存,可从上方步骤栏返回查看。</span></div>
</section>
@ -187,7 +182,7 @@
</template>
<script setup>
import { ArrowRight, CircleCheck, Download, Operation, RefreshLeft, Upload } from "@element-plus/icons-vue";
import { ArrowRight, CircleCheck, Operation, RefreshLeft, Upload } from "@element-plus/icons-vue";
import * as XLSX from "xlsx";
import { checkProductDevelopmentProcessStepOne, checkProductDevelopmentProcessStepTwo, checkProductDevelopmentProcessStepThree, checkProductDevelopmentProcessStepFour, getStudentTrainingAnswer, saveStudentTrainingAnswer, uploadStudentTrainingFile } from "@/api/studentTrainingAnswer";
import { getTrainingTaskByKey } from "@/api/trainingTask";
@ -195,7 +190,7 @@ import { parseTrainingArray } from "@/views/training/taskKeyMap";
import { isExternal } from "@/utils/validate";
import useUserStore from "@/store/modules/user";
import TrainingAiSidebar from "@/views/components/TrainingAiSidebar.vue";
import TrainingMaterialButton from "@/views/components/TrainingMaterialButton.vue";
import TrainingTaskToolbar from "@/views/components/TrainingTaskToolbar.vue";
const { proxy } = getCurrentInstance();
const userStore = useUserStore();
@ -786,52 +781,30 @@ function exportOutcome() {
}
}
/* 仅含操作按钮的头部:右对齐,无分隔线 */
.workbench-head--actions-only {
display: flex;
justify-content: flex-end;
margin-bottom: 10px;
padding-bottom: 0;
border-bottom: 0;
}
.workbench-actions {
display: flex;
flex: 0 0 auto;
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
}
/* 顶部"导出实训成果"按钮:白底教育蓝描边次按钮 */
.outline-action {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
min-height: 36px;
padding: 0 14px;
border: 1px solid rgba(37, 99, 235, 0.35);
border-radius: 8px;
color: #2563eb;
background: #ffffff;
font-family: inherit;
font-size: 13px;
font-weight: 600;
line-height: 1;
cursor: pointer;
transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
&:hover {
border-color: #2563eb;
color: #2563eb;
background: #eff6ff;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
/* ============================================================
* 操作工具栏横条:独立白卡 + 吸顶 + 按钮组右对齐
* ============================================================ */
.task-action-strip {
position: sticky;
top: 12px;
z-index: 10;
margin: 0;
padding: 10px 16px;
border: 1px solid var(--student-panel-border);
border-radius: 12px;
background: var(--student-card-bg);
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
transition: box-shadow 0.2s ease;
:deep(.training-task-toolbar) {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
gap: 8px;
}
}
/* 案例资料按钮(TrainingMaterialButton 子组件)的换肤见非 scoped 块 */
/* 步骤导航(极简文字下划线)的换肤见非 scoped 块 */
.step-name {
@ -1525,82 +1498,12 @@ tr.is-incorrect .classification-feedback {
}
}
/* ============================================================
* 共用组件换肤:TrainingMaterialButton 资料按钮 → 教育蓝
* ============================================================ */
.product-process .workbench-actions .material-button.el-button {
height: 34px !important;
min-height: 34px !important;
border: 1px solid rgba(37, 99, 235, 0.35) !important;
border-radius: 8px !important;
color: #2563eb !important;
background: #ffffff !important;
font-size: 13px !important;
font-weight: 600 !important;
transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease !important;
&:hover {
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
}
&.is-plain {
border-color: #e5e7eb !important;
color: #9ca3af !important;
&:hover {
border-color: #e5e7eb !important;
color: #9ca3af !important;
background: #ffffff !important;
box-shadow: none !important;
}
}
}
.product-process .workbench-actions .material-button.el-button .material-icon {
color: inherit !important;
font-size: 14px !important;
}
/* ============================================================
* 按钮风格强制同步:教育蓝
* 全局 student-training.scss 用 !important 把 .workbench-actions /
* .task-actions 按钮锁成浅蓝大胶囊,scoped 规则无法取胜。
* 这里用 id 锚点(特异性含 #app)+ !important 稳定覆盖。
* 全局 student-training.scss 用 !important 把 .task-actions 按钮锁成浅蓝大胶囊,
* scoped 规则无法取胜。这里用 id 锚点(特异性含 #app)+ !important 稳定覆盖。
* ============================================================ */
/* 顶部"导出实训成果"原生按钮 */
#app .studentLayout section.app-main:has(.product-process) .workbench-actions > button.outline-action {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
width: auto !important;
height: 34px !important;
min-height: 34px !important;
max-height: none !important;
padding: 0 14px !important;
border: 1px solid rgba(37, 99, 235, 0.35) !important;
border-radius: 8px !important;
color: #2563eb !important;
background: #ffffff !important;
box-shadow: none !important;
text-shadow: none !important;
font-size: 13px !important;
font-weight: 600 !important;
line-height: 1 !important;
transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease !important;
}
#app .studentLayout section.app-main:has(.product-process) .workbench-actions > button.outline-action:hover {
border-color: #2563eb !important;
color: #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
transform: none !important;
}
/* Step 02 标题行"导出列表":36px 紧凑小号 */
#app .studentLayout section.app-main:has(.product-process) .step-title-actions button.outline-action {
display: inline-flex !important;
@ -1699,20 +1602,6 @@ tr.is-incorrect .classification-feedback {
/* 窄屏:按钮纵向全宽(全局容器 min-width/布局均为 !important,须在此覆盖) */
@media (max-width: 900px) {
#app .studentLayout section.app-main:has(.product-process) .workbench-head,
#app .studentLayout section.app-main:has(.product-process) .workbench-actions {
flex-direction: column !important;
align-items: stretch !important;
min-width: 0 !important;
width: 100% !important;
}
#app .studentLayout section.app-main:has(.product-process) .workbench-actions .material-actions {
display: grid !important;
width: 100% !important;
}
#app .studentLayout section.app-main:has(.product-process) .workbench-actions > button.outline-action,
#app .studentLayout section.app-main:has(.product-process) .step-title-actions button.outline-action,
#app .studentLayout section.app-main:has(.product-process) .task-actions > button {
width: 100% !important;
@ -1722,5 +1611,18 @@ tr.is-incorrect .classification-feedback {
flex-direction: column !important;
align-items: stretch !important;
}
/* task-action-strip 响应式 */
#app .studentLayout section.app-main:has(.product-process) .task-action-strip {
position: static !important;
}
#app .studentLayout section.app-main:has(.product-process) .task-action-strip :deep(.training-task-toolbar) {
justify-content: stretch !important;
}
#app .studentLayout section.app-main:has(.product-process) .task-action-strip :deep(.training-task-toolbar > *) {
flex: 1 1 auto !important;
}
}
</style>

@ -0,0 +1,123 @@
# 按钮位置统一调整执行文档
## 一、目的
将 \产品影响因素分析\ 和 \产品开发流程\ 实训页面的工具栏按钮(素材按钮 + 导出按钮)从 \workbench-head\ 内移到 \ ask-header\ 同级别的 \ ask-action-strip\ 区域,参考页面 \新产品需求调研\ 的标准布局。
## 二、参考页面结构
\
ew-product-survey.vue\ 的标准布局:
\\\html
<main class=\"xxx-core\">
<section class=\"task-header\"> <!-- 任务头部信息 + 标题 -->
...
</section>
<section class=\"task-action-strip\"> <!-- 工具栏操作按钮区 -->
<TrainingTaskToolbar :task-key=\"TASK_KEY\" :on-export=\"exportOutcome\" />
</section>
<section class=\"xxx-workbench\"> <!-- 工作台内容 + 步骤 -->
...
</section>
</main>
\\\
---
## 七、删除下方步骤中重复的\"提交任务\"按钮
### 问题描述
顶部 \TrainingTaskToolbar\ 组件已包含\"提交任务\"按钮,但 Step 4 步骤下方也出现了相同的按钮,导致按钮重复。
### 调整方案
| 按钮 | 位置 | 操作 |
|------|------|------|
| \"提交任务\" | 顶部 \TrainingTaskToolbar\ | 保留 |
| \"提交任务\" | 步骤下方 | **删除**(重复) |
| \"清空填写\"/\"清空本步\" | 步骤下方 | 保留 |
### 删除前必须检查的事项
> **重要**:删除按钮前,必须确认该按钮绑定的 \submitTraining\ 方法名是否与顶部组件一致,避免误删导致提交功能失效。
#### 检查清单
1. **确认方法名一致性**:
- 检查步骤内按钮绑定的提交方法名(如 \@click=\"submitTraining\"\)
- 对比 \TrainingTaskToolbar\ 组件内部的提交方法名
- **两者方法名必须一致才能安全删除重复按钮**
2. **检查功能绑定**:
- 确认删除后提交功能的调用链路是否完整
- 确保顶部组件的提交方法与当前页面的数据状态关联正确
3. **保留清空功能**:
- \"清空填写\"/\"清空本步\"按钮不调用提交方法,可以保留
### 具体修改
#### \product-development-factors.vue\(第133行附近)
**当前代码:**
\\\html
<div class=\"task-actions\">
<button type=\"button\" class=\"btn-nav btn-submit\" :disabled=\"saving\" @click=\"submitTraining\">
提交任务<el-icon><CircleCheck /></el-icon>
</button>
<button type=\"button\" class=\"btn-nav\" :disabled=\"saving\" @click=\"resetTraining\">
清空填写
</button>
</div>
\\\
**修改为:**
\\\html
<div class=\"task-actions\">
<button type=\"button\" class=\"btn-nav\" :disabled=\"saving\" @click=\"resetTraining\">
清空填写
</button>
</div>
\\\
#### \product-development-process.vue\(第170行附近)
**当前代码:**
\\\html
<div class=\"task-actions\">
<button type=\"button\" class=\"btn-nav btn-submit\" :disabled=\"checking || !stepThreePassed\" @click=\"submitTraining\">
提交任务<el-icon><CircleCheck /></el-icon>
</button>
<button type=\"button\" class=\"btn-nav\" :disabled=\"checking\" @click=\"resetStepFour\">
清空本步
</button>
</div>
\\\
**修改为:**
\\\html
<div class=\"task-actions\">
<button type=\"button\" class=\"btn-nav\" :disabled=\"checking\" @click=\"resetStepFour\">
清空本步
</button>
</div>
\\\
### 调整对照表
| 文件 | 位置 | 操作 | 保留功能 |
|------|------|------|----------|
| \product-development-factors.vue\ | Step 4 下方 task-actions | 删除\"提交任务\"按钮 | \"清空填写\"按钮 |
| \product-development-process.vue\ | Step 4 下方 task-actions | 删除\"提交任务\"按钮 | \"清空本步\"按钮 |
### 执行检查清单
- [ ] 确认步骤内按钮绑定的 \@click=\"submitTraining\"\ 与 \TrainingTaskToolbar\ 组件内的提交方法名一致
- [ ] 确认顶部 \TrainingTaskToolbar\ 的提交功能正常可用
- [ ] 确认删除后\"清空填写\"/\"清空本步\"按钮仍然保留
- [ ] 删除重复的\"提交任务\"按钮代码
- [ ] 测试提交功能是否正常工作
Loading…
Cancel
Save