Commit 2151d191 authored by yangyuxin's avatar yangyuxin

errorMessage: errorMes,剩下grid修改

parent 024f4cf3
......@@ -133,6 +133,8 @@ function initPage(companyInfo) {
window.open("/jsp/declare/yearReport.html?falg="+falg);
}else if (data.url == "../declare/yearReportGLB.jsp") {
window.open("/jsp/declare/yearReportGLB.html?falg="+falg);
}else {
window.open("/jsp/error/index.html?falg="+falg);
}
},
error: function(xhr){
......
......@@ -272,6 +272,8 @@ function initPage(companyInfo) {
window.open("/jsp/declare/yearReport.html?falg="+falg);
}else if (data.url == "yearReportGLB.jsp") {
window.open("/jsp/declare/yearReportGLB.html?falg="+falg);
}else {
window.open("/jsp/error/index.html?falg="+falg);
}
},
error: function(xhr){
......
......@@ -224,7 +224,8 @@ function initPage(companyInfo) {
window.open("/jsp/declare/yearReport.html?falg="+falg);
}else if (data.url == "yearReportGLB.jsp") {
window.open("/jsp/declare/yearReportGLB.html?falg="+falg);
}else if (data.url == "error.jsp") {
}else {
//因为后台不知道返回路径是什么样的就直接改成了else data.url == "error.jsp"
window.open("/jsp/error/index.html?falg="+falg);
}
},
......
......@@ -243,6 +243,8 @@ function initPage(companyInfo) {
window.open("/jsp/declare/yearReport.html?falg="+falg);
}else if (data.url == "yearReportGLB.jsp") {
window.open("/jsp/declare/yearReportGLB.html?falg="+falg);
}else {
window.open("/jsp/error/index.html?falg="+falg);
}
},
error: function(xhr){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment