|
@@ -61,8 +61,7 @@ function initHbxx(phbh, pdate) {
|
|
|
url : basePath + "/searchHbxx2",
|
|
|
data : {"hbh":phbh,"date":pdate},
|
|
|
success : function(result) {
|
|
|
- console.info(result);
|
|
|
- if(result && result.data) {
|
|
|
+ if(result && result.data && result.status != "-2") {
|
|
|
var hbhHtml = "航班号 "+phbh;
|
|
|
var jxHtml = "";
|
|
|
if(result.itaFlg && result.itaFlg == "Y") {
|
|
@@ -77,11 +76,15 @@ function initHbxx(phbh, pdate) {
|
|
|
$("#hbh").html(hbhHtml);
|
|
|
// 设置机型信息
|
|
|
$("#jx").html(jxHtml);
|
|
|
+ $("#divHbh").css("display","block");
|
|
|
+ $("#errmsg").css("display","none");
|
|
|
// 拼接html数据
|
|
|
buildHtml(result);
|
|
|
} else {
|
|
|
$("#errmsg").css("display","block");
|
|
|
$("#divHbh").css("display","none");
|
|
|
+ $("#hbdiv0").html("");
|
|
|
+ $("#hbdiv1").html("");
|
|
|
}
|
|
|
},
|
|
|
dataType : "json",
|