图像评估的功能
This commit is contained in:
parent
9a61c654ba
commit
46dc5013fc
|
|
@ -236,7 +236,8 @@ export default {
|
||||||
recognizedCount: record.bzNum || 0,
|
recognizedCount: record.bzNum || 0,
|
||||||
unrecognizedCount: record.wbzNum || 0,
|
unrecognizedCount: record.wbzNum || 0,
|
||||||
isSure: record.isSure,
|
isSure: record.isSure,
|
||||||
operId: record.id
|
operId: record.operaId,
|
||||||
|
id: record.id,
|
||||||
}));
|
}));
|
||||||
// 初始化选中状态 - 根据 isActive 字段
|
// 初始化选中状态 - 根据 isActive 字段
|
||||||
this.initializeSelectedImages(records);
|
this.initializeSelectedImages(records);
|
||||||
|
|
@ -513,7 +514,7 @@ export default {
|
||||||
if (selectedInfo.length === 0) {
|
if (selectedInfo.length === 0) {
|
||||||
// this.$message.warning('请至少选择一张图片');
|
// this.$message.warning('请至少选择一张图片');
|
||||||
// return;
|
// return;
|
||||||
this.handleConfirm(this.addId,"",id );
|
this.handleConfirm(this.addId,null,id );
|
||||||
}else{
|
}else{
|
||||||
// 获取图片ID数组
|
// 获取图片ID数组
|
||||||
const imageIds = selectedInfo.map(item => item.imageId);
|
const imageIds = selectedInfo.map(item => item.imageId);
|
||||||
|
|
@ -533,7 +534,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
// 调用后端接口
|
// 调用后端接口
|
||||||
const res = await updateImageSureAPI({
|
const res = await updateImageSureAPI({
|
||||||
operId: operId,
|
operaId: operId,
|
||||||
imageId:imageIds,
|
imageId:imageIds,
|
||||||
id:id
|
id:id
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue