Commit e1bd80ce authored by zqm's avatar zqm

1.集成2.0配置公共接口

parent 55e9f510
...@@ -220,7 +220,10 @@ function initPage(companyInfo) { ...@@ -220,7 +220,10 @@ function initPage(companyInfo) {
checkTaxTable: "/tax_service/report_data_validate", //表间校验 checkTaxTable: "/tax_service/report_data_validate", //表间校验
declareTable: "/tax_service/declare", //申报 declareTable: "/tax_service/declare", //申报
downloadFile: "/tax_service/load_declare_file", //下载申报文件接口 downloadFile: "/tax_service/load_declare_file", //下载申报文件接口
correctTax: "/tax_service/get_gz_tax_and_declare" //更正接口 correctTax: "/tax_service/get_gz_tax_and_declare", //更正接口
modalSave: "/tax_service/save_pop", //弹窗保存状态
modalInquire: "/tax_service/sel_pop", //弹窗查询状态
modalRemove: "/tax_service/del_pop", //删除弹窗
} }
}; };
data.sfyhzctsBz = sfyhzctsBz //首次进表标志 data.sfyhzctsBz = sfyhzctsBz //首次进表标志
......
...@@ -5,7 +5,7 @@ var ccxwsBblxDm = ['12101'] ...@@ -5,7 +5,7 @@ var ccxwsBblxDm = ['12101']
var Author; var Author;
var prefix = ""; var prefix = "";
$(function() { $(function() {
if (config.environmental == 'test' || config.environmental =='preProduce') { if (config.environmental == 'test' || config.environmental == 'preProduce') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
...@@ -37,11 +37,11 @@ function getInitTable() { ...@@ -37,11 +37,11 @@ function getInitTable() {
if (companyInfo.returnCode == "00") { if (companyInfo.returnCode == "00") {
zjhm = companyInfo.content.zjhm zjhm = companyInfo.content.zjhm
Author = companyInfo.content.value Author = companyInfo.content.value
// var sbsq = companyInfo.content.sbsq.replace('-',''); // var sbsq = companyInfo.content.sbsq.replace('-','');
// if (companyInfo.content.sfyhzctsBz == 'Y'&&sbsq<='202104') { // if (companyInfo.content.sfyhzctsBz == 'Y'&&sbsq<='202104') {
// myAlert("提示", "尊敬的纳税人、缴费人,为进一步巩固拓展减税降费成效,助力市场主体纾困解难,对部分2020年底到期税费优惠政策(不包括社会保险费),您可暂按原政策文件规定申报享受优惠(原减免性质代码可继续使用)。详细情况可咨询主管税务分局、税务所或12366纳税服务热线。感谢您的理解与支持!!", "确定"); // myAlert("提示", "尊敬的纳税人、缴费人,为进一步巩固拓展减税降费成效,助力市场主体纾困解难,对部分2020年底到期税费优惠政策(不包括社会保险费),您可暂按原政策文件规定申报享受优惠(原减免性质代码可继续使用)。详细情况可咨询主管税务分局、税务所或12366纳税服务热线。感谢您的理解与支持!!", "确定");
// } // }
// tool.hjDialog(companyInfo.content.djxh)出口退税暂不上线 // tool.hjDialog(companyInfo.content.djxh)出口退税暂不上线
config.value = companyInfo.content.value // 不一定对 config.value = companyInfo.content.value // 不一定对
companyInfo.content.config = config companyInfo.content.config = config
initpage = initPage(companyInfo.content); initpage = initPage(companyInfo.content);
...@@ -284,7 +284,10 @@ function initPage(companyInfo) { ...@@ -284,7 +284,10 @@ function initPage(companyInfo) {
deleteTable: "/tax_service/delete_single_sbb_info", //删除 deleteTable: "/tax_service/delete_single_sbb_info", //删除
checkTaxTable: "/tax_service/report_data_validate", //表间校验 checkTaxTable: "/tax_service/report_data_validate", //表间校验
declareTable: "/tax_service/declare", //申报 declareTable: "/tax_service/declare", //申报
downloadFile: "/tax_service/load_declare_file" //下载申报文件接口 downloadFile: "/tax_service/load_declare_file", //下载申报文件接口
modalSave: "/tax_service/save_pop", //弹窗保存状态
modalInquire: "/tax_service/sel_pop", //弹窗查询状态
modalRemove: "/tax_service/del_pop", //删除弹窗
} }
}; };
data.fillingFlag = "cancellation" // 填报标记 data.fillingFlag = "cancellation" // 填报标记
...@@ -461,7 +464,10 @@ function initPage(companyInfo) { ...@@ -461,7 +464,10 @@ function initPage(companyInfo) {
deleteTable: "/tax_service/delete_single_sbb_info", //删除 deleteTable: "/tax_service/delete_single_sbb_info", //删除
checkTaxTable: "/tax_service/report_data_validate", //表间校验 checkTaxTable: "/tax_service/report_data_validate", //表间校验
declareTable: "/tax_service/declare", //申报 declareTable: "/tax_service/declare", //申报
downloadFile: "/tax_service/load_declare_file" //下载申报文件接口 downloadFile: "/tax_service/load_declare_file", //下载申报文件接口
modalSave: "/tax_service/save_pop", //弹窗保存状态
modalInquire: "/tax_service/sel_pop", //弹窗查询状态
modalRemove: "/tax_service/del_pop", //删除弹窗
} }
}; };
data.fillingFlag = "cancellation" // 填报标记 data.fillingFlag = "cancellation" // 填报标记
......
...@@ -5,7 +5,7 @@ var yearBblxDm = ['10414', '10420']; ...@@ -5,7 +5,7 @@ var yearBblxDm = ['10414', '10420'];
var sfyhzctsBz = ""; var sfyhzctsBz = "";
var prefix = ""; var prefix = "";
$(function() { $(function() {
if (config.environmental == 'test' || config.environmental =='preProduce') { if (config.environmental == 'test' || config.environmental == 'preProduce') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
...@@ -35,10 +35,10 @@ function getInitTable() { ...@@ -35,10 +35,10 @@ function getInitTable() {
// tool.hjDialog(companyInfo.bean.djxh)出口退税暂不上线 // tool.hjDialog(companyInfo.bean.djxh)出口退税暂不上线
zjhm = companyInfo.bean.zjhm zjhm = companyInfo.bean.zjhm
sfyhzctsBz = companyInfo.bean.sfyhzctsBz sfyhzctsBz = companyInfo.bean.sfyhzctsBz
// var sbsq = companyInfo.bean.sbsq.replace('-',''); // var sbsq = companyInfo.bean.sbsq.replace('-','');
// if (companyInfo.bean.sfyhzctsBz == 'Y'&&sbsq<='202104') { // if (companyInfo.bean.sfyhzctsBz == 'Y'&&sbsq<='202104') {
// myAlert("提示", "尊敬的纳税人、缴费人,为进一步巩固拓展减税降费成效,助力市场主体纾困解难,对部分2020年底到期税费优惠政策(不包括社会保险费),您可暂按原政策文件规定申报享受优惠(原减免性质代码可继续使用)。详细情况可咨询主管税务分局、税务所或12366纳税服务热线。感谢您的理解与支持!!", "确定"); // myAlert("提示", "尊敬的纳税人、缴费人,为进一步巩固拓展减税降费成效,助力市场主体纾困解难,对部分2020年底到期税费优惠政策(不包括社会保险费),您可暂按原政策文件规定申报享受优惠(原减免性质代码可继续使用)。详细情况可咨询主管税务分局、税务所或12366纳税服务热线。感谢您的理解与支持!!", "确定");
// } // }
config.value = companyInfo.bean.value config.value = companyInfo.bean.value
companyInfo.bean.config = config companyInfo.bean.config = config
companyInfo.bean.return = true; /* @Author ygy @Date 10:12 2020/7/8 @Description 前端判断接口成功返回数据标记用于区分是否执行初始化table方法*/ companyInfo.bean.return = true; /* @Author ygy @Date 10:12 2020/7/8 @Description 前端判断接口成功返回数据标记用于区分是否执行初始化table方法*/
...@@ -265,7 +265,10 @@ function initPage(companyInfo) { ...@@ -265,7 +265,10 @@ function initPage(companyInfo) {
deleteTable: "/tax_service/delete_single_sbb_info", //删除 deleteTable: "/tax_service/delete_single_sbb_info", //删除
checkTaxTable: "/tax_service/report_data_validate", //表间校验 checkTaxTable: "/tax_service/report_data_validate", //表间校验
declareTable: "/tax_service/declare", //申报 declareTable: "/tax_service/declare", //申报
downloadFile: "/tax_service/load_declare_file" //下载申报文件接口 downloadFile: "/tax_service/load_declare_file", //下载申报文件接口
modalSave: "/tax_service/save_pop", //弹窗保存状态
modalInquire: "/tax_service/sel_pop", //弹窗查询状态
modalRemove: "/tax_service/del_pop", //删除弹窗
} }
}; };
data.sfyhzctsBz = sfyhzctsBz //首次进表标志 data.sfyhzctsBz = sfyhzctsBz //首次进表标志
...@@ -542,7 +545,10 @@ function initPage(companyInfo) { ...@@ -542,7 +545,10 @@ function initPage(companyInfo) {
deleteTable: "/tax_service/delete_single_sbb_info", //删除 deleteTable: "/tax_service/delete_single_sbb_info", //删除
checkTaxTable: "/tax_service/report_data_validate", //表间校验 checkTaxTable: "/tax_service/report_data_validate", //表间校验
declareTable: "/tax_service/declare", //申报 declareTable: "/tax_service/declare", //申报
downloadFile: "/tax_service/load_declare_file" //下载申报文件接口 downloadFile: "/tax_service/load_declare_file", //下载申报文件接口
modalSave: "/tax_service/save_pop", //弹窗保存状态
modalInquire: "/tax_service/sel_pop", //弹窗查询状态
modalRemove: "/tax_service/del_pop", //删除弹窗
} }
}; };
submitData.fillingFlag = "normal" // 填报标记 submitData.fillingFlag = "normal" // 填报标记
......
...@@ -13,7 +13,7 @@ var prefix = ""; ...@@ -13,7 +13,7 @@ var prefix = "";
var AuthorizationBz = "" var AuthorizationBz = ""
var operateType = ""; var operateType = "";
$(function() { $(function() {
if (config.environmental == 'test' || config.environmental =='preProduce') { if (config.environmental == 'test' || config.environmental == 'preProduce') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
...@@ -45,11 +45,11 @@ function getInitTable() { ...@@ -45,11 +45,11 @@ function getInitTable() {
if (companyInfo.success) { if (companyInfo.success) {
operateType = companyInfo.bean.operateType; operateType = companyInfo.bean.operateType;
config.value = companyInfo.bean.value config.value = companyInfo.bean.value
// var sbsq = companyInfo.bean.sbsq.replace('-',''); // var sbsq = companyInfo.bean.sbsq.replace('-','');
// if (companyInfo.bean.sfyhzctsBz == 'Y'&&sbsq<='202104') { // if (companyInfo.bean.sfyhzctsBz == 'Y'&&sbsq<='202104') {
// myAlert("提示", "尊敬的纳税人、缴费人,为进一步巩固拓展减税降费成效,助力市场主体纾困解难,对部分2020年底到期税费优惠政策(不包括社会保险费),您可暂按原政策文件规定申报享受优惠(原减免性质代码可继续使用)。详细情况可咨询主管税务分局、税务所或12366纳税服务热线。感谢您的理解与支持!!", "确定"); // myAlert("提示", "尊敬的纳税人、缴费人,为进一步巩固拓展减税降费成效,助力市场主体纾困解难,对部分2020年底到期税费优惠政策(不包括社会保险费),您可暂按原政策文件规定申报享受优惠(原减免性质代码可继续使用)。详细情况可咨询主管税务分局、税务所或12366纳税服务热线。感谢您的理解与支持!!", "确定");
// } // }
// tool.hjDialog(companyInfo.bean.djxh)出口退税暂不上线 // tool.hjDialog(companyInfo.bean.djxh)出口退税暂不上线
companyInfo.bean.config = config companyInfo.bean.config = config
companyInfo.bean.return = true; companyInfo.bean.return = true;
AuthorizationBz = companyInfo.bean.value AuthorizationBz = companyInfo.bean.value
...@@ -279,7 +279,10 @@ function initPage(companyInfo) { ...@@ -279,7 +279,10 @@ function initPage(companyInfo) {
deleteTable: "/tax_service/delete_single_sbb_info", //删除 deleteTable: "/tax_service/delete_single_sbb_info", //删除
checkTaxTable: "/tax_service/report_data_validate", //表间校验 checkTaxTable: "/tax_service/report_data_validate", //表间校验
declareTable: "/tax_service/declare", //申报 declareTable: "/tax_service/declare", //申报
downloadFile: "/tax_service/load_declare_file" //下载申报文件接口 downloadFile: "/tax_service/load_declare_file", //下载申报文件接口
modalSave: "/tax_service/save_pop", //弹窗保存状态
modalInquire: "/tax_service/sel_pop", //弹窗查询状态
modalRemove: "/tax_service/del_pop", //删除弹窗
} }
}; };
data.fillingFlag = "overdue" // 填报标记 data.fillingFlag = "overdue" // 填报标记
...@@ -439,7 +442,10 @@ function initPage(companyInfo) { ...@@ -439,7 +442,10 @@ function initPage(companyInfo) {
deleteTable: "/tax_service/delete_single_sbb_info", //删除 deleteTable: "/tax_service/delete_single_sbb_info", //删除
checkTaxTable: "/tax_service/report_data_validate", //表间校验 checkTaxTable: "/tax_service/report_data_validate", //表间校验
declareTable: "/tax_service/declare", //申报 declareTable: "/tax_service/declare", //申报
downloadFile: "/tax_service/load_declare_file" //下载申报文件接口 downloadFile: "/tax_service/load_declare_file", //下载申报文件接口
modalSave: "/tax_service/save_pop", //弹窗保存状态
modalInquire: "/tax_service/sel_pop", //弹窗查询状态
modalRemove: "/tax_service/del_pop", //删除弹窗
} }
}; };
data.fillingFlag = "overdue" // 填报标记 data.fillingFlag = "overdue" // 填报标记
......
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