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
6fbf54e0
Commit
6fbf54e0
authored
Jun 10, 2022
by
彭令令
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务26204快捷申报缴款功能
parent
824e91e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
3 deletions
+22
-3
index.html
jsp/declarePay/index.html
+1
-1
declarePay.js
static/biz/declarePay.js
+21
-2
No files found.
jsp/declarePay/index.html
View file @
6fbf54e0
...
...
@@ -37,7 +37,7 @@
<span
style=
"float:left;display:block;margin-left: 10px;margin-top: 9px;top: 10px;"
class=
"span-title"
>
快捷申报缴款
</span>
</div>
<div>
<div
class=
"div-float sbyf"
style=
"padding-bottom: 8px;"
>
<div
class=
"div-float sbyf"
style=
"padding-bottom: 8px;
display: none;
"
>
<span>
申报月份:
</span>
<input
readonly
id=
"getInputValue"
name=
"birth_date"
style=
"width: 20%; display: inline;"
type=
"text"
class=
"Wdate checkId-input check-items-birthday form-control"
>
...
...
static/biz/declarePay.js
View file @
6fbf54e0
...
...
@@ -11,7 +11,6 @@ $(function () {
prefix
=
"/web"
;
}
else
if
(
config
.
environmental
==
'production'
)
{
prefix
=
"/web/online"
;
$
(
'.sbyf'
).
css
({
'display'
:
'none'
})
}
showLoading
();
getInitTable
();
...
...
@@ -713,4 +712,24 @@ function initPage(companyInfo) {
declarationMethod
:
declarationMethod
,
closeModal
:
closeModal
}
}
\ No newline at end of file
}
let
arr
=
[];
let
that
=
this
;
var
keyboardShortcut
=
""
$
(
document
).
keydown
(
function
(
event
){
if
(
arr
.
length
>
0
)
{
// a-z按键长按去重
if
(
arr
.
indexOf
(
event
.
key
.
toLowerCase
())
>=
0
)
{
return
}
}
arr
.
push
(
event
.
key
.
toLowerCase
())
keyboardShortcut
=
arr
.
join
(
'+'
);
console
.
log
(
keyboardShortcut
)
if
(
keyboardShortcut
==
'control+shift+y'
)
{
$
(
'.sbyf'
).
css
({
'display'
:
'block'
})
}
});
$
(
document
).
keyup
(
function
(
event
){
arr
.
splice
(
arr
.
indexOf
(
event
.
key
.
toLowerCase
()),
1
);
keyboardShortcut
=
arr
.
join
(
'+'
);
});
\ No newline at end of file
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