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
32c7bf52
Commit
32c7bf52
authored
Nov 20, 2020
by
tj_ygy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
防小偷
parent
4b245582
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
82 additions
and
61 deletions
+82
-61
index.html
jsp/declare/index.html
+29
-27
table.css
static/tools/css/table.css
+7
-2
encapsulation.js
static/tools/js/encapsulation.js
+46
-32
No files found.
jsp/declare/index.html
View file @
32c7bf52
...
...
@@ -10,40 +10,41 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<!-- IOS6全屏 Chrome高版本全屏 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"edge"
>
<link
href=
"
/web/onlineReport
/static/tools/css/bootstrap.css?v=1.1"
rel=
"stylesheet"
>
<link
href=
"
../..
/static/tools/css/bootstrap.css?v=1.1"
rel=
"stylesheet"
>
<!--滚动条-->
<link
rel=
"stylesheet"
href=
"
/web/onlineReport
/static/tools/css/scroll.css"
/>
<link
rel=
"stylesheet"
href=
"
../..
/static/tools/css/scroll.css"
/>
<!--table样式-->
<link
rel=
"stylesheet"
href=
"
/web/onlineReport
/static/tools/css/table.css"
/>
<link
rel=
"stylesheet"
href=
"
../..
/static/tools/css/table.css"
/>
<!--样式-->
<link
rel=
"stylesheet"
href=
"
/web/onlineReport
/static/tools/css/encapsulation.css"
/>
<link
rel=
"stylesheet"
href=
"
../..
/static/tools/css/encapsulation.css"
/>
<!--时间插件-->
<link
rel=
"stylesheet"
href=
"
/web/onlineReport
/static/tools/js/My97DatePicker/skin/WdatePicker.css"
/>
<link
rel=
"stylesheet"
href=
"
../..
/static/tools/js/My97DatePicker/skin/WdatePicker.css"
/>
<!--declare-->
<link
rel=
"stylesheet"
href=
"
/web/onlineReport
/static/css/declare/declare.css"
/>
<link
rel=
"stylesheet"
href=
"
../..
/static/css/declare/declare.css"
/>
<!-- 页面自定义样式 -->
<title>
在线填报
</title>
</head>
<script>
document
.
write
(
"<script type='text/javascript' src='
/web/onlineReport
/static/config.js?time="
+
Math
.
random
()
+
"'></"
+
"script"
+
">"
)
document
.
write
(
"<script type='text/javascript' src='
../..
/static/config.js?time="
+
Math
.
random
()
+
"'></"
+
"script"
+
">"
)
</script>
<body>
<div>
<div
style=
"background-color:#FFFFFF;"
>
<div
style=
"padding: 25px;"
>
<div
class=
"div-border"
style=
"padding-bottom: 20px;height: 60px;"
>
<img
style=
"float:left;display:block"
src=
"
/web/onlineReport
/static/tools/images/zxtb.png"
>
<img
style=
"float:left;display:block"
src=
"
../..
/static/tools/images/zxtb.png"
>
<span
style=
"float:left;display:block;margin-left: 10px;margin-top: 9px;top: 10px;"
class=
"span-title"
>
按期应申报
</span>
class=
"span-title"
>
按期应申报
</span>
</div>
<div>
<div
class=
"div-float"
style=
"padding-bottom: 8px; width: 100%;position :relative"
>
<span>
申报月份:
</span>
<input
readonly
id=
"getInputValue"
name=
"birth_date"
style=
"width: 10%; display: inline;min-width: 150px"
type=
"text"
class=
"Wdate checkId-input check-items-birthday form-control"
>
type=
"text"
class=
"Wdate checkId-input check-items-birthday form-control"
>
<input
id=
"reset"
class=
"btn btn-primary tdDong-btn"
style=
"margin-right: 10%;margin-right: 10px;height: 32px;margin-top: 5px;position:absolute;right: 120px;"
type=
"button"
value=
"重置申报清册"
/>
style=
"margin-right: 10%;margin-right: 10px;height: 32px;margin-top: 5px;position:absolute;right: 120px;"
type=
"button"
value=
"重置申报清册"
/>
</div>
</div>
</br>
...
...
@@ -57,30 +58,31 @@
<div
style=
"font-size:12px"
>
温馨提示:
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
1、如近期有税费种认定、纳税人资格、备案等发生变动,页面展现清册与实际所需不符的,
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
请点此处
“
<label
for=
"reset"
id=
"reset1"
class=
"label_declare"
>
重置申报清册
</label>
”
对该户清册进行重新生成。
</span>
class=
"label_declare"
>
重置申报清册
</label>
”
对该户清册进行重新生成。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
2、点击页眉
“申报缴税”
即会触发下属首个菜单
“按期应申报”
,无需再点击
“按期应申报”
,
</span>
class=
"span-font-size"
>
2、点击页眉
“申报缴税”
即会触发下属首个菜单
“按期应申报”
,无需再点击
“按期应申报”
,
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如发现清册重复,也请点击前述链接
“重置申报清册”
。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
无上述1、2情况请勿点击重置。
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
3、仅当操作期间申报状态有变化时点
“刷新”
,切换月份、刚进入本页面、申报完成后本页面已显示
“已申报”
等情形无需刷新。
</span>
class=
"span-font-size"
>
3、仅当操作期间申报状态有变化时点
“刷新”
,切换月份、刚进入本页面、申报完成后本页面已显示
“已申报”
等情形无需刷新。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
4、如发现
“刷新”
后的申报日期和状态不是最新情况,通常是因为
“刷新”
按钮所查数据同步延时所致,
</span>
class=
"span-font-size"
>
4、如发现
“刷新”
后的申报日期和状态不是最新情况,通常是因为
“刷新”
按钮所查数据同步延时所致,
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
如遇此情况,等几秒钟再
“刷新”
或退出后稍后重进申报清册查看。
</span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
5、没有财务报表清册,可能是以下原因之一:
</span></div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
未做财务报表备案,
<label
id=
"goRecord"
class=
"label_declare"
>
现在去备案;
</label></span>
class=
"label_declare"
>
现在去备案;
</label></span>
</div>
<div
class=
"reminder"
><span
class=
"span-font-size"
>
只做了备案报告书但未做具体的会计报表名称;
</span></div>
</div>
</div>
</div>
</div>
<input
type=
'hidden'
name=
'data'
value=
"${token}"
id=
"token"
>
<input
type=
'hidden'
name=
'data'
value=
"${djxh}"
id=
"djxh"
>
...
...
@@ -108,20 +110,20 @@
onclick=
"initpage.declarationMethod('Y')"
>
一表集成
</button>
</div>
</div>
<img
class=
"img-ybjc-modal"
onclick=
"initpage.closeModal()"
src=
"
/web/onlineReport
/static/tools/images/close.png"
>
<img
class=
"img-ybjc-modal"
onclick=
"initpage.closeModal()"
src=
"
../..
/static/tools/images/close.png"
>
</div>
</div>
</body>
<script
src=
"
/web/onlineReport
/static/tools/js/jquery-1.11.3.js?v=1.1"
></script>
<script
src=
"
/web/onlineReport
/static/js/tax/tool.js"
></script>
<script
src=
"
/web/onlineReport
/static/tools/js/jquery.nicescroll.js?v=1.1"
></script>
<script
src=
"
/web/onlineReport
/static/tools/js/bootstrap.js?v=1.1"
></script>
<script
src=
"
/web/onlineReport
/static/tools/js/encapsulation.js?v=1.3"
></script>
<script
src=
"
/web/onlineReport
/static/tools/js/minScroll.js?v=1.1"
></script>
<script
src=
"
/web/onlineReport
/static/tools/js/My97DatePicker/WdatePicker.js?v=1.1"
></script>
<script
src=
"
../..
/static/tools/js/jquery-1.11.3.js?v=1.1"
></script>
<script
src=
"
../..
/static/js/tax/tool.js"
></script>
<script
src=
"
../..
/static/tools/js/jquery.nicescroll.js?v=1.1"
></script>
<script
src=
"
../..
/static/tools/js/bootstrap.js?v=1.1"
></script>
<script
src=
"
../..
/static/tools/js/encapsulation.js?v=1.3"
></script>
<script
src=
"
../..
/static/tools/js/minScroll.js?v=1.1"
></script>
<script
src=
"
../..
/static/tools/js/My97DatePicker/WdatePicker.js?v=1.1"
></script>
<script
src=
"
/web/onlineReport
/static/biz/declare_grid.js?v=1.0"
></script>
<script
src=
"
../..
/static/biz/declare_grid.js?v=1.0"
></script>
<script>
//
<!--
// 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
// var companyInfo = ${json};
...
...
@@ -144,4 +146,4 @@
</script>
</html>
\ No newline at end of file
</html>
static/tools/css/table.css
View file @
32c7bf52
...
...
@@ -83,7 +83,12 @@
height
:
25px
;
line-height
:
12px
!important
;
}
.hiddBtn
{
width
:
0px
!important
;
height
:
0px
!important
;
padding
:
0px
!important
;
border
:
0px
!important
;
}
.tdDoing-contain
{
text-align
:
center
!important
;
}
...
...
@@ -459,4 +464,4 @@ fieldset[disabled] .searchPage {
.notHasList
{
text-align
:
center
;
padding-top
:
20px
;
}
\ No newline at end of file
}
static/tools/js/encapsulation.js
View file @
32c7bf52
...
...
@@ -112,13 +112,13 @@ function getIEVersion() {
//_html += '<input id="mb_btn_ok" type="button" value=' + btnOk + '>';
_html
+=
'</div>'
;
}
//必须先将_html添加到body,再设置Css样式
//必须先将_html添加到body,再设置Css样式
$
(
"body"
).
append
(
_html
);
GenerateCss
(
type
);
switch
(
type
)
{
case
'alert'
:
$
(
"#mb_btn_ok"
).
click
(
function
()
{
$
.
alerts
.
_hide
();
callback
(
true
);
...
...
@@ -151,16 +151,16 @@ function getIEVersion() {
_hide
:
function
_hide
()
{
$
(
"#mb_box,#mb_con"
).
remove
();
}
// Shortuct functions
// Shortuct functions
};
myAlert
=
function
myAlert
(
title
,
message
,
btnOk
,
callback
)
{
$
.
alerts
.
alert
(
title
,
message
,
btnOk
,
callback
);
};
myConfirm
=
function
myConfirm
(
title
,
message
,
btnOk
,
btnNo
,
callback
)
{
$
.
alerts
.
confirm
(
title
,
message
,
btnOk
,
btnNo
,
callback
);
};
//生成Css
//生成Css
var
GenerateCss
=
function
GenerateCss
(
type
)
{
$
(
"#mb_box"
).
css
({
width
:
'100%'
,
...
...
@@ -173,7 +173,7 @@ function getIEVersion() {
left
:
'0'
,
opacity
:
'0.4'
});
$
(
"#mb_box"
).
css
({
width
:
'100%'
,
height
:
'100%'
,
...
...
@@ -246,7 +246,7 @@ function getIEVersion() {
boxSizing
:
'border-box'
});
}
$
(
"#mb_msg"
).
css
({
clear
:
'both'
,
padding
:
'30px'
,
...
...
@@ -256,7 +256,7 @@ function getIEVersion() {
color
:
'#4c4c4c'
,
marginBottom
:
'50px'
,
});
$
(
"#mb_ico"
).
css
({
display
:
'block'
,
position
:
'absolute'
,
...
...
@@ -271,7 +271,7 @@ function getIEVersion() {
borderRadius
:
'12px'
,
fontFamily
:
'微软雅黑'
});
$
(
"#mb_btnbox"
).
css
({
margin
:
'0px 20px 20px 0'
,
textAlign
:
'right'
...
...
@@ -284,7 +284,7 @@ function getIEVersion() {
border
:
'none'
,
borderRadius
:
'3px'
,
position
:
'absolute'
});
$
(
"#mb_btn_ok"
).
css
({
backgroundColor
:
'#53ACF3'
,
...
...
@@ -315,8 +315,8 @@ function getIEVersion() {
bottom
:
'10px'
,
right
:
'20px'
,
});
//右上角关闭按钮hover样式
//右上角关闭按钮hover样式
$
(
"#mb_ico"
).
hover
(
function
()
{
$
(
this
).
css
({
backgroundColor
:
'Red'
,
...
...
@@ -328,14 +328,14 @@ function getIEVersion() {
color
:
'black'
});
});
var
_widht
=
document
.
documentElement
.
clientWidth
;
//屏幕宽
var
_height
=
document
.
documentElement
.
clientHeight
;
//屏幕高
var
_widht
=
document
.
documentElement
.
clientWidth
;
//屏幕宽
var
_height
=
document
.
documentElement
.
clientHeight
;
//屏幕高
var
boxWidth
=
$
(
"#mb_con"
).
width
();
var
boxHeight
=
$
(
"#mb_con"
).
height
();
//让提示框居中
//让提示框居中
$
(
"#mb_con"
).
css
({
top
:
(
_height
-
boxHeight
)
/
2
+
"px"
,
left
:
(
_widht
-
boxWidth
)
/
2
+
"px"
...
...
@@ -384,8 +384,8 @@ function alertBox(type, msg, showTime, callBack) {
divAlertBox
.
slideDown
(
1000
);
box
(
divAlertBox
);
}
var
_widht
=
document
.
documentElement
.
clientWidth
;
//屏幕宽
var
_height
=
document
.
documentElement
.
clientHeight
;
//屏幕高
var
_widht
=
document
.
documentElement
.
clientWidth
;
//屏幕宽
var
_height
=
document
.
documentElement
.
clientHeight
;
//屏幕高
var
boxWidth
=
$
(
"#divAlertBox"
).
width
();
var
boxHeight
=
$
(
"#divAlertBox"
).
height
();
$
(
"#divAlertBox"
).
css
({
...
...
@@ -845,7 +845,7 @@ var JSTOOL = function() {
}
/**
* 获取选择申报表的名称
* @param {} params
* @param {} params
*/
this
.
getSelectName
=
function
(
params
,
selectData
)
{
var
name
=
""
...
...
@@ -949,13 +949,27 @@ var JSTOOL = function() {
$td
.
append
(
$div
);
}
}
else
{
var
div
=
document
.
createElement
(
"div"
);
$div
=
$
(
div
);
$div
.
attr
(
"alt"
,
commonJson
[
i
][
tableObj
.
onlyId
]);
$div
.
addClass
(
"btn btn-primary tdDong-btn"
);
$div
.
html
(
tableObj
.
buttonHtml
);
$td
.
addClass
(
"tdDoing-contain"
);
$td
.
append
(
div
);
/* @Author GyYu @Date 16:15 2020/11/20 @Description 应对小偷,加几个隐藏的按钮*/
for
(
var
ll
=
0
;
ll
<
3
;
ll
++
){
if
(
ll
==
1
){
var
div
=
document
.
createElement
(
"div"
);
$div
=
$
(
div
);
$div
.
attr
(
"alt"
,
commonJson
[
i
][
tableObj
.
onlyId
]);
$div
.
addClass
(
"btn btn-primary tdDong-btn"
);
$div
.
html
(
tableObj
.
buttonHtml
);
$td
.
addClass
(
"tdDoing-contain"
);
$td
.
append
(
div
);
}
else
{
var
div
=
document
.
createElement
(
"div"
);
$div
=
$
(
div
);
$div
.
attr
(
"alt"
,
ll
+
'anniu'
);
$div
.
addClass
(
"hiddBtn btn btn-primary tdDong-btn "
);
$div
.
html
(
'一个按钮'
);
$td
.
addClass
(
"tdDoing-contain"
);
$td
.
append
(
div
);
}
}
}
}
else
{
$td
.
html
(
json
[
i
][
key
]);
...
...
@@ -1015,7 +1029,7 @@ var JSTOOL = function() {
}
else
{
var
html
=
"<div class='notHasList'>"
+
tableObj
.
promptStatement
+
"</div>"
;
}
$
(
mainId
+
' .tbody'
).
append
(
html
);
}
loadingHidden
();
...
...
@@ -1540,4 +1554,4 @@ var tool = new JSTOOL();
return
$this
;
}
});
})(
jQuery
,
window
,
document
)
\ No newline at end of file
})(
jQuery
,
window
,
document
)
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