Commit 93e5b4f0 authored by yangyuxin's avatar yangyuxin

修改逾期和清册

parent b871b176
......@@ -255,6 +255,7 @@ function initPage(companyInfo) {
// var form = $("#changeForm");
// form.find("#changeForm_data").val(JSON.stringify(submitData));
// form.submit();
var falg = "declare";
$.ajax({
type: "POST",
url: url + "/online_report/declare/toPzzl",
......@@ -265,13 +266,13 @@ function initPage(companyInfo) {
success: function (data) {
localStorage.setItem("data",JSON.stringify(submitData));
console.log("请求成功", data)
// if (data.url == "edit.jsp") {
// window.open("/jsp/declare/edit.html");
// }else if (data.url == "yearReport.jsp") {
// window.open("/jsp/declare/yearReport.html");
// }else if (data.url == "yearReportGLB.jsp") {
// window.open("/jsp/declare/yearReportGLB.html");
// }
if (data.url == "edit.jsp") {
window.open("/jsp/declare/edit.html?falg="+falg);
}else if (data.url == "yearReport.jsp") {
window.open("/jsp/declare/yearReport.html?falg="+falg);
}else if (data.url == "yearReportGLB.jsp") {
window.open("/jsp/declare/yearReportGLB.html?falg="+falg);
}
},
error: function(xhr){
//jsonp 方式此方法不被触发
......
......@@ -226,7 +226,7 @@ function initPage(companyInfo) {
// var form = $("#changeForm");
// form.find("#changeForm_data").val(JSON.stringify(submitData));
// form.submit();
var falg = "declare";
$.ajax({
type: "POST",
url: url + "/online_report/declare/toPzzl",
......@@ -237,13 +237,13 @@ function initPage(companyInfo) {
success: function (data) {
localStorage.setItem("data",JSON.stringify(submitData));
console.log("请求成功", data)
// if (data.url == "edit.jsp") {
// window.open("/jsp/declare/edit.html");
// }else if (data.url == "yearReport.jsp") {
// window.open("/jsp/declare/yearReport.html");
// }else if (data.url == "yearReportGLB.jsp") {
// window.open("/jsp/declare/yearReportGLB.html");
// }
if (data.url == "edit.jsp") {
window.open("/jsp/declare/edit.html?falg="+falg);
}else if (data.url == "yearReport.jsp") {
window.open("/jsp/declare/yearReport.html?falg="+falg);
}else if (data.url == "yearReportGLB.jsp") {
window.open("/jsp/declare/yearReportGLB.html?falg="+falg);
}
},
error: function(xhr){
//jsonp 方式此方法不被触发
......
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