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
e981f43e
Commit
e981f43e
authored
Aug 03, 2020
by
于广洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产环境页面地址栏用djxh传递会报错404
parent
c3c62d41
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
693 additions
and
59 deletions
+693
-59
workspace.xml
.idea/workspace.xml
+606
-51
index.html
jsp/amend/index.html
+4
-0
index.html
jsp/cancellation/index.html
+4
-0
newError.html
jsp/error/newError.html
+62
-0
index.html
jsp/overdue/index.html
+4
-0
declare_grid.js
static/biz/declare_grid.js
+4
-1
config.js
static/config.js
+9
-7
-e-404.png
static/img/-e-404.png
+0
-0
-e-500.png
static/img/-e-500.png
+0
-0
No files found.
.idea/workspace.xml
View file @
e981f43e
This diff is collapsed.
Click to expand it.
jsp/amend/index.html
View file @
e981f43e
...
...
@@ -105,6 +105,10 @@
// -->
var
initpage
;
$
(
function
(){
// 如果生产环境上,传递djxh,则视为无效
if
(
config
.
environmental
==
"production"
&&
getUrlParam
(
"djxh"
)){
window
.
open
(
config
.
webUrl
+
"error/newError.html"
,
'_self'
)
}
showLoading
();
$
.
ajax
({
type
:
"post"
,
...
...
jsp/cancellation/index.html
View file @
e981f43e
...
...
@@ -83,6 +83,10 @@
// }
var
initpage
;
$
(
function
(){
// 如果生产环境上,传递djxh,则视为无效
if
(
config
.
environmental
==
"production"
&&
getUrlParam
(
"djxh"
)){
window
.
open
(
config
.
webUrl
+
"error/newError.html"
,
'_self'
)
}
showLoading
();
$
.
ajax
({
type
:
"POST"
,
...
...
jsp/error/newError.html
0 → 100644
View file @
e981f43e
<!doctype html>
<html>
<head
lang=
"en"
>
<meta
charset=
"UTF-8"
>
<!--样式-->
<style>
.parentDiv
{
padding-top
:
150px
}
.all404
{
width
:
100%
;
height
:
100%
;}
.head404
{
width
:
580px
;
height
:
366px
;
margin
:
0px
auto
0
auto
;
}
.txtbg404
{
width
:
499px
;
height
:
169px
;
margin
:
10px
auto
0
auto
;
}
.txtbg404
.txtbox
{
width
:
390px
;
position
:
relative
;
top
:
30px
;
left
:
60px
;
color
:
black
;
font-size
:
13px
;}
.txtbg404
.txtbox
p
{
margin
:
5px
0
;
line-height
:
18px
;}
.txtbg404
.txtbox
.paddingbox
{
padding-top
:
15px
;}
.txtbg404
.txtbox
p
a
{
color
:
black
;
text-decoration
:
none
;}
.txtbg404
.txtbox
p
a
:hover
{
color
:
#FC9D1D
;
text-decoration
:
underline
;}
</style>
<title></title>
</head>
<body>
<div
class=
"parentDiv"
>
<div
class=
"all404"
>
<div
class=
"head404"
></div>
<div
class=
"txtbg404"
>
<div
class=
"txtbox"
>
<p>
对不起,页面遇到了错误
</p>
<!--<p class="paddingbox">请点击以下链接继续浏览网页</p>-->
<!--<p>》<a style="cursor:pointer" @click="returnHomePageType(-3)">返回上一页面</a></p>-->
</div>
</div>
</div>
</div>
</body>
<script>
document
.
write
(
"<script type='text/javascript' src='/web/onlineReport/static/config.js?time="
+
Math
.
random
()
+
"'></"
+
"script"
+
">"
)
</script>
<script
src=
"/web/onlineReport/static/tools/js/jquery-1.11.3.js?v=1.1"
></script>
<!--<script src="/web/onlineReport/static/biz/error.js?v=1.1"></script>-->
<script>
$
(
function
(){
$
(
".parentDiv"
).
css
({
height
:
$
(
window
).
height
()
-
150
,
});
$
(
"body"
).
css
({
margin
:
0
,
});
$
(
".head404"
).
css
(
"background-image"
,
"url(/web/onlineReport/static/img/-e-404.png)"
);
})
</script>
</html>
\ No newline at end of file
jsp/overdue/index.html
View file @
e981f43e
...
...
@@ -127,6 +127,10 @@
// }
var
initpage
;
$
(
function
(){
// 如果生产环境上,传递djxh,则视为无效
if
(
config
.
environmental
==
"production"
&&
getUrlParam
(
"djxh"
)){
window
.
open
(
config
.
webUrl
+
"error/newError.html"
,
'_self'
)
}
showLoading
();
$
.
ajax
({
type
:
"GET"
,
...
...
static/biz/declare_grid.js
View file @
e981f43e
var
initpage
;
var
sbqDate
=
''
$
(
function
()
{
//
// 如果生产环境上,传递djxh,则视为无效
if
(
config
.
environmental
==
"production"
&&
getUrlParam
(
"djxh"
)){
window
.
open
(
config
.
webUrl
+
"error/newError.html"
,
'_self'
)
}
showLoading
();
getInitTable
();
})
...
...
static/config.js
View file @
e981f43e
...
...
@@ -11,20 +11,22 @@ function getUrlParam (name) {
if
(
r
!=
null
)
return
decodeURIComponent
(
r
[
2
]);
return
null
;
}
// 公共配置 生产
var
config
=
{
// 公共配置 生产环境
/*var config = {
environmental:"production",//production 生产 test 测试
webUrl:"http://sbjs.tjsat.gov.cn:18001/web/onlineReport/jsp/", // 测试环境/生产环境
url:"",// 开发环境配置跨域设置 // 开发环境
spreadUrl:"sbjs.tjsat.gov.cn:18001",// 注册地址
ssfwptPage:"/web/taxservicedesk/index.html#/taxTableList",// 涉税服务平台填报页面地址
value:'',//加密token
}
//公共配置 本地
/*var config = {
webUrl:"http://localhost:8088/web/onlineReport/jsp/", // 开发环境
}*/
//公共配置 本地环境,测试环境
var
config
=
{
environmental
:
"test"
,
//production 生产 test 测试
webUrl
:
"http://localhost:80/web/onlineReport/jsp/"
,
// 开发环境
url
:
""
,
// 开发环境配置跨域设置 // 开发环境
spreadUrl
:
"sbjs.tjsat.gov.cn:18001"
,
// 注册地址
ssfwptPage
:
"/web/taxservicedesk/index.html#/taxTableList"
,
// 涉税服务平台填报页面地址
value
:
''
,
//加密token
}
*/
}
static/img/-e-404.png
0 → 100644
View file @
e981f43e
47.3 KB
static/img/-e-500.png
0 → 100644
View file @
e981f43e
48.1 KB
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