Authored by jimi.ji

回滚页面展示

@@ -819,7 +819,7 @@ @@ -819,7 +819,7 @@
819 var param={}; 819 var param={};
820 param.project_id=$("input[name='project_id']").val(); 820 param.project_id=$("input[name='project_id']").val();
821 param.environment_name=$("input[name='environment_name']").val(); 821 param.environment_name=$("input[name='environment_name']").val();
822 - param.rollbackImageStore=$("input[name='image_file_name']").val(); 822 + param.rollbackImageStore=$("input[name='rollbackfile_name']").val();
823 param.workId=$("input[name='workid_name']").val(); 823 param.workId=$("input[name='workid_name']").val();
824 824
825 $.ajax({ 825 $.ajax({
@@ -829,8 +829,10 @@ @@ -829,8 +829,10 @@
829 data: param , 829 data: param ,
830 success: function (response) { 830 success: function (response) {
831 if(response!=null&&(response.code==200)){ 831 if(response!=null&&(response.code==200)){
832 - param.buildIds=response.data;  
833 - GobalStandardPost( contextPath+ "dockerBuild/toBuildView",param); 832 + param.buildId=response.data;
  833 + param.image_file_name=$("input[name='rollbackfile_name']").val();
  834 +
  835 + GobalStandardPost(contextPath+ "dockerBuild/toBuildViewNew",param);
834 }else{ 836 }else{
835 //失败 837 //失败
836 if(response==null){ 838 if(response==null){