Commit 1389cd97 authored by yangyuxin's avatar yangyuxin

online_report 改 涉税

parent 8488329e
......@@ -5,7 +5,7 @@
<title>˰���걨����ɲ������</title>
</head>
<body>
<form id="testForm" action="/online_report/declare/index" method="get">
<form id="testForm" action="/ssfwpt/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="/online_report/amend/index" method="get">
<form id="amendForm" action="/ssfwpt/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="/online_report/overdue/index" method="get">
<form id="overdueForm" action="/ssfwpt/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="/online_report/overdue/index" method="get">
<form id="cancellationForm" action="/ssfwpt/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 = "/online_report/overdue";
// document.getElementById("overdueForm").action = "/ssfwpt/overdue";
// document.getElementById("overdueForm").submit();
// }
// document.getElementById("delcareBtn").onclick = function() {
// document.getElementById("testForm").action = "/online_report/declare";
// document.getElementById("testForm").action = "/ssfwpt/declare";
// document.getElementById("testForm").submit();
// }
// document.getElementById("amendBtn").onclick = function(e) {
// document.getElementById("amendForm").action = "/online_report/amend";
// document.getElementById("amendForm").action = "/ssfwpt/amend";
// document.getElementById("amendForm").submit();
// }
// document.getElementById("cancellationBtn").onclick = function(e) {
// document.getElementById("cancellationForm").action = "/online_report/cancellation";
// document.getElementById("cancellationForm").action = "/ssfwpt/cancellation";
// document.getElementById("cancellationForm").submit();
// }
</script>
......
......@@ -145,7 +145,8 @@
</form>
<script>
// var URL = "http://192.168.105.153:8091";
var URL = "http://192.168.105.153:8091"
// var URL = "http://192.168.105.153:8091"
var URL = "http://192.168.106.17:8091"
var GLOBAL_INITJSON,GLOBAL_JSON,GLOBAL_CACHE_DATA,GLOBAL_TABLE_SPECIAL,GLOBAL_TABLE_FP,gzQtxx;
var param = GetQueryValue("falg");
var address;
......
......@@ -9,7 +9,7 @@
<title>税费申报与缴纳测试入口</title>
</head>
<body>
<form id="testForm" action="/online_report/declare/index" method="get">
<form id="testForm" action="/ssfwpt/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="/online_report/amend/index" method="get">
<form id="amendForm" action="/ssfwpt/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="/online_report/overdue/index" method="get">
<form id="overdueForm" action="/ssfwpt/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="/online_report/overdue/index" method="get">
<form id="cancellationForm" action="/ssfwpt/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 = "/online_report/overdue";
document.getElementById("overdueForm").action = "/ssfwpt/overdue";
document.getElementById("overdueForm").submit();
}
document.getElementById("delcareBtn").onclick = function() {
document.getElementById("testForm").action = "/online_report/declare";
document.getElementById("testForm").action = "/ssfwpt/declare";
document.getElementById("testForm").submit();
}
document.getElementById("amendBtn").onclick = function(e) {
document.getElementById("amendForm").action = "/online_report/amend";
document.getElementById("amendForm").action = "/ssfwpt/amend";
document.getElementById("amendForm").submit();
}
document.getElementById("cancellationBtn").onclick = function(e) {
document.getElementById("cancellationForm").action = "/online_report/cancellation";
document.getElementById("cancellationForm").action = "/ssfwpt/cancellation";
document.getElementById("cancellationForm").submit();
}
</script>
......
......@@ -130,7 +130,7 @@ function initPage(companyInfo) {
var falg = "amend";
$.ajax({
type: "POST",
// url: url + "/online_report/amend/toGzPzzl",
// url: url + "/ssfwpt/amend/toGzPzzl",
url: url + "/ssfwpt/amend/toGzPzzl",
dataType: "json", // 请求方式为jsonp
data: {
......@@ -234,7 +234,7 @@ function initPage(companyInfo) {
// TODO 开始加载等待动画
showLoading();
$.ajax({
// url: url + "/online_report/amend/getPzzlList", // 查询接口
// url: url + "/ssfwpt/amend/getPzzlList", // 查询接口
url: url + "/ssfwpt/amend/getPzzlList",
data: param,
type: "POST",
......
......@@ -200,7 +200,7 @@ function initPage(companyInfo) {
isFresh: type.toUpperCase() == "Y"
}
$.ajax({
// url: url + "/online_report/declare/getPzzlList",
// url: url + "/ssfwpt/declare/getPzzlList",
url: url + "/ssfwpt/declare/getPzzlList",
data: param,
type: "POST",
......@@ -280,7 +280,7 @@ function initPage(companyInfo) {
var falg = "declare";
$.ajax({
type: "POST",
// url: url + "/online_report/declare/toPzzl",
// url: url + "/ssfwpt/declare/toPzzl",
url: url + "/ssfwpt/declare/toPzzl",
dataType: "json", // 请求方式为jsonp
data: {
......
......@@ -152,7 +152,7 @@ function initPage(companyInfo) {
pzzlDm:companyInfo.pzzlDm
}
$.ajax({
// url: url + "/online_report/declare/getPzzlList",
// url: url + "/ssfwpt/declare/getPzzlList",
url: url + "/ssfwpt/declare/getPzzlList",
data: param,
type: "POST",
......@@ -239,7 +239,7 @@ function initPage(companyInfo) {
var falg = "declare";
$.ajax({
type: "POST",
// url: url + "/online_report/declare/toPzzl",
// url: url + "/ssfwpt/declare/toPzzl",
url: url + "/ssfwpt/declare/toPzzl",
dataType: "json", // 请求方式为jsonp
data: {
......
......@@ -198,7 +198,7 @@ function initPage(companyInfo) {
operateType:operateType
}
$.ajax({
// url: url + "/online_report/declare/getPzzlList",
// url: url + "/ssfwpt/declare/getPzzlList",
url: url + "/ssfwpt/declare/getPzzlList",
data: param,
type: "POST",
......@@ -250,7 +250,7 @@ function initPage(companyInfo) {
var falg = "declare";
$.ajax({
type: "POST",
// url: url + "/online_report/declare/toPzzl",
// url: url + "/ssfwpt/declare/toPzzl",
url: url + "/ssfwpt/declare/toPzzl",
dataType: "json", // 请求方式为jsonp
data: {
......
......@@ -143,7 +143,7 @@ function initPage(companyInfo) {
var getTaxAmendData = function(param) {
// TODO 开始加载等待动画
$.ajax({
url: "/online_report/declare/getPzzlList",
url: "/ssfwpt/declare/getPzzlList",
data: {
token: token,
date: date
......
......@@ -148,7 +148,7 @@ function initPage(companyInfo) {
var getTaxScottareData = function(param) {
// TODO 开始加载等待动画
$.ajax({
url: "/online_report/declare/getPzzlList",
url: "/ssfwpt/declare/getPzzlList",
data: {
token: token,
date: date
......
......@@ -1173,7 +1173,7 @@ function isSqwsb() {
$.ajax({
type : "post",
url : URL +"/online_report/declare/getZzsZt",
url : URL +"/ssfwpt/declare/getZzsZt",
dataType : "json",
data:{
"djxh": djxh,
......@@ -1280,7 +1280,7 @@ function dj(msg){
$.ajax({
type : "post",
url : URL +"/online_report/declare/sendZzsZt",
url : URL +"/ssfwpt/declare/sendZzsZt",
dataType : "json",
data:{
"sfgx": ispoint,
......@@ -1316,7 +1316,7 @@ function statement10101_001_10(){
$.ajax({
type : "post",
url : URL +"/online_report/declare/getGovernmentWebsite",
url : URL +"/ssfwpt/declare/getGovernmentWebsite",
dataType : "json",
data:{
"djxh": djxh,
......@@ -1359,7 +1359,7 @@ function statement10101_001_15(){
$.ajax({
type : "post",
url : URL +"/online_report/declare/getGovernmentWebsite",
url : URL +"/ssfwpt/declare/getGovernmentWebsite",
dataType : "json",
data:{
"djxh": djxh,
......
......@@ -735,7 +735,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
spread.options.highlightInvalidData = false;
}
showLoading();
var url = URL +"/online_report/declare/save";
var url = URL +"/ssfwpt/declare/save";
if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){
pagedata.operateType = 6;
}else{
......@@ -743,16 +743,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
}
if (operateType == 4) {
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
pagedata.qtxx = gzQtxx.qtxx;
}
if("shenbao" == isshenbao){
pagedata.operateType = null;
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
}
if(true == isZcfxtx){
url = URL +"/online_report/declare/zcfxts";
url = URL +"/ssfwpt/declare/zcfxts";
}
if (operateType == 3) {
......@@ -907,7 +907,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
spread.options.highlightInvalidData = false;
}
showLoading();
var url = URL +"/online_report/declare/save";
var url = URL +"/ssfwpt/declare/save";
if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){
pagedata.operateType = 6;
}else{
......@@ -915,16 +915,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
}
if (operateType == 4) {
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
pagedata.qtxx = gzQtxx.qtxx;
}
if("shenbao" == isshenbao){
pagedata.operateType = null;
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
}
if(true == isZcfxtx){
url = URL +"/online_report/declare/zcfxts";
url = URL +"/ssfwpt/declare/zcfxts";
}
if (operateType == 3) {
......@@ -1079,7 +1079,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
spread.options.highlightInvalidData = false;
}
showLoading();
var url = URL +"/online_report/declare/save";
var url = URL +"/ssfwpt/declare/save";
if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){
pagedata.operateType = 6;
}else{
......@@ -1087,16 +1087,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
}
if (operateType == 4) {
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
pagedata.qtxx = gzQtxx.qtxx;
}
if("shenbao" == isshenbao){
pagedata.operateType = null;
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
}
if(true == isZcfxtx){
url = URL +"/online_report/declare/zcfxts";
url = URL +"/ssfwpt/declare/zcfxts";
}
if (operateType == 3) {
......@@ -1251,7 +1251,7 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
spread.options.highlightInvalidData = false;
}
showLoading();
var url = URL +"/online_report/declare/save";
var url = URL +"/ssfwpt/declare/save";
if(localStorage["cancellation"] && "cancellation" == localStorage["cancellation"]){
pagedata.operateType = 6;
}else{
......@@ -1259,16 +1259,16 @@ function saveData(operateType,isshenbao,isZcfxtx,isconfirm) {
}
if (operateType == 4) {
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
pagedata.qtxx = gzQtxx.qtxx;
}
if("shenbao" == isshenbao){
pagedata.operateType = null;
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
}
if(true == isZcfxtx){
url = URL +"/online_report/declare/zcfxts";
url = URL +"/ssfwpt/declare/zcfxts";
}
if (operateType == 3) {
......
......@@ -714,7 +714,7 @@ function get11901Info(){
// 给11901_001所属行业下拉框赋值
$.ajax({
url: URL +"/online_report/declare/getHydmList",
url: URL +"/ssfwpt/declare/getHydmList",
type: "post",
dataType : "json",
data: { },
......@@ -733,7 +733,7 @@ function get11901Info(){
})
// 登记注册类型下拉框
$.ajax({
url: URL +"/online_report/declare/getDjzclxList",
url: URL +"/ssfwpt/declare/getDjzclxList",
type: "post",
dataType : "json",
data: { },
......@@ -2681,6 +2681,7 @@ function getYhsData(flag) {
startRowIndex++
}
var Item = List[i];
console.log(Item)
setCellValue(0, startRowIndex, 2, (Item.zspmDm + ' ' + Item.zspmMc));
if(Item.zspmDm == "101110501"){
setCellValue(0, startRowIndex, 9, "0009129906");
......@@ -3585,7 +3586,7 @@ function get10426Jmxz(flag){
// var jmxz;
// $.ajax({
// type: "post",
// url: URL +"/online_report/declare/getJmxzList",
// url: URL +"/ssfwpt/declare/getJmxzList",
// dataType: "json",
// async: false,
// success: function(data){
......@@ -3721,7 +3722,7 @@ function get10426Jmxz(flag){
setCellValue(sheetIndex_002, startIndex, 3, qtjgnsrmc ? qtjgnsrmc : "");
$.ajax({
type: "post",
url: URL +"/online_report/declare/getXzqhList",
url: URL +"/ssfwpt/declare/getXzqhList",
dataType: "json",
data: {
code: qtjgcsxzqh
......@@ -3764,7 +3765,7 @@ function get10426Jmxz(flag){
if(zyjgcsxzqh && sheetIndex_002){
$.ajax({
type: "post",
url: URL +"/online_report/declare/getXzqhList",
url: URL +"/ssfwpt/declare/getXzqhList",
dataType: "json",
data: {
code: zyjgcsxzqh
......@@ -4004,7 +4005,7 @@ function get10425Info(){
var jmxz;
$.ajax({
type: "post",
url: URL +"/online_report/declare/getJmxzList",
url: URL +"/ssfwpt/declare/getJmxzList",
dataType: "json",
async: false,
success: function(data){
......@@ -4899,7 +4900,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 +"/online_report/declare/getCountryList",
url: URL +"/ssfwpt/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 +"/online_report/declare/getCountryList",
url: URL +"/ssfwpt/declare/getCountryList",
type: "post",
async:false,
dataType : "json",
......@@ -196,7 +196,7 @@ function get10427Info(index){
}
})
$.ajax({
url: URL +"/online_report/declare/getSsxdmcList",
url: URL +"/ssfwpt/declare/getSsxdmcList",
type: "post",
async:false,
dataType : "json",
......@@ -1147,7 +1147,7 @@ function get12402SbJkNsName(type,dm,col,row,index){
}
$.ajax({
type: "post",
url: URL +"/online_report/declare/getCcsqxdmList",
url: URL +"/ssfwpt/declare/getCcsqxdmList",
dataType: "json",
data: obj,
success: function(data){
......@@ -1172,7 +1172,7 @@ function get12402ZgswsKFJ(dm,col,tablename){
}
$.ajax({
type: "post",
url: URL +"/online_report/declare/getCcsswjgdmData",
url: URL +"/ssfwpt/declare/getCcsswjgdmData",
dataType: "json",
data: obj,
success: function(data){
......@@ -1644,7 +1644,7 @@ function get12501MergeInfo(name){
$.ajax({
type : "post",
url : URL +"/online_report/declare/get12501zb",
url : URL +"/ssfwpt/declare/get12501zb",
dataType : "json",
data:{
"beans": JSON.stringify(json)
......@@ -2645,7 +2645,7 @@ function bindCellClickEvent() {
// if("E64" == pos){
// var info = "";
// $.ajax({
// url: URL +"/online_report/declare/getSsxdmcList",
// url: URL +"/ssfwpt/declare/getSsxdmcList",
// type: "post",
// async:false,
// dataType : "json",
......@@ -3184,7 +3184,7 @@ function bindCellClickEvent() {
var arr = [];
$.ajax({
type: "post",
url: URL +"/online_report/declare/getSsxd",
url: URL +"/ssfwpt/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 +"/online_report/declare/getClscjxByXzqhData",
url: URL +"/ssfwpt/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 +"/online_report/declare/getCcsswjgdmData",
url: URL +"/ssfwpt/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 +"/online_report/declare/getCountryList",
url: URL +"/ssfwpt/declare/getCountryList",
type: "post",
async:false,
dataType : "json",
......@@ -4037,7 +4037,7 @@ function bindValueChanged() {
}
// $.ajax({
// url: URL +"/online_report/declare/getSsxdmcList",
// url: URL +"/ssfwpt/declare/getSsxdmcList",
// type: "post",
// dataType : "json",
// data: {
......@@ -4440,7 +4440,7 @@ function bindValueChanged() {
}
if("I" == pos1_ && info.newValue){
$.ajax({
url: URL +"/online_report/declare/getSyseList",
url: URL +"/ssfwpt/declare/getSyseList",
type: "post",
dataType : "json",
data: {
......@@ -4455,7 +4455,7 @@ function bindValueChanged() {
}
if (pos1_ == 'H' && info.newValue) {
$.ajax({
url: URL +"/online_report/declare/getZszmByZspmData",
url: URL +"/ssfwpt/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 +"/online_report/declare/getClscjxByXzqhData",
url: URL +"/ssfwpt/declare/getClscjxByXzqhData",
type: "post",
dataType : "json",
data: {
......@@ -6302,7 +6302,7 @@ function bindValueChanged() {
$.ajax({
type : "post",
url : URL +"/online_report/declare/getCcsswjgdmData",
url : URL +"/ssfwpt/declare/getCcsswjgdmData",
data: {
zspmDm: zspmDm
},
......@@ -6327,7 +6327,7 @@ function bindValueChanged() {
if(info.newValue){
var xzhqDm = info.newValue.split(" ")[0];
$.ajax({
url: URL +"/online_report/declare/getClscjxByXzqhData",
url: URL +"/ssfwpt/declare/getClscjxByXzqhData",
type: "post",
dataType : "json",
data: {
......@@ -7172,7 +7172,7 @@ function bindValueChanged() {
console.log(info.newValue.split(" ")[0])
$.ajax({
type : "post",
url : URL +"/online_report/declare/get12502_001Beanspm",
url : URL +"/ssfwpt/declare/get12502_001Beanspm",
dataType : "json",
data:{
"wrlb": info.newValue.split(" ")[0],
......@@ -7252,7 +7252,7 @@ function getSlByZspmZszmFor12501(zspm,zszm){
// 税率带入值
$.ajax({
type : "post",
url : URL +"/online_report/declare/get12501_002sl",
url : URL +"/ssfwpt/declare/get12501_002sl",
dataType : "json",
async : false,
data:{
......@@ -7277,7 +7277,7 @@ function getWrdlzByZspmZszm(zspm,zszm){
var wrdlz = 0;
$.ajax({
type : "post",
url : URL +"/online_report/declare/getwrdlz",
url : URL +"/ssfwpt/declare/getwrdlz",
dataType : "json",
async : false,
data:{
......@@ -7303,7 +7303,7 @@ function getZszmByZspm(zspm){
var arr = [];
$.ajax({
type : "post",
url : URL +"/online_report/declare/getHbsZszmBean",
url : URL +"/ssfwpt/declare/getHbsZszmBean",
dataType : "json",
async : false,
data:{
......
......@@ -94,7 +94,7 @@ function selectNb() {
var selectTableArr = getSelect_10414_002(); // 获取被选中的表
$.ajax({
type: "POST",
url: URL +"/online_report/declare/save",
url: URL +"/ssfwpt/declare/save",
data: {
data: JSON.stringify(NB_cache_data)
},
......@@ -1312,16 +1312,16 @@ function saveData(operateType,isZcfxtx) {
spread.options.highlightInvalidData = false;
}
showLoading();
var url = URL +"/online_report/declare/save";
var url = URL +"/ssfwpt/declare/save";
pagedata.operateType = operateType;
if (operateType == 4) {
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
}
if (isGZflag) {
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
}
if (true == isZcfxtx) {
url = URL +"/online_report/declare/zcfxts";
url = URL +"/ssfwpt/declare/zcfxts";
}
if (operateType == 3) {
if(localStorage["isZcfxFlag"] && "true" == localStorage["isZcfxFlag"]){
......@@ -1522,13 +1522,13 @@ function saveData_003(operateType) {
spread.options.highlightInvalidData = false;
}
// showLoading();
var url = URL +"/online_report/declare/save";
var url = URL +"/ssfwpt/declare/save";
pagedata.operateType = operateType;
if (operateType == 4) {
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
}
if (isGZflag) {
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
}
pagedata.data = GLOBAL_INITJSON; //更正保存增加参数--20181225 ygy
console.log("■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■");
......
......@@ -336,7 +336,7 @@ function bindValueChanged() {
// var arr = [];
// $.ajax({
// type: "post",
// url: URL +"/online_report/declare/getFylyxmd2019List",
// url: URL +"/ssfwpt/declare/getFylyxmd2019List",
// dataType: "json",
// async: false,
// data: {},
......@@ -868,7 +868,7 @@ function bindNbCellClickEvent() {
// var arr = [];
// $.ajax({
// type: "post",
// url: URL +"/online_report/declare/getFylyxmd2019List",
// url: URL +"/ssfwpt/declare/getFylyxmd2019List",
// dataType: "json",
// async: false,
// data: {},
......@@ -1177,7 +1177,7 @@ function getDmbList(lx, dm) {
var list = []
$.ajax({
type: "POST",
url: URL +"/online_report/declare/getGxjslyList",
url: URL +"/ssfwpt/declare/getGxjslyList",
data: {
level: lx,
code: dm
......@@ -1458,7 +1458,7 @@ function compare10414_027(index){
var arr = [];
$.ajax({
type: "post",
url: URL +"/online_report/declare/getFylyxmd2019List",
url: URL +"/ssfwpt/declare/getFylyxmd2019List",
dataType: "json",
async: false,
data: {},
......@@ -1843,7 +1843,7 @@ function getSwjgDm(lx, dm) {
},
dataType: "json",
type: 'POST',
url: URL +'/online_report/declare/getCcsswjgdmData',
url: URL +'/ssfwpt/declare/getCcsswjgdmData',
success: function (data) {
// console.log(data);
var html = '';
......
......@@ -106,7 +106,7 @@ function selectNb() {
NB_cache_data.data = GLOBAL_INITJSON; //更正保存增加参数--20181225 ygy
$.ajax({
type: "POST",
url: URL +"/online_report/declare/save",
url: URL +"/ssfwpt/declare/save",
data: {
data: JSON.stringify(NB_cache_data)
},
......@@ -1121,14 +1121,14 @@ function saveData(operateType) {
spread.options.highlightInvalidData = false;
}
showLoading();
var url = URL +"/online_report/declare/save";
var url = URL +"/ssfwpt/declare/save";
pagedata.operateType = operateType;
if (operateType == 4) {
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
}
if(isGZflag){
url = URL +"/online_report/amend/save";
url = URL +"/ssfwpt/amend/save";
}
pagedata.data = GLOBAL_INITJSON; //更正保存增加参数--20181225 ygy
console.log("■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■");
......
......@@ -94,7 +94,7 @@ function getJmxz_019(){
//判断有没有这张表
$.ajax({
type: "POST",
url: URL +"/online_report/declare/getZwbzList",
url: URL +"/ssfwpt/declare/getZwbzList",
dataType: "json",
async: false,
success: function success(datas, textStatus, jqXHR) {
......@@ -120,7 +120,7 @@ function getJmxz_020(){
//判断有没有这张表
$.ajax({
type: "POST",
url: URL +"/online_report/declare/getYwbzList",
url: URL +"/ssfwpt/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 +"/online_report/declare/getHydmList";
var url = URL +"/ssfwpt/declare/getHydmList";
var obj = {
lx: lx,
dm: dm
}
if(isShengJi){
url = URL +"/online_report/declare/getDjsList";
url = URL +"/ssfwpt/declare/getDjsList";
obj = {
shengJiDm: dm
}
}
if(isGuanLian){
url = URL +"/online_report/declare/getglgxList";
url = URL +"/ssfwpt/declare/getglgxList";
obj = {
lx: lx,
dm: dm
}
}
if (isGuanLian && (dm == "10420_006" || dm == "10420_008")) {
url = URL +"/online_report/declare/getGljynr";
url = URL +"/ssfwpt/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