Commit edb961a3 authored by yangyuxin's avatar yangyuxin

测试页面index.html 添加error.jsp的页面

parent 5cffe5bc
...@@ -68,9 +68,9 @@ ...@@ -68,9 +68,9 @@
<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> <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://localhost:8091"); // localStorage.setItem("url", "http://localhost: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(){
...@@ -131,7 +131,9 @@ ...@@ -131,7 +131,9 @@
localStorage.setItem("djxh",djxhNumber.val()); localStorage.setItem("djxh",djxhNumber.val());
localStorage.setItem("nsrsbh",sbh.val() ? sbh.val() : ''); localStorage.setItem("nsrsbh",sbh.val() ? sbh.val() : '');
if (data.success) { if (data.success) {
if (param == "declare") { if (data.bean.url == "error.jsp") {
window.location.href = "/jsp/error/index.html?falg="+param;
}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") {
window.location.href = "/jsp/amend/index.html"; window.location.href = "/jsp/amend/index.html";
......
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