Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-solr
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
常超
xzxt-solr
Commits
c37de23a
Commit
c37de23a
authored
Jun 08, 2020
by
lishuzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人案筛查页面,嫌疑人证件号码下添加人员档案的跳转链接
parent
c6dc4f11
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
1 deletions
+60
-1
src/main/webapp/static/rasc/js/navCategory_zj.js
+1
-1
src/main/webapp/static/rasc/js/ychy.js
+59
-0
No files found.
src/main/webapp/static/rasc/js/navCategory_zj.js
View file @
c37de23a
...
...
@@ -397,7 +397,7 @@ var navCategory = {
return
val
+
"<img src='static/images/asjxx_ychy.png' width=20 height=20 title='用采合一' onclick=
\"
layerxz_tips(this,'"
+
row
.
asjbh
+
"','"
+
row
.
zcjddm
+
"','"
+
row
.
ajlbdm
+
"');
\"
/>"
;
},
ryychy
:
function
(
val
,
row
){
return
val
+
"<img src='static/images/asjxx_ychy.png' width=20 height=20 title='用采合一' onclick=
\"
layerxz_tips
(this,'"
+
row
.
id
+
"','','','"
+
row
.
cyzj_zjhm
+
"
')
\"
/>"
;
return
val
+
"<img src='static/images/asjxx_ychy.png' width=20 height=20 title='用采合一' onclick=
\"
layerxz_tips
Ry(this,'"
+
row
.
id
+
"','','','"
+
row
.
cyzj_zjhm
+
"','1
')
\"
/>"
;
},
myListLoadError
:
function
(
mess
){
utils
.
hideLoadMask
();
...
...
src/main/webapp/static/rasc/js/ychy.js
View file @
c37de23a
...
...
@@ -49,6 +49,33 @@ function layerxz_tips(obj,id,zcjddm,ajlbdm,cyzj_zjhm) {
layer
.
tips
(
htmlChild
,
that
,{
time
:
15000
,
tips
:[
2
,
'#f3f7f8'
],
width
:
380
});
//在元素的事件回调体中,follow直接赋予this即可
}
function
layerxz_tipsRy
(
obj
,
id
,
zcjddm
,
ajlbdm
,
cyzj_zjhm
,
flag
)
{
asjbhObj
=
id
;
zcjddmObj
=
zcjddm
;
ajlbdmObj
=
ajlbdm
;
zjhmObj
=
cyzj_zjhm
;
var
that
=
$
(
obj
);
var
A
=
id
.
indexOf
(
"A"
);
var
P
=
id
.
indexOf
(
"P"
);
var
S
=
id
.
indexOf
(
"S"
);
var
htmlChild
=
""
;
htmlChild
+=
"<ul class='popUl' style='position:absolute;_left:40px;_top:-10px;'>"
;
htmlChild
+=
"<h4><b onclick='closeLayer();' style='float:right; margin-right:5px; cursor: pointer; font-size:12px; color:#f60;'><span style='position:relative; top:-4px;'>关闭</span></b></h4>"
;
htmlChild
+=
"<h4>"
+
id
+
"</h4>"
;
if
(
A
>-
1
){
htmlChild
+=
"<li onclick='toajxq(this);'><img src='./static/images/bcws.png' width='16px;' style='float:left; position:relative; top:6px;'/><span>案件详情</span></li>"
;
}
else
if
(
P
>-
1
){
htmlChild
+=
"<li data-act='toZyryzb.action' onclick='goRyzbAction(this);'><img src='./static/images/rygtfx.png' width='16px;' style='float:left; position:relative; top:6px;'/><span>人员侦办</span></li>"
;
if
(
flag
==
'1'
)
{
htmlChild
+=
"<li onclick='toRyda(this);'>"
+
"<img src='./static/images/bcws.png' width='16px;' style='float:left; position:relative; top:6px;'/><span>人员档案</span></li>"
;
}
}
else
if
(
S
>-
1
){
htmlChild
+=
"<li data-act='toZyryzb.action' onclick='goRyzbAction(this);'><img src='./static/images/rygtfx.png' width='16px;' style='float:left; position:relative; top:6px;'/><span>人员侦办</span></li>"
;
}
htmlChild
+=
"</ul>"
;
layer
.
tips
(
htmlChild
,
that
,{
time
:
15000
,
tips
:[
2
,
'#f3f7f8'
],
width
:
380
});
//在元素的事件回调体中,follow直接赋予this即可
}
//案件档案
function
toajda
(
obj
)
{
closeLayer
();
...
...
@@ -69,4 +96,35 @@ function goRyzbAction(obj){
}
function
closeLayer
(){
layer
.
closeAll
(
"tips"
);
}
//人员档案
function
toRyda
(
obj
)
{
closeLayer
();
var
url
=
"http://68.174.25.90:8101/ryxx/getRydaUrl"
;
var
data
=
{
"zjhm"
:
zjhmObj
,
"policemanId"
:
"00000000000012"
};
var
index
=
layer
.
load
(
1
,
{
content
:
'数据加载中...'
,
shade
:
[
0.35
,
'#fff'
],
success
:
function
(
layero
)
{
/*layero.css('padding-left', '30px');*/
layero
.
find
(
'.layui-layer-content'
).
css
({
'padding-top'
:
'40px'
,
'width'
:
'70px'
,
'background-position-x'
:
'16px'
});
}
});
$
.
ajax
({
url
:
url
,
data
:
data
,
type
:
'POST'
,
success
:
function
(
data
)
{
layer
.
close
(
index
);
window
.
open
(
data
);
},
error
:
function
()
{
layer
.
close
(
index
);
layer
.
alert
(
"服务器异常跳转人员档案失败"
,
"提示"
);
}
});
}
\ 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