function checkLaunch(actualIds,url){
var actualIds = [actualIds.split(",")];
var actualId = [];
for (var i = 0; i < actualIds[0].length; i++) {
debugger;
actualId.push(
actualIds[0][i]
);
}
debugger;
var urls = "service/claim/prplantifraudbasic/prpLAntiFraudBasic/findByNodeCode";
$.ajax({
url: urls,
type: "POST",
data: JSON.stringify(actualId), //用于将 JavaScript 值转换为 JSON 字符串。
async:false, //代表同步操作,默认为异步
contentType: "application/json",
success: function (data) {
debugger;
for (var i in data) {
if(data[i].nodecode =="SurveyLaunchNoCar" && data[i].nodeType =="2"){
cola.alert("报案号为"+"【"+data[i].registNo+"】"+"的案件存在未结束的调查,不能重复发起调查!");
return;
}
}
App.openPage("调查发起",url);
}
});
}