Commit 5e559aff authored by yangyuxin's avatar yangyuxin

测试页面 添加返回失败弹框

parent 3aa55126
...@@ -66,12 +66,13 @@ ...@@ -66,12 +66,13 @@
</script> </script>
</body> </body>
<script type="text/javascript" src="../static/tools/js/jquery-1.11.3.js?v=1.1"></script> <script type="text/javascript" src="../static/tools/js/jquery-1.11.3.js?v=1.1"></script>
<script type="text/javascript" src="/static/tools/js/encapsulation.js?v=1.3"></script>
<script> <script>
// localStorage.setItem("url", "http://localhost:7070"); // localStorage.setItem("url", "http://localhost:7070");
// localStorage.setItem("url", "http://sbjs.tjsat.gov.cn:18090"); // localStorage.setItem("url", "http://sbjs.tjsat.gov.cn:18090");
//涉税 //涉税
localStorage.setItem("url", "http://192.168.101.146:8091"); // localStorage.setItem("url", "http://192.168.101.146:8091");
// localStorage.setItem("url", "http://192.168.101.201:8091"); localStorage.setItem("url", "http://192.168.101.201:8091");
var url = localStorage.getItem("url"); var url = localStorage.getItem("url");
$(function(){ $(function(){
//按期申报 //按期申报
...@@ -132,7 +133,8 @@ ...@@ -132,7 +133,8 @@
localStorage.setItem("nsrsbh",sbh.val() ? sbh.val() : ''); localStorage.setItem("nsrsbh",sbh.val() ? sbh.val() : '');
if (data.success) { if (data.success) {
if (data.bean.url == "error.jsp") { if (data.bean.url == "error.jsp") {
window.location.href = "/jsp/error/index.html?falg="+param; myAlert("提示", data.bean.errorInfo, "确定")
// window.location.href = "/jsp/error/index.html?falg="+param;
}else if (param == "declare") { }else if (param == "declare") {
window.location.href = "/jsp/declare/index.html"; window.location.href = "/jsp/declare/index.html";
}else if (param == "amend") { }else if (param == "amend") {
......
...@@ -228,7 +228,8 @@ function getIEVersion() { ...@@ -228,7 +228,8 @@ function getIEVersion() {
backgroundColor: '#fff', backgroundColor: '#fff',
borderRadius: '15px 15px 0 0', borderRadius: '15px 15px 0 0',
// fontWeight: 'bold', // fontWeight: 'bold',
borderBottom: '1px solid #E6E6E6' borderBottom: '1px solid #E6E6E6',
boxSizing: 'border-box'
}); });
} else { } else {
$("#mb_tit").css({ $("#mb_tit").css({
...@@ -241,7 +242,8 @@ function getIEVersion() { ...@@ -241,7 +242,8 @@ function getIEVersion() {
backgroundColor: '#fff', backgroundColor: '#fff',
borderRadius: '15px 15px 0 0', borderRadius: '15px 15px 0 0',
// fontWeight: 'bold', // fontWeight: 'bold',
borderBottom: '1px solid #E6E6E6' borderBottom: '1px solid #E6E6E6',
boxSizing: 'border-box'
}); });
} }
......
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