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

需求4013:征管和科技发展司关于支持疫情防控和经济社会发展税费优惠政策落实工作的通知

parent defb8f18
......@@ -101,53 +101,6 @@
// // 弹出错误对话框
// }
// -->
var initpage;
$(function () {
showLoading();
$.ajax({
type: "post",
url: config.url + "/online/amend/index",
dataType: "json", // 请求方式为jsonp
// async: false,
data: {
djxh: getUrlParam("djxh"),
token: getUrlParam("token"),
sbsq: '',
pzzlDm: getUrlParam("pzzlDm")
},
success: function (data) { //客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
//el表达式变jq
// $("#token").attr("value","");
hideLoading();
var companyInfo = data;
$("#djxh").attr("value", companyInfo.djxh);
if (companyInfo.success) {
config.value = companyInfo.bean.value
companyInfo.bean.config = config
initpage = initPage(companyInfo.bean);
} else {
hideLoading();
if (companyInfo.errmsg != undefined) {
alertWarning(companyInfo.errmsg);
} else {
alertWarning(companyInfo.returnMessage);
}
if (!companyInfo.bean) {
companyInfo.bean = {};
companyInfo.bean.djxh = getUrlParam("djxh");
companyInfo.bean.return = false;
}
companyInfo.bean.config = config
initpage = initPage(companyInfo.bean);
// 弹出错误对话框
}
},
error: function (xhr) {
//jsonp 方式此方法不被触发
console.log("=======error======================")
}
})
})
</script>
</body>
......
<!doctype html>
<html style="height:100%;font-size:14px;">
<head>
<!-- 让360双核浏览器用webkit内核渲染页面-->
<meta name="renderer" content="webkit">
......@@ -7,9 +8,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- IOS6全屏 Chrome高版本全屏 -->
<!--[if lt IE 9]-->
<meta http-equiv="X-UA-Compatible" content="edge" >
<meta http-equiv="X-UA-Compatible" content="edge">
<script src="/web/online/onlineReport/static/js/respond.js"></script>
 <script src="/web/online/onlineReport/static/js/html5shiv.min.js"></script>
 
<script src="/web/online/onlineReport/static/js/html5shiv.min.js"></script>
<!--[endif]-->
<!--[if lt IE 7]-->
......@@ -30,14 +32,14 @@
<script src="/web/online/onlineReport/static/resources/gc.spread.sheets.all.min.js"></script>
<script src="/web/online/onlineReport/static/resources/zh/gc.spread.sheets.resources.zh.12.0.0.min.js"></script>
<script>
document.write("<script type='text/javascript' src='/web/online/onlineReport/static/config.js?time="+Math.random()+"'></"+"script"+">")
document.write("<script type='text/javascript' src='/web/online/onlineReport/static/config.js?time=" + Math.random() + "'></" + "script" + ">")
</script>
<!-- 生成的资源文件 -->
<!-- TODO 此处需要将路径调整为对应引用的地址-->
<!-- <script src="/web/online/onlineReport/static/page_js/${pzzlDm}/data.js?v=1"></script>
<script src="/web/online/onlineReport/static/page_extend_js/${pzzlDm}/data.js?v=1"></script> -->
<style>
.ishide{
.ishide {
display: none;
}
</style>
......@@ -150,32 +152,32 @@
</div>
</div>
<form action="/declare/toPzzl" method="POST" id="toReportNB">
<input type="hidden" name="initTableData" value="" id="initTableData"/>
<input type="hidden" name="initTableArrs" value="" id="initTableArrs"/>
<input type="hidden" name="data" value="" id="GLOBAL_INITJSON"/>
<input type="hidden" name="initTableData" value="" id="initTableData" />
<input type="hidden" name="initTableArrs" value="" id="initTableArrs" />
<input type="hidden" name="data" value="" id="GLOBAL_INITJSON" />
</form>
<!-- 业务逻辑代码 -->
<script src="/web/online/onlineReport/static/tools/js/encapsulation.js?v=1.3"></script>
<script type="text/javascript" src="/web/online/onlineReport/static/js/tax/util.js?v=1"></script>
<script type="text/javascript" src="/web/online/onlineReport/static/js/tax/api.js?v=1"></script>
<script type="text/javascript" src="/web/online/onlineReport/static/js/tax/fomula.js?v=1"></script>
<script type="text/javascript" src="/web/online/onlineReport/static/js/tax/tool.js?v=1"></script>
<script type="text/javascript" src="/web/online/onlineReport/static/js/tax/specialHandler.js?v=1"></script>
<script type="text/javascript" src="/web/online/onlineReport/static/js/tax/initLoader.js?v=1"></script>
<script type="text/javascript" src="/web/online/onlineReport/static/js/tax/result.js?v=1"></script>
<!-- <script>
<!-- <script>
document.write("<script type='text/javascript' src='/web/online/onlineReport/static/js/tax/initLoader.js?time="+Math.random()+"'></"+"script"+">")
document.write("<script type='text/javascript' src='/web/online/onlineReport/static/js/tax/result.js?time="+Math.random()+"'></"+"script"+">")
</script>-->
<script type="text/javascript" src="/web/online/onlineReport/static/tools/js/My97DatePicker/WdatePicker.js?v=1"></script>
<script type="text/javascript"
src="/web/online/onlineReport/static/tools/js/My97DatePicker/WdatePicker.js?v=1"></script>
<script>
// var URL = "http://192.168.105.153:8091"
var URL = config.url
var GLOBAL_INITJSON,GLOBAL_JSON,GLOBAL_CACHE_DATA,GLOBAL_TABLE_SPECIAL,GLOBAL_TABLE_FP,gzQtxx;
var GLOBAL_INITJSON, GLOBAL_JSON, GLOBAL_CACHE_DATA, GLOBAL_TABLE_SPECIAL, GLOBAL_TABLE_FP, gzQtxx;
var param = GetQueryValue("falg");
var address;
if (param == "declare") {
address = "declare/toPzzl";
}else if (param == "amend") {
} else if (param == "amend") {
address = "amend/toGzPzzl";
}
function GetQueryValue(queryName) {
......@@ -187,7 +189,7 @@
}
return null;
}
function formatDate(date){
function formatDate(date) {
var re = /^\d+(?=\.{0,1}\d+$|$)/;
if (date != "") {
// 是纯数字
......@@ -204,41 +206,41 @@
var d = date.slice(6, 8);
date = y + '年' + m + '月' + d + '日';
}
}else{
} else {
var eDates = new Date(date);
var y = eDates.getFullYear();
var m = eDates.getMonth() + 1;
if(m<10){
m = "0"+m;
if (m < 10) {
m = "0" + m;
}
var d = eDates.getDate();
if( d<10){
d = "0"+ d;
if (d < 10) {
d = "0" + d;
}
date = y + '年' + m + '月' + d + '日';
}
}
return date;
}
$(function(){
$(function () {
var iframeUrl = window.location.search.split('?')[1];
var csList = iframeUrl.split('&');
var param = ""
if (csList.length > 1) {
var openData = csList[1].split('=')[1]
param = decodeURI(openData)
localStorage.setItem("data",param);
localStorage.setItem("data", param);
} else {
param = localStorage.getItem("data")
}
var sksssjqz = formatDate(JSON.parse(param).sksssjq) +"&nbsp;&nbsp;至&nbsp;&nbsp;"+ formatDate(JSON.parse(param).sksssjz)
var sksssjqz = formatDate(JSON.parse(param).sksssjq) + "&nbsp;&nbsp;至&nbsp;&nbsp;" + formatDate(JSON.parse(param).sksssjz)
$(".header span.sssj").html(sksssjqz);
// window.parent.postMessage({ cmd: 'zxtb' }, '*');
$.ajax({
type: "POST",
url: URL + "/online/" + address,
// url: URL + "/online/" + address,
async:false,
async: false,
dataType: "json", // 请求方式为jsonp
data: {
data: param
......@@ -265,14 +267,14 @@
var oscript1 = document.createElement('script');
var oscript2 = document.createElement('script');
oscript1.src = '/web/online/onlineReport/static/page_js/'+data.pzzlDm+'/data.js?v=1';
oscript2.src = '/web/online/onlineReport/static/page_extend_js/'+data.pzzlDm+'/data.js?v=1';
oscript1.src = '/web/online/onlineReport/static/page_js/' + data.pzzlDm + '/data.js?v=1';
oscript2.src = '/web/online/onlineReport/static/page_extend_js/' + data.pzzlDm + '/data.js?v=1';
document.body.appendChild(oscript1);
document.body.appendChild(oscript2);
}
},
error: function(xhr){
error: function (xhr) {
//jsonp 方式此方法不被触发
console.log("=======error======================")
}
......@@ -298,16 +300,16 @@
$container.removeClass("full");
$(".header").css({
marginTop:"17px",
position:"fixed"
marginTop: "17px",
position: "fixed"
})
$breakbar.text("<");
} else {
$container.addClass("full");
$(".header").css({
marginLeft:"17px",
position:"initial",
marginTop:"0px",
marginLeft: "17px",
position: "initial",
marginTop: "0px",
})
$breakbar.text(">");
}
......@@ -318,6 +320,8 @@
// });
})
</script>
<script type="text/javascript" src="/web/online/onlineReport/static/js/tax/initLoader.js?v=1"></script>
<script type="text/javascript" src="/web/online/onlineReport/static/js/tax/result.js?v=1"></script>
</body>
</html>
\ No newline at end of file
......@@ -145,67 +145,6 @@
// } else {
// alertWarning("请求失败!");
// }
var initpage;
$(function () {
showLoading();
$.ajax({
type: "GET",
url: config.url + "/online/overdue/index",
dataType: "json", // 请求方式为jsonp
// async: false,
data: {
djxh: getUrlParam("djxh"),
token: getUrlParam("token"),
sbsq: '',
pzzlDm: getUrlParam("pzzlDm")
},
success: function (data) { //客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
hideLoading();
//el表达式变jq
// $("#token").attr("value","");
var companyInfo = data;
$("#djxh").attr("value", companyInfo.djxh);
config.value = companyInfo.bean.value
if (companyInfo.success) {
companyInfo.bean.config = config
companyInfo.bean.return = true;
initpage = initPage(companyInfo.bean);
} else {
hideLoading();
if (companyInfo.errmsg != undefined) {
alertWarning(companyInfo.errmsg);
} else {
alertWarning(companyInfo.returnMessage);
}
if (!companyInfo.bean) {
companyInfo.bean = {};
companyInfo.bean.djxh = getUrlParam("djxh");
companyInfo.bean.return = false;
}
companyInfo.bean.config = config
initpage = initPage(companyInfo.bean);
// alertWarning(companyInfo.errmsg);
// companyInfo.bean.config = config
// initpage = initPage(companyInfo.bean);
// 弹出错误对话框
}
$("#getInputValue").on("focus", function () {
WdatePicker({
isShowClear: false,
dateFmt: 'yyyy-MM',
onpicking: function (dp) {
initpage.changeDate(this, dp);
}
});
});
},
error: function (xhr) {
//jsonp 方式此方法不被触发
console.log("=======error======================")
}
})
})
</script>
</html>
\ No newline at end of file
......@@ -4,7 +4,60 @@
* @author ygy
* @date 2018/12/16 20:08
*/
var initpage;
$(function () {
showLoading();
getInitTable();
})
function getInitTable() {
$.ajax({
type: "post",
url: config.url + "/online/amend/index",
dataType: "json", // 请求方式为jsonp
// async: false,
data: {
djxh: getUrlParam("djxh"),
token: getUrlParam("token"),
sbsq: '',
pzzlDm: getUrlParam("pzzlDm")
},
success: function (data) { //客户端jquery预先定义好的callback函数,成功获取跨域服务器上的json数据后,会动态执行这个callback函数
//el表达式变jq
// $("#token").attr("value","");
hideLoading();
var companyInfo = data;
$("#djxh").attr("value", companyInfo.djxh);
if (companyInfo.success) {
if (companyInfo.bean.sfyhzctsBz == 'Y') {
myAlert("提示", "尊敬的纳税人、缴费人,为进一步巩固拓展减税降费成效,助力市场主体纾困解难,对部分2020年底到期税费优惠政策(不包括社会保险费),您可暂按原政策文件规定申报享受优惠(原减免性质代码可继续使用)。详细情况可咨询主管税务分局、税务所或12366纳税服务热线。感谢您的理解与支持!!", "确定");
}
config.value = companyInfo.bean.value
companyInfo.bean.config = config
initpage = initPage(companyInfo.bean);
} else {
hideLoading();
if (companyInfo.errmsg != undefined) {
alertWarning(companyInfo.errmsg);
} else {
alertWarning(companyInfo.returnMessage);
}
if (!companyInfo.bean) {
companyInfo.bean = {};
companyInfo.bean.djxh = getUrlParam("djxh");
companyInfo.bean.return = false;
}
companyInfo.bean.config = config
initpage = initPage(companyInfo.bean);
// 弹出错误对话框
}
},
error: function (xhr) {
//jsonp 方式此方法不被触发
console.log("=======error======================")
}
})
}
/**
* @Description: 入口
* @param companyInfo
......@@ -13,6 +66,8 @@
* @author ygy
* @date 2018/12/16 20:09
*/
var yearBblxDm = ['10414', '10420'];
function initPage(companyInfo) {
getIEVersion();
localStorage.setItem("cancellation", null);
......@@ -101,7 +156,12 @@ function initPage(companyInfo) {
data.fillingFlag = "corrections" // 填报标记
data.saveUserId = "zxtb"; // 用户id
window.mlistener.selectRowData = data;
if (yearBblxDm.indexOf(data.bblxDm)) {
window.open(config.ssfwptPage, '_blank');
} else {
data.saveUserId = "zxtb_singleReport"; // 用户id
window.open(config.yearTaxTable, '_blank');
}
Object.defineProperty(mlistener, 'returnSelectRowData', {
set: function (val) {
setTimeout(function () {
......
var initpage;
var yearBblxDm = ['10414', '10420'];
$(function () {
showLoading();
getInitTable();
......@@ -22,6 +24,9 @@ function getInitTable(){
var companyInfo = data;
$("#djxh").attr("value", companyInfo.djxh);
if (companyInfo.returnCode == "00") {
if(companyInfo.content.sfyhzctsBz=='Y'){
myAlert("提示", "尊敬的纳税人、缴费人,为进一步巩固拓展减税降费成效,助力市场主体纾困解难,对部分2020年底到期税费优惠政策(不包括社会保险费),您可暂按原政策文件规定申报享受优惠(原减免性质代码可继续使用)。详细情况可咨询主管税务分局、税务所或12366纳税服务热线。感谢您的理解与支持!!", "确定");
}
config.value = companyInfo.content.value // 不一定对
companyInfo.content.config = config
initpage = initPage(companyInfo.content);
......@@ -208,7 +213,12 @@ function initPage(companyInfo) {
data.fillingFlag = "cancellation" // 填报标记
data.saveUserId = "zxtb"; // 用户id
window.mlistener.selectRowData = data;
if (yearBblxDm.indexOf(data.bblxDm)) {
window.open(config.ssfwptPage, '_blank');
} else {
data.saveUserId = "zxtb_singleReport"; // 用户id
window.open(config.yearTaxTable, '_blank');
}
Object.defineProperty(mlistener, 'returnSelectRowData', {
set: function (val) {
setTimeout(function () {
......@@ -363,7 +373,12 @@ function initPage(companyInfo) {
submitData.fillingFlag = "inventory" // 填报标记
data.saveUserId = "zxtb"; // 用户id
window.mlistener.selectRowData = submitData;
if (yearBblxDm.indexOf(data.bblxDm)) {
window.open(config.ssfwptPage, '_blank');
} else {
data.saveUserId = "zxtb_singleReport"; // 用户id
window.open(config.yearTaxTable, '_blank');
}
Object.defineProperty(mlistener, 'returnSelectRowData', {
set: function (val) {
setTimeout(function () {
......
var initpage;
var sbqDate = ''
var sbqDate = '';
var yearBblxDm = ['10414', '10420'];
$(function () {
showLoading();
getInitTable();
......@@ -24,16 +26,18 @@ function getInitTable() {
hideLoading();
//el表达式变jqa
// $("#token").attr("value","");
if (data.success) {
if (data.bean.url == "error.jsp") {
myAlert("提示", data.bean.errorInfo, "确定")
// window.location.href = "/jsp/error/index.html?falg="+param;
return
}
}
// if (data.success) {
// if (data.bean.url == "error.jsp") {
// myAlert("提示", data.bean.errorInfo, "确定")
// // window.location.href = "/jsp/error/index.html?falg="+param;
// return
// }
// }
var companyInfo = data;
if (companyInfo.success) {
if(companyInfo.bean.sfyhzctsBz=='Y'){
myAlert("提示", "尊敬的纳税人、缴费人,为进一步巩固拓展减税降费成效,助力市场主体纾困解难,对部分2020年底到期税费优惠政策(不包括社会保险费),您可暂按原政策文件规定申报享受优惠(原减免性质代码可继续使用)。详细情况可咨询主管税务分局、税务所或12366纳税服务热线。感谢您的理解与支持!!", "确定");
}
config.value = companyInfo.bean.value
companyInfo.bean.config = config
companyInfo.bean.return = true; /* @Author ygy @Date 10:12 2020/7/8 @Description 前端判断接口成功返回数据标记用于区分是否执行初始化table方法*/
......@@ -170,7 +174,12 @@ function initPage(companyInfo) {
data.fillingFlag = "normal" // 填报标记
data.saveUserId = "zxtb"; // 用户id
window.mlistener.selectRowData = data;
if (yearBblxDm.indexOf(data.bblxDm)) {
window.open(config.ssfwptPage, '_blank');
} else {
data.saveUserId = "zxtb_singleReport"; // 用户id
window.open(config.yearTaxTable, '_blank');
}
Object.defineProperty(mlistener, 'returnSelectRowData', {
set: function (val) {
setTimeout(function () {
......@@ -257,7 +266,7 @@ function initPage(companyInfo) {
drawGrid(data.bean);
companyInfo = data.bean;
config.value = companyInfo.value;
if(type=='Y'){
if (type == 'Y') {
myAlert("提示", "重置清册成功", "确定")
}
} else {
......@@ -327,7 +336,12 @@ function initPage(companyInfo) {
submitData.fillingFlag = "normal" // 填报标记
submitData.saveUserId = "zxtb"; // 用户id
window.mlistener.selectRowData = submitData;
if (yearBblxDm.indexOf(data.bblxDm)) {
window.open(config.ssfwptPage, '_blank');
} else {
data.saveUserId = "zxtb_singleReport"; // 用户id
window.open(config.yearTaxTable, '_blank');
}
Object.defineProperty(mlistener, 'returnSelectRowData', {
set: function (val) {
setTimeout(function () {
......@@ -361,6 +375,7 @@ function initPage(companyInfo) {
}
window.taxInfo = JSON.stringify(submitData);
localStorage.setItem("data", JSON.stringify(submitData));
// if (data.url == "edit.jsp") {
submitData.flag = true;
submitData.encryptKey = config.value;
var url = config.spreadUrl + "/online_report/declare/toPzzl?falg=" + falg
......@@ -368,7 +383,6 @@ function initPage(companyInfo) {
form.attr('action', url); //通过jquery为action属性赋值
form.find("#changeForm_data").val(JSON.stringify(submitData));
form.submit();
// if (data.url == "edit.jsp") {
// window.open(config.spreadUrl+"/online_report/declare/toPzzl?falg=" + falg + '&data=' + JSON.stringify(submitData));
// window.open(config.webUrl + "declare/edit.html?falg=" + falg + '&params=' + encodeURI(JSON.stringify(submitData)));
......
......@@ -35,6 +35,9 @@ function getInitTable() {
return
}
}
if (data.bean.sfyhzctsBz == 'Y') {
myAlert("提示", "尊敬的纳税人、缴费人,为进一步巩固拓展减税降费成效,助力市场主体纾困解难,对部分2020年底到期税费优惠政策(不包括社会保险费),您可暂按原政策文件规定申报享受优惠(原减免性质代码可继续使用)。详细情况可咨询主管税务分局、税务所或12366纳税服务热线。感谢您的理解与支持!!", "确定");
}
djxh = data.bean.djxh;
sbqDate = data.bean.sbqDate;
taxInfos = data.bean.taxInfos;
......@@ -43,7 +46,7 @@ function getInitTable() {
"sssqZ": "--",
"sssqQ": "--",
"sbrq": "--",
"pzzlMc": "综合报表",
"pzzlMc": "综合报表",
}]
var companyInfo = data;
if (companyInfo.success) {
......@@ -170,18 +173,18 @@ function initPage(companyInfo) {
callback: function (data, node) {
window.mlistener = {
zhsbData: {
token:getUrlParam("token"),
djxh:djxh,
sbsq:sbqDate,
taxInfos:taxInfos,
value:config.value,
token: getUrlParam("token"),
djxh: djxh,
sbsq: sbqDate,
taxInfos: taxInfos,
value: config.value,
},
};
window.open(config.zhsbPage, '_blank');
Object.defineProperty(mlistener, 'returnSelectRowData', {
set: function (val) {
setTimeout(function () {
getTaxDeclaration(sbqDate, "N", '2');
getTaxDeclaration(sbqDate, "N", '2', true);
}, 1000);
}
})
......@@ -202,7 +205,7 @@ function initPage(companyInfo) {
if (companyInfo) {
url = companyInfo.config.url;
}
var getTaxDeclaration = function (date, type, refreshSbzt) {
var getTaxDeclaration = function (date, type, refreshSbzt, update) {
// TODO 开始加载等待动画
showLoading();
var param = {
......@@ -239,6 +242,24 @@ function initPage(companyInfo) {
drawGrid(data.bean);
companyInfo = data.bean;
config.value = companyInfo.value;
if (update) {
window.mlistener = {
zhsbData: {
token: getUrlParam("token"),
djxh: djxh,
sbsq: sbqDate,
taxInfos: taxInfos,
value: config.value,
},
};
Object.defineProperty(mlistener, 'returnSelectRowData', {
set: function (val) {
setTimeout(function () {
getTaxDeclaration(sbqDate, "N", '2', true);
}, 1000);
}
})
}
if (type == 'Y') {
myAlert("提示", "重置清册成功", "确定")
}
......@@ -288,13 +309,13 @@ function initPage(companyInfo) {
// 加了一个延时,时间改变后时间框没有收起隐藏就加载数据,没有找到好的解决办法,暂时用延时处理
sbqDate = date
setTimeout(function () {
getTaxDeclaration(date, "N", '1');
getTaxDeclaration(date, "N", '1', false);
}, 50);
};
var refresh = function () {
myConfirm("消息", "您确定需要重置申报清册吗?点击确定继续", "确定", "取消", function () {
getTaxDeclaration(nowdate, "Y", '1');
getTaxDeclaration(nowdate, "Y", '1', false);
});
};
//申报方式 当iszzsybjc=01同时pzzlDm=010101时,调用改方法
......@@ -313,7 +334,7 @@ function initPage(companyInfo) {
Object.defineProperty(mlistener, 'returnSelectRowData', {
set: function (val) {
setTimeout(function () {
getTaxDeclaration(sbqDate, "N", '2');
getTaxDeclaration(sbqDate, "N", '2', true);
}, 1000);
}
})
......@@ -343,26 +364,24 @@ function initPage(companyInfo) {
}
window.taxInfo = JSON.stringify(submitData);
localStorage.setItem("data", JSON.stringify(submitData));
var url = "";
if (data.url == "edit.jsp") {
url = config.spreadUrl + "/online_report/declare/toPzzl?falg=" + falg
} else if (data.url == "yearReport.jsp") {
url = config.spreadUrl + "/online_report/declare/yearReport.html?falg=" + falg + '&params=' + encodeURI(JSON.stringify(submitData));
} else if (data.url == "yearReportGLB.jsp") {
url = config.spreadUrl + "/online_report/declare/yearReportGLB.html?falg=" + falg + '&params=' + encodeURI(JSON.stringify(submitData));
} else {
//因为后台不知道返回路径是什么样的就直接改成了else data.url == "error.jsp"
url = config.spreadUrl + "/online_report/error/index.html?falg=" + falg + '&params=' + encodeURI(JSON.stringify(submitData))
}
submitData.flag = true;
submitData.encryptKey = config.value;
var url = config.spreadUrl + "/online_report/declare/toPzzl?falg=" + falg
var form = $("#changeForm");
form.attr('action', url); //通过jquery为action属性赋值
form.find("#changeForm_data").val(JSON.stringify(submitData));
form.submit();
// window.open(config.spreadUrl+"/online_report/declare/toPzzl?falg=" + falg + '&data=' + JSON.stringify(submitData));
// window.open(config.webUrl + "declare/edit.html?falg=" + falg + '&params=' + encodeURI(JSON.stringify(submitData)));
}
/* else if (data.url == "yearReport.jsp") {
window.open(config.webUrl + "declare/yearReport.html?falg=" + falg + '&params=' + encodeURI(JSON.stringify(submitData)));
} else if (data.url == "yearReportGLB.jsp") {
window.open(config.webUrl + "declare/yearReportGLB.html?falg=" + falg + '&params=' + encodeURI(JSON.stringify(submitData)));
} else {
//因为后台不知道返回路径是什么样的就直接改成了else data.url == "error.jsp"
window.open(config.webUrl + "error/index.html?falg=" + falg + '&params=' + encodeURI(JSON.stringify(submitData)));
}*/
},
error: function (xhr) {
//jsonp 方式此方法不被触发
......
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