图像评估的功能

This commit is contained in:
lSun 2025-10-09 18:32:10 +08:00
parent 360e0e690a
commit 5c00a0b725
3 changed files with 15 additions and 10 deletions

View File

@ -21,7 +21,7 @@
<span class="name">综合得分:{{ result.overallScore }}</span>
<span class="date">{{ result.contentImage }}</span>
</div>
<div class="tags">
<!-- <div class="tags">
<div class="tag-row">
<span class="tag-item" style="padding-left: 16px;">清晰度: {{ result.clarity }}</span>
<span class="tag-item" style="padding-left: 16px;">干净度: {{ result.cleanliness }}</span>
@ -32,7 +32,7 @@
<span class="tag-item">整体观感: {{ result.impression }}</span>
<span class="tag-item">细节体验: {{ result.detail }}</span>
</div>
</div>
</div>-->
</div>
</div>
</div>
@ -94,7 +94,7 @@ export default {
.image-item-evaluate {
position: relative;
width: 100%;
height: 360px;
height: 310px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

View File

@ -538,8 +538,13 @@ export default {
});
if (res.code === 200) {
this.$message.success('确认成功');
//
await this.generateTestData(operId);
// 使 nextTick DOM
this.$nextTick(() => {
setTimeout(async () => {
await this.generateTestData(this.addId);
}, 8000); // 0.8
});
} else {
this.$message.error('确认失败');
}

View File

@ -27,7 +27,7 @@
<div class="card-image">
<ImagePreview
style="margin-top: 10px"
:height="180"
:height="200"
:borderRadius="10"
:width="itemWidth"
:src1="item.bjUrl"
@ -41,7 +41,7 @@
<span class="name">综合得分:{{ item.overallScore }}</span>
<span class="date">{{ item.operaName }}</span>
</div>
<div class="tags">
<!-- <div class="tags">
<div class="tag-row">
<span class="tag-item" style="padding-left: 16px;">清晰度: {{ item.clarity }}</span>
<span class="tag-item" style="padding-left: 16px;">干净度: {{ item.cleanliness }}</span>
@ -52,7 +52,7 @@
<span class="tag-item">整体观感: {{ item.impression }}</span>
<span class="tag-item">细节体验: {{ item.detail }}</span>
</div>
</div>
</div>-->
<div style="border-top: 1px solid #CFD4D7;margin-top: 10px"></div>
<div class="action-buttons">
<el-button
@ -230,7 +230,7 @@ export default {
border-radius: 10px;
align-content: flex-start;
justify-items: center;
height: 47%;
height: 43%;
}
.card-image {
@ -304,7 +304,7 @@ export default {
.action-buttons {
display: flex;
justify-content: flex-end;
margin: 10px 18px 10px 18px;
margin: 10px 18px 0px 18px;
}
>>>.el-input__inner{