Authored by qinchao

search项目url监测

... ... @@ -213,6 +213,8 @@
document.getElementById("task-info-div_" + val).innerHTML = "<strong>'" + message + "'</strong>";
removeArray.push(val);
$("#cancel-btn_"+val).hide();
projectDetectUrl(currproject);
}
},
... ... @@ -226,6 +228,26 @@
specialLbProject();
});
//检测发布是否成功
function projectDetectUrl(currproject){
if("yoho-search-service"==currproject){
$.ajax({
url: contextPath + 'project/projectDetectUrl',
type: 'POST',
data:{
project:currproject,
operate_name:$("#operate_name").val(),
environment_name:$("#environment_name").val()
},
dataType: 'json',
success: function (reps) {
},
error: function (e) {
alert("检查"+currproject+"启动状态异常");
}
});
}
}
function specialLbProject(){
for(var i=0; i<specialProjectLbList.length; i++){
... ...