提交代码
This commit is contained in:
		
							parent
							
								
									0183956746
								
							
						
					
					
						commit
						e78c6b04bf
					
				| 
						 | 
					@ -112,6 +112,7 @@ export default {
 | 
				
			||||||
          fileId : Number(this.id)
 | 
					          fileId : Number(this.id)
 | 
				
			||||||
      }).then(response => {
 | 
					      }).then(response => {
 | 
				
			||||||
        this.$modal.msgSuccess('已同意标注')
 | 
					        this.$modal.msgSuccess('已同意标注')
 | 
				
			||||||
 | 
					        this.index++; // 更新索引
 | 
				
			||||||
      }).catch(error => {
 | 
					      }).catch(error => {
 | 
				
			||||||
        console.log(error);
 | 
					        console.log(error);
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -170,6 +170,7 @@ export default {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // 设置标注项,更新任务数据和标注结果
 | 
					    // 设置标注项,更新任务数据和标注结果
 | 
				
			||||||
    setItem(item, index) {
 | 
					    setItem(item, index) {
 | 
				
			||||||
 | 
					      console.log(item)
 | 
				
			||||||
      this.annotationResult = JSON.parse(item.annotationResult);
 | 
					      this.annotationResult = JSON.parse(item.annotationResult);
 | 
				
			||||||
      this.itemIndex = index;
 | 
					      this.itemIndex = index;
 | 
				
			||||||
      this.updateTaskData(item);
 | 
					      this.updateTaskData(item);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue