Authored by xuhui

范文更改

@@ -95,25 +95,25 @@ @@ -95,25 +95,25 @@
95 <div class="panel-body"> 95 <div class="panel-body">
96 <button class="btn btn-large" id="switch_mysql-btn" style="background-color: green">mysql</button> 96 <button class="btn btn-large" id="switch_mysql-btn" style="background-color: green">mysql</button>
97 ===》 97 ===》
98 - <button class="btn btn-large" id="switch_redis-btn">redis()</button> 98 + <button class="btn btn-large" id="switch_redis-btn">redis(目标DC)</button>
99 ===》 99 ===》
100 - <button class="btn btn-large" id="switch_internel_dns-btn">内部DNS()</button> 100 + <button class="btn btn-large" id="switch_internel_dns-btn">内部DNS(目标DC)</button>
101 ===》 101 ===》
102 - <button class="btn btn-large" id="switch_cobar-btn">cobar()</button> 102 + <button class="btn btn-large" id="switch_cobar-btn">cobar(目标DC)</button>
103 ===》 103 ===》
104 <button class="btn btn-large" id="switch_lua-btn">lua</button> 104 <button class="btn btn-large" id="switch_lua-btn">lua</button>
105 ===》 105 ===》
106 <button class="btn btn-large" id="switch_dnspod-btn">dnspod</button> 106 <button class="btn btn-large" id="switch_dnspod-btn">dnspod</button>
107 ===》 107 ===》
108 - <button class="btn btn-large" id="java-btn">java重启()</button> 108 + <button class="btn btn-large" id="java-btn">java重启(目标DC)</button>
109 ===》 109 ===》
110 - <button class="btn btn-large" id="switch_redis_next-btn">redis()</button> 110 + <button class="btn btn-large" id="switch_redis_next-btn">redis(源DC)</button>
111 ===》 111 ===》
112 - <button class="btn btn-large" id="switch_internel_dns_next-btn">内部DNS()</button> 112 + <button class="btn btn-large" id="switch_internel_dns_next-btn">内部DNS(源DC)</button>
113 ===》 113 ===》
114 - <button class="btn btn-large" id="switch_cobar_next-btn">cobar()</button> 114 + <button class="btn btn-large" id="switch_cobar_next-btn">cobar(源DC)</button>
115 ===》 115 ===》
116 - <button class="btn btn-large" id="java_next-btn">java重启()</button> 116 + <button class="btn btn-large" id="java_next-btn">java重启(源DC)</button>
117 </div> 117 </div>
118 </div> 118 </div>
119 <div class="panel"> 119 <div class="panel">
@@ -223,7 +223,7 @@ @@ -223,7 +223,7 @@
223 $("#java-btn").removeClass("btn-success"); 223 $("#java-btn").removeClass("btn-success");
224 $("#java_next-btn").removeClass("btn-success"); 224 $("#java_next-btn").removeClass("btn-success");
225 225
226 - switchWait = toWait("正在切换(),请耐心等候..."); 226 + switchWait = toWait("正在切换(目标DC),请耐心等候...");
227 doExe(array, 0, toCloud); 227 doExe(array, 0, toCloud);
228 }else{ 228 }else{
229 alert("短信验证码错误或者失效"); 229 alert("短信验证码错误或者失效");
@@ -265,7 +265,7 @@ @@ -265,7 +265,7 @@
265 } 265 }
266 }, 266 },
267 error: function () { 267 error: function () {
268 - var div = "<div>切换()请求异常</div>"; 268 + var div = "<div>切换(目标DC)请求异常</div>";
269 $("#detail-div").append(div); 269 $("#detail-div").append(div);
270 270
271 switchWait.modal('hide'); 271 switchWait.modal('hide');
@@ -274,7 +274,7 @@ @@ -274,7 +274,7 @@
274 } 274 }
275 275
276 function javaRestart(toCloud){ 276 function javaRestart(toCloud){
277 - var wait = toWait("正在重启java(),请耐心等候..."); 277 + var wait = toWait("正在重启java(目标DC),请耐心等候...");
278 var commond; 278 var commond;
279 if(toCloud="toAws"){ 279 if(toCloud="toAws"){
280 commond="aws"; 280 commond="aws";
@@ -296,17 +296,17 @@ @@ -296,17 +296,17 @@
296 $("#java-btn").addClass("btn-success"); 296 $("#java-btn").addClass("btn-success");
297 297
298 var div = "<div class=\"alert alert-info alert-block\">"; 298 var div = "<div class=\"alert alert-info alert-block\">";
299 - div = div + "<h4 class=\"alert-heading\">java重启():</h4>"; 299 + div = div + "<h4 class=\"alert-heading\">java重启(目标DC):</h4>";
300 div = div + "成功</div>"; 300 div = div + "成功</div>";
301 $("#detail-div").append(div); 301 $("#detail-div").append(div);
302 302
303 wait.modal('hide'); 303 wait.modal('hide');
304 304
305 - switchWait = toWait("正在切换(),请耐心等候..."); 305 + switchWait = toWait("正在切换(源DC),请耐心等候...");
306 doExeNext(array_next, 0, toCloud); 306 doExeNext(array_next, 0, toCloud);
307 }, 307 },
308 error: function () { 308 error: function () {
309 - var div = "<div>java重启()请求异常</div>"; 309 + var div = "<div>java重启(目标DC)请求异常</div>";
310 $("#detail-div").append(div); 310 $("#detail-div").append(div);
311 311
312 wait.modal('hide'); 312 wait.modal('hide');
@@ -343,7 +343,7 @@ @@ -343,7 +343,7 @@
343 } 343 }
344 }, 344 },
345 error: function () { 345 error: function () {
346 - var div = "<div>切换()请求异常</div>"; 346 + var div = "<div>切换(源DC)请求异常</div>";
347 $("#detail-div").append(div); 347 $("#detail-div").append(div);
348 348
349 switchWait.modal('hide'); 349 switchWait.modal('hide');
@@ -352,7 +352,7 @@ @@ -352,7 +352,7 @@
352 } 352 }
353 353
354 function javaRestartNext(toCloud){ 354 function javaRestartNext(toCloud){
355 - var wait = toWait("正在重启java(),请耐心等候..."); 355 + var wait = toWait("正在重启java(源DC),请耐心等候...");
356 var commond; 356 var commond;
357 if(toCloud="toAws"){ 357 if(toCloud="toAws"){
358 commond="qcloud"; 358 commond="qcloud";
@@ -374,14 +374,14 @@ @@ -374,14 +374,14 @@
374 $("#java_next-btn").addClass("btn-success"); 374 $("#java_next-btn").addClass("btn-success");
375 375
376 var div = "<div class=\"alert alert-info alert-block\">"; 376 var div = "<div class=\"alert alert-info alert-block\">";
377 - div = div + "<h4 class=\"alert-heading\">java重启():</h4>"; 377 + div = div + "<h4 class=\"alert-heading\">java重启(源DC):</h4>";
378 div = div + "成功</div>"; 378 div = div + "成功</div>";
379 $("#detail-div").append(div); 379 $("#detail-div").append(div);
380 380
381 wait.modal('hide'); 381 wait.modal('hide');
382 }, 382 },
383 error: function () { 383 error: function () {
384 - var div = "<div>java重启()请求异常</div>"; 384 + var div = "<div>java重启(源DC)请求异常</div>";
385 $("#detail-div").append(div); 385 $("#detail-div").append(div);
386 386
387 wait.modal('hide'); 387 wait.modal('hide');