Authored by jimi.ji

回滚页面展示

... ... @@ -819,7 +819,7 @@
var param={};
param.project_id=$("input[name='project_id']").val();
param.environment_name=$("input[name='environment_name']").val();
param.rollbackImageStore=$("input[name='image_file_name']").val();
param.rollbackImageStore=$("input[name='rollbackfile_name']").val();
param.workId=$("input[name='workid_name']").val();
$.ajax({
... ... @@ -829,8 +829,10 @@
data: param ,
success: function (response) {
if(response!=null&&(response.code==200)){
param.buildIds=response.data;
GobalStandardPost( contextPath+ "dockerBuild/toBuildView",param);
param.buildId=response.data;
param.image_file_name=$("input[name='rollbackfile_name']").val();
GobalStandardPost(contextPath+ "dockerBuild/toBuildViewNew",param);
}else{
//失败
if(response==null){
... ...