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
5e74434a
Commit
5e74434a
authored
Mar 17, 2022
by
彭令令
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
24450 支持未享受缓缴的企业办理退税:韩林要求按照局端样式做修改;且添加关闭按钮,点击参数传“0”
parent
55f96899
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
17 deletions
+40
-17
encapsulation.js
static/tools/js/encapsulation.js
+40
-17
No files found.
static/tools/js/encapsulation.js
View file @
5e74434a
...
...
@@ -105,7 +105,7 @@ function getIEVersion() {
_show
:
function
(
title
,
msg
,
btnOk
,
btnNo
,
value
,
type
,
callback
)
{
var
_html
=
""
;
_html
+=
'<div id="mb_box"></div><div id="mb_con"><span id="mb_tit">'
+
title
+
'</span>'
if
(
type
==
"confirm"
)
{
if
(
type
==
"confirm"
||
type
==
"confirms"
)
{
_html
+=
'<img id="mb_img" src="../../static/tools/images/close.png">'
;
_html
+=
'<div id="mb_msg">'
+
msg
+
'</div>'
;
}
...
...
@@ -114,14 +114,18 @@ function getIEVersion() {
_html
+=
'<input id="mb_btn_ok" type="button" value='
+
btnOk
+
'>'
;
_html
+=
'</div>'
;
}
if
(
type
==
"confirm"
||
type
==
"confirms"
)
{
_html
+=
'<div id="mb_msg">'
+
msg
+
'</div>'
;
if
(
type
==
"confirm"
)
{
_html
+=
'<input id="mb_btn_ok" type="button" value='
+
btnOk
+
'>'
;
_html
+=
'<input id="mb_btn_no" type="button" value='
+
btnNo
+
'>'
;
//_html += '<input id="mb_btn_ok" type="button" value=' + btnOk + '>';
_html
+=
'</div>'
;
}
if
(
type
==
"confirms"
)
{
_html
+=
'<input id="mb_btn_ok1" type="button" value='
+
btnOk
+
'>'
;
_html
+=
'<input id="mb_btn_no1" type="button" value='
+
btnNo
+
'>'
;
//_html += '<input id="mb_btn_ok" type="button" value=' + btnOk + '>';
_html
+=
'</div>'
;
}
//必须先将_html添加到body,再设置Css样式
$
(
"body"
).
append
(
_html
);
GenerateCss
(
type
);
...
...
@@ -143,11 +147,11 @@ function getIEVersion() {
});
$
(
"#mb_btn_no"
).
click
(
function
()
{
$
.
alerts
.
_hide
();
if
(
callback
)
callback
(
false
);
//
if (callback) callback(false);
});
$
(
"#mb_img"
).
click
(
function
()
{
$
.
alerts
.
_hide
();
if
(
callback
)
callback
(
false
);
//
if (callback) callback(false);
});
$
(
"#mb_btn_no"
).
focus
();
$
(
"#mb_btn_ok, #mb_btn_no"
).
keypress
(
function
(
e
)
{
...
...
@@ -156,18 +160,22 @@ function getIEVersion() {
});
break
;
case
'confirms'
:
$
(
"#mb_btn_ok"
).
click
(
function
()
{
$
(
"#mb_btn_ok
1
"
).
click
(
function
()
{
$
.
alerts
.
_hide
();
if
(
callback
)
callback
(
true
);
});
$
(
"#mb_btn_no"
).
click
(
function
()
{
$
(
"#mb_btn_no
1
"
).
click
(
function
()
{
$
.
alerts
.
_hide
();
if
(
callback
)
callback
(
false
);
});
$
(
"#mb_btn_no"
).
focus
();
$
(
"#mb_btn_ok, #mb_btn_no"
).
keypress
(
function
(
e
)
{
if
(
e
.
keyCode
==
13
)
$
(
"#mb_btn_ok"
).
trigger
(
'click'
);
if
(
e
.
keyCode
==
27
)
$
(
"#mb_btn_no"
).
trigger
(
'click'
);
$
(
"#mb_img"
).
click
(
function
()
{
$
.
alerts
.
_hide
();
if
(
callback
)
callback
(
"99"
);
});
$
(
"#mb_btn_no1"
).
focus
();
$
(
"#mb_btn_ok1, #mb_btn_no1"
).
keypress
(
function
(
e
)
{
if
(
e
.
keyCode
==
13
)
$
(
"#mb_btn_ok1"
).
trigger
(
'click'
);
if
(
e
.
keyCode
==
27
)
$
(
"#mb_btn_no1"
).
trigger
(
'click'
);
});
break
;
}
...
...
@@ -321,7 +329,7 @@ function getIEVersion() {
bottom
:
'15px'
});
}
else
{
$
(
"#mb_btn_ok,#mb_btn_no"
).
css
({
$
(
"#mb_btn_ok,#mb_btn_no
,#mb_btn_ok1,#mb_btn_no1
"
).
css
({
width
:
'80px'
,
height
:
'30px'
,
color
:
'white'
,
...
...
@@ -335,6 +343,19 @@ function getIEVersion() {
right
:
'105px'
,
bottom
:
'10px'
,
});
$
(
"#mb_btn_ok1"
).
css
({
backgroundColor
:
'#53ACF3'
,
marginRight
:
'6px'
,
right
:
'112px'
,
bottom
:
'10px'
,
width
:
'24%'
});
$
(
"#mb_btn_no1"
).
css
({
backgroundColor
:
'#53ACF3'
,
marginRight
:
'6px'
,
right
:
'23px'
,
bottom
:
'10px'
,
});
}
$
(
"#mb_btn_no"
).
css
({
border
:
'1px solid #CCCCCC'
,
...
...
@@ -1447,13 +1468,15 @@ var JSTOOL = function() {
},
})
var
czlxbz
=
""
myConfirmNoclose
(
"
提示"
,
"hhhhhhhhhhhhhh"
,
"去退税"
,
"不再提示
"
,
function
(
result
)
{
if
(
result
)
{
myConfirmNoclose
(
"
系统提示"
,
"hhhhhhhhhhhhhh"
,
"立即申请退税"
,
"不再提醒
"
,
function
(
result
)
{
if
(
result
==
true
)
{
czlxbz
=
"1"
}
else
{
}
else
if
(
result
==
false
)
{
czlxbz
=
"3"
}
else
{
czlxbz
=
"0"
}
if
(
successIf
||
czlxbz
==
"3"
)
{
if
(
successIf
||
czlxbz
==
"3"
||
czlxbz
==
"0"
)
{
$
.
ajax
({
type
:
"post"
,
url
:
config
.
url
+
"/online/zxtb/saveHjtsCzlx"
,
...
...
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