Browse Source

#2586

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.8.1^2
zouap 3 years ago
parent
commit
7a37c2875d
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      templates/repo/modelmanage/showinfo.tmpl

+ 3
- 1
templates/repo/modelmanage/showinfo.tmpl View File

@@ -284,7 +284,7 @@ function transObj(data){
Parameters:Parameters,
EngineName:EngineName,
DisplayJobName:TrainTaskInfo.DisplayJobName || '--',
TrainJobVersionName:TrainTaskInfo.VersionName || '--',
TrainJobVersionName:TrainTaskInfo.VersionName || '',
}
let initModelAcc = {
Accuracy: modelAcc.Accuracy || '--',
@@ -372,6 +372,8 @@ function renderInfo(obj,accObj,id){

}
else if(key==="DisplayJobName"){
$(`#${key}`).text(obj[key])
$(`#${key}`).attr("title",obj[key])
let versionName = obj["TrainJobVersionName"]
let html = `<span class="ui label">${versionName}</span>`
$('#DisplayJobName').append(html)


Loading…
Cancel
Save