diff --git a/templates/repo/modelmanage/index.tmpl b/templates/repo/modelmanage/index.tmpl
index e07f92f52..0bd4e37fc 100644
--- a/templates/repo/modelmanage/index.tmpl
+++ b/templates/repo/modelmanage/index.tmpl
@@ -138,12 +138,15 @@
-
+
+
@@ -293,19 +296,32 @@
function setEngine(modelVersion){
console.log("modelVersion=" + modelVersion);
+ $("#job-Engine").empty()
if(modelVersion.EngineName != null && modelVersion.EngineName != ""){
srcEngine = modelVersion.EngineName.split('-')[0]
srcEngine = srcEngine.trim();
- //if(srcEngine =='TensorFlow'){
- // $('#Engine').val(1)
- //}else if(srcEngine =='MindSpore'){
- // $('#Engine').val(2)
- //}
- $("#Engine").dropdown('set selected',srcEngine);
- //$("#Engine").attr("disabled","disabled");
+ let itemHtml = "";
+ if(srcEngine =='TensorFlow'){
+ itemHtml += ""
+ }else{
+ itemHtml += ""
+ }
+ if(srcEngine =='MindSpore'){
+ itemHtml += ""
+ }else{
+ itemHtml += ""
+ }
+ itemHtml += ""
+ $("#job-Engine").append(itemHtml);
+ $("#job-Engine").css('disabled','disabled')
}else{
- //$("#Engine").removeAttr("disabled");
+ let itemHtml = "";
+ itemHtml += ""
+ itemHtml += ""
+ itemHtml += ""
+ $("#job-Engine").append(itemHtml);
+ $("#job-Engine").removeAttr('disabled');
}
}