Commit d77a1b47 authored by 于广洋's avatar 于广洋

404

parent 2c517177
var initpage; var initpage;
var sbqDate = '' var sbqDate = ''
$(function () { $(function () {
// 如果生产环境上,传递djxh,则视为无效
if(config.environmental=="production" && getUrlParam("djxh")){
window.open(config.webUrl + "error/newError.html",'_self')
}
showLoading(); showLoading();
getInitTable(); getInitTable();
}) })
......
...@@ -14,7 +14,8 @@ function getUrlParam (name) { ...@@ -14,7 +14,8 @@ function getUrlParam (name) {
// 公共配置 生产环境 // 公共配置 生产环境
var config = { var config = {
environmental:"production",//production 生产 test 测试 environmental:"production",//production 生产 test 测试
webUrl:"http://sbjs.tjsat.gov.cn:18001/web/onlineReport/jsp/", // 测试环境/生产环境 webUrl:"https://wsswjmn.tjsat.gov.cn/web/onlineReport/jsp/", // 预生产环境解开
//webUrl:"https://etax.tianjin.chinatax.gov.cn/web/onlineReport/jsp/", // 生产环境
url:"",// 开发环境配置跨域设置 // 开发环境 url:"",// 开发环境配置跨域设置 // 开发环境
spreadUrl:"sbjs.tjsat.gov.cn:18001",// 注册地址 spreadUrl:"sbjs.tjsat.gov.cn:18001",// 注册地址
ssfwptPage:"/web/taxservicedesk/index.html#/taxTableList",// 涉税服务平台填报页面地址 ssfwptPage:"/web/taxservicedesk/index.html#/taxTableList",// 涉税服务平台填报页面地址
...@@ -30,3 +31,6 @@ var config = { ...@@ -30,3 +31,6 @@ var config = {
value:'',//加密token value:'',//加密token
}*/ }*/
if(config.environmental=="production" && getUrlParam("djxh")){
window.open(config.webUrl + "/error/newError.html",'_self')
}
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