Commit 6de5fd82 authored by yangyuxin's avatar yangyuxin

把分离方法tax的调用方法 所以的url都修改

parent 4365be8d
...@@ -1243,7 +1243,7 @@ function dj(msg){ ...@@ -1243,7 +1243,7 @@ function dj(msg){
$.ajax({ $.ajax({
type : "post", type : "post",
url : "/online_report/declare/sendZzsZt", url : URL + "/online_report/declare/sendZzsZt",
dataType : "json", dataType : "json",
data:{ data:{
"sfgx": ispoint, "sfgx": ispoint,
...@@ -1279,7 +1279,7 @@ function statement10101_001_10(){ ...@@ -1279,7 +1279,7 @@ function statement10101_001_10(){
$.ajax({ $.ajax({
type : "post", type : "post",
url : "/online_report/declare/getGovernmentWebsite", url : URL + "/online_report/declare/getGovernmentWebsite",
dataType : "json", dataType : "json",
data:{ data:{
"djxh": djxh, "djxh": djxh,
...@@ -1322,7 +1322,7 @@ function statement10101_001_15(){ ...@@ -1322,7 +1322,7 @@ function statement10101_001_15(){
$.ajax({ $.ajax({
type : "post", type : "post",
url : "/online_report/declare/getGovernmentWebsite", url : URL + "/online_report/declare/getGovernmentWebsite",
dataType : "json", dataType : "json",
data:{ data:{
"djxh": djxh, "djxh": djxh,
......
...@@ -710,7 +710,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -710,7 +710,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
spread.options.highlightInvalidData = false; spread.options.highlightInvalidData = false;
} }
showLoading(); showLoading();
var url = "/online_report/declare/save"; var url = URL + "/online_report/declare/save";
if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){ if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){
pagedata.operateType = 6; pagedata.operateType = 6;
}else{ }else{
...@@ -718,16 +718,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -718,16 +718,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
} }
if (operateType == 4) { if (operateType == 4) {
url = "/online_report/amend/save"; url = URL + "/online_report/amend/save";
pagedata.qtxx = gzQtxx.qtxx; pagedata.qtxx = gzQtxx.qtxx;
} }
if("shenbao" == isshenbao){ if("shenbao" == isshenbao){
pagedata.operateType = null; pagedata.operateType = null;
url = "/online_report/amend/save"; url = URL + "/online_report/amend/save";
} }
if(true == isZcfxtx){ if(true == isZcfxtx){
url = "/online_report/declare/zcfxts"; url = URL + "/online_report/declare/zcfxts";
} }
if (operateType == 3) { if (operateType == 3) {
...@@ -882,7 +882,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -882,7 +882,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
spread.options.highlightInvalidData = false; spread.options.highlightInvalidData = false;
} }
showLoading(); showLoading();
var url = "/online_report/declare/save"; var url = URL + "/online_report/declare/save";
if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){ if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){
pagedata.operateType = 6; pagedata.operateType = 6;
}else{ }else{
...@@ -890,16 +890,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -890,16 +890,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
} }
if (operateType == 4) { if (operateType == 4) {
url = "/online_report/amend/save"; url = URL + "/online_report/amend/save";
pagedata.qtxx = gzQtxx.qtxx; pagedata.qtxx = gzQtxx.qtxx;
} }
if("shenbao" == isshenbao){ if("shenbao" == isshenbao){
pagedata.operateType = null; pagedata.operateType = null;
url = "/online_report/amend/save"; url = URL + "/online_report/amend/save";
} }
if(true == isZcfxtx){ if(true == isZcfxtx){
url = "/online_report/declare/zcfxts"; url = URL + "/online_report/declare/zcfxts";
} }
if (operateType == 3) { if (operateType == 3) {
...@@ -1054,7 +1054,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -1054,7 +1054,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
spread.options.highlightInvalidData = false; spread.options.highlightInvalidData = false;
} }
showLoading(); showLoading();
var url = "/online_report/declare/save"; var url = URL + "/online_report/declare/save";
if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){ if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){
pagedata.operateType = 6; pagedata.operateType = 6;
}else{ }else{
...@@ -1062,16 +1062,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -1062,16 +1062,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
} }
if (operateType == 4) { if (operateType == 4) {
url = "/online_report/amend/save"; url = URL + "/online_report/amend/save";
pagedata.qtxx = gzQtxx.qtxx; pagedata.qtxx = gzQtxx.qtxx;
} }
if("shenbao" == isshenbao){ if("shenbao" == isshenbao){
pagedata.operateType = null; pagedata.operateType = null;
url = "/online_report/amend/save"; url = URL + "/online_report/amend/save";
} }
if(true == isZcfxtx){ if(true == isZcfxtx){
url = "/online_report/declare/zcfxts"; url = URL + "/online_report/declare/zcfxts";
} }
if (operateType == 3) { if (operateType == 3) {
...@@ -1226,7 +1226,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -1226,7 +1226,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
spread.options.highlightInvalidData = false; spread.options.highlightInvalidData = false;
} }
showLoading(); showLoading();
var url = "/online_report/declare/save"; var url = URL + "/online_report/declare/save";
if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){ if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){
pagedata.operateType = 6; pagedata.operateType = 6;
}else{ }else{
...@@ -1234,16 +1234,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) { ...@@ -1234,16 +1234,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
} }
if (operateType == 4) { if (operateType == 4) {
url = "/online_report/amend/save"; url = URL + "/online_report/amend/save";
pagedata.qtxx = gzQtxx.qtxx; pagedata.qtxx = gzQtxx.qtxx;
} }
if("shenbao" == isshenbao){ if("shenbao" == isshenbao){
pagedata.operateType = null; pagedata.operateType = null;
url = "/online_report/amend/save"; url = URL + "/online_report/amend/save";
} }
if(true == isZcfxtx){ if(true == isZcfxtx){
url = "/online_report/declare/zcfxts"; url = URL + "/online_report/declare/zcfxts";
} }
if (operateType == 3) { if (operateType == 3) {
...@@ -1643,6 +1643,7 @@ function getGlobalBaseInfo() { ...@@ -1643,6 +1643,7 @@ function getGlobalBaseInfo() {
}else { }else {
setSyYf(); setSyYf();
if("12501" != GLOBAL_JSON.pzzlDm && "10427" != GLOBAL_JSON.pzzlDm){ if("12501" != GLOBAL_JSON.pzzlDm && "10427" != GLOBAL_JSON.pzzlDm){
console.log("123456")
getStroageData(); // 获取暂存数据 getStroageData(); // 获取暂存数据
} }
} }
...@@ -1821,6 +1822,7 @@ function getTableVlaue(param) { ...@@ -1821,6 +1822,7 @@ function getTableVlaue(param) {
} }
var tables = GLOBAL_JSON.tables; var tables = GLOBAL_JSON.tables;
console.log(GLOBAL_JSON)
tables.map(function (table) { tables.map(function (table) {
var tableName = 'table_' + table.bbdm; var tableName = 'table_' + table.bbdm;
if("11602_002" != table.bbdm){ if("11602_002" != table.bbdm){
......
...@@ -712,7 +712,7 @@ function get11901Info(){ ...@@ -712,7 +712,7 @@ function get11901Info(){
// 给11901_001所属行业下拉框赋值 // 给11901_001所属行业下拉框赋值
$.ajax({ $.ajax({
url: "/online_report/declare/getHydmList", url: URL + "/online_report/declare/getHydmList",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { }, data: { },
...@@ -731,7 +731,7 @@ function get11901Info(){ ...@@ -731,7 +731,7 @@ function get11901Info(){
}) })
// 登记注册类型下拉框 // 登记注册类型下拉框
$.ajax({ $.ajax({
url: "/online_report/declare/getDjzclxList", url: URL + "/online_report/declare/getDjzclxList",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { }, data: { },
...@@ -3535,7 +3535,7 @@ function get10426Jmxz(){ ...@@ -3535,7 +3535,7 @@ function get10426Jmxz(){
var jmxz; var jmxz;
$.ajax({ $.ajax({
type: "post", type: "post",
url: "/online_report/declare/getJmxzList", url: URL + "/online_report/declare/getJmxzList",
dataType: "json", dataType: "json",
async: false, async: false,
success: function(data){ success: function(data){
...@@ -3759,7 +3759,7 @@ function get10426Jmxz(){ ...@@ -3759,7 +3759,7 @@ function get10426Jmxz(){
setCellValue(sheetIndex_002, startIndex, 3, qtjgnsrmc ? qtjgnsrmc : ""); setCellValue(sheetIndex_002, startIndex, 3, qtjgnsrmc ? qtjgnsrmc : "");
$.ajax({ $.ajax({
type: "post", type: "post",
url: "/online_report/declare/getXzqhList", url: URL + "/online_report/declare/getXzqhList",
dataType: "json", dataType: "json",
data: { data: {
code: qtjgcsxzqh code: qtjgcsxzqh
...@@ -3833,7 +3833,7 @@ function get10426Jmxz(){ ...@@ -3833,7 +3833,7 @@ function get10426Jmxz(){
if(zyjgcsxzqh && sheetIndex_002){ if(zyjgcsxzqh && sheetIndex_002){
$.ajax({ $.ajax({
type: "post", type: "post",
url: "/online_report/declare/getXzqhList", url: URL + "/online_report/declare/getXzqhList",
dataType: "json", dataType: "json",
data: { data: {
code: zyjgcsxzqh code: zyjgcsxzqh
...@@ -4053,7 +4053,7 @@ function get10425Info(){ ...@@ -4053,7 +4053,7 @@ function get10425Info(){
var jmxz; var jmxz;
$.ajax({ $.ajax({
type: "post", type: "post",
url: "/online_report/declare/getJmxzList", url: URL + "/online_report/declare/getJmxzList",
dataType: "json", dataType: "json",
async: false, async: false,
success: function(data){ success: function(data){
...@@ -4948,7 +4948,7 @@ function setFcsData(mainNewData,isMain,flag) { ...@@ -4948,7 +4948,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: "/online_report/declare/getCountryList", url: URL + "/online_report/declare/getCountryList",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { }, data: { },
......
...@@ -62,7 +62,7 @@ function getIEVersion() { ...@@ -62,7 +62,7 @@ function getIEVersion() {
_show: function _show(title) { _show: function _show(title) {
var _html = '<div id="mb_box1"></div><div id="mb_con1"><span id="mb_tit1">' + title + '</span>'; var _html = '<div id="mb_box1"></div><div id="mb_con1"><span id="mb_tit1">' + title + '</span>';
_html += '<img id="mb_img1" src="/online_report/static/tools/images/close.png">'; _html += '<img id="mb_img1" src="/static/tools/images/close.png">';
_html += '<div id="mb_msg1"></div>'; _html += '<div id="mb_msg1"></div>';
//必须先将_html添加到body,再设置Css样式 //必须先将_html添加到body,再设置Css样式
$("body").append(_html); $("body").append(_html);
...@@ -316,7 +316,7 @@ function dateProcessing(type) { ...@@ -316,7 +316,7 @@ function dateProcessing(type) {
var _html = ""; var _html = "";
_html += '<div id="mb_box"></div><div id="mb_con"><span id="mb_tit">' + title + '</span>' _html += '<div id="mb_box"></div><div id="mb_con"><span id="mb_tit">' + title + '</span>'
if (type == "confirm") { if (type == "confirm") {
_html += '<img id="mb_img" src="/online_report/static/tools/images/close.png">'; _html += '<img id="mb_img" src="/static/tools/images/close.png">';
_html += '<div id="mb_msg">' + msg + '</div>'; _html += '<div id="mb_msg">' + msg + '</div>';
} }
if (type == "alert") { if (type == "alert") {
......
...@@ -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: "/online_report/declare/getCountryList", url: URL + "/online_report/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: "/online_report/declare/getSsxdmcList", url: URL + "/online_report/declare/getSsxdmcList",
type: "post", type: "post",
async:false, async:false,
dataType : "json", dataType : "json",
...@@ -1146,7 +1146,7 @@ function get12402SbJkNsName(type,dm,col,row,index){ ...@@ -1146,7 +1146,7 @@ function get12402SbJkNsName(type,dm,col,row,index){
} }
$.ajax({ $.ajax({
type: "post", type: "post",
url: "/online_report/declare/getCcsqxdmList", url: URL + "/online_report/declare/getCcsqxdmList",
dataType: "json", dataType: "json",
data: obj, data: obj,
success: function(data){ success: function(data){
...@@ -1171,7 +1171,7 @@ function get12402ZgswsKFJ(dm,col,tablename){ ...@@ -1171,7 +1171,7 @@ function get12402ZgswsKFJ(dm,col,tablename){
} }
$.ajax({ $.ajax({
type: "post", type: "post",
url: "/online_report/declare/getCcsswjgdmData", url: URL + "/online_report/declare/getCcsswjgdmData",
dataType: "json", dataType: "json",
data: obj, data: obj,
success: function(data){ success: function(data){
...@@ -1643,7 +1643,7 @@ function get12501MergeInfo(name){ ...@@ -1643,7 +1643,7 @@ function get12501MergeInfo(name){
$.ajax({ $.ajax({
type : "post", type : "post",
url : "/online_report/declare/get12501zb", url : URL + "/online_report/declare/get12501zb",
dataType : "json", dataType : "json",
data:{ data:{
"beans": JSON.stringify(json) "beans": JSON.stringify(json)
...@@ -2644,7 +2644,7 @@ function bindCellClickEvent() { ...@@ -2644,7 +2644,7 @@ function bindCellClickEvent() {
// if("E64" == pos){ // if("E64" == pos){
// var info = ""; // var info = "";
// $.ajax({ // $.ajax({
// url: "/online_report/declare/getSsxdmcList", // url: URL + "/online_report/declare/getSsxdmcList",
// type: "post", // type: "post",
// async:false, // async:false,
// dataType : "json", // dataType : "json",
...@@ -3183,7 +3183,7 @@ function bindCellClickEvent() { ...@@ -3183,7 +3183,7 @@ function bindCellClickEvent() {
var arr = []; var arr = [];
$.ajax({ $.ajax({
type: "post", type: "post",
url: "/online_report/declare/getSsxd", url: URL + "/online_report/declare/getSsxd",
dataType: "json", dataType: "json",
async: false, async: false,
data: { data: {
...@@ -3467,7 +3467,7 @@ function bindValueChanged() { ...@@ -3467,7 +3467,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: "/online_report/declare/getClscjxByXzqhData", url: URL + "/online_report/declare/getClscjxByXzqhData",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { data: {
...@@ -3485,7 +3485,7 @@ function bindValueChanged() { ...@@ -3485,7 +3485,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: "/online_report/declare/getCcsswjgdmData", url: URL + "/online_report/declare/getCcsswjgdmData",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { data: {
...@@ -4017,7 +4017,7 @@ function bindValueChanged() { ...@@ -4017,7 +4017,7 @@ function bindValueChanged() {
setCellValue(activeSheetIndex, row, 12, info.newValue.split(" ")[2]); setCellValue(activeSheetIndex, row, 12, info.newValue.split(" ")[2]);
}else{ }else{
$.ajax({ $.ajax({
url: "/online_report/declare/getCountryList", url: URL + "/online_report/declare/getCountryList",
type: "post", type: "post",
async:false, async:false,
dataType : "json", dataType : "json",
...@@ -4036,7 +4036,7 @@ function bindValueChanged() { ...@@ -4036,7 +4036,7 @@ function bindValueChanged() {
} }
// $.ajax({ // $.ajax({
// url: "/online_report/declare/getSsxdmcList", // url: URL + "/online_report/declare/getSsxdmcList",
// type: "post", // type: "post",
// dataType : "json", // dataType : "json",
// data: { // data: {
...@@ -4409,7 +4409,7 @@ function bindValueChanged() { ...@@ -4409,7 +4409,7 @@ function bindValueChanged() {
} }
if("I" == pos1_ && info.newValue){ if("I" == pos1_ && info.newValue){
$.ajax({ $.ajax({
url: "/online_report/declare/getSyseList", url: URL + "/online_report/declare/getSyseList",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { data: {
...@@ -4424,7 +4424,7 @@ function bindValueChanged() { ...@@ -4424,7 +4424,7 @@ function bindValueChanged() {
} }
if (pos1_ == 'H' && info.newValue) { if (pos1_ == 'H' && info.newValue) {
$.ajax({ $.ajax({
url: "/online_report/declare/getZszmByZspmData", url: URL + "/online_report/declare/getZszmByZspmData",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { data: {
...@@ -6026,7 +6026,7 @@ function bindValueChanged() { ...@@ -6026,7 +6026,7 @@ function bindValueChanged() {
if(info.newValue){ if(info.newValue){
var xzhqDm = info.newValue.split(" ")[0]; var xzhqDm = info.newValue.split(" ")[0];
$.ajax({ $.ajax({
url: "/online_report/declare/getClscjxByXzqhData", url: URL + "/online_report/declare/getClscjxByXzqhData",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { data: {
...@@ -6267,7 +6267,7 @@ function bindValueChanged() { ...@@ -6267,7 +6267,7 @@ function bindValueChanged() {
$.ajax({ $.ajax({
type : "post", type : "post",
url : "/online_report/declare/getCcsswjgdmData", url : URL + "/online_report/declare/getCcsswjgdmData",
data: { data: {
zspmDm: zspmDm zspmDm: zspmDm
}, },
...@@ -6292,7 +6292,7 @@ function bindValueChanged() { ...@@ -6292,7 +6292,7 @@ function bindValueChanged() {
if(info.newValue){ if(info.newValue){
var xzhqDm = info.newValue.split(" ")[0]; var xzhqDm = info.newValue.split(" ")[0];
$.ajax({ $.ajax({
url: "/online_report/declare/getClscjxByXzqhData", url: URL + "/online_report/declare/getClscjxByXzqhData",
type: "post", type: "post",
dataType : "json", dataType : "json",
data: { data: {
...@@ -7137,7 +7137,7 @@ function bindValueChanged() { ...@@ -7137,7 +7137,7 @@ function bindValueChanged() {
console.log(info.newValue.split(" ")[0]) console.log(info.newValue.split(" ")[0])
$.ajax({ $.ajax({
type : "post", type : "post",
url : "/online_report/declare/get12502_001Beanspm", url : URL + "/online_report/declare/get12502_001Beanspm",
dataType : "json", dataType : "json",
data:{ data:{
"wrlb": info.newValue.split(" ")[0], "wrlb": info.newValue.split(" ")[0],
...@@ -7217,7 +7217,7 @@ function getSlByZspmZszmFor12501(zspm,zszm){ ...@@ -7217,7 +7217,7 @@ function getSlByZspmZszmFor12501(zspm,zszm){
// 税率带入值 // 税率带入值
$.ajax({ $.ajax({
type : "post", type : "post",
url : "/online_report/declare/get12501_002sl", url : URL + "/online_report/declare/get12501_002sl",
dataType : "json", dataType : "json",
async : false, async : false,
data:{ data:{
...@@ -7242,7 +7242,7 @@ function getWrdlzByZspmZszm(zspm,zszm){ ...@@ -7242,7 +7242,7 @@ function getWrdlzByZspmZszm(zspm,zszm){
var wrdlz = 0; var wrdlz = 0;
$.ajax({ $.ajax({
type : "post", type : "post",
url : "/online_report/declare/getwrdlz", url : URL + "/online_report/declare/getwrdlz",
dataType : "json", dataType : "json",
async : false, async : false,
data:{ data:{
...@@ -7268,7 +7268,7 @@ function getZszmByZspm(zspm){ ...@@ -7268,7 +7268,7 @@ function getZszmByZspm(zspm){
var arr = []; var arr = [];
$.ajax({ $.ajax({
type : "post", type : "post",
url : "/online_report/declare/getHbsZszmBean", url : URL + "/online_report/declare/getHbsZszmBean",
dataType : "json", dataType : "json",
async : false, async : false,
data:{ data:{
......
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