@@ -81,6 +82,7 @@ function changeBandwidth(unitType,beginDate,endDate){
var chartType = $("#chartType").val();
var timeSize = $(".timeSize:checked").val();
var operator=$("#operator_select").val();
+
$.ajax({
url:"${ctx}/dashboard/traffic/bandWidthTransThreeNew",
type:"get",
@@ -164,7 +166,7 @@ function changeBandwidth(unitType,beginDate,endDate){
}
showBandwidthChart("chart1",unitType,xdata,series,title,chartType);
-
+ $("#errorTipDiv").hide();
/* if(data!=null&&Object.keys(data).length>0){
ipv4data2=data.ipv4Type2.result;
ipv6data2=data.ipv6Type2.result;
@@ -216,9 +218,15 @@ function changeBandwidth(unitType,beginDate,endDate){
// closeTip();
},
error: function(data, textStatus, errorThrown){
+// alert("error");
+ $("#errorTipDiv").show();
closeTip();
},
complete:function(XMLHttpRequest,status){//超时设置
+// alert("complete");
+ if(status == 'timeout'){
+ $("#errorTipDiv").show();
+ }
closeTip();
}
});
diff --git a/src/main/webapp/WEB-INF/views/dashboard/newDomainsList.jsp b/src/main/webapp/WEB-INF/views/dashboard/newDomainsList.jsp
index 39f5e5abe..e2aeaec98 100644
--- a/src/main/webapp/WEB-INF/views/dashboard/newDomainsList.jsp
+++ b/src/main/webapp/WEB-INF/views/dashboard/newDomainsList.jsp
@@ -12,10 +12,10 @@
-
-
+
+
@@ -124,6 +124,7 @@
getPageData(1, 20);//初始化第一页的数据
pageJuan(20);//初始化分页
closeTip();
+ $("#errorTipDiv").hide();
if (data != null && data.length < 1) {
$(".none-data").show();
$('.pageView').hide();
@@ -133,9 +134,13 @@
}
},
error : function(data, textStatus, errorThrown) {
+ $("#errorTipDiv").show();
closeTip();
},
complete : function(XMLHttpRequest, status) {//超时设置
+ if(status == 'timeout'){
+ $("#errorTipDiv").show();
+ }
closeTip();
}
});
diff --git a/src/main/webapp/WEB-INF/views/dashboard/newProtocolTypeList.jsp b/src/main/webapp/WEB-INF/views/dashboard/newProtocolTypeList.jsp
index 00b0e9461..ab2954da7 100644
--- a/src/main/webapp/WEB-INF/views/dashboard/newProtocolTypeList.jsp
+++ b/src/main/webapp/WEB-INF/views/dashboard/newProtocolTypeList.jsp
@@ -11,6 +11,7 @@
+
@@ -111,6 +112,7 @@ function ajaxProtocolList(start,end,entranceId){
pageJuan(20);//初始化分页
protocolTypeChart(data,chartType);// 初始化图
closeTip();
+ $("#errorTipDiv").hide();
if(data!= null&&data.length<1){
$(".none-data").show();
$('.M-box').hide();
@@ -120,9 +122,13 @@ function ajaxProtocolList(start,end,entranceId){
}
},
error: function(data, textStatus, errorThrown){
+ $("#errorTipDiv").show();
closeTip();
},
complete:function(XMLHttpRequest,status){//超时设置
+ if(status == 'timeout'){
+ $("#errorTipDiv").show();
+ }
closeTip();
}
});
diff --git a/src/main/webapp/WEB-INF/views/dashboard/newSubscriberIDList.jsp b/src/main/webapp/WEB-INF/views/dashboard/newSubscriberIDList.jsp
index 2d733994f..c76b8cec6 100644
--- a/src/main/webapp/WEB-INF/views/dashboard/newSubscriberIDList.jsp
+++ b/src/main/webapp/WEB-INF/views/dashboard/newSubscriberIDList.jsp
@@ -17,7 +17,7 @@
}
-
+
@@ -109,6 +109,7 @@ function ajaxSubscriberIDList(start,end,entranceId){
pageJuan(20);//初始化分页
subscriberIDChart(data,chartType);// 初始化图
closeTip();
+ $("#errorTipDiv").hide();
if(data!= null&&data.length<1){
$(".none-data").show();
$('.pageView').hide();
@@ -118,9 +119,13 @@ function ajaxSubscriberIDList(start,end,entranceId){
}
},
error: function(data, textStatus, errorThrown){
+ $("#errorTipDiv").show();
closeTip();
},
complete:function(XMLHttpRequest,status){//超时设置
+ if(status == 'timeout'){
+ $("#errorTipDiv").show();
+ }
closeTip();
}
});