Merge remote-tracking branch 'origin/bonus-ai' into bonus-ai

This commit is contained in:
jiang 2024-12-18 17:52:32 +08:00
commit 871b57438b
2 changed files with 5 additions and 3 deletions

View File

@ -243,6 +243,8 @@ export default {
},
handleDimension(row) {
this.aiOpen = true
this.taskId = row.taskId
},
handleAnnotation(row) {
this.$tab.openPage('数据标注', '/dataCenter/annotationTask/dataAnnotations/index/' + row.taskId)

View File

@ -117,15 +117,16 @@ export default {
try {
this.loading = true
const data = { taskId: this.taskId, intelligentAnnotationServiceId: this.form.serviceId }
autoAnnotate(data).then(response => {
await autoAnnotate(data).then(response => {
console.log('response' + response.data)
this.serviceList = response.data
this.$message.success('智能标注成功')
})
this.cancel()
} catch (error) {
this.$message.error(error.message || '智能标注失败')
} finally {
this.cancel()
this.getList()
this.loading = false
}
},
@ -133,7 +134,6 @@ export default {
cancel() {
this.isOpen = false
this.reset()
this.getList()
},
//
reset() {