Commit cd35ce94 authored by 刘明珠's avatar 刘明珠

生产:接口调整为online开头

parent d1482ab0
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<title>˰���걨����ɲ������</title> <title>˰���걨����ɲ������</title>
</head> </head>
<body> <body>
<form id="testForm" action="/ssfwpt/declare/index" method="get"> <form id="testForm" action="/online/declare/index" method="get">
<ul> <ul>
<li> <li>
<lable>������˰�˵Ǽ���ţ�</lable><input type="text" name="djxh" id="form_djxh" /></li> <lable>������˰�˵Ǽ���ţ�</lable><input type="text" name="djxh" id="form_djxh" /></li>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<input type='button' value='�����걨' id='delcareBtn'> <input type='button' value='�����걨' id='delcareBtn'>
<hr/> <hr/>
<br/> <br/>
<form id="amendForm" action="/ssfwpt/amend/index" method="get"> <form id="amendForm" action="/online/amend/index" method="get">
<ul> <ul>
<li> <li>
<lable>������˰�˵Ǽ���ţ�</lable><input type="text" name="djxh" id="form_djxh_amend" /></li> <lable>������˰�˵Ǽ���ţ�</lable><input type="text" name="djxh" id="form_djxh_amend" /></li>
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<hr/> <hr/>
<br/> <br/>
<form id="overdueForm" action="/ssfwpt/overdue/index" method="get"> <form id="overdueForm" action="/online/overdue/index" method="get">
<ul> <ul>
<li> <li>
<lable>������˰�˵Ǽ���ţ�</lable><input type="text" name="djxh" id="form_djxh_overdue" /></li> <lable>������˰�˵Ǽ���ţ�</lable><input type="text" name="djxh" id="form_djxh_overdue" /></li>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<input type='button' value='�����걨' id='overdueBtn'><br/> <input type='button' value='�����걨' id='overdueBtn'><br/>
<hr/> <hr/>
<form id="cancellationForm" action="/ssfwpt/overdue/index" method="get"> <form id="cancellationForm" action="/online/overdue/index" method="get">
<ul> <ul>
<li> <li>
<lable>������˰�˵Ǽ���ţ�</lable><input type="text" name="djxh" id="form_djxh_cancellation" /></li> <lable>������˰�˵Ǽ���ţ�</lable><input type="text" name="djxh" id="form_djxh_cancellation" /></li>
...@@ -51,19 +51,19 @@ ...@@ -51,19 +51,19 @@
<input type='button' value='���ע��' id='cancellationBtn'><br/> <input type='button' value='���ע��' id='cancellationBtn'><br/>
<script> <script>
// document.getElementById("overdueBtn").onclick = function() { // document.getElementById("overdueBtn").onclick = function() {
// document.getElementById("overdueForm").action = "/ssfwpt/overdue"; // document.getElementById("overdueForm").action = "/online/overdue";
// document.getElementById("overdueForm").submit(); // document.getElementById("overdueForm").submit();
// } // }
// document.getElementById("delcareBtn").onclick = function() { // document.getElementById("delcareBtn").onclick = function() {
// document.getElementById("testForm").action = "/ssfwpt/declare"; // document.getElementById("testForm").action = "/online/declare";
// document.getElementById("testForm").submit(); // document.getElementById("testForm").submit();
// } // }
// document.getElementById("amendBtn").onclick = function(e) { // document.getElementById("amendBtn").onclick = function(e) {
// document.getElementById("amendForm").action = "/ssfwpt/amend"; // document.getElementById("amendForm").action = "/online/amend";
// document.getElementById("amendForm").submit(); // document.getElementById("amendForm").submit();
// } // }
// document.getElementById("cancellationBtn").onclick = function(e) { // document.getElementById("cancellationBtn").onclick = function(e) {
// document.getElementById("cancellationForm").action = "/ssfwpt/cancellation"; // document.getElementById("cancellationForm").action = "/online/cancellation";
// document.getElementById("cancellationForm").submit(); // document.getElementById("cancellationForm").submit();
// } // }
</script> </script>
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
btnObj.click(function(){ btnObj.click(function(){
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: url+"/ssfwpt/" + param + '/index', url: url+"/online/" + param + '/index',
dataType: "json", // ����ʽΪjsonp dataType: "json", // ����ʽΪjsonp
data: { data: {
djxh: djxhNumber.val(), djxh: djxhNumber.val(),
......
...@@ -223,8 +223,8 @@ ...@@ -223,8 +223,8 @@
// window.parent.postMessage({ cmd: 'zxtb' }, '*'); // window.parent.postMessage({ cmd: 'zxtb' }, '*');
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: URL + "/ssfwpt/" + address, url: URL + "/online/" + address,
// url: URL + "/ssfwpt/" + address, // url: URL + "/online/" + address,
async:false, async:false,
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
data: { data: {
......
...@@ -559,7 +559,7 @@ ...@@ -559,7 +559,7 @@
$(".header span.sssj").html(sksssjqz); $(".header span.sssj").html(sksssjqz);
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: URL + "/ssfwpt/" + address, url: URL + "/online/" + address,
async:false, async:false,
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
data: { data: {
......
...@@ -329,7 +329,7 @@ ...@@ -329,7 +329,7 @@
$(".header span.sssj").html(sksssjqz); $(".header span.sssj").html(sksssjqz);
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: URL + "/ssfwpt/" + address, url: URL + "/online/" + address,
async:false, async:false,
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
data: { data: {
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
$(function(){ $(function(){
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: URL + "/ssfwpt/" + address, url: URL + "/online/" + address,
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
// async: false, // async: false,
data: { data: {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<title>税费申报与缴纳测试入口</title> <title>税费申报与缴纳测试入口</title>
</head> </head>
<body> <body>
<form id="testForm" action="/ssfwpt/declare/index" method="get"> <form id="testForm" action="/online/declare/index" method="get">
<ul> <ul>
<li> <li>
<lable>测试纳税人登记序号:</lable><input type="text" name="djxh" id="form_djxh" /></li> <lable>测试纳税人登记序号:</lable><input type="text" name="djxh" id="form_djxh" /></li>
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<input type='button' value='按期申报' id='delcareBtn'> <input type='button' value='按期申报' id='delcareBtn'>
<hr/> <hr/>
<br/> <br/>
<form id="amendForm" action="/ssfwpt/amend/index" method="get"> <form id="amendForm" action="/online/amend/index" method="get">
<ul> <ul>
<li> <li>
<lable>测试纳税人登记序号:</lable><input type="text" name="djxh" id="form_djxh_amend" /></li> <lable>测试纳税人登记序号:</lable><input type="text" name="djxh" id="form_djxh_amend" /></li>
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<hr/> <hr/>
<br/> <br/>
<form id="overdueForm" action="/ssfwpt/overdue/index" method="get"> <form id="overdueForm" action="/online/overdue/index" method="get">
<ul> <ul>
<li> <li>
<lable>测试纳税人登记序号:</lable><input type="text" name="djxh" id="form_djxh_overdue" /></li> <lable>测试纳税人登记序号:</lable><input type="text" name="djxh" id="form_djxh_overdue" /></li>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<input type='button' value='逾期申报' id='overdueBtn'><br/> <input type='button' value='逾期申报' id='overdueBtn'><br/>
<hr/> <hr/>
<form id="cancellationForm" action="/ssfwpt/overdue/index" method="get"> <form id="cancellationForm" action="/online/overdue/index" method="get">
<ul> <ul>
<li> <li>
<lable>测试纳税人登记序号:</lable><input type="text" name="djxh" id="form_djxh_cancellation" /></li> <lable>测试纳税人登记序号:</lable><input type="text" name="djxh" id="form_djxh_cancellation" /></li>
...@@ -53,19 +53,19 @@ ...@@ -53,19 +53,19 @@
<input type='button' value='清册注销' id='cancellationBtn'><br/> <input type='button' value='清册注销' id='cancellationBtn'><br/>
<script> <script>
document.getElementById("overdueBtn").onclick = function() { document.getElementById("overdueBtn").onclick = function() {
document.getElementById("overdueForm").action = "/ssfwpt/overdue"; document.getElementById("overdueForm").action = "/online/overdue";
document.getElementById("overdueForm").submit(); document.getElementById("overdueForm").submit();
} }
document.getElementById("delcareBtn").onclick = function() { document.getElementById("delcareBtn").onclick = function() {
document.getElementById("testForm").action = "/ssfwpt/declare"; document.getElementById("testForm").action = "/online/declare";
document.getElementById("testForm").submit(); document.getElementById("testForm").submit();
} }
document.getElementById("amendBtn").onclick = function(e) { document.getElementById("amendBtn").onclick = function(e) {
document.getElementById("amendForm").action = "/ssfwpt/amend"; document.getElementById("amendForm").action = "/online/amend";
document.getElementById("amendForm").submit(); document.getElementById("amendForm").submit();
} }
document.getElementById("cancellationBtn").onclick = function(e) { document.getElementById("cancellationBtn").onclick = function(e) {
document.getElementById("cancellationForm").action = "/ssfwpt/cancellation"; document.getElementById("cancellationForm").action = "/online/cancellation";
document.getElementById("cancellationForm").submit(); document.getElementById("cancellationForm").submit();
} }
</script> </script>
......
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
showLoading(); showLoading();
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: config.url + "/ssfwpt/overdue/index", url: config.url + "/online/overdue/index",
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
// async: false, // async: false,
data: { data: {
......
...@@ -7,7 +7,7 @@ $(function () { ...@@ -7,7 +7,7 @@ $(function () {
function getZg() { function getZg() {
$.ajax({ $.ajax({
type: "post", type: "post",
url: config.url + "/ssfwpt/zdsy/zg", url: config.url + "/online/zdsy/zg",
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
// async: false, // async: false,
data: { data: {
...@@ -40,7 +40,7 @@ function getZg() { ...@@ -40,7 +40,7 @@ function getZg() {
function getInitTable(date) { function getInitTable(date) {
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: config.url + "/ssfwpt/zdsy/zdsyLb", url: config.url + "/online/zdsy/zdsyLb",
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
// async: false, // async: false,
data: { data: {
...@@ -107,7 +107,7 @@ function initPage(companyInfo) { ...@@ -107,7 +107,7 @@ function initPage(companyInfo) {
var getSzLB = function (date) { var getSzLB = function (date) {
showLoading(); showLoading();
$.ajax({ $.ajax({
url: config.url + "/ssfwpt/zdsy/zdsyLb", url: config.url + "/online/zdsy/zdsyLb",
data: { data: {
djxh: djxh, djxh: djxh,
nsrsbq: date, nsrsbq: date,
...@@ -231,10 +231,10 @@ function initPage(companyInfo) { ...@@ -231,10 +231,10 @@ function initPage(companyInfo) {
sksssjz: data.sksssjz, sksssjz: data.sksssjz,
requestRarameters: data, // 这里是对象 requestRarameters: data, // 这里是对象
requestAddress: { // 提取数据方式控制为ajax 此节点必须存在 requestAddress: { // 提取数据方式控制为ajax 此节点必须存在
selectSbbInfoAddress: "/ssfwpt/zdsyData/selectSbbInfo", // 开表接口 selectSbbInfoAddress: "/online/zdsyData/selectSbbInfo", // 开表接口
deleteSbbInfoAddress: "/ssfwpt/zdsyData/deleteSbbInfo", // 删除接口 deleteSbbInfoAddress: "/online/zdsyData/deleteSbbInfo", // 删除接口
// tbSbbInfoAddress: "/htftsolu/tbSbbInfo",//同步接口 // tbSbbInfoAddress: "/htftsolu/tbSbbInfo",//同步接口
saveSbbInfoAddress: "/ssfwpt/zdsyData/saveSbbInfo", //保存接口 saveSbbInfoAddress: "/online/zdsyData/saveSbbInfo", //保存接口
// downloadPDFAddress: "/htftsolu/downloadPDF",//下载PDF接口 // downloadPDFAddress: "/htftsolu/downloadPDF",//下载PDF接口
// customBtnAddress: "/htftsolu/tbYKJInfo",//同步外部平台数据接口 // customBtnAddress: "/htftsolu/tbYKJInfo",//同步外部平台数据接口
// saveTaxFromExcetion: "/htftsolu/saveTaxFromExcetion"//报错记录接口 // saveTaxFromExcetion: "/htftsolu/saveTaxFromExcetion"//报错记录接口
...@@ -315,7 +315,7 @@ function initPage(companyInfo) { ...@@ -315,7 +315,7 @@ function initPage(companyInfo) {
// TODO 开始加载等待动画 // TODO 开始加载等待动画
showLoading(); showLoading();
$.ajax({ $.ajax({
url: config.url + "/ssfwpt/zdsy/readData", url: config.url + "/online/zdsy/readData",
data: { data: {
djxh: djxh, djxh: djxh,
nsrsbq: date, nsrsbq: date,
......
...@@ -143,7 +143,7 @@ function initPage(companyInfo) { ...@@ -143,7 +143,7 @@ function initPage(companyInfo) {
var getTaxAmendData = function(param) { var getTaxAmendData = function(param) {
// TODO 开始加载等待动画 // TODO 开始加载等待动画
$.ajax({ $.ajax({
url: "/ssfwpt/declare/getPzzlList", url: "/online/declare/getPzzlList",
data: { data: {
token: token, token: token,
date: date date: date
......
...@@ -148,7 +148,7 @@ function initPage(companyInfo) { ...@@ -148,7 +148,7 @@ function initPage(companyInfo) {
var getTaxScottareData = function(param) { var getTaxScottareData = function(param) {
// TODO 开始加载等待动画 // TODO 开始加载等待动画
$.ajax({ $.ajax({
url: "/ssfwpt/declare/getPzzlList", url: "/online/declare/getPzzlList",
data: { data: {
token: token, token: token,
date: date date: date
......
...@@ -1171,7 +1171,7 @@ function isSqwsb() { ...@@ -1171,7 +1171,7 @@ function isSqwsb() {
$.ajax({ $.ajax({
type : "post", type : "post",
url : URL +"/ssfwpt/declare/getZzsZt", url : URL +"/online/declare/getZzsZt",
dataType : "json", dataType : "json",
data:{ data:{
"djxh": djxh, "djxh": djxh,
...@@ -1278,7 +1278,7 @@ function dj(msg){ ...@@ -1278,7 +1278,7 @@ function dj(msg){
$.ajax({ $.ajax({
type : "post", type : "post",
url : URL +"/ssfwpt/declare/sendZzsZt", url : URL +"/online/declare/sendZzsZt",
dataType : "json", dataType : "json",
data:{ data:{
"sfgx": ispoint, "sfgx": ispoint,
...@@ -1314,7 +1314,7 @@ function statement10101_001_10(){ ...@@ -1314,7 +1314,7 @@ function statement10101_001_10(){
$.ajax({ $.ajax({
type : "post", type : "post",
url : URL +"/ssfwpt/declare/getGovernmentWebsite", url : URL +"/online/declare/getGovernmentWebsite",
dataType : "json", dataType : "json",
data:{ data:{
"djxh": djxh, "djxh": djxh,
...@@ -1357,7 +1357,7 @@ function statement10101_001_15(){ ...@@ -1357,7 +1357,7 @@ function statement10101_001_15(){
$.ajax({ $.ajax({
type : "post", type : "post",
url : URL +"/ssfwpt/declare/getGovernmentWebsite", url : URL +"/online/declare/getGovernmentWebsite",
dataType : "json", dataType : "json",
data:{ data:{
"djxh": djxh, "djxh": djxh,
......
...@@ -744,7 +744,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -744,7 +744,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
spread.options.highlightInvalidData = false; spread.options.highlightInvalidData = false;
} }
showLoading(); showLoading();
var url = URL +"/ssfwpt/declare/save"; var url = URL +"/online/declare/save";
// if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){ // if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){
// pagedata.operateType = 6; // pagedata.operateType = 6;
// }else{ // }else{
...@@ -752,16 +752,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -752,16 +752,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
// } // }
if (operateType == 4) { if (operateType == 4) {
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
pagedata.qtxx = gzQtxx.qtxx; pagedata.qtxx = gzQtxx.qtxx;
} }
if("shenbao" == isshenbao){ if("shenbao" == isshenbao){
pagedata.operateType = null; pagedata.operateType = null;
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
} }
if(true == isZcfxtx){ if(true == isZcfxtx){
url = URL +"/ssfwpt/declare/zcfxts"; url = URL +"/online/declare/zcfxts";
} }
if (operateType == 3) { if (operateType == 3) {
...@@ -917,7 +917,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -917,7 +917,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
spread.options.highlightInvalidData = false; spread.options.highlightInvalidData = false;
} }
showLoading(); showLoading();
var url = URL +"/ssfwpt/declare/save"; var url = URL +"/online/declare/save";
// if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){ // if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){
// pagedata.operateType = 6; // pagedata.operateType = 6;
// }else{ // }else{
...@@ -925,16 +925,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -925,16 +925,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
// } // }
if (operateType == 4) { if (operateType == 4) {
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
pagedata.qtxx = gzQtxx.qtxx; pagedata.qtxx = gzQtxx.qtxx;
} }
if("shenbao" == isshenbao){ if("shenbao" == isshenbao){
pagedata.operateType = null; pagedata.operateType = null;
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
} }
if(true == isZcfxtx){ if(true == isZcfxtx){
url = URL +"/ssfwpt/declare/zcfxts"; url = URL +"/online/declare/zcfxts";
} }
if (operateType == 3) { if (operateType == 3) {
...@@ -1090,7 +1090,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -1090,7 +1090,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
spread.options.highlightInvalidData = false; spread.options.highlightInvalidData = false;
} }
showLoading(); showLoading();
var url = URL +"/ssfwpt/declare/save"; var url = URL +"/online/declare/save";
// if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){ // if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){
// pagedata.operateType = 6; // pagedata.operateType = 6;
// }else{ // }else{
...@@ -1098,16 +1098,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -1098,16 +1098,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
// } // }
if (operateType == 4) { if (operateType == 4) {
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
pagedata.qtxx = gzQtxx.qtxx; pagedata.qtxx = gzQtxx.qtxx;
} }
if("shenbao" == isshenbao){ if("shenbao" == isshenbao){
pagedata.operateType = null; pagedata.operateType = null;
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
} }
if(true == isZcfxtx){ if(true == isZcfxtx){
url = URL +"/ssfwpt/declare/zcfxts"; url = URL +"/online/declare/zcfxts";
} }
if (operateType == 3) { if (operateType == 3) {
...@@ -1263,7 +1263,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -1263,7 +1263,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
spread.options.highlightInvalidData = false; spread.options.highlightInvalidData = false;
} }
showLoading(); showLoading();
var url = URL +"/ssfwpt/declare/save"; var url = URL +"/online/declare/save";
// if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){ // if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){
// pagedata.operateType = 6; // pagedata.operateType = 6;
// }else{ // }else{
...@@ -1271,16 +1271,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -1271,16 +1271,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
// } // }
if (operateType == 4) { if (operateType == 4) {
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
pagedata.qtxx = gzQtxx.qtxx; pagedata.qtxx = gzQtxx.qtxx;
} }
if("shenbao" == isshenbao){ if("shenbao" == isshenbao){
pagedata.operateType = null; pagedata.operateType = null;
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
} }
if(true == isZcfxtx){ if(true == isZcfxtx){
url = URL +"/ssfwpt/declare/zcfxts"; url = URL +"/online/declare/zcfxts";
} }
if (operateType == 3) { if (operateType == 3) {
......
...@@ -714,7 +714,7 @@ function get11901Info(){ ...@@ -714,7 +714,7 @@ function get11901Info(){
// 给11901_001所属行业下拉框赋值 // 给11901_001所属行业下拉框赋值
$.ajax({ $.ajax({
url: URL +"/ssfwpt/declare/getHydmList", url: URL +"/online/declare/getHydmList",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { }, data: { },
...@@ -733,7 +733,7 @@ function get11901Info(){ ...@@ -733,7 +733,7 @@ function get11901Info(){
}) })
// 登记注册类型下拉框 // 登记注册类型下拉框
$.ajax({ $.ajax({
url: URL +"/ssfwpt/declare/getDjzclxList", url: URL +"/online/declare/getDjzclxList",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { }, data: { },
...@@ -3591,7 +3591,7 @@ function get10426Jmxz(flag){ ...@@ -3591,7 +3591,7 @@ function get10426Jmxz(flag){
// var jmxz; // var jmxz;
// $.ajax({ // $.ajax({
// type: "post", // type: "post",
// url: URL +"/ssfwpt/declare/getJmxzList", // url: URL +"/online/declare/getJmxzList",
// dataType: "json", // dataType: "json",
// async: false, // async: false,
// success: function(data){ // success: function(data){
...@@ -3727,7 +3727,7 @@ function get10426Jmxz(flag){ ...@@ -3727,7 +3727,7 @@ function get10426Jmxz(flag){
setCellValue(sheetIndex_002, startIndex, 3, qtjgnsrmc ? qtjgnsrmc : ""); setCellValue(sheetIndex_002, startIndex, 3, qtjgnsrmc ? qtjgnsrmc : "");
$.ajax({ $.ajax({
type: "post", type: "post",
url: URL +"/ssfwpt/declare/getXzqhList", url: URL +"/online/declare/getXzqhList",
dataType: "json", dataType: "json",
data: { data: {
code: qtjgcsxzqh code: qtjgcsxzqh
...@@ -3770,7 +3770,7 @@ function get10426Jmxz(flag){ ...@@ -3770,7 +3770,7 @@ function get10426Jmxz(flag){
if(zyjgcsxzqh && sheetIndex_002){ if(zyjgcsxzqh && sheetIndex_002){
$.ajax({ $.ajax({
type: "post", type: "post",
url: URL +"/ssfwpt/declare/getXzqhList", url: URL +"/online/declare/getXzqhList",
dataType: "json", dataType: "json",
data: { data: {
code: zyjgcsxzqh code: zyjgcsxzqh
...@@ -4010,7 +4010,7 @@ function get10425Info(){ ...@@ -4010,7 +4010,7 @@ function get10425Info(){
var jmxz; var jmxz;
$.ajax({ $.ajax({
type: "post", type: "post",
url: URL +"/ssfwpt/declare/getJmxzList", url: URL +"/online/declare/getJmxzList",
dataType: "json", dataType: "json",
async: false, async: false,
success: function(data){ success: function(data){
...@@ -4905,7 +4905,7 @@ function setFcsData(mainNewData,isMain,flag) { ...@@ -4905,7 +4905,7 @@ function setFcsData(mainNewData,isMain,flag) {
function setInfo_10427(){ function setInfo_10427(){
setCellValue(0, 1, 1, "税款所属时间:" + new Date().format("yyyy-MM-dd ") + "至" + new Date().format("yyyy-MM-dd ")); setCellValue(0, 1, 1, "税款所属时间:" + new Date().format("yyyy-MM-dd ") + "至" + new Date().format("yyyy-MM-dd "));
$.ajax({ $.ajax({
url: URL +"/ssfwpt/declare/getCountryList", url: URL +"/online/declare/getCountryList",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { }, data: { },
......
...@@ -178,7 +178,7 @@ function get10427Info(index){ ...@@ -178,7 +178,7 @@ function get10427Info(index){
setCellValue(index, 61, 4, wdz.trim() == "" ? "" : (wdz + ";" + wyb)); setCellValue(index, 61, 4, wdz.trim() == "" ? "" : (wdz + ";" + wyb));
// setCellValue(index, 62, 4, wdq); // setCellValue(index, 62, 4, wdq);
$.ajax({ $.ajax({
url: URL +"/ssfwpt/declare/getCountryList", url: URL +"/online/declare/getCountryList",
type: "post", type: "post",
async:false, async:false,
dataType : "json", dataType : "json",
...@@ -196,7 +196,7 @@ function get10427Info(index){ ...@@ -196,7 +196,7 @@ function get10427Info(index){
} }
}) })
$.ajax({ $.ajax({
url: URL +"/ssfwpt/declare/getSsxdmcList", url: URL +"/online/declare/getSsxdmcList",
type: "post", type: "post",
async:false, async:false,
dataType : "json", dataType : "json",
...@@ -1147,7 +1147,7 @@ function get12402SbJkNsName(type,dm,col,row,index){ ...@@ -1147,7 +1147,7 @@ function get12402SbJkNsName(type,dm,col,row,index){
} }
$.ajax({ $.ajax({
type: "post", type: "post",
url: URL +"/ssfwpt/declare/getCcsqxdmList", url: URL +"/online/declare/getCcsqxdmList",
dataType: "json", dataType: "json",
data: obj, data: obj,
success: function(data){ success: function(data){
...@@ -1172,7 +1172,7 @@ function get12402ZgswsKFJ(dm,col,tablename){ ...@@ -1172,7 +1172,7 @@ function get12402ZgswsKFJ(dm,col,tablename){
} }
$.ajax({ $.ajax({
type: "post", type: "post",
url: URL +"/ssfwpt/declare/getCcsswjgdmData", url: URL +"/online/declare/getCcsswjgdmData",
dataType: "json", dataType: "json",
data: obj, data: obj,
success: function(data){ success: function(data){
...@@ -1644,7 +1644,7 @@ function get12501MergeInfo(name){ ...@@ -1644,7 +1644,7 @@ function get12501MergeInfo(name){
$.ajax({ $.ajax({
type : "post", type : "post",
url : URL +"/ssfwpt/declare/get12501zb", url : URL +"/online/declare/get12501zb",
dataType : "json", dataType : "json",
data:{ data:{
"beans": JSON.stringify(json) "beans": JSON.stringify(json)
...@@ -2645,7 +2645,7 @@ function bindCellClickEvent() { ...@@ -2645,7 +2645,7 @@ function bindCellClickEvent() {
// if("E64" == pos){ // if("E64" == pos){
// var info = ""; // var info = "";
// $.ajax({ // $.ajax({
// url: URL +"/ssfwpt/declare/getSsxdmcList", // url: URL +"/online/declare/getSsxdmcList",
// type: "post", // type: "post",
// async:false, // async:false,
// dataType : "json", // dataType : "json",
...@@ -3184,7 +3184,7 @@ function bindCellClickEvent() { ...@@ -3184,7 +3184,7 @@ function bindCellClickEvent() {
var arr = []; var arr = [];
$.ajax({ $.ajax({
type: "post", type: "post",
url: URL +"/ssfwpt/declare/getSsxd", url: URL +"/online/declare/getSsxd",
dataType: "json", dataType: "json",
async: false, async: false,
data: { data: {
...@@ -3468,7 +3468,7 @@ function bindValueChanged() { ...@@ -3468,7 +3468,7 @@ function bindValueChanged() {
case '10119_001': case '10119_001':
if("D9" == pos && info.newValue && info.newValue.split(" ").length > 1){ if("D9" == pos && info.newValue && info.newValue.split(" ").length > 1){
$.ajax({ $.ajax({
url: URL +"/ssfwpt/declare/getClscjxByXzqhData", url: URL +"/online/declare/getClscjxByXzqhData",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { data: {
...@@ -3486,7 +3486,7 @@ function bindValueChanged() { ...@@ -3486,7 +3486,7 @@ function bindValueChanged() {
} }
if("F9" == pos && info.newValue && info.newValue.split(" ").length > 1){ if("F9" == pos && info.newValue && info.newValue.split(" ").length > 1){
$.ajax({ $.ajax({
url: URL +"/ssfwpt/declare/getCcsswjgdmData", url: URL +"/online/declare/getCcsswjgdmData",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { data: {
...@@ -4018,7 +4018,7 @@ function bindValueChanged() { ...@@ -4018,7 +4018,7 @@ function bindValueChanged() {
setCellValue(activeSheetIndex, row, 12, info.newValue.split(" ")[2]); setCellValue(activeSheetIndex, row, 12, info.newValue.split(" ")[2]);
}else{ }else{
$.ajax({ $.ajax({
url: URL +"/ssfwpt/declare/getCountryList", url: URL +"/online/declare/getCountryList",
type: "post", type: "post",
async:false, async:false,
dataType : "json", dataType : "json",
...@@ -4037,7 +4037,7 @@ function bindValueChanged() { ...@@ -4037,7 +4037,7 @@ function bindValueChanged() {
} }
// $.ajax({ // $.ajax({
// url: URL +"/ssfwpt/declare/getSsxdmcList", // url: URL +"/online/declare/getSsxdmcList",
// type: "post", // type: "post",
// dataType : "json", // dataType : "json",
// data: { // data: {
...@@ -4440,7 +4440,7 @@ function bindValueChanged() { ...@@ -4440,7 +4440,7 @@ function bindValueChanged() {
} }
if("I" == pos1_ && info.newValue){ if("I" == pos1_ && info.newValue){
$.ajax({ $.ajax({
url: URL +"/ssfwpt/declare/getSyseList", url: URL +"/online/declare/getSyseList",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { data: {
...@@ -4455,7 +4455,7 @@ function bindValueChanged() { ...@@ -4455,7 +4455,7 @@ function bindValueChanged() {
} }
if (pos1_ == 'H' && info.newValue) { if (pos1_ == 'H' && info.newValue) {
$.ajax({ $.ajax({
url: URL +"/ssfwpt/declare/getZszmByZspmData", url: URL +"/online/declare/getZszmByZspmData",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { data: {
...@@ -6061,7 +6061,7 @@ function bindValueChanged() { ...@@ -6061,7 +6061,7 @@ function bindValueChanged() {
if(info.newValue){ if(info.newValue){
var xzhqDm = info.newValue.split(" ")[0]; var xzhqDm = info.newValue.split(" ")[0];
$.ajax({ $.ajax({
url: URL +"/ssfwpt/declare/getClscjxByXzqhData", url: URL +"/online/declare/getClscjxByXzqhData",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { data: {
...@@ -6302,7 +6302,7 @@ function bindValueChanged() { ...@@ -6302,7 +6302,7 @@ function bindValueChanged() {
$.ajax({ $.ajax({
type : "post", type : "post",
url : URL +"/ssfwpt/declare/getCcsswjgdmData", url : URL +"/online/declare/getCcsswjgdmData",
data: { data: {
zspmDm: zspmDm zspmDm: zspmDm
}, },
...@@ -6327,7 +6327,7 @@ function bindValueChanged() { ...@@ -6327,7 +6327,7 @@ function bindValueChanged() {
if(info.newValue){ if(info.newValue){
var xzhqDm = info.newValue.split(" ")[0]; var xzhqDm = info.newValue.split(" ")[0];
$.ajax({ $.ajax({
url: URL +"/ssfwpt/declare/getClscjxByXzqhData", url: URL +"/online/declare/getClscjxByXzqhData",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { data: {
...@@ -7172,7 +7172,7 @@ function bindValueChanged() { ...@@ -7172,7 +7172,7 @@ function bindValueChanged() {
console.log(info.newValue.split(" ")[0]) console.log(info.newValue.split(" ")[0])
$.ajax({ $.ajax({
type : "post", type : "post",
url : URL +"/ssfwpt/declare/get12502_001Beanspm", url : URL +"/online/declare/get12502_001Beanspm",
dataType : "json", dataType : "json",
data:{ data:{
"wrlb": info.newValue.split(" ")[0], "wrlb": info.newValue.split(" ")[0],
...@@ -7252,7 +7252,7 @@ function getSlByZspmZszmFor12501(zspm,zszm){ ...@@ -7252,7 +7252,7 @@ function getSlByZspmZszmFor12501(zspm,zszm){
// 税率带入值 // 税率带入值
$.ajax({ $.ajax({
type : "post", type : "post",
url : URL +"/ssfwpt/declare/get12501_002sl", url : URL +"/online/declare/get12501_002sl",
dataType : "json", dataType : "json",
async : false, async : false,
data:{ data:{
...@@ -7277,7 +7277,7 @@ function getWrdlzByZspmZszm(zspm,zszm){ ...@@ -7277,7 +7277,7 @@ function getWrdlzByZspmZszm(zspm,zszm){
var wrdlz = 0; var wrdlz = 0;
$.ajax({ $.ajax({
type : "post", type : "post",
url : URL +"/ssfwpt/declare/getwrdlz", url : URL +"/online/declare/getwrdlz",
dataType : "json", dataType : "json",
async : false, async : false,
data:{ data:{
...@@ -7303,7 +7303,7 @@ function getZszmByZspm(zspm){ ...@@ -7303,7 +7303,7 @@ function getZszmByZspm(zspm){
var arr = []; var arr = [];
$.ajax({ $.ajax({
type : "post", type : "post",
url : URL +"/ssfwpt/declare/getHbsZszmBean", url : URL +"/online/declare/getHbsZszmBean",
dataType : "json", dataType : "json",
async : false, async : false,
data:{ data:{
......
...@@ -95,7 +95,7 @@ function selectNb() { ...@@ -95,7 +95,7 @@ function selectNb() {
var selectTableArr = getSelect_10414_002(); // 获取被选中的表 var selectTableArr = getSelect_10414_002(); // 获取被选中的表
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: URL +"/ssfwpt/declare/save", url: URL +"/online/declare/save",
data: { data: {
data: JSON.stringify(NB_cache_data), data: JSON.stringify(NB_cache_data),
taxInfo: localStorage.getItem("data") taxInfo: localStorage.getItem("data")
...@@ -1314,16 +1314,16 @@ function saveData(operateType,isZcfxtx) { ...@@ -1314,16 +1314,16 @@ function saveData(operateType,isZcfxtx) {
spread.options.highlightInvalidData = false; spread.options.highlightInvalidData = false;
} }
showLoading(); showLoading();
var url = URL +"/ssfwpt/declare/save"; var url = URL +"/online/declare/save";
pagedata.operateType = operateType; pagedata.operateType = operateType;
if (operateType == 4) { if (operateType == 4) {
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
} }
if (isGZflag) { if (isGZflag) {
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
} }
if (true == isZcfxtx) { if (true == isZcfxtx) {
url = URL +"/ssfwpt/declare/zcfxts"; url = URL +"/online/declare/zcfxts";
} }
if (operateType == 3) { if (operateType == 3) {
if(localStorage["isZcfxFlag"] && "true" == localStorage["isZcfxFlag"]){ if(localStorage["isZcfxFlag"] && "true" == localStorage["isZcfxFlag"]){
...@@ -1525,13 +1525,13 @@ function saveData_003(operateType) { ...@@ -1525,13 +1525,13 @@ function saveData_003(operateType) {
spread.options.highlightInvalidData = false; spread.options.highlightInvalidData = false;
} }
// showLoading(); // showLoading();
var url = URL +"/ssfwpt/declare/save"; var url = URL +"/online/declare/save";
pagedata.operateType = operateType; pagedata.operateType = operateType;
if (operateType == 4) { if (operateType == 4) {
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
} }
if (isGZflag) { if (isGZflag) {
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
} }
pagedata.data = GLOBAL_INITJSON; //更正保存增加参数--20181225 ygy pagedata.data = GLOBAL_INITJSON; //更正保存增加参数--20181225 ygy
console.log("■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■"); console.log("■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■");
......
...@@ -336,7 +336,7 @@ function bindValueChanged() { ...@@ -336,7 +336,7 @@ function bindValueChanged() {
// var arr = []; // var arr = [];
// $.ajax({ // $.ajax({
// type: "post", // type: "post",
// url: URL +"/ssfwpt/declare/getFylyxmd2019List", // url: URL +"/online/declare/getFylyxmd2019List",
// dataType: "json", // dataType: "json",
// async: false, // async: false,
// data: {}, // data: {},
...@@ -863,7 +863,7 @@ function bindNbCellClickEvent() { ...@@ -863,7 +863,7 @@ function bindNbCellClickEvent() {
// var arr = []; // var arr = [];
// $.ajax({ // $.ajax({
// type: "post", // type: "post",
// url: URL +"/ssfwpt/declare/getFylyxmd2019List", // url: URL +"/online/declare/getFylyxmd2019List",
// dataType: "json", // dataType: "json",
// async: false, // async: false,
// data: {}, // data: {},
...@@ -1172,7 +1172,7 @@ function getDmbList(lx, dm) { ...@@ -1172,7 +1172,7 @@ function getDmbList(lx, dm) {
var list = [] var list = []
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: URL +"/ssfwpt/declare/getGxjslyList", url: URL +"/online/declare/getGxjslyList",
data: { data: {
level: lx, level: lx,
code: dm code: dm
...@@ -1453,7 +1453,7 @@ function compare10414_027(index){ ...@@ -1453,7 +1453,7 @@ function compare10414_027(index){
var arr = []; var arr = [];
$.ajax({ $.ajax({
type: "post", type: "post",
url: URL +"/ssfwpt/declare/getFylyxmd2019List", url: URL +"/online/declare/getFylyxmd2019List",
dataType: "json", dataType: "json",
async: false, async: false,
data: {}, data: {},
...@@ -1838,7 +1838,7 @@ function getSwjgDm(lx, dm) { ...@@ -1838,7 +1838,7 @@ function getSwjgDm(lx, dm) {
}, },
dataType: "json", dataType: "json",
type: 'POST', type: 'POST',
url: URL +'/ssfwpt/declare/getCcsswjgdmData', url: URL +'/online/declare/getCcsswjgdmData',
success: function (data) { success: function (data) {
// console.log(data); // console.log(data);
var html = ''; var html = '';
......
...@@ -107,7 +107,7 @@ function selectNb() { ...@@ -107,7 +107,7 @@ function selectNb() {
NB_cache_data.data = GLOBAL_INITJSON; //更正保存增加参数--20181225 ygy NB_cache_data.data = GLOBAL_INITJSON; //更正保存增加参数--20181225 ygy
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: URL +"/ssfwpt/declare/save", url: URL +"/online/declare/save",
data: { data: {
data: JSON.stringify(NB_cache_data), data: JSON.stringify(NB_cache_data),
taxInfo: localStorage.getItem("data") taxInfo: localStorage.getItem("data")
...@@ -1123,14 +1123,14 @@ function saveData(operateType) { ...@@ -1123,14 +1123,14 @@ function saveData(operateType) {
spread.options.highlightInvalidData = false; spread.options.highlightInvalidData = false;
} }
showLoading(); showLoading();
var url = URL +"/ssfwpt/declare/save"; var url = URL +"/online/declare/save";
pagedata.operateType = operateType; pagedata.operateType = operateType;
if (operateType == 4) { if (operateType == 4) {
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
} }
if(isGZflag){ if(isGZflag){
url = URL +"/ssfwpt/amend/save"; url = URL +"/online/amend/save";
} }
pagedata.data = GLOBAL_INITJSON; //更正保存增加参数--20181225 ygy pagedata.data = GLOBAL_INITJSON; //更正保存增加参数--20181225 ygy
console.log("■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■"); console.log("■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■");
......
...@@ -94,7 +94,7 @@ function getJmxz_019(){ ...@@ -94,7 +94,7 @@ function getJmxz_019(){
//判断有没有这张表 //判断有没有这张表
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: URL +"/ssfwpt/declare/getZwbzList", url: URL +"/online/declare/getZwbzList",
dataType: "json", dataType: "json",
async: false, async: false,
success: function success(datas, textStatus, jqXHR) { success: function success(datas, textStatus, jqXHR) {
...@@ -120,7 +120,7 @@ function getJmxz_020(){ ...@@ -120,7 +120,7 @@ function getJmxz_020(){
//判断有没有这张表 //判断有没有这张表
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: URL +"/ssfwpt/declare/getYwbzList", url: URL +"/online/declare/getYwbzList",
dataType: "json", dataType: "json",
async: false, async: false,
success: function success(datas, textStatus, jqXHR) { success: function success(datas, textStatus, jqXHR) {
...@@ -796,26 +796,26 @@ function getVal_GDXX(index) { ...@@ -796,26 +796,26 @@ function getVal_GDXX(index) {
function getDmbList(lx, dm, isShengJi, isGuanLian) { function getDmbList(lx, dm, isShengJi, isGuanLian) {
var list = []; var list = [];
var url = URL +"/ssfwpt/declare/getHydmList"; var url = URL +"/online/declare/getHydmList";
var obj = { var obj = {
lx: lx, lx: lx,
dm: dm dm: dm
} }
if(isShengJi){ if(isShengJi){
url = URL +"/ssfwpt/declare/getDjsList"; url = URL +"/online/declare/getDjsList";
obj = { obj = {
shengJiDm: dm shengJiDm: dm
} }
} }
if(isGuanLian){ if(isGuanLian){
url = URL +"/ssfwpt/declare/getglgxList"; url = URL +"/online/declare/getglgxList";
obj = { obj = {
lx: lx, lx: lx,
dm: dm dm: dm
} }
} }
if (isGuanLian && (dm == "10420_006" || dm == "10420_008")) { if (isGuanLian && (dm == "10420_006" || dm == "10420_008")) {
url = URL +"/ssfwpt/declare/getGljynr"; url = URL +"/online/declare/getGljynr";
obj = { obj = {
code: dm code: dm
} }
......
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