Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zczlService
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
曹崟
zczlService
Commits
fa3f7b82
Commit
fa3f7b82
authored
Nov 07, 2019
by
mayunfei
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master_sc' into master_sc
parents
e1b4303b
610ef799
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
361 additions
and
14 deletions
+361
-14
src/main/java/com/founder/config/FilterConfig.java
+1
-1
src/main/java/com/founder/zczl/controller/ZczlController.java
+0
-0
src/main/java/com/founder/zczl/dao/ZczlDao.java
+4
-0
src/main/java/com/founder/zczl/service/IZczlService.java
+4
-0
src/main/java/com/founder/zczl/service/impl/ZczlService.java
+112
-6
src/main/resources/mapper/ZczlMapper.xml
+22
-2
src/main/resources/static/js/listBxqjsdzczl.js
+58
-1
src/main/webapp/WEB-INF/jsp/bxqjsdzjzl.jsp
+15
-0
src/main/webapp/WEB-INF/jsp/hbxq.jsp
+29
-1
src/main/webapp/WEB-INF/jsp/wfzdzjzl.jsp
+14
-0
src/main/webapp/WEB-INF/jsp/wzjdzczl.jsp
+15
-0
src/main/webapp/WEB-INF/jsp/zczlxxxq.jsp
+29
-1
src/main/webapp/WEB-INF/jsp/zjzlhbxq.jsp
+29
-1
src/main/webapp/WEB-INF/jsp/zjzlxxxq.jsp
+29
-1
No files found.
src/main/java/com/founder/config/FilterConfig.java
View file @
fa3f7b82
...
...
@@ -18,7 +18,7 @@ public class FilterConfig extends WebMvcConfigurerAdapter {
//
registry
.
addInterceptor
(
InterceptorConfig
).
addPathPatterns
(
"/**"
).
excludePathPatterns
(
"/refreshCodeCache"
,
"/loginFail"
,
"/login"
,
"/toGetZczlListYth"
,
"/queryAllzTreeData"
,
"/queryUnitCode"
,
"/queryTypeCode"
,
"/queryZTreeDataByName"
);
excludePathPatterns
(
"/refreshCodeCache"
,
"/loginFail"
,
"/login"
,
"/toGetZczlListYth"
,
"/queryAllzTreeData"
,
"/queryUnitCode"
,
"/queryTypeCode"
,
"/queryZTreeDataByName"
,
"/getZczlListImp"
,
"/zczlQsImp"
);
}
@Override
...
...
src/main/java/com/founder/zczl/controller/ZczlController.java
View file @
fa3f7b82
This diff is collapsed.
Click to expand it.
src/main/java/com/founder/zczl/dao/ZczlDao.java
View file @
fa3f7b82
...
...
@@ -113,6 +113,8 @@ public interface ZczlDao {
Integer
toQueryBxqjsdzczlsForTotal
(
TbYwZczl
tbYwZczl
);
List
<
TbYwZczlFp
>
toQueryBxqjsdzczlsQs
(
TbYwZczl
tbYwZczl
);
List
<
TbYwZczlFp
>
getAllFpxxOrderByFpsj
(
String
zczlbh
);
TbYwZczlHb
getFirstHbxxByFpbhForBlgc
(
String
fpbh
);
...
...
@@ -200,4 +202,6 @@ public interface ZczlDao {
Integer
toQueryBxqjsdzjzlsForTotal
(
TbYwZjZczl
tbYwZjZczl
);
List
<
TbYwZjZczl
>
getZjzlxxByHbbhFormZjzl
(
String
hbbh
);
User
getUserByIdCard
(
String
identitycard
);
}
src/main/java/com/founder/zczl/service/IZczlService.java
View file @
fa3f7b82
...
...
@@ -108,6 +108,8 @@ public interface IZczlService {
Integer
toQueryBxqjsdzczlsForTotal
(
TbYwZczl
tbYwZczl
,
String
unitcode
);
List
<
TbYwZczlFp
>
toQueryBxqjsdzczlsQs
(
String
zczlbh
,
String
unitcode
,
String
flag
);
List
<
TbYwZczlFp
>
getAllFpxxOrderByFpsj
(
String
zczlbh
);
TbYwZczlHb
getFirstHbxxByFpbhForBlgc
(
String
fpbh
);
...
...
@@ -185,4 +187,6 @@ public interface IZczlService {
List
<
TbYwZjZczl
>
toQueryBxqjsdzjzls
(
TbYwZjZczl
tbYwZjZczl
,
String
unitcode
);
List
<
TbYwZjZczl
>
getZjzlxxByHbbhFormZjzl
(
String
hbbh
);
User
getUserByIdCard
(
String
identitycard
);
}
src/main/java/com/founder/zczl/service/impl/ZczlService.java
View file @
fa3f7b82
...
...
@@ -1278,6 +1278,28 @@ public class ZczlService implements IZczlService {
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"')"
;
}
}
else
{
if
(
i
==
list
.
size
()
-
1
&&
i
%
500
==
0
){
inString
=
inString
+
"or fp.QSRGAJGDM in ('"
+
list
.
get
(
i
)+
"'"
;
}
else
if
(
i
%
500
==
0
){
inString
=
inString
+
"or fp.QSRGAJGDM in ('"
+
list
.
get
(
i
)+
"'"
;
}
else
if
((
i
+
1
)
%
500
!=
0
&&
i
!=
list
.
size
()-
1
){
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"'"
;
}
else
{
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"')"
;
}
}
}
/*for(int i=0;i<list.size();i++){
if(i<500){
if(i==0){
inString = "('"+list.get(i)+"'";
}else if(i<499){
inString = inString+",'"+list.get(i)+"'";
}else{
inString = inString+",'"+list.get(i)+"')";
}
}else{
if(i==500){
inString = inString + "or fp.QSRGAJGDM in ('"+list.get(i)+"'";
}else if(i!=list.size()-1){
...
...
@@ -1287,7 +1309,7 @@ public class ZczlService implements IZczlService {
}
}
}
}
*/
}
m
.
put
(
"inString"
,
inString
);
}
else
{
...
...
@@ -1374,9 +1396,11 @@ public class ZczlService implements IZczlService {
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"')"
;
}
}
else
{
if
(
i
==
500
){
inString
=
inString
+
" or f.QSRGAJGDM in ('"
+
list
.
get
(
i
)+
"'"
;
}
else
if
(
i
!=
list
.
size
()-
1
){
if
(
i
==
list
.
size
()
-
1
&&
i
%
500
==
0
){
inString
=
inString
+
"or f.QSRGAJGDM in ('"
+
list
.
get
(
i
)+
"'"
;
}
else
if
(
i
%
500
==
0
){
inString
=
inString
+
"or f.QSRGAJGDM in ('"
+
list
.
get
(
i
)+
"'"
;
}
else
if
((
i
+
1
)
%
500
!=
0
&&
i
!=
list
.
size
()-
1
){
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"'"
;
}
else
{
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"')"
;
...
...
@@ -1462,9 +1486,11 @@ public class ZczlService implements IZczlService {
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"')"
;
}
}
else
{
if
(
i
==
50
0
){
if
(
i
==
list
.
size
()
-
1
&&
i
%
500
==
0
){
inString
=
inString
+
"or f.QSRGAJGDM in ('"
+
list
.
get
(
i
)+
"'"
;
}
else
if
(
i
!=
list
.
size
()-
1
){
}
else
if
(
i
%
500
==
0
){
inString
=
inString
+
"or f.QSRGAJGDM in ('"
+
list
.
get
(
i
)+
"'"
;
}
else
if
((
i
+
1
)
%
500
!=
0
&&
i
!=
list
.
size
()-
1
){
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"'"
;
}
else
{
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"')"
;
...
...
@@ -1479,6 +1505,81 @@ public class ZczlService implements IZczlService {
}
@Override
public
List
<
TbYwZczlFp
>
toQueryBxqjsdzczlsQs
(
String
zczlbh
,
String
unitcode
,
String
flag
)
{
TbYwZczl
tbYwZczl
=
new
TbYwZczl
();
//根据用户单位代码,拿到其下属单位以及所有单位信息
String
inString
=
null
;
//通过单位代码拿到其下级的单位
List
<
String
>
list
=
new
ArrayList
<>();
list
.
add
(
unitcode
);
//添加本单位
List
<
String
>
xycxList
=
new
ArrayList
<>();
//需要查询的单位
xycxList
.
add
(
unitcode
);
boolean
bool
=
true
;
//是否还存在子节点
//通过单位代码拿到其子节点
while
(
bool
){
xycxList
=
zczlDao
.
getChilds
(
xycxList
);
if
(
xycxList
==
null
||
xycxList
.
size
()==
0
){
bool
=
false
;
//没有子节点
}
else
{
for
(
int
i
=
0
;
i
<
xycxList
.
size
();
i
++){
list
.
add
(
xycxList
.
get
(
i
));
}
}
}
//oracle的in关键字中的元素不能超过1000
boolean
oneIn
=
true
;
//是否只用一个in
if
(
list
!=
null
&&
list
.
size
()>
1000
){
oneIn
=
false
;
}
if
(
oneIn
){
//遍历list,拼接单位的字符串
for
(
int
i
=
0
;
i
<
list
.
size
();
i
++){
//只有一个单位
if
(
i
==
0
&&
i
==
list
.
size
()-
1
){
inString
=
"('"
+
list
.
get
(
i
)+
"')"
;
}
else
if
(
i
==
0
){
inString
=
"('"
+
list
.
get
(
i
)+
"'"
;
}
else
if
(
i
!=
list
.
size
()-
1
){
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"'"
;
}
else
{
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"')"
;
}
}
}
else
{
//遍历list,拼接单位的字符串
for
(
int
i
=
0
;
i
<
list
.
size
();
i
++){
if
(
i
<
500
){
if
(
i
==
0
){
inString
=
"('"
+
list
.
get
(
i
)+
"'"
;
}
else
if
(
i
<
499
){
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"'"
;
}
else
{
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"')"
;
}
}
else
{
if
(
i
==
list
.
size
()
-
1
&&
i
%
500
==
0
){
inString
=
inString
+
"or f.QSRGAJGDM in ('"
+
list
.
get
(
i
)+
"'"
;
}
else
if
(
i
%
500
==
0
){
inString
=
inString
+
"or f.QSRGAJGDM in ('"
+
list
.
get
(
i
)+
"'"
;
}
else
if
((
i
+
1
)
%
500
!=
0
&&
i
!=
list
.
size
()-
1
){
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"'"
;
}
else
{
inString
=
inString
+
",'"
+
list
.
get
(
i
)+
"')"
;
}
}
}
}
tbYwZczl
.
setBxqdwdms
(
inString
);
tbYwZczl
.
setUnitcode
(
unitcode
);
tbYwZczl
.
setZlsfqs
(
flag
);
tbYwZczl
.
setZczlbh
(
zczlbh
);
return
zczlDao
.
toQueryBxqjsdzczlsQs
(
tbYwZczl
);
}
@Override
public
List
<
TbYwZczlFp
>
getAllFpxxOrderByFpsj
(
String
zczlbh
)
{
return
zczlDao
.
getAllFpxxOrderByFpsj
(
zczlbh
);
}
...
...
@@ -2445,4 +2546,9 @@ public class ZczlService implements IZczlService {
return
zczlDao
.
getZjzlxxByHbbhFormZjzl
(
hbbh
);
}
@Override
public
User
getUserByIdCard
(
String
identitycard
)
{
return
zczlDao
.
getUserByIdCard
(
identitycard
);
}
}
src/main/resources/mapper/ZczlMapper.xml
View file @
fa3f7b82
...
...
@@ -1292,14 +1292,14 @@
</if>
</if>
<if
test=
"sfbdw==0"
>
<if
test=
"userUnitcode!=null and userUnitcode!=''"
>
<
!--<
if test="userUnitcode!=null and userUnitcode!=''">
and fp.FPRGAJGDM = #{userUnitcode}
</if>
<if test="userUnitcode==null or userUnitcode==''">
<if test="dadCodes!=null and dadCodes!=''">
and fp.FPRGAJGDM in ${dadCodes}
</if>
</if>
</if>
-->
<if
test=
"inString!=null and inString!=''"
>
and (fp.QSRGAJGDM in ${inString})
</if>
...
...
@@ -1380,6 +1380,13 @@
<include
refid=
"bxqjsdzczl-where"
/>
</select>
<!-- 拿到我辖区的侦查指令信息 -->
<select
id=
"toQueryBxqjsdzczlsQs"
parameterType=
"com.founder.model.TbYwZczl"
resultType=
"com.founder.model.TbYwZczlFp"
>
select * from TB_YW_ZCZL_FP f where 1=1
<if
test=
"zczlbh !=null and zczlbh!=''"
>
and f.zczlbh = #{zczlbh, jdbcType=VARCHAR}
</if>
and ((f.YFPBH is null and f.FPRGAJGDM = #{unitcode, jdbcType=VARCHAR}) or (f.QSRGAJGDM in ${bxqdwdms})) and f.xxscpdbz='0'
</select>
<!-- 查询所有-侦查指令统计需要显示的单位-->
<select
id=
"getAllDwdms"
parameterType=
"com.founder.model.TbYwZczl"
resultType=
"com.founder.model.TbYwZczlTj"
>
select * from (
...
...
@@ -2717,4 +2724,16 @@
from TB_YW_ZJ_ZCZL zczl where 1=1 and zczl.xxscpdbz = '0' and zczl.HBBH=#{hbbh}
</select>
<select
id=
"getUserByIdCard"
parameterType=
"java.lang.String"
resultType=
"com.founder.model.User"
>
select
USERNAME username,
TRUE_NAME truename,
TELEPHONE telephone,
UNITCODE unitcode,
UNITNAME unitname,
POLICEMANID policemanid,
IDENTITYCARD identitycard
from SYS_USER where identitycard = #{identitycard} and scbz='0'
</select>
</mapper>
\ No newline at end of file
src/main/resources/static/js/listBxqjsdzczl.js
View file @
fa3f7b82
$
(
function
(){
doQuery
();
//相册层
layer
.
alert
(
'更新内容:本辖区接收的侦察指令添加签收,回报情况展示。'
,
{
title
:
false
,
closeBtn
:
0
,
shadeClose
:
true
,
area
:
[
'500px'
,
'120px'
],
icon
:
1
,
btn
:
[
'我明白了'
],
skin
:
'layer-ext-moon'
//该皮肤由layer.seaning.com友情扩展。关于皮肤的扩展规则,去这里查阅
})
})
function
getSpztColumn
(
row
){
...
...
@@ -28,13 +38,60 @@ function toZczlDetail(zczlbh){
window
.
open
(
url
);
}
//指令文号后拼接状态
function
getZlwhzt
(
row
){
var
str
=
row
.
zlwh
;
if
(
str
!=
null
&&
str
!=
""
){
//存在分派信息显示签收数
if
(
row
.
zlfpgs
!=
null
&&
row
.
zlfpgs
!=
0
&&
row
.
zlfpgs
!=
""
){
str
=
str
+
" <a onclick='qs_tk(this,event)' class=
\"
re_hqzt re_qs
\"
>签:<span class=
\"
n_hq
\"
>"
+
row
.
zlqsgs
+
"</span>/<span class=
\"
n_totle
\"
>"
+
row
.
zlfpgs
+
"</span><div class=
\"
right_po
\"
><table><tr><th width=
\"
60%
\"
>单位名称</th><th width=
\"
40%
\"
>签收状态</th></tr>"
+
row
.
zlfpdwHtml
+
"</table></div></a>"
;
}
//存在回报信息显示回报数
if
(
row
.
zlqsgs
!=
null
&&
row
.
zlqsgs
!=
0
&&
row
.
zlqsgs
!=
""
){
str
=
str
+
" <a onclick=
\"
toHbDetail('"
+
row
.
zczlbh
+
"')
\"
class=
\"
re_hqzt re_hb
\"
>报:<span class=
\"
n_hq
\"
>"
+
row
.
zlhbcs
+
"</span>/<span class=
\"
n_totle
\"
>"
+
row
.
zlfpgs
+
"</span></a>"
;
}
}
return
str
;
}
/* 添加右侧弹出框 */
function
qs_tk
(
el
,
event
)
{
window
.
top
.
aa
(
el
,
event
);
// $('.right_po').dialog('open');
}
function
aa
(
el
,
event
)
{
var
top
=
$
(
el
).
offset
().
top
;
var
height
=
$
(
window
).
height
();
var
bottom
=
height
-
top
;
var
div_height
=
$
(
el
).
find
(
'.right_po'
).
height
();
$
(
'.right_po'
).
hide
();
if
(
div_height
<
bottom
)
{
$
(
el
).
find
(
'.right_po'
).
show
();
}
else
{
$
(
el
).
find
(
'.right_po'
).
show
().
css
(
"top"
,
-
div_height
+
'px'
);
}
// 解决easyui相应元素设置overflow:hidden属性导致定位的弹窗溢出不显示问题--待定
$
(
'.datagrid-body'
).
css
({
'overflow'
:
'visible'
,
'overflow-x'
:
'visible'
});
$
(
'.datagrid-view2'
).
css
(
'overflow'
,
'visible'
);
$
(
'.datagrid-view'
).
css
(
'overflow'
,
'visible'
);
$
(
'.panel'
).
css
(
'overflow'
,
'visible'
);
$
(
'.panel-body'
).
css
(
'overflow'
,
'visible'
);
event
.
stopPropagation
();
}
//跳转我负责的侦查指令的回报详情界面
function
toHbDetail
(
zczlbh
){
var
url
=
"/toHbDetail?sfwfzdzczl=1&sfwxqdZczl=1&zczlbh="
+
zczlbh
;
window
.
open
(
url
);
}
$
(
document
).
click
(
function
(
event
)
{
$
(
'.right_po'
).
slideUp
(
200
);
});
var
table_title
=
[
{
title
:
"操作"
,
field
:
"cz"
,
align
:
'center'
,
width
:
'10%'
,
formatter
:
function
(
val
,
row
,
index
){
return
getCzColumn
(
row
);
}},
{
title
:
"指令文号"
,
field
:
"zlwh"
,
align
:
'center'
,
width
:
'20%'
,
formatter
:
function
(
val
,
row
,
index
){
return
row
.
zlwh
;
return
getZlwhzt
(
row
)
;
}},
{
title
:
"业务类型"
,
field
:
"ywlx_str"
,
align
:
'center'
,
width
:
'10%'
,
formatter
:
function
(
val
,
row
,
index
){
return
row
.
ywlx_str
;
...
...
src/main/webapp/WEB-INF/jsp/bxqjsdzjzl.jsp
View file @
fa3f7b82
...
...
@@ -14,6 +14,12 @@
String
ssw =
user.getUnitcode().substring(2,4);
//用户名
String
username =
user.getUsername();
//真实姓名
String
truename =
user.getTrueName();
//警号
String
policeId =
user.getPolicemanid();
//证件号码
String
identitycard =
user.getIdentitycard();
%
>
<head>
<meta
charset=
"UTF-8"
>
...
...
@@ -216,6 +222,15 @@
<script
type=
"text/javascript"
src=
"/js/listBxqjsdzjzl.js"
></script>
<script
id=
"scripturlid"
src=
"/common/js/checkurl.js?url=${perurl}"
type=
"text/javascript"
></script>
<
%
--
添加水印
--
%
>
<script
type=
"text/javascript"
src=
"/common/js/common.js"
></script>
<script
type=
"text/javascript"
src=
"/common/js/watermark.js"
></script>
<script>
getIPs
(
function
(
ip
){
watermark
.
load
({
watermark_txt
:
"<%=truename%>"
+
" "
+
"<%=identitycard%>"
+
" "
+
"<%=unitcode%>"
+
" "
+
"<%=policeId%>"
+
" "
+
ip
});
});
</script>
<script>
openCombotree
(
'ywlx'
);
openCombotree
(
'zllx'
);
...
...
src/main/webapp/WEB-INF/jsp/hbxq.jsp
View file @
fa3f7b82
<
%@
page
contentType=
"text/html;charset=UTF-8"
language=
"java"
%
>
<
%@
taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%
>
<html
lang=
"en"
>
<
%@
page
language=
"java"
import=
"java.util.*,com.founder.model.*"
pageEncoding=
"utf-8"
%
>
<
%
User
user =
new
User
();
user =
(User)session.getAttribute("user");
//是否联络员
String
sflly =
(String)session.getAttribute("sflly");
//用户单位
String
unitcode =
user.getUnitcode();
//系统所属单位
String
ssdw =
user.getUnitcode().substring(0,2);
//用户单位三四位
String
ssw =
user.getUnitcode().substring(2,4);
//用户名
String
username =
user.getUsername();
//真实姓名
String
truename =
user.getTrueName();
//警号
String
policeId =
user.getPolicemanid();
//证件号码
String
identitycard =
user.getIdentitycard();
%
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
...
...
@@ -339,6 +359,14 @@
<!--- 日期时间-->
<script
type=
"text/javascript"
src=
"/common/datepicker/WdatePicker.js"
></script>
<script
type=
"text/javascript"
src=
"/common/datepicker/calendar.js"
></script>
<
%
--
添加水印
--
%
>
<script
type=
"text/javascript"
src=
"/common/js/common.js"
></script>
<script
type=
"text/javascript"
src=
"/common/js/watermark.js"
></script>
<script>
getIPs
(
function
(
ip
){
watermark
.
load
({
watermark_txt
:
"<%=truename%>"
+
" "
+
"<%=identitycard%>"
+
" "
+
"<%=unitcode%>"
+
" "
+
"<%=policeId%>"
+
" "
+
ip
});
});
</script>
<script>
openCombotree
(
'ywlx'
);
openCombotree
(
'zllx'
);
...
...
src/main/webapp/WEB-INF/jsp/wfzdzjzl.jsp
View file @
fa3f7b82
...
...
@@ -15,6 +15,12 @@
String
ssw =
user.getUnitcode().substring(2,4);
//用户名
String
username =
user.getUsername();
//真实姓名
String
truename =
user.getTrueName();
//警号
String
policeId =
user.getPolicemanid();
//证件号码
String
identitycard =
user.getIdentitycard();
%
>
<head>
<meta
charset=
"UTF-8"
>
...
...
@@ -254,6 +260,14 @@
<script
type=
"text/javascript"
src=
"/common/datepicker/calendar.js"
></script>
<script
type=
"text/javascript"
src=
"/js/listWfzdzjzl.js"
></script>
<
%
--
添加水印
--
%
>
<script
type=
"text/javascript"
src=
"/common/js/common.js"
></script>
<script
type=
"text/javascript"
src=
"/common/js/watermark.js"
></script>
<script>
getIPs
(
function
(
ip
){
watermark
.
load
({
watermark_txt
:
"<%=truename%>"
+
" "
+
"<%=identitycard%>"
+
" "
+
"<%=unitcode%>"
+
" "
+
"<%=policeId%>"
+
" "
+
ip
});
});
</script>
<script>
openCombotree
(
'ywlx'
);
...
...
src/main/webapp/WEB-INF/jsp/wzjdzczl.jsp
View file @
fa3f7b82
...
...
@@ -15,6 +15,12 @@
String
ssw =
user.getUnitcode().substring(2,4);
//用户名
String
username =
user.getUsername();
//真实姓名
String
truename =
user.getTrueName();
//警号
String
policeId =
user.getPolicemanid();
//证件号码
String
identitycard =
user.getIdentitycard();
%
>
<head>
<meta
charset=
"UTF-8"
>
...
...
@@ -184,6 +190,15 @@
<script
type=
"text/javascript"
src=
"/js/listWzjdzczl.js"
></script>
<script
id=
"scripturlid"
src=
"/common/js/checkurl.js?url=${perurl}"
type=
"text/javascript"
></script>
<
%
--
添加水印
--
%
>
<script
type=
"text/javascript"
src=
"/common/js/common.js"
></script>
<script
type=
"text/javascript"
src=
"/common/js/watermark.js"
></script>
<script>
getIPs
(
function
(
ip
){
watermark
.
load
({
watermark_txt
:
"<%=truename%>"
+
" "
+
"<%=identitycard%>"
+
" "
+
"<%=unitcode%>"
+
" "
+
"<%=policeId%>"
+
" "
+
ip
});
});
</script>
<script>
openCombotree
(
'ywlx'
);
openCombotree
(
'zllx'
);
...
...
src/main/webapp/WEB-INF/jsp/zczlxxxq.jsp
View file @
fa3f7b82
...
...
@@ -3,7 +3,26 @@
<
%@
taglib
prefix=
"fn"
uri=
"http://java.sun.com/jsp/jstl/functions"
%
>
,
<html
xmlns:th=
"http://www.thymeleaf.org"
>
<
%@
page
language=
"java"
import=
"java.util.*,com.founder.model.*"
pageEncoding=
"utf-8"
%
>
<
%
User
user =
new
User
();
user =
(User)session.getAttribute("user");
//是否联络员
String
sflly =
(String)session.getAttribute("sflly");
//用户单位
String
unitcode =
user.getUnitcode();
//系统所属单位
String
ssdw =
user.getUnitcode().substring(0,2);
//用户单位三四位
String
ssw =
user.getUnitcode().substring(2,4);
//用户名
String
username =
user.getUsername();
//真实姓名
String
truename =
user.getTrueName();
//警号
String
policeId =
user.getPolicemanid();
//证件号码
String
identitycard =
user.getIdentitycard();
%
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
...
...
@@ -425,6 +444,14 @@
<script
src=
"/timeLine/js/jquery.eeyellow.Timeline.js"
type=
"text/javascript"
></script>
<script
src=
"/layer/layer.js"
type=
"text/javascript"
></script>
<script
src=
"/js/zlxq.js"
type=
"text/javascript"
></script>
<
%
--
添加水印
--
%
>
<script
type=
"text/javascript"
src=
"/common/js/common.js"
></script>
<script
type=
"text/javascript"
src=
"/common/js/watermark.js"
></script>
<script>
getIPs
(
function
(
ip
){
watermark
.
load
({
watermark_txt
:
"<%=truename%>"
+
" "
+
"<%=identitycard%>"
+
" "
+
"<%=unitcode%>"
+
" "
+
"<%=policeId%>"
+
" "
+
ip
});
});
</script>
</div>
</body>
</html>
\ No newline at end of file
src/main/webapp/WEB-INF/jsp/zjzlhbxq.jsp
View file @
fa3f7b82
<
%@
page
contentType=
"text/html;charset=UTF-8"
language=
"java"
%
>
<
%@
taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%
>
<html
lang=
"en"
>
<
%@
page
language=
"java"
import=
"java.util.*,com.founder.model.*"
pageEncoding=
"utf-8"
%
>
<
%
User
user =
new
User
();
user =
(User)session.getAttribute("user");
//是否联络员
String
sflly =
(String)session.getAttribute("sflly");
//用户单位
String
unitcode =
user.getUnitcode();
//系统所属单位
String
ssdw =
user.getUnitcode().substring(0,2);
//用户单位三四位
String
ssw =
user.getUnitcode().substring(2,4);
//用户名
String
username =
user.getUsername();
//真实姓名
String
truename =
user.getTrueName();
//警号
String
policeId =
user.getPolicemanid();
//证件号码
String
identitycard =
user.getIdentitycard();
%
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
...
...
@@ -213,6 +233,14 @@
<!--- 日期时间-->
<script
type=
"text/javascript"
src=
"/common/datepicker/WdatePicker.js"
></script>
<script
type=
"text/javascript"
src=
"/common/datepicker/calendar.js"
></script>
<
%
--
添加水印
--
%
>
<script
type=
"text/javascript"
src=
"/common/js/common.js"
></script>
<script
type=
"text/javascript"
src=
"/common/js/watermark.js"
></script>
<script>
getIPs
(
function
(
ip
){
watermark
.
load
({
watermark_txt
:
"<%=truename%>"
+
" "
+
"<%=identitycard%>"
+
" "
+
"<%=unitcode%>"
+
" "
+
"<%=policeId%>"
+
" "
+
ip
});
});
</script>
<script>
openCombotree
(
'ywlx'
);
openCombotree
(
'zllx'
);
...
...
src/main/webapp/WEB-INF/jsp/zjzlxxxq.jsp
View file @
fa3f7b82
...
...
@@ -3,7 +3,26 @@
<
%@
taglib
prefix=
"fn"
uri=
"http://java.sun.com/jsp/jstl/functions"
%
>
,
<html
xmlns:th=
"http://www.thymeleaf.org"
>
<
%@
page
language=
"java"
import=
"java.util.*,com.founder.model.*"
pageEncoding=
"utf-8"
%
>
<
%
User
user =
new
User
();
user =
(User)session.getAttribute("user");
//是否联络员
String
sflly =
(String)session.getAttribute("sflly");
//用户单位
String
unitcode =
user.getUnitcode();
//系统所属单位
String
ssdw =
user.getUnitcode().substring(0,2);
//用户单位三四位
String
ssw =
user.getUnitcode().substring(2,4);
//用户名
String
username =
user.getUsername();
//真实姓名
String
truename =
user.getTrueName();
//警号
String
policeId =
user.getPolicemanid();
//证件号码
String
identitycard =
user.getIdentitycard();
%
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
...
...
@@ -401,5 +420,13 @@
<script
src=
"/timeLine/js/jquery.eeyellow.Timeline.js"
type=
"text/javascript"
></script>
<script
src=
"/layer/layer.js"
type=
"text/javascript"
></script>
<script
src=
"/js/zlxq.js"
type=
"text/javascript"
></script>
<
%
--
添加水印
--
%
>
<script
type=
"text/javascript"
src=
"/common/js/common.js"
></script>
<script
type=
"text/javascript"
src=
"/common/js/watermark.js"
></script>
<script>
getIPs
(
function
(
ip
){
watermark
.
load
({
watermark_txt
:
"<%=truename%>"
+
" "
+
"<%=identitycard%>"
+
" "
+
"<%=unitcode%>"
+
" "
+
"<%=policeId%>"
+
" "
+
ip
});
});
</script>
</body>
</html>
\ 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