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

生产:接口调整为online开头

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