|
|
|
@@ -493,6 +493,7 @@ |
|
|
|
console.log({{.Tasks}}) |
|
|
|
const {AppSubUrl, StaticUrlPrefix, csrf} = window.config; |
|
|
|
let url={{.RepoLink}} |
|
|
|
let redirect_to = {{$.Link}} |
|
|
|
let getParam=getQueryVariable('debugListType') |
|
|
|
let dropdownValue = getParam==='all'||getParam==='' ? '全部' : getParam |
|
|
|
localStorage.setItem('all',location.href) |
|
|
|
@@ -545,10 +546,14 @@ |
|
|
|
}else{ |
|
|
|
$.ajax({ |
|
|
|
type:"POST", |
|
|
|
url:debugUrl+'restart', |
|
|
|
url:debugUrl+'restart?redirect_to='+redirect_to, |
|
|
|
data:$('#debugAgainForm-'+JobID).serialize(), |
|
|
|
success:function(res){ |
|
|
|
if(res.WechatRedirectUrl){ |
|
|
|
window.location.href=WechatRedirectUrl |
|
|
|
} |
|
|
|
if(res.result_code==="0"){ |
|
|
|
|
|
|
|
if(res.job_id!==JobID){ |
|
|
|
location.reload() |
|
|
|
}else{ |
|
|
|
|