Browse Source

提交代码。

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

+ 2
- 3
templates/repo/modelmanage/convertIndex.tmpl View File

@@ -213,7 +213,7 @@
function createModelName(){
let repoName = location.pathname.split('/')[2]
let modelName = repoName + '_modelConvert_' + Math.random().toString(36).substr(2, 4)
$('#name').val(modelName)
$('#model_convert_name').val(modelName)
}
function showcreate(obj){
$('.ui.modal.second')
@@ -221,9 +221,7 @@
centered: false,
onShow:function(){
$('#model_header').text("创建模型转换任务")
$('input[name="Version"]').addClass('model_disabled')
$('.ui.dimmer').css({"background-color":"rgb(136, 136, 136,0.7)"})
$("#job-name").empty()
createModelName()
loadModelList()
},
@@ -290,6 +288,7 @@
$("#model-version").append(train_html)
$(".ui.dropdown.selection.search.width70").removeClass("loading")
$('#choice_version .default.text').text(versionList[0].Version)
$('#choice_version input[name="ModelVersion"]').val(versionList[i].ID)
}
}


Loading…
Cancel
Save