|
|
|
@@ -157,20 +157,23 @@ |
|
|
|
.tab(); |
|
|
|
|
|
|
|
$('#benchmark_types_id').change(function(){ |
|
|
|
setChildType(); |
|
|
|
}) |
|
|
|
|
|
|
|
function setChildType(){ |
|
|
|
var html = "<option value=\"1\">无</option>" ; |
|
|
|
if ($(this).val() == '2') { |
|
|
|
if ($('#benchmark_types_id').val() == '2') { |
|
|
|
html = "<option value=\"1\">vehicle reid</option>" ; |
|
|
|
html += "<option value=\"2\">image-based person reid</option>" ; |
|
|
|
html += "<option value=\"3\">person search</option>" ; |
|
|
|
html += "<option value=\"4\">video-based person reid</option>" ; |
|
|
|
} |
|
|
|
document.getElementById("benchmark_child_types_id").innerHTML=html; |
|
|
|
|
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
document.onreadystatechange = function() { |
|
|
|
if (document.readyState === "complete") { |
|
|
|
document.getElementById("benchmark_child_types_id")[1].selected=true; |
|
|
|
setChildType(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|