diff --git a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_en.js b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_en.js index 5cf046daf..a384d5d63 100644 --- a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_en.js +++ b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_en.js @@ -64,6 +64,7 @@ hexCheck:"Please enter the HEX format character", invisibleChar:"Please enter the visible character", hasInvisibleChar:"The tag {0} has invisible character", - haveInvisibleChar:"The tags {0} have invisible character" + haveInvisibleChar:"The tags {0} have invisible character", + failed:"Failed" }); }(jQuery)); diff --git a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_zh.js b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_zh.js index 5bfc41c8a..223b21c09 100644 --- a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_zh.js +++ b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_zh.js @@ -64,6 +64,7 @@ hexCheck:"请输入十六进制字符", invisibleChar:"请输入可见字符", hasInvisibleChar:"标签{0}包含不可见字符", - haveInvisibleChar:"标签{0}包含不可见字符" + haveInvisibleChar:"标签{0}包含不可见字符", + failed:"获取失败" }); }(jQuery)); diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index 1d6b681ea..d6f12c624 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -1174,6 +1174,7 @@ var GetLogTotal=function(_data){ } var totalTrs=$(_data.objs); var timeout=$.validator.messages.timeout; + var failed=$.validator.messages.failed; var request=$.ajax({ type:'post', timeout:10000,//超时时间设置,查询接口时间过长超时 @@ -1197,6 +1198,10 @@ var GetLogTotal=function(_data){ totalTrs.each(function(){ $(this).html(timeout); }) + }else if(status !="success"){ + totalTrs.each(function(){ + $(this).html(failed); + }) } } });