Authored by qinchao

重启的项目

@@ -424,10 +424,15 @@ @@ -424,10 +424,15 @@
424 }else{ 424 }else{
425 switchWait.modal('hide'); 425 switchWait.modal('hide');
426 426
427 - //重启java 427 + //重启java 源dc
  428 + if(toCloud=="toAws"){
  429 + javaRestartNext("qcloud");
  430 + javaRestartNext("qcloudaz2");
  431 + }else if(toCloud=="toQcloud"){
428 javaRestartNext("aws"); 432 javaRestartNext("aws");
429 javaRestartNext("qcloudaz2"); 433 javaRestartNext("qcloudaz2");
430 } 434 }
  435 + }
431 }else{ 436 }else{
432 var div = "<div class=\"alert alert-warning alert-block\">"; 437 var div = "<div class=\"alert alert-warning alert-block\">";
433 div = div + "<h4 class=\"alert-heading\">" + name + "</h4>"; 438 div = div + "<h4 class=\"alert-heading\">" + name + "</h4>";