|
|
@@ -42,7 +42,7 @@
|
|
|
<div>智能批改</div>
|
|
|
<div class="edit-box-header">
|
|
|
<el-button @click="handleCorrect" :disabled="!showCorrectBtn" @mouseover="handleCorrectTip">开始批改</el-button>
|
|
|
- <el-button @click="handleCorrectToPage" :disabled="!showCorrectToPageBtn" @mouseover="handleCorrectToPageTip">查看完整批改报告</el-button>
|
|
|
+ <el-button @click="handleCorrectToPage" :disabled="!showCorrectToPageBtn" @mouseenter="handleCorrectToPageTip">查看完整批改报告</el-button>
|
|
|
</div>
|
|
|
<div class="capacity-item">
|
|
|
<div v-loading="loading" element-loading-text="智能批改中" class="remark">{{ data.overallEvaluation?.evaluation }}</div>
|
|
|
@@ -255,10 +255,10 @@ import * as path from "node:path";
|
|
|
}
|
|
|
}, 2000); // 2秒的节流时间
|
|
|
|
|
|
- const handleCorrectToPageTip = () => {
|
|
|
+ const handleCorrectToPageTip = throttle(() => {
|
|
|
if(!showCorrectToPageBtn.value)
|
|
|
ElMessage.error("批改后查看报告")
|
|
|
- }
|
|
|
+ }, 1000); // 1秒的节流时间
|
|
|
|
|
|
// 监听props变化
|
|
|
watch(() => props.engagement, (newEngagement, oldEngagement) => {
|