Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zxtb_to_ssfwpt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Bugzilla
Bugzilla
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
卢世豪
zxtb_to_ssfwpt
Commits
d77a1b47
Commit
d77a1b47
authored
Aug 03, 2020
by
于广洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
404
parent
2c517177
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
declare_grid.js
static/biz/declare_grid.js
+0
-4
config.js
static/config.js
+10
-6
No files found.
static/biz/declare_grid.js
View file @
d77a1b47
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
();
})
})
...
...
static/config.js
View file @
d77a1b47
...
@@ -13,12 +13,13 @@ function getUrlParam (name) {
...
@@ -13,12 +13,13 @@ 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/"
,
// 预生产环境解开
url
:
""
,
// 开发环境配置跨域设置 // 开发环境
//webUrl:"https://etax.tianjin.chinatax.gov.cn/web/onlineReport/jsp/", // 生产环境
spreadUrl
:
"sbjs.tjsat.gov.cn:18001"
,
// 注册地址
url
:
""
,
// 开发环境配置跨域设置 // 开发环境
ssfwptPage
:
"/web/taxservicedesk/index.html#/taxTableList"
,
// 涉税服务平台填报页面地址
spreadUrl
:
"sbjs.tjsat.gov.cn:18001"
,
// 注册地址
value
:
''
,
//加密token
ssfwptPage
:
"/web/taxservicedesk/index.html#/taxTableList"
,
// 涉税服务平台填报页面地址
value
:
''
,
//加密token
}
}
//公共配置 本地环境,测试环境
//公共配置 本地环境,测试环境
/*var config = {
/*var config = {
...
@@ -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'
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment