Commit f0244c43 authored by zqm's avatar zqm

配置跳转路径以及参数

parent 9df81c9e
...@@ -2,9 +2,10 @@ var zjhm = ''; ...@@ -2,9 +2,10 @@ var zjhm = '';
var initpage; var initpage;
var sbqDate = ''; var sbqDate = '';
var yearBblxDm = ['10414', '10420']; var yearBblxDm = ['10414', '10420'];
var toolsBblxDm = ['10101']
var prefix = ""; var prefix = "";
$(function () { $(function() {
if (config.environmental == 'test') { if (config.environmental == 'test') {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
...@@ -26,7 +27,7 @@ function getInitTable() { ...@@ -26,7 +27,7 @@ function getInitTable() {
sbsq: "", sbsq: "",
pzzlDm: getUrlParam("pzzlDm"), pzzlDm: getUrlParam("pzzlDm"),
}, },
success: function (data) { //客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数 success: function(data) { //客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
hideLoading(); hideLoading();
var companyInfo = data; var companyInfo = data;
if (companyInfo.success) { if (companyInfo.success) {
...@@ -47,7 +48,7 @@ function getInitTable() { ...@@ -47,7 +48,7 @@ function getInitTable() {
} }
} }
if (skssq == '20210930') { if (skssq == '20210930') {
getJjkjTag(djxhbz,companyInfo.bean.sbsq.replace(/\-/g, "")) getJjkjTag(djxhbz, companyInfo.bean.sbsq.replace(/\-/g, ""))
} }
} else { } else {
...@@ -66,18 +67,18 @@ function getInitTable() { ...@@ -66,18 +67,18 @@ function getInitTable() {
initpage = initPage(companyInfo.bean); initpage = initPage(companyInfo.bean);
// 弹出错误对话框 // 弹出错误对话框
} }
$("#getInputValue").on("focus", function () { $("#getInputValue").on("focus", function() {
WdatePicker({ WdatePicker({
isShowClear: false, isShowClear: false,
dateFmt: 'yyyy-MM', dateFmt: 'yyyy-MM',
onpicking: function (dp) { onpicking: function(dp) {
initpage.changeDate(this, dp); initpage.changeDate(this, dp);
} }
}); });
}); });
}, },
error: function (xhr) { error: function(xhr) {
hideLoading(); hideLoading();
//jsonp 方式此方法不被触发 //jsonp 方式此方法不被触发
console.log("=======error======================") console.log("=======error======================")
...@@ -85,7 +86,7 @@ function getInitTable() { ...@@ -85,7 +86,7 @@ function getInitTable() {
}) })
} }
// 获取研发费用加计扣减标志 // 获取研发费用加计扣减标志
function getJjkjTag(djxh,nsrsbq) { function getJjkjTag(djxh, nsrsbq) {
$.ajax({ $.ajax({
type: "post", type: "post",
url: config.url + "/online/zxtb/get_yffyjjkcbz", url: config.url + "/online/zxtb/get_yffyjjkcbz",
...@@ -93,12 +94,12 @@ function getJjkjTag(djxh,nsrsbq) { ...@@ -93,12 +94,12 @@ function getJjkjTag(djxh,nsrsbq) {
// async: false // async: false
data: { data: {
djxh: djxh, djxh: djxh,
nsrsbq:nsrsbq nsrsbq: nsrsbq
}, },
success: function (data) { //客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数 success: function(data) { //客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
hideLoading(); hideLoading();
var companyInfo = data; var companyInfo = data;
if (companyInfo.returnCode=='00') { if (companyInfo.returnCode == '00') {
// console.log('9月7号这个接口返回成功啦!!!!') // console.log('9月7号这个接口返回成功啦!!!!')
if (companyInfo.content == 'Y') { if (companyInfo.content == 'Y') {
myAlert("提示", "按照最新政策规定,企业(负面清单行业除外)自2021年三季度预缴开始,可就前三季度研发费用申报享受加计扣除。同时,制造业享受研发费用加计扣除比例由75%提高到100%。", "确定"); myAlert("提示", "按照最新政策规定,企业(负面清单行业除外)自2021年三季度预缴开始,可就前三季度研发费用申报享受加计扣除。同时,制造业享受研发费用加计扣除比例由75%提高到100%。", "确定");
...@@ -114,7 +115,7 @@ function getJjkjTag(djxh,nsrsbq) { ...@@ -114,7 +115,7 @@ function getJjkjTag(djxh,nsrsbq) {
// 弹出错误对话框 // 弹出错误对话框
} }
}, },
error: function (xhr) { error: function(xhr) {
hideLoading(); hideLoading();
//jsonp 方式此方法不被触发 //jsonp 方式此方法不被触发
console.log("=======error======================") console.log("=======error======================")
...@@ -143,13 +144,13 @@ function initPage(companyInfo) { ...@@ -143,13 +144,13 @@ function initPage(companyInfo) {
/** /**
* 展示税种申报信息 * 展示税种申报信息
*/ */
var showTax = function (taxInfo) { var showTax = function(taxInfo) {
if (taxInfo.length > 0) { if (taxInfo.length > 0) {
for (var i = 0; i < taxInfo.length; i++) { for (var i = 0; i < taxInfo.length; i++) {
if (taxInfo[i].sbrq) { if (taxInfo[i].sbrq) {
taxInfo[i].sbrq = tool.formatDate(taxInfo[i].sbrq.split(" ")[0]); taxInfo[i].sbrq = tool.formatDate(taxInfo[i].sbrq.split(" ")[0]);
} }
if (taxInfo[i].bblxDm=='30101' || taxInfo[i].bblxDm=='30103') { if (taxInfo[i].bblxDm == '30101' || taxInfo[i].bblxDm == '30103') {
taxInfo[i].sssqQ = "-"; taxInfo[i].sssqQ = "-";
taxInfo[i].sssqZ = "-"; taxInfo[i].sssqZ = "-";
} }
...@@ -157,7 +158,7 @@ function initPage(companyInfo) { ...@@ -157,7 +158,7 @@ function initPage(companyInfo) {
} }
var id = "#taxGrid"; var id = "#taxGrid";
var buttonHtml = "填写申报表"; var buttonHtml = "填写申报表";
var order = ["pzzlMc", "djxh","zgswskfjMc", "sssqQ", "sssqZ", "sbrq", "do"]; var order = ["pzzlMc", "djxh", "zgswskfjMc", "sssqQ", "sssqZ", "sbrq", "do"];
var promptStatement = ""; var promptStatement = "";
var headerList = [{ var headerList = [{
name: "序号", name: "序号",
...@@ -186,7 +187,8 @@ function initPage(companyInfo) { ...@@ -186,7 +187,8 @@ function initPage(companyInfo) {
}, { }, {
name: "操作", name: "操作",
width: "10%" width: "10%"
}]; }
];
//渲染表 //渲染表
getTableDeclaration(id, order, headerList, taxInfo, buttonHtml, promptStatement) getTableDeclaration(id, order, headerList, taxInfo, buttonHtml, promptStatement)
}; };
...@@ -198,7 +200,7 @@ function initPage(companyInfo) { ...@@ -198,7 +200,7 @@ function initPage(companyInfo) {
* @param {*} ddt * @param {*} ddt
* @param {*} buttonHtml * @param {*} buttonHtml
*/ */
var getTableDeclaration = function (id, order, headerList, ddt, buttonHtml, promptStatement) { var getTableDeclaration = function(id, order, headerList, ddt, buttonHtml, promptStatement) {
var tableObj = { var tableObj = {
id: id, //tabel父元素的id id: id, //tabel父元素的id
autoHeight: ddt.length > 0 ? 10 : "", autoHeight: ddt.length > 0 ? 10 : "",
...@@ -216,7 +218,7 @@ function initPage(companyInfo) { ...@@ -216,7 +218,7 @@ function initPage(companyInfo) {
pageSize: ddt.length pageSize: ddt.length
}, },
jsonReady: ddt, jsonReady: ddt,
callback: function (data, node) { callback: function(data, node) {
data.operateType = '3'; data.operateType = '3';
data.sbbz = '3'; data.sbbz = '3';
data.value = config.value; data.value = config.value;
...@@ -225,6 +227,20 @@ function initPage(companyInfo) { ...@@ -225,6 +227,20 @@ function initPage(companyInfo) {
return false; return false;
} }
if (data.sourceFlag == "ssfwpt_sbzj") { if (data.sourceFlag == "ssfwpt_sbzj") {
if (toolsBblxDm.indexOf(data.bblxDm) != -1) {
window.mlistener = {
selectRowData: {},
urlList: {}
};
data.lybz = "ssfwpt";
data.actionType = "declare"
data.fillingFlag = "normal" // 填报标记
data.saveUserId = "zxtb"; // 用户id
data.zjhm = zjhm
window.mlistener.selectRowData = data;
var openUrl = prefix + config.tableBridge; //测试环境
window.open(openUrl, '_blank');
} else {
window.mlistener = { window.mlistener = {
selectRowData: {}, selectRowData: {},
}; };
...@@ -239,9 +255,10 @@ function initPage(companyInfo) { ...@@ -239,9 +255,10 @@ function initPage(companyInfo) {
data.userId = "zxtb"; // userId data.userId = "zxtb"; // userId
window.open(prefix + config.yearTaxTable, '_blank'); window.open(prefix + config.yearTaxTable, '_blank');
} }
}
Object.defineProperty(mlistener, 'returnSelectRowData', { Object.defineProperty(mlistener, 'returnSelectRowData', {
set: function (val) { set: function(val) {
setTimeout(function () { setTimeout(function() {
getTaxDeclaration(sbqDate, "N", '2'); getTaxDeclaration(sbqDate, "N", '2');
}, 1000); }, 1000);
} }
...@@ -253,7 +270,7 @@ function initPage(companyInfo) { ...@@ -253,7 +270,7 @@ function initPage(companyInfo) {
data.nssbq = nowdate; data.nssbq = nowdate;
data.checkTime = false; data.checkTime = false;
if (data.pzzlDm === '11602') { if (data.pzzlDm === '11602') {
var List = companyInfo.taxInfos.filter(function (item) { var List = companyInfo.taxInfos.filter(function(item) {
return item.pzzlDm == '10101' || item.pzzlDm == '10102' return item.pzzlDm == '10101' || item.pzzlDm == '10102'
}) })
if (List.length === 0) { if (List.length === 0) {
...@@ -286,7 +303,7 @@ function initPage(companyInfo) { ...@@ -286,7 +303,7 @@ function initPage(companyInfo) {
if (companyInfo) { if (companyInfo) {
url = companyInfo.config.url; url = companyInfo.config.url;
} }
var getTaxDeclaration = function (date, type, refreshSbzt) { var getTaxDeclaration = function(date, type, refreshSbzt) {
// TODO 开始加载等待动画 // TODO 开始加载等待动画
showLoading(); showLoading();
var param = { var param = {
...@@ -302,7 +319,7 @@ function initPage(companyInfo) { ...@@ -302,7 +319,7 @@ function initPage(companyInfo) {
data: param, data: param,
type: "POST", type: "POST",
dataType: "JSON", dataType: "JSON",
}).done(function (data) { }).done(function(data) {
if (data.success) { if (data.success) {
if (data.bean.url == "error.jsp") { if (data.bean.url == "error.jsp") {
myAlert("提示", data.bean.errorInfo, "确定") myAlert("提示", data.bean.errorInfo, "确定")
...@@ -323,7 +340,7 @@ function initPage(companyInfo) { ...@@ -323,7 +340,7 @@ function initPage(companyInfo) {
} }
} }
if (skssq == '20210930') { if (skssq == '20210930') {
getJjkjTag(djxhbz,sbqDate.replace(/\-/g, "")) getJjkjTag(djxhbz, sbqDate.replace(/\-/g, ""))
} }
} else { } else {
if (data.errmsg != undefined) { if (data.errmsg != undefined) {
...@@ -332,35 +349,35 @@ function initPage(companyInfo) { ...@@ -332,35 +349,35 @@ function initPage(companyInfo) {
alertWarning(data.returnMessage); alertWarning(data.returnMessage);
} }
} }
}).always(function (data) { }).always(function(data) {
hideLoading(); hideLoading();
}); });
}; };
/** /**
* 隐藏modal * 隐藏modal
*/ */
var closeModal = function () { var closeModal = function() {
$('#ybName').html(""); $('#ybName').html("");
$('#dName').html(""); $('#dName').html("");
$('#myMask').hide(); $('#myMask').hide();
$('#myModal').hide(); $('#myModal').hide();
} }
var drawGrid = function (bean) { var drawGrid = function(bean) {
//两个表合成一个表 //两个表合成一个表
$.each(bean.financialInfos, function (i, item) { $.each(bean.financialInfos, function(i, item) {
bean.taxInfos.push(item); bean.taxInfos.push(item);
}); });
/*wds add 增量房*/ /*wds add 增量房*/
var clf={} var clf = {}
for(var i in bean.taxInfos){ for (var i in bean.taxInfos) {
if(bean.taxInfos[i].pzzlDm=='12001'){ if (bean.taxInfos[i].pzzlDm == '12001') {
clf=bean.taxInfos[i] clf = bean.taxInfos[i]
} }
} }
// console.log(clf) // console.log(clf)
// console.log(clf.sksssjq) // console.log(clf.sksssjq)
var obj={ var obj = {
bblxDm: "12002", bblxDm: "12002",
bblxMc: "《增量房交易税收申报表》", bblxMc: "《增量房交易税收申报表》",
bczt: "W", bczt: "W",
...@@ -386,8 +403,8 @@ function initPage(companyInfo) { ...@@ -386,8 +403,8 @@ function initPage(companyInfo) {
nsrlx: null, nsrlx: null,
nsrmc: "", nsrmc: "",
nsrsbh: bean.nsrsbh, nsrsbh: bean.nsrsbh,
nsrsbq: bean.sbsq.replace(/\-/g,""), nsrsbq: bean.sbsq.replace(/\-/g, ""),
nssbq: bean.sbsq.replace(/\-/g,""), nssbq: bean.sbsq.replace(/\-/g, ""),
nssbqq2: null, nssbqq2: null,
nssbqz2: null, nssbqz2: null,
operateType: bean.operateType, operateType: bean.operateType,
...@@ -410,12 +427,12 @@ function initPage(companyInfo) { ...@@ -410,12 +427,12 @@ function initPage(companyInfo) {
sfyczb: "N", sfyczb: "N",
skssqq: null, skssqq: null,
skssqz: null, skssqz: null,
sksssjq: clf.sksssjq?clf.sksssjq:"", sksssjq: clf.sksssjq ? clf.sksssjq : "",
sksssjz: clf.sksssjq?clf.sksssjz:"", sksssjz: clf.sksssjq ? clf.sksssjz : "",
sourceFlag: "ssfwpt_sbzj", sourceFlag: "ssfwpt_sbzj",
ssdabh: "", ssdabh: "",
sssqQ: clf.sssqQ?clf.sssqQ:'-', sssqQ: clf.sssqQ ? clf.sssqQ : '-',
sssqZ: clf.sssqZ?clf.sssqZ:'-', sssqZ: clf.sssqZ ? clf.sssqZ : '-',
swjgmc: null, swjgmc: null,
token: "", token: "",
tsxx: null, tsxx: null,
...@@ -431,15 +448,15 @@ function initPage(companyInfo) { ...@@ -431,15 +448,15 @@ function initPage(companyInfo) {
zsxmDm: "", zsxmDm: "",
} }
// console.log(obj) // console.log(obj)
var obj1=[] var obj1 = []
for(var i in bean.taxInfos){ for (var i in bean.taxInfos) {
obj1.push(bean.taxInfos[i].pzzlDm) obj1.push(bean.taxInfos[i].pzzlDm)
} }
if (bean.taxInfos.length == 0) { if (bean.taxInfos.length == 0) {
showTax(bean.taxInfos); showTax(bean.taxInfos);
alertInfo("税费申报暂无数据"); alertInfo("税费申报暂无数据");
} else { } else {
if(obj1.includes('12001')){ if (obj1.includes('12001')) {
bean.taxInfos.push(obj) bean.taxInfos.push(obj)
} }
showTax(bean.taxInfos); showTax(bean.taxInfos);
...@@ -452,34 +469,48 @@ function initPage(companyInfo) { ...@@ -452,34 +469,48 @@ function initPage(companyInfo) {
* @param {*} obj * @param {*} obj
* @param {*} dp * @param {*} dp
*/ */
var changeDate = function (obj, dp) { var changeDate = function(obj, dp) {
date = dp.cal.getNewDateStr(); date = dp.cal.getNewDateStr();
nowdate = date; // 给缓存时间赋值 nowdate = date; // 给缓存时间赋值
// 加了一个延时,时间改变后时间框没有收起隐藏就加载数据,没有找到好的解决办法,暂时用延时处理 // 加了一个延时,时间改变后时间框没有收起隐藏就加载数据,没有找到好的解决办法,暂时用延时处理
sbqDate = date sbqDate = date
setTimeout(function () { setTimeout(function() {
getTaxDeclaration(date, "N", '1'); getTaxDeclaration(date, "N", '1');
}, 50); }, 50);
}; };
var refresh = function () { var refresh = function() {
myConfirm("消息", "您确定需要重置申报清册吗?点击确定继续", "确定", "取消", function () { myConfirm("消息", "您确定需要重置申报清册吗?点击确定继续", "确定", "取消", function() {
getTaxDeclaration(nowdate, "Y", '1'); getTaxDeclaration(nowdate, "Y", '1');
}); });
}; };
//申报方式 当iszzsybjc=01同时pzzlDm=010101时,调用改方法 //申报方式 当iszzsybjc=01同时pzzlDm=010101时,调用改方法
var declarationMethod = function (statu) { var declarationMethod = function(statu) {
submitData.ybjcState = statu; submitData.ybjcState = statu;
submitData.value = config.value; submitData.value = config.value;
//需要判断在线还是税表的开关 //需要判断在线还是税表的开关
if (submitData.sourceFlag == "ssfwpt_sbzj") { if (submitData.sourceFlag == "ssfwpt_sbzj") {
if (toolsBblxDm.indexOf(data.bblxDm) != -1) {
window.mlistener = { window.mlistener = {
selectRowData: {}, selectRowData: {},
urlList: {}
}; };
submitData.fillingFlag = "normal" // 填报标记 data.lybz = "ssfwpt";
submitData.saveUserId = "zxtb"; // 用户id data.actionType = "declare"
submitData.zjhm = zjhm data.fillingFlag = "normal" // 填报标记
window.mlistener.selectRowData = submitData; data.saveUserId = "zxtb"; // 用户id
data.zjhm = zjhm
window.mlistener.selectRowData = data;
var openUrl = prefix + config.tableBridge; //测试环境
window.open(openUrl, '_blank');
} else {
window.mlistener = {
selectRowData: {},
};
data.fillingFlag = "normal" // 填报标记
data.saveUserId = "zxtb"; // 用户id
data.zjhm = zjhm
window.mlistener.selectRowData = data;
if (yearBblxDm.indexOf(data.bblxDm) == -1) { if (yearBblxDm.indexOf(data.bblxDm) == -1) {
window.open(prefix + config.ssfwptPage, '_blank'); window.open(prefix + config.ssfwptPage, '_blank');
} else { } else {
...@@ -487,9 +518,10 @@ function initPage(companyInfo) { ...@@ -487,9 +518,10 @@ function initPage(companyInfo) {
data.userId = "zxtb"; // userId data.userId = "zxtb"; // userId
window.open(prefix + config.yearTaxTable, '_blank'); window.open(prefix + config.yearTaxTable, '_blank');
} }
}
Object.defineProperty(mlistener, 'returnSelectRowData', { Object.defineProperty(mlistener, 'returnSelectRowData', {
set: function (val) { set: function(val) {
setTimeout(function () { setTimeout(function() {
getTaxDeclaration(sbqDate, "N", '2'); getTaxDeclaration(sbqDate, "N", '2');
}, 1000); }, 1000);
} }
...@@ -513,7 +545,7 @@ function initPage(companyInfo) { ...@@ -513,7 +545,7 @@ function initPage(companyInfo) {
* @param {} params * @param {} params
*/ */
$("#reset,#reset1").on("click", refresh); $("#reset,#reset1").on("click", refresh);
$("#goRecord").click(function () { $("#goRecord").click(function() {
//TODO 调用备案接口 //TODO 调用备案接口
}); });
// 格式化后台返回的时间 // 格式化后台返回的时间
...@@ -523,7 +555,7 @@ function initPage(companyInfo) { ...@@ -523,7 +555,7 @@ function initPage(companyInfo) {
drawGrid(companyInfo); drawGrid(companyInfo);
} }
//页面出现滚动条,监听滚动条变化将高赋值给模态框 //页面出现滚动条,监听滚动条变化将高赋值给模态框
window.onscroll = function () { window.onscroll = function() {
$("#myModal").css("top", $(document).scrollTop() + 235); $("#myModal").css("top", $(document).scrollTop() + 235);
} }
return { return {
......
/*
* @Author: your name
* @Date: 2021-12-20 15:36:50
* @LastEditTime: 2021-12-20 15:38:55
* @LastEditors: your name
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \onlineReport\static\config.js
*/
/** /**
* @Author ygy * @Author ygy
* @Description //TODO 获取地址栏参数 * @Description //TODO 获取地址栏参数
...@@ -12,4 +20,25 @@ function getUrlParam(name) { ...@@ -12,4 +20,25 @@ function getUrlParam(name) {
return null; return null;
} }
// 公共配置 // 公共配置
eval(unescape("var%20config%20%3D%20%7B%0A%20%20%20%20environmental%3A%22production%22%2C//production%20%u751F%u4EA7%20%20test%20%u6D4B%u8BD5%0A%20%20%20%20webUrl%3A%22/web/onlineReport/jsp/%22%2C%20//%20%u9884%u751F%u4EA7%u73AF%u5883%u89E3%u5F00%0A%20%20%20%20url%3A%22%22%2C//%20%u5F00%u53D1%u73AF%u5883%u914D%u7F6E%u8DE8%u57DF%u8BBE%u7F6E%20%20//%20%u5F00%u53D1%u73AF%u5883%0A%20%20%20%20value%3A%27%27%2C//%u52A0%u5BC6token%0A%09%20%20nsrsbq%3A%27%27%2C%0A%20%20%20%20spreadUrl%3A%22http%3A//sbjs.tjsat.gov.cn%22%2C//%20%u5C40%u7AEF%u751F%u4EA7%20%u503C%u4E3A%u7A7A%20%20%u5176%u4F59%u5168%u90E8%u6307%u5411%u5728%u7EBF%u7684%u57DF%u540D%0A%20%20%20%20ssfwptPage%3A%22/taxservicedesk/index.html%23/taxTableList%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u6708%u5B63%u62A5%0A%20%20%20%20yearTaxTable%3A%22/taxservicedesk/index.html%23/yearTaxTable%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u5E74%u62A5%0A%20%20%20%20zhsbPage%3A%22/taxservicedesk/index.html%23/syntheticalReport%22%2C//%20%u6D89%u7A0E%20%u7EFC%u5408%u7533%u62A5%u9875%u9762%0A%20%20%20%20taxFormComponent%3A%22/web/taxFormComponent/index.html%3Fparam%3D%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%0A%20%20%20%20ccxwsTaxTable%3A%22/web/tax-plugin/index.html%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u7533%u62A5%20%u8DF3%u8F6C%u9875%u9762%0A%20%20%20%20collectPage%3A%22/propertybehaviortax/index.html%23/buttonFrame%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u91C7%u96C6%20%u8DF3%u8F6C%u586B%u62A5%u9875%u9762%0A%7D")) var config = {
\ No newline at end of file environmental: "test", //production生产,test测试,dev开发 注:environmental为dev时,ssfwptPage/yearTaxTable/zhsbPage使用配置文件地址
webUrl: "/web/onlineReport/jsp/", // 预生产环境解开
url: "", // 开发环境配置跨域设置 // 开发环境
value: '', //加密token
nsrsbq: '',
spreadUrl: "http://sbjs.tjsat.gov.cn", // 局端生产 值为空 其余全部指向在线的域名
ssfwptPage: "/taxservicedesk/index.html#/taxTableList", // 涉税服务平台填报页面地址 月季报
yearTaxTable: "/taxservicedesk/index.html#/yearTaxTable", // 涉税服务平台填报页面地址 年报
zhsbPage: "/taxservicedesk/index.html#/syntheticalReport", // 涉税 综合申报页面
taxFormComponent: "/web/taxFormComponent/index.html?param=", // 涉税服务平台填报页面地址
ccxwsTaxTable: "/web/tax-plugin/index.html", //财产行为税 申报 跳转页面
collectPage: "/propertybehaviortax/index.html#/buttonFrame", //财产行为税 采集 跳转填报页面
tableBridge: "/tableDisplayBusiness/index.html", //税表2.0 税种开表展示页面
}
if (config.environmental == 'test') {
prefix = "/web";
config.ccxwsTaxTable = "http://dev-web.htyfw.com.cn/page/property_tax_plugin_web/index.html";
} else if (config.environmental == 'production') {
prefix = "/web/online";
config.ccxwsTaxTable = "/web/tax-plugin/index.html";
}
\ No newline at end of file
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