Commit 104e4f88 authored by yangyuxin's avatar yangyuxin

修改为涉税接口

parent 0213c66d
...@@ -165,7 +165,8 @@ ...@@ -165,7 +165,8 @@
$(function(){ $(function(){
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: URL + "/online_report/" + address, url: URL + "/ssfwpt/" + address,
// url: URL + "/online_report/" + address,
async:false, async:false,
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
data: { data: {
......
...@@ -503,7 +503,7 @@ ...@@ -503,7 +503,7 @@
$(function(){ $(function(){
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: URL + "/online_report/" + address, url: URL + "/ssfwpt/" + address,
async:false, async:false,
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
data: { data: {
......
...@@ -274,7 +274,7 @@ ...@@ -274,7 +274,7 @@
$(function(){ $(function(){
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: URL + "/online_report/" + address, url: URL + "/ssfwpt/" + address,
async:false, async:false,
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
data: { data: {
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
$(function(){ $(function(){
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: URL + "/online_report/" + address, url: URL + "/ssfwpt/" + address,
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
// async: false, // async: false,
data: { data: {
......
...@@ -234,7 +234,7 @@ function initPage(companyInfo) { ...@@ -234,7 +234,7 @@ function initPage(companyInfo) {
success: function (data) { success: function (data) {
localStorage.setItem("data",JSON.stringify(submitData)); localStorage.setItem("data",JSON.stringify(submitData));
if (data.url == "edit.jsp") { if (data.url == "edit.jsp") {
window.open("/jsp/declare/edit.html?falg="+falg+"&open=2"); window.open("/jsp/declare/edit.html?falg="+falg);
}else if (data.url == "yearReport.jsp") { }else if (data.url == "yearReport.jsp") {
window.open("/jsp/declare/yearReport.html?falg="+falg); window.open("/jsp/declare/yearReport.html?falg="+falg);
}else if (data.url == "yearReportGLB.jsp") { }else if (data.url == "yearReportGLB.jsp") {
......
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