Browse Source

Merge branch 'merge_label_system' of https://git.openi.org.cn/OpenI/aiforge into merge_label_system

tags/v1.21.12.1
zhoupzh 4 years ago
parent
commit
cfc1757e36
2 changed files with 11 additions and 4 deletions
  1. +10
    -3
      public/self/dataset_preview.js
  2. +1
    -1
      public/self/labelTaskPage.js

+ 10
- 3
public/self/dataset_preview.js View File

@@ -573,7 +573,10 @@ function next(){

function clickLast(){
if(fileindex == 0){
lastindex=true;
prePage();
lastindex=false;

}else{
last();
}
@@ -602,8 +605,11 @@ function last(){


function showfilelist(){
var filename_title = $('a.section:first').text()
filename_title = filename_title.split('.')[0]
// var filename_title = $('a.section:first').text()
// filename_title = filename_title.substring(0,filename_title.lastIndexOf('.'))
var filename_index = labeltastresult[0].pic_image_field.indexOf("/",70);
filename_title = labeltastresult[0].pic_image_field.substring(filename_index + 1);
filename_title = filename_title.substring(0,filename_title.indexOf('/'))
var htmlstr = '';
// htmlstr += '<div class="ui list">';
htmlstr += '<div class="item" style="padding:1.2em;border-bottom:0;display: table;width: 100%;">'
@@ -620,6 +626,7 @@ function showfilelist(){
console.log(tmpIndex)
if(tmpIndex != -1){
fname = labeltastresult[i].pic_image_field.substring(tmpIndex + 1);
fname = fname.substring(fname.indexOf('/')+1);
}
}
@@ -666,7 +673,7 @@ function breadFiles(){
// }
var fname_full_path=""
var filename_title = $('a.section:first').text()
filename_title = filename_title.split('.')[0]
filename_title = filename_title.substring(0,filename_title.lastIndexOf('.'))
var tmp_index = tableData[fileindex].pic_image_field.indexOf("/",70);
if(tmp_index != -1){
fname_full_path = tableData[fileindex].pic_image_field.substring(tmp_index + 1);


+ 1
- 1
public/self/labelTaskPage.js View File

@@ -533,7 +533,7 @@ function display_list(){
<th></th>\
<th id=\"labeltask_head\"></th>\
<th>标注任务名称</th>\
<th>关联的任务名称</th>\
<th>关联的数据集名称</th>\
<th>数据类型</th>\
<th>标注人员</th>\
<th>审核人员</th>\


Loading…
Cancel
Save