Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hnxtbaboot
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
杨亮
hnxtbaboot
Commits
8f5fe900
Commit
8f5fe900
authored
Oct 26, 2021
by
wuchengwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增海口专属统计功能
parent
aced11d1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1142 additions
and
203 deletions
+1142
-203
src/main/java/com/founder/khtj/controller/KhtjController.java
+163
-19
src/main/java/com/founder/khtj/domain/RstBean.java
+8
-0
src/main/java/com/founder/khtj/service/IRycjtjService.java
+1
-1
src/main/java/com/founder/khtj/service/impl/IRycjtjServiceImpl.java
+26
-2
src/main/java/com/founder/utils/DateFormatUtils.java
+9
-1
src/main/resources/mapper/KhtjDao.xml
+19
-2
src/main/resources/templates/home.html
+7
-2
src/main/resources/templates/khtj/cxlist.html
+3
-0
src/main/resources/templates/khtj/ryxxtj.html
+322
-176
src/main/resources/templates/khtj/ryxxtjhk.html
+584
-0
No files found.
src/main/java/com/founder/khtj/controller/KhtjController.java
View file @
8f5fe900
...
...
@@ -9,9 +9,8 @@ import com.founder.login.service.LoginService;
import
com.founder.model.AutoTbStRy
;
import
com.founder.model.User
;
import
com.founder.module.redis.service.IDicItemService
;
import
com.founder.utils.DateUtil
;
import
com.founder.utils.EasyUIPage
;
import
com.founder.utils.SysUitl
;
import
com.founder.utils.*
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.poi.hssf.usermodel.*
;
import
org.apache.poi.ss.util.CellRangeAddress
;
import
org.slf4j.Logger
;
...
...
@@ -52,7 +51,7 @@ public class KhtjController {
@RequestMapping
(
"/rycjqktj"
)
@ResponseBody
public
EasyUIPage
rycjqktj
(
@ModelAttribute
RstBean
rstBean
,
EasyUIPage
easyUIPage
,
Integer
rows
,
HttpServletRequest
request
,
String
ifFirst
,
String
ifbut
){
public
EasyUIPage
rycjqktj
(
@ModelAttribute
RstBean
rstBean
,
EasyUIPage
easyUIPage
,
Integer
rows
,
HttpServletRequest
request
,
String
ifFirst
,
String
ifbut
,
String
ifhk
){
List
<
RstBean
>
rstBeanlist
=
null
;
DateFormat
df
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
if
(!
"1"
.
equals
(
ifFirst
)){
...
...
@@ -82,7 +81,7 @@ public class KhtjController {
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
}
rstBeanlist
=
rycjtjService
.
getRsts
(
rstBean
,
rccdw
);
rstBeanlist
=
rycjtjService
.
getRsts
(
rstBean
,
rccdw
,
ifhk
);
int
zycs
=
0
;
int
ycs
=
0
;
int
zwcjs
=
0
;
int
rxcjs
=
0
;
int
swcjs
=
0
;
int
zjcjs
=
0
;
int
hmcjs
=
0
;
int
sjcjs
=
0
;
int
dnacjs
=
0
;
...
...
@@ -231,7 +230,7 @@ public class KhtjController {
}
@RequestMapping
(
"/toKhtj"
)
public
ModelAndView
toKhtj
(
ModelAndView
model
,
HttpServletRequest
request
,
HttpServletResponse
response
,
String
ifFirst
)
{
public
ModelAndView
toKhtj
(
ModelAndView
model
,
HttpServletRequest
request
,
HttpServletResponse
response
,
String
ifFirst
,
boolean
hk
)
{
User
user
=
(
User
)
request
.
getSession
().
getAttribute
(
"User"
);
DateFormat
df
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
RstBean
rstBean
=
new
RstBean
();
...
...
@@ -245,7 +244,11 @@ public class KhtjController {
rstBean
.
setMaxccsjStr
(
df
.
format
(
rstBean
.
getMaxccsj
()));
}
model
.
addObject
(
"rstBean"
,
rstBean
);
model
.
setViewName
(
"khtj/ryxxtj"
);
if
(
hk
){
model
.
setViewName
(
"khtj/ryxxtjhk"
);
}
else
{
model
.
setViewName
(
"khtj/ryxxtj"
);
}
return
model
;
}
...
...
@@ -311,17 +314,18 @@ public class KhtjController {
String
result
=
""
;
if
(
tjdw
==
null
||
""
.
equals
(
tjdw
))
{
result
=
"46%"
;
}
if
(
tjdw
.
substring
(
2
,
12
).
equals
(
"0000000000"
))
{
//省
result
=
tjdw
.
substring
(
0
,
2
)+
"%"
;
}
else
if
(
tjdw
.
substring
(
4
,
12
).
equals
(
"00000000"
))
{
//市
result
=
tjdw
.
substring
(
0
,
4
)+
"%"
;
}
else
if
(
tjdw
.
substring
(
6
,
12
).
equals
(
"000000"
)){
//县
result
=
tjdw
.
substring
(
0
,
6
)+
"%"
;
}
else
if
(
tjdw
.
substring
(
8
,
12
).
equals
(
"0000"
)){
//科所队
result
=
tjdw
.
substring
(
0
,
8
)+
"%"
;
}
else
{
//直接从具体单位——>人的采集信息
result
=
tjdw
.
substring
(
0
,
12
)+
"%"
;
}
else
{
if
(
tjdw
.
substring
(
2
,
12
).
equals
(
"0000000000"
))
{
//省
result
=
tjdw
.
substring
(
0
,
2
)
+
"%"
;
}
else
if
(
tjdw
.
substring
(
4
,
12
).
equals
(
"00000000"
))
{
//市
result
=
tjdw
.
substring
(
0
,
4
)
+
"%"
;
}
else
if
(
tjdw
.
substring
(
6
,
12
).
equals
(
"000000"
))
{
//县
result
=
tjdw
.
substring
(
0
,
6
)
+
"%"
;
}
else
if
(
tjdw
.
substring
(
8
,
12
).
equals
(
"0000"
))
{
//科所队
result
=
tjdw
.
substring
(
0
,
8
)
+
"%"
;
}
else
{
//直接从具体单位——>人的采集信息
result
=
tjdw
.
substring
(
0
,
12
)
+
"%"
;
}
}
return
result
;
}
...
...
@@ -366,7 +370,7 @@ public class KhtjController {
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
}
rstBeanlist
=
rycjtjService
.
getRsts
(
rstBean
,
rccdw
);
rstBeanlist
=
rycjtjService
.
getRsts
(
rstBean
,
rccdw
,
null
);
int
zycs
=
0
;
int
ycs
=
0
;
int
zwcjs
=
0
;
int
rxcjs
=
0
;
int
swcjs
=
0
;
int
zjcjs
=
0
;
int
hmcjs
=
0
;
int
sjcjs
=
0
;
int
dnacjs
=
0
;
...
...
@@ -450,6 +454,146 @@ public class KhtjController {
return
null
;
}
/**
* 人员统计详情导出
*
* @param easyUIPage
* @param rows
* @param request
* @param unitCode
* @param startCcsj
* @param endCcsj
* @param slType
* @param unitgrade
* @param cot
* @param ifslgzd
* @param name
* @return
*/
@RequestMapping
(
"/exportExcelToRytjxq"
)
@ResponseBody
public
EasyUIPage
exportExcelToRytjxq
(
EasyUIPage
easyUIPage
,
Integer
rows
,
HttpServletRequest
request
,
String
unitCode
,
String
startCcsj
,
String
endCcsj
,
String
slType
,
String
unitgrade
,
String
cot
,
String
ifslgzd
,
HttpServletResponse
response
,
String
name
)
{
easyUIPage
.
setPagePara
(
cot
);
easyUIPage
.
setBegin
(
0
);
easyUIPage
.
setEnd
(
Integer
.
parseInt
(
cot
));
easyUIPage
=
rycjtjService
.
queryRyxxPage
(
easyUIPage
,
getTjdw
(
unitCode
),
startCcsj
,
endCcsj
,
slType
,
unitgrade
,
cot
);
List
<
AutoTbStRy
>
autoTbStRys
=
(
List
<
AutoTbStRy
>)
easyUIPage
.
getRows
();
//设置excell 导出标题
String
[]
title
=
{
"人员编号"
,
"姓名"
,
"性别"
,
"证件号码"
,
"指纹编号"
,
"指纹"
,
"人像"
,
"虹膜"
,
"足迹"
,
"声纹"
,
"手机"
,
"银行卡"
,
"数据来源"
,
"填表单位"
,
"录入时间"
};
//excel文件名
String
fileName
=
"人员信息采集情况详情"
+
System
.
currentTimeMillis
()
+
".xls"
;
//sheet名
String
sheetName
=
"人员信息采集情况详情"
;
String
[][]
content
=
new
String
[
autoTbStRys
.
size
()][];
for
(
int
i
=
0
;
i
<
autoTbStRys
.
size
();
i
++)
{
AutoTbStRy
autoTbStRy
=
autoTbStRys
.
get
(
i
);
content
[
i
]
=
new
String
[
title
.
length
];
content
[
i
][
0
]
=
autoTbStRy
.
getRybh
();
content
[
i
][
1
]
=
autoTbStRy
.
getXm
();
if
(
"1"
.
equals
(
autoTbStRy
.
getXbdm
()))
{
content
[
i
][
2
]
=
"男"
;
}
else
if
(
"2"
.
equals
(
autoTbStRy
.
getXbdm
()))
{
content
[
i
][
2
]
=
"女"
;
}
else
if
(
"9"
.
equals
(
autoTbStRy
.
getXbdm
()))
{
content
[
i
][
2
]
=
"未说明性别"
;
}
else
if
(
"0"
.
equals
(
autoTbStRy
.
getXbdm
()))
{
content
[
i
][
2
]
=
"未知性别"
;
}
if
(
autoTbStRy
.
getGmsfhm
()
==
null
||
""
.
equals
(
autoTbStRy
.
getGmsfhm
()))
{
content
[
i
][
3
]
=
autoTbStRy
.
getZjhm
();
}
else
{
content
[
i
][
3
]
=
autoTbStRy
.
getGmsfhm
();
}
content
[
i
][
4
]
=
autoTbStRy
.
getSzzwbh
();
// if (StringUtils.isBlank(autoTbStRy.getZwfkxx()) ) {
// content[i][5] = "×";
// } else if (!"B0000000000".equals(autoTbStRy.getZwfkxx().substring(2, 13)) && "1-1-1-1-1-1-1-1-1-1".equals(autoTbStRy.getRPmzw())) {
// content[i][5] = "√";
// } else if (!"B0000000000".equals(autoTbStRy.getZwfkxx().substring(2, 13)) && !"1-1-1-1-1-1-1-1-1-1".equals(autoTbStRy.getRPmzw())) {
// content[i][5] = "√";
// } else {
// content[i][5] = "×";
// }
// if (StringUtils.isBlank(autoTbStRy.getZwfkxx()) ) {
// content[i][6] = "×";
// } else if (!"C0000000000".equals(autoTbStRy.getZwfkxx().substring(13, 24)) && "1-1-1-1-1-1-1-1-1-1".equals(autoTbStRy.getRGdzw())) {
// content[i][6] = "√";
// } else if (!"C0000000000".equals(autoTbStRy.getZwfkxx().substring(13, 24)) && !"1-1-1-1-1-1-1-1-1-1".equals(autoTbStRy.getRGdzw())) {
// content[i][6] = "√";
// } else {
// content[i][6] = "×";
// }
if
(
autoTbStRy
.
getSzzwbh
()
==
null
||
""
.
equals
(
autoTbStRy
.
getSzzwbh
()))
{
content
[
i
][
5
]
=
"×"
;
}
else
if
(
autoTbStRy
.
getSzzwbh
()
!=
null
&&
"0"
.
equals
(
autoTbStRy
.
getJcjg
()))
{
content
[
i
][
5
]
=
"√"
;
}
else
if
(
autoTbStRy
.
getSzzwbh
()
!=
null
&&
!
"0"
.
equals
(
autoTbStRy
.
getJcjg
()))
{
content
[
i
][
5
]
=
"√"
;
}
else
{
content
[
i
][
5
]
=
"×"
;
}
if
(
StringUtils
.
isBlank
(
autoTbStRy
.
getZmzpxxbh
())
||
StringUtils
.
isBlank
(
autoTbStRy
.
getCmzpxxbh
())
||
StringUtils
.
isBlank
(
autoTbStRy
.
getYcmzpxxbh
()))
{
content
[
i
][
6
]
=
"×"
;
}
else
if
(
"1-1-1"
.
equals
(
autoTbStRy
.
getRRx
()))
{
content
[
i
][
6
]
=
"√"
;
}
else
{
content
[
i
][
6
]
=
"√"
;
}
if
(
StringUtils
.
isBlank
(
autoTbStRy
.
getHm
())
||
Integer
.
valueOf
(
autoTbStRy
.
getHm
()).
intValue
()
<=
0
)
{
content
[
i
][
7
]
=
"×"
;
}
else
{
content
[
i
][
7
]
=
"√"
;
}
if
(
StringUtils
.
isBlank
(
autoTbStRy
.
getZj
())
||
Integer
.
valueOf
(
autoTbStRy
.
getZj
()).
intValue
()
<=
0
)
{
content
[
i
][
8
]
=
"×"
;
}
else
{
content
[
i
][
8
]
=
"√"
;
}
if
(
StringUtils
.
isBlank
(
autoTbStRy
.
getSw
())
||
Integer
.
valueOf
(
autoTbStRy
.
getSw
()).
intValue
()
<=
0
)
{
content
[
i
][
9
]
=
"×"
;
}
else
{
content
[
i
][
9
]
=
"√"
;
}
if
(
StringUtils
.
isBlank
(
autoTbStRy
.
getSjjbxx
())
||
Integer
.
valueOf
(
autoTbStRy
.
getSjjbxx
()).
intValue
()
<=
0
||
StringUtils
.
isBlank
(
autoTbStRy
.
getSjlxrxx
())
||
Integer
.
valueOf
(
autoTbStRy
.
getSjlxrxx
()).
intValue
()
<=
0
)
{
content
[
i
][
10
]
=
"×"
;
}
else
{
content
[
i
][
10
]
=
"√"
;
}
if
(
StringUtils
.
isBlank
(
autoTbStRy
.
getYhk
())
||
Integer
.
valueOf
(
autoTbStRy
.
getYhk
()).
intValue
()
<=
0
)
{
content
[
i
][
11
]
=
"×"
;
}
else
{
content
[
i
][
11
]
=
"√"
;
}
if
(
"0"
.
equals
(
autoTbStRy
.
getTbbz
()))
{
content
[
i
][
12
]
=
"新增人员"
;
}
else
if
(
"1"
.
equals
(
autoTbStRy
.
getTbbz
()))
{
content
[
i
][
12
]
=
"执法场所"
;
}
else
if
(
"2"
.
equals
(
autoTbStRy
.
getTbbz
()))
{
content
[
i
][
12
]
=
"采集平台"
;
}
content
[
i
][
13
]
=
autoTbStRy
.
getLrdwmc
();
content
[
i
][
14
]
=
DateFormatUtils
.
dateToStrSFM
(
autoTbStRy
.
getLrsj
());
}
//创建HSSFWorkbook
HSSFWorkbook
wb
=
ExportExcels
.
getHSSFWorkbook
(
sheetName
,
title
,
content
,
null
);
//响应到客户端
try
{
this
.
setResponseHeader
(
response
,
fileName
);
OutputStream
os
=
response
.
getOutputStream
();
wb
.
write
(
os
);
os
.
flush
();
os
.
close
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
return
null
;
}
//发送响应流方法
public
void
setResponseHeader
(
HttpServletResponse
response
,
String
fileName
)
{
try
{
...
...
src/main/java/com/founder/khtj/domain/RstBean.java
View file @
8f5fe900
...
...
@@ -97,13 +97,21 @@ public class RstBean implements Comparable<RstBean> {
private
String
dnawcjtotal
;
//DNA未采集总数
private
String
dnacjltotal
;
//DNA采集总率
private
String
sfcfs
=
"0"
;
//身份证号码重复数
@Override
public
int
compareTo
(
RstBean
o
)
{
int
i
=
Integer
.
parseInt
(
o
.
getZycs
())-
Integer
.
parseInt
(
this
.
getZycs
());
//按照总应采数
return
i
;
}
public
String
getSfcfs
()
{
return
sfcfs
;
}
public
void
setSfcfs
(
String
sfcfs
)
{
this
.
sfcfs
=
sfcfs
;
}
public
String
getRys
()
{
return
rys
;
...
...
src/main/java/com/founder/khtj/service/IRycjtjService.java
View file @
8f5fe900
...
...
@@ -9,7 +9,7 @@ import java.util.List;
public
interface
IRycjtjService
{
public
List
<
RstBean
>
getRsts
(
RstBean
ajflpt
,
String
unitcode
);
public
List
<
RstBean
>
getRsts
(
RstBean
ajflpt
,
String
unitcode
,
String
ifhk
);
public
List
<
RstBean
>
getSjcjs
(
RstBean
ajflpt
,
String
unitcode
);
public
EasyUIPage
queryRyxxPage
(
EasyUIPage
page
,
String
unitCode
,
String
startCcsj
,
String
endCcsj
,
String
slType
,
String
unitgrade
,
String
cot
);
public
EasyUIPage
querySjxxPage
(
EasyUIPage
page
,
String
unitCode
,
String
startCcsj
,
String
endCcsj
,
String
slType
,
String
unitgrade
,
String
cot
);
...
...
src/main/java/com/founder/khtj/service/impl/IRycjtjServiceImpl.java
View file @
8f5fe900
package
com
.
founder
.
khtj
.
service
.
impl
;
import
com.founder.cjqx.dao.SysClientVpMapper
;
import
com.founder.khtj.dao.KhtjDao
;
import
com.founder.khtj.domain.RstBean
;
import
com.founder.khtj.domain.UnitCodeBean
;
import
com.founder.khtj.service.IRycjtjService
;
import
com.founder.model.AutoTbStRy
;
import
com.founder.model.SysClientVp
;
import
com.founder.utils.EasyUIPage
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
...
...
@@ -14,6 +16,7 @@ import org.springframework.util.StringUtils;
import
java.math.BigDecimal
;
import
java.text.SimpleDateFormat
;
import
java.util.*
;
import
java.util.stream.Collectors
;
@Service
public
class
IRycjtjServiceImpl
implements
IRycjtjService
{
...
...
@@ -21,8 +24,11 @@ public class IRycjtjServiceImpl implements IRycjtjService {
@Autowired
private
KhtjDao
khtjDao
;
@Autowired
private
SysClientVpMapper
sysClientVpMapper
;
@Override
public
List
<
RstBean
>
getRsts
(
RstBean
ajflpt
,
String
unitcode
)
{
public
List
<
RstBean
>
getRsts
(
RstBean
ajflpt
,
String
unitcode
,
String
ifhk
)
{
List
<
RstBean
>
zwzltjBeans
=
new
ArrayList
<
RstBean
>();
List
<
UnitCodeBean
>
nuitCodes
=
null
;
nuitCodes
=
xsdw
(
unitcode
);
...
...
@@ -63,6 +69,15 @@ public class IRycjtjServiceImpl implements IRycjtjService {
}
else
{
rstbean
.
setYcs
(
rstbean
.
getZycs
());
}
if
(
"0"
.
equals
(
rstbean
.
getZycs
())){
//该单位总人数为0的情况,该单位未被注册不被统计
SysClientVp
vp
=
new
SysClientVp
();
vp
.
setSsdwcode
(
lrdwdm
);
int
i
=
sysClientVpMapper
.
selectPageCount
(
vp
);
if
(
i
==
0
){
continue
;
}
}
if
(
rstbean
.
getZwcjs
()==
null
||
""
.
equals
(
rstbean
.
getZwcjs
())){
rstbean
.
setZwcjs
(
"0"
);
}
...
...
@@ -97,6 +112,10 @@ public class IRycjtjServiceImpl implements IRycjtjService {
zwzltjBeans
.
add
(
rstbean
);
}
Collections
.
sort
(
zwzltjBeans
);
//如果是海口页面则按总人数倒叙排序
if
(
"1"
.
equals
(
ifhk
)){
zwzltjBeans
.
stream
().
sorted
(
Comparator
.
comparing
(
RstBean:
:
getZycs
).
reversed
()).
collect
(
Collectors
.
toList
());
}
return
zwzltjBeans
;
}
...
...
@@ -229,6 +248,7 @@ public class IRycjtjServiceImpl implements IRycjtjService {
sort
=
"LRSJ"
;
order
=
"desc"
;
}
map
.
put
(
"sort"
,
sort
);
map
.
put
(
"order"
,
order
);
map
.
put
(
"lrdwdm"
,
unitCode
);
...
...
@@ -239,7 +259,11 @@ public class IRycjtjServiceImpl implements IRycjtjService {
List
<
AutoTbStRy
>
autoTbStRys
=
khtjDao
.
queryPageList
(
map
);
if
(
autoTbStRys
!=
null
&&
autoTbStRys
.
size
()>
0
){
if
(
cot
!=
null
&&!
""
.
equals
(
cot
)){
page
.
setTotal
(
Integer
.
parseInt
(
cot
));
if
(
"sfcfs"
.
equals
(
slType
)){
page
.
setTotal
(
autoTbStRys
.
size
());
}
else
{
page
.
setTotal
(
Integer
.
parseInt
(
cot
));
}
}
else
{
page
.
setTotal
(
autoTbStRys
.
size
());
}
...
...
src/main/java/com/founder/utils/DateFormatUtils.java
View file @
8f5fe900
...
...
@@ -4,7 +4,7 @@ import java.text.DateFormat;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
public
class
DateFormatUtils
{
public
class
DateFormatUtils
{
public
static
Date
strToDate
(
String
num
){
Date
date
=
null
;
...
...
@@ -39,4 +39,12 @@ public class DateFormatUtils {
}
return
null
;
}
public
static
String
dateToStrSFM
(
Date
date
){
if
(
date
!=
null
){
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
return
sdf
.
format
(
date
);
}
return
null
;
}
}
src/main/resources/mapper/KhtjDao.xml
View file @
8f5fe900
...
...
@@ -168,7 +168,19 @@
<if
test=
"maxccsj != null and maxccsj != ''"
>
and lrsj
<![CDATA[<]]>
to_date(#{maxccsj , jdbcType=VARCHAR },'YYYY-MM-DD')+1
</if>
<if
test=
"minccsj != null and minccsj != ''"
>
and lrsj
<![CDATA[>=]]>
to_date(#{minccsj , jdbcType=VARCHAR },'YYYY-MM-DD')
</if>
<if
test=
"sqlwhere != null and sqlwhere != ''"
>
and ${sqlwhere}
</if>
)t8
)t8,
(select nvl(sum(ry.cfs),0) as sfcfs from (
select (case when hm >1 then 1 else 0 end ) cfs from (
select count(*) as hm, ZJHM
from TB_RY_RYCJ
where (SCBZ = '0' or SCBZ is null)
and (ifhb is null or ifhb
<![CDATA[<>]]>
'1')
<if
test=
"lrdwdm != null and lrdwdm != ''"
>
and lrdwdm like #{lrdwdm , jdbcType=VARCHAR }||'%'
</if>
<if
test=
"maxccsj != null and maxccsj != ''"
>
and lrsj
<![CDATA[<]]>
to_date(#{maxccsj , jdbcType=VARCHAR },'YYYY-MM-DD')+1
</if>
<if
test=
"minccsj != null and minccsj != ''"
>
and lrsj
<![CDATA[>=]]>
to_date(#{minccsj , jdbcType=VARCHAR },'YYYY-MM-DD')
</if>
<if
test=
"sqlwhere != null and sqlwhere != ''"
>
and ${sqlwhere}
</if>
group by zjhm
))ry)t9
</select>
...
...
@@ -542,7 +554,12 @@
<if
test=
"tjtype != null and tjtype != '' and tjtype == 'xtzrs'"
>
and 1=1
</if>
<if
test=
"tjtype != null and tjtype != '' and tjtype == 'csycs'"
>
and (tbbz = '1' or tbbz = '2')
</if>
<if
test=
"tjtype != null and tjtype != '' and tjtype == 'sfcfs'"
>
and ZJHM in (select * from ( select (case when hm > 1 then ZJHM end) cfs
from ( select count(*) as hm, ZJHM from TB_RY_RYCJ where (SCBZ = '0' or SCBZ is null) and (ifhb is null or ifhb
<![CDATA[<>]]>
'1')
<if
test=
"lrdwdm != null and lrdwdm != ''"
>
and LRDWDM like #{lrdwdm , jdbcType=VARCHAR }||'%'
</if>
<if
test=
"flrsjStr != null and flrsjStr != ''"
>
AND LRSJ
<![CDATA[>=]]>
to_date(#{flrsjStr, jdbcType=VARCHAR },'yyyy-mm-dd')
</if>
<if
test=
"elrsjStr != null and elrsjStr != ''"
>
AND LRSJ
<![CDATA[<]]>
to_date(#{elrsjStr , jdbcType=VARCHAR },'yyyy-mm-dd')+1
</if>
group by zjhm )) ry where ry.cfs is not null)
</if>
<![CDATA[ order by ${sort} ${order} ) a
WHERE ROWNUM <= #{ end } ) t
WHERE r >
#{ begin } ]]>
...
...
src/main/resources/templates/home.html
View file @
8f5fe900
...
...
@@ -155,6 +155,9 @@
<li
id=
"H10D01"
>
<a
onclick=
"toRycjtj()"
>
人员采集信息统计
</a>
</li>
<li
id=
"H10D04"
>
<a
onclick=
"toRycjtjhk()"
>
人员采集信息统计(海口)
</a>
</li>
<li
id=
"H10D02"
>
<a
onclick=
"toSjcjtj()"
>
手机采集信息统计
</a>
</li>
...
...
@@ -473,9 +476,11 @@
}
function
toRycjtj
(){
window
.
open
(
"/toKhtj?isfirst=1"
,
'_blank'
);
window
.
open
(
"/toKhtj?isfirst=1&hk=false"
,
'_blank'
);
}
function
toRycjtjhk
(){
window
.
open
(
"/toKhtj?isfirst=1&hk=true"
,
'_blank'
);
}
function
toRzgl
(){
window
.
open
(
"/toRzgl?isfirst=1"
,
'_blank'
);
}
...
...
src/main/resources/templates/khtj/cxlist.html
View file @
8f5fe900
...
...
@@ -307,6 +307,9 @@
var
slType
=
$
(
"#slType"
).
val
();
var
unitgrade
=
$
(
"#unitgrade"
).
val
();
var
cot
=
$
(
"#cot"
).
val
();
if
(
"sfcfs"
==
slType
){
cot
=
$
(
'#ryxxTable'
).
datagrid
(
'getPager'
).
data
(
"pagination"
).
options
.
total
;
}
var
name
=
$
(
"#name"
).
val
();
window
.
location
.
href
=
"/exportExcelToRytjxq?unitCode="
+
unitCode
+
"&endCcsj="
+
endCcsj
+
"&startCcsj="
+
startCcsj
+
"&slType="
+
slType
+
"&unitgrade="
+
unitgrade
+
"&cot="
+
cot
+
"&name="
+
name
;
...
...
src/main/resources/templates/khtj/ryxxtj.html
View file @
8f5fe900
...
...
@@ -27,7 +27,10 @@
<!-- <script type="text/javascript" src="easyui-window/js/jquery.easyui.min.js"></script>-->
<script
type=
"text/javascript"
src=
"static/easyui-window/js/function.js"
></script>
</head>
<body
>
<style>
</style>
<body>
<div
id=
"nipic_search"
>
<div
id=
"header"
>
<h5
class=
"h_title_rycx"
style=
"background: url(static/xtba/ythcj/img/khtj.png);width:400px;"
></h5>
...
...
@@ -44,21 +47,37 @@
<input
type=
"hidden"
id=
"unitgrade"
name=
"unitgrade"
value=
"10"
/>
<input
type=
"hidden"
id=
"ifFirst"
name=
"ifFirst"
value=
"0"
/>
<input
type=
"hidden"
id=
"iftype"
name=
"iftype"
value=
"0"
/>
<table
style=
"width:100%;border-collapse: collapse;background-color: rgba(255,255,255,0.75);text-align:left;"
class=
"cx_table_tj_zljc"
>
<table
style=
"width:100%;border-collapse: collapse;background-color: rgba(255,255,255,0.75);text-align:left;"
class=
"cx_table_tj_zljc"
>
<tr>
<td
class=
"td_r"
>
统计单位:
</td>
<td>
<p
class=
"datebox-h"
>
<input
type=
"text"
style=
"height: 25px;"
id=
"RCcdw"
name=
"RCcdw"
class=
"val easyui-combotree"
data-options=
"url: '/queryTypeCode?type=CODE_UNIT',method:'get',textField : 'text', valueField : 'id'"
/>
<input
type=
"text"
style=
"height: 25px;"
id=
"RCcdw"
name=
"RCcdw"
class=
"val easyui-combotree"
data-options=
"url: '/queryTypeCode?type=CODE_UNIT',method:'get',textField : 'text', valueField : 'id'"
/>
</p>
</td>
<td
class=
"td_r"
>
统计时间:
</td>
<td>
<p
class=
"datebox-h"
><input
id=
"minccsjStr"
name=
"minccsjStr"
type=
"text"
class=
"easyui-datebox"
style=
"height:24px;"
></p>
<p
class=
"datebox-h"
><input
id=
"minccsjStr"
name=
"minccsjStr"
type=
"text"
class=
"easyui-datebox"
style=
"height:24px;"
></p>
</td>
<td
class=
"td_r"
>
至:
</td>
<td>
<p
class=
"datebox-h"
><input
id=
"maxccsjStr"
name=
"maxccsjStr"
type=
"text"
class=
"easyui-datebox"
style=
"height:24px;"
></p>
<p
class=
"datebox-h"
><input
id=
"maxccsjStr"
name=
"maxccsjStr"
type=
"text"
class=
"easyui-datebox"
style=
"height:24px;"
></p>
</td>
</tr>
<tr>
<td
class=
"td_r"
>
统计项:
</td>
<td
colspan=
"5"
style=
"font-family: Tahoma;"
>
<!-- <input type="checkbox" onclick="checkboxOnclick(this)" style="cursor:hand;vertical-align:middle; margin-top:0;width: 90px;" value="1" name="tjx" checked/><span style="margin-left: -20px;">指纹</span> -->
<!-- <input type="checkbox" onclick="checkboxOnclick(this)" style="cursor:hand;vertical-align:middle; margin-top:0;width: 90px;" value="2" name="tjx"/><span style="margin-left: -20px;">人像</span> -->
<input
type=
"checkbox"
onclick=
"checkboxOnclick(this)"
style=
"cursor:hand;vertical-align:middle; margin-top:0;width: 90px;"
value=
"3"
name=
"tjx"
/><span
style=
"margin-left: -20px;"
>
虹膜
</span>
<input
type=
"checkbox"
onclick=
"checkboxOnclick(this)"
style=
"cursor:hand;vertical-align:middle; margin-top:0;width: 90px;"
value=
"4"
name=
"tjx"
/><span
style=
"margin-left: -20px;"
>
足迹
</span>
<input
type=
"checkbox"
onclick=
"checkboxOnclick(this)"
style=
"cursor:hand;vertical-align:middle; margin-top:0;width: 90px;"
value=
"5"
name=
"tjx"
/><span
style=
"margin-left: -20px;"
>
声纹
</span>
<!-- <input type="checkbox" onclick="checkboxOnclick(this)" style="cursor:hand;vertical-align:middle; margin-top:0;width: 90px;" value="6" name="tjx"/><span style="margin-left: -20px;">手机</span> -->
</td>
</tr>
<tr>
...
...
@@ -91,15 +110,27 @@
<script
type=
"text/javascript"
th:inline=
"none"
>
openCombotree
(
'RCcdw'
);
window
.
onload
=
function
()
{
$
(
"#RCcdw"
).
combotree
(
"setValue"
,
$
(
"#RCcdwStr"
).
val
());
$
(
"#minccsjStr"
).
datebox
(
"setValue"
,
$
(
"#minccsj"
).
val
());
$
(
"#maxccsjStr"
).
datebox
(
"setValue"
,
$
(
"#maxccsj"
).
val
());
$
(
"#RCcdw"
).
combotree
(
"setValue"
,
$
(
"#RCcdwStr"
).
val
());
$
(
"#minccsjStr"
).
datebox
(
"setValue"
,
$
(
"#minccsj"
).
val
());
$
(
"#maxccsjStr"
).
datebox
(
"setValue"
,
$
(
"#maxccsj"
).
val
());
$
(
"#ifFirst"
).
val
(
"1"
);
setCodeTexts
();
doQuery
();
$
(
"#ifFirst"
).
val
(
"0"
)
};
check_val
=
[];
function
checkboxOnclick
(
obj
)
{
check_val
.
length
=
0
;
var
tjx
=
document
.
getElementsByName
(
"tjx"
);
for
(
k
in
tjx
)
{
if
(
tjx
[
k
].
checked
)
{
check_val
.
push
(
tjx
[
k
].
value
);
}
}
}
$
(
function
(){
$
(
function
()
{
checkboxOnclick
();
$
(
"#Table"
).
datagrid
({
striped
:
true
,
fitColumns
:
true
,
...
...
@@ -111,21 +142,23 @@
showFooter
:
true
,
});
});
//将表单序列化
function
serializeObject
(
form
){
var
o
=
{};
$
.
each
(
form
.
serializeArray
(),
function
(
index
)
{
if
(
o
[
this
[
'name'
]
])
{
o
[
this
[
'name'
]
]
=
o
[
this
[
'name'
]
]
+
","
+
this
[
'value'
];
}
else
{
o
[
this
[
'name'
]
]
=
this
[
'value'
];
function
serializeObject
(
form
)
{
var
o
=
{};
$
.
each
(
form
.
serializeArray
(),
function
(
index
)
{
if
(
o
[
this
[
'name'
]])
{
o
[
this
[
'name'
]
]
=
o
[
this
[
'name'
]
]
+
","
+
this
[
'value'
];
}
else
{
o
[
this
[
'name'
]
]
=
this
[
'value'
];
}
})
return
o
;
}
function
doQuery
(){
if
(
compareCalendar
(
$
(
"#minccsjStr"
).
combobox
(
"getValue"
),
$
(
"#maxccsjStr"
).
combobox
(
"getValue"
))){
$
.
messager
.
alert
(
'提示'
,
"统计时间起始时间不能大于截止时间!"
);
function
doQuery
()
{
if
(
compareCalendar
(
$
(
"#minccsjStr"
).
combobox
(
"getValue"
),
$
(
"#maxccsjStr"
).
combobox
(
"getValue"
)))
{
$
.
messager
.
alert
(
'提示'
,
"统计时间起始时间不能大于截止时间!"
);
return
;
}
$
(
"#RCcdwStr"
).
val
(
$
(
"#RCcdw"
).
combobox
(
"getValue"
));
...
...
@@ -134,312 +167,425 @@
var
nameCode
=
$
(
"#RCcdw"
).
combobox
(
"getValue"
);
$
(
'#ryxxTable'
).
datagrid
({
url
:
"rycjqktj"
,
columns
:
[[
columns
:
[[
{
title
:
"采集单位"
,
field
:
"name"
,
width
:
200
,
align
:
"center"
,
rowspan
:
2
,
resizeable
:
false
,
halign
:
'center'
title
:
"采集单位"
,
field
:
"name"
,
width
:
'16%'
,
align
:
"center"
,
rowspan
:
2
,
resizeable
:
false
,
halign
:
'center'
},
// rowspan:2 表示跨两行
{
title
:
"协同总人数"
,
field
:
"zycs"
,
width
:
60
,
align
:
"center"
,
rowspan
:
2
,
resizeable
:
false
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
title
:
"协同总人数"
,
field
:
"zycs"
,
width
:
'4.5%'
,
align
:
"center"
,
rowspan
:
2
,
resizeable
:
false
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','xtzrs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','xtzrs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','xtzrs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
"场所应采数"
,
field
:
"ycs"
,
width
:
60
,
align
:
"center"
,
rowspan
:
2
,
resizeable
:
false
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
title
:
"场所应采数"
,
field
:
"ycs"
,
width
:
'4.5%'
,
align
:
"center"
,
rowspan
:
2
,
resizeable
:
false
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','csycs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','csycs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','csycs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
"指纹采集"
,
order
:
4
,
width
:
200
,
align
:
"center"
,
colspan
:
4
title
:
"指纹采集"
,
field
:
"zw"
,
order
:
4
,
width
:
'16.6%'
,
align
:
"center"
,
colspan
:
4
},
{
title
:
"人像采集"
,
order
:
4
,
width
:
200
,
align
:
"center"
,
colspan
:
4
title
:
"人像采集"
,
field
:
"rx"
,
order
:
4
,
width
:
'16.6%'
,
align
:
"center"
,
colspan
:
4
},
{
title
:
"虹膜采集"
,
order
:
4
,
width
:
200
,
align
:
"center"
,
colspan
:
4
title
:
"虹膜采集"
,
field
:
"hm"
,
order
:
4
,
width
:
'16.6%'
,
align
:
"center"
,
colspan
:
4
},
{
title
:
"足迹采集"
,
order
:
4
,
width
:
200
,
align
:
"center"
,
colspan
:
4
title
:
"足迹采集"
,
field
:
"zj"
,
order
:
4
,
width
:
'16.6%'
,
align
:
"center"
,
colspan
:
4
},
//colspan:2 表示跨两列
{
title
:
"声纹采集"
,
order
:
4
,
width
:
200
,
align
:
"center"
,
colspan
:
4
title
:
"声纹采集"
,
field
:
"sw"
,
order
:
4
,
width
:
'16.6%'
,
align
:
"center"
,
colspan
:
4
},
],
// 第一行表头显示
[
{
//指纹
title
:
'场所采集数'
,
field
:
'zwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'场所采集数'
,
field
:
'zwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'新增采集数'
,
field
:
'zwxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'新增采集数'
,
field
:
'zwxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zwxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zwxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zwxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zwxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'未采集数'
,
field
:
'zwwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'未采集数'
,
field
:
'zwwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zwwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zwwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zwwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zwwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'场所采集率'
,
field
:
'zwcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
title
:
'场所采集率'
,
field
:
'zwcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
},
{
//人像
title
:
'场所采集数'
,
field
:
'rxcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'场所采集数'
,
field
:
'rxcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','rxcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','rxcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','rxcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','rxcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'新增采集数'
,
field
:
'rxxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'新增采集数'
,
field
:
'rxxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','rxxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','rxxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','rxxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','rxxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'未采集数'
,
field
:
'rxwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'未采集数'
,
field
:
'rxwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','rxwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','rxwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','rxwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','rxwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'场所采集率'
,
field
:
'rxcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
title
:
'场所采集率'
,
field
:
'rxcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
},
{
//虹膜
title
:
'场所采集数'
,
field
:
'hmcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'场所采集数'
,
field
:
'hmcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','hmcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','hmcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','hmcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','hmcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'新增采集数'
,
field
:
'hmxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'新增采集数'
,
field
:
'hmxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','hmxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','hmxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','hmxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','hmxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'未采集数'
,
field
:
'hmwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'未采集数'
,
field
:
'hmwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','hmwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','hmwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','hmwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','hmwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'场所采集率'
,
field
:
'hmcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
title
:
'场所采集率'
,
field
:
'hmcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
},
{
//足迹
title
:
'场所采集数'
,
field
:
'zjcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'场所采集数'
,
field
:
'zjcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zjcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zjcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zjcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zjcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'新增采集数'
,
field
:
'zjxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'新增采集数'
,
field
:
'zjxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zjxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zjxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zjxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zjxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'未采集数'
,
field
:
'zjwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'未采集数'
,
field
:
'zjwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zjwccjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zjwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zjwccjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zjwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'场所采集率'
,
field
:
'dnacjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
title
:
'场所采集率'
,
field
:
'zjcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
},
{
//声纹
title
:
'场所采集数'
,
field
:
'swcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'场所采集数'
,
field
:
'swcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','swcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','swcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','swcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','swcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'新增采集数'
,
field
:
'swxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'新增采集数'
,
field
:
'swxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','swxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','swxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','swxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','swxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'未采集数'
,
field
:
'swwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
title
:
'未采集数'
,
field
:
'swwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','swwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','swwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','swwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','swwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'场所采集率'
,
field
:
'swcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
title
:
'场所采集率'
,
field
:
'swcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
}
]],
striped
:
true
,
queryParams
:
serializeObject
(
$
(
"form[name='ryxxForm']"
)),
singleSelect
:
true
,
nowrap
:
false
,
//设置是否换行,false换行,true不换行
fitColumns
:
true
,
striped
:
true
,
queryParams
:
serializeObject
(
$
(
"form[name='ryxxForm']"
)),
singleSelect
:
true
,
nowrap
:
false
,
//设置是否换行,false换行,true不换行
fitColumns
:
true
,
scrollbarSize
:
0
,
selectOnCheck
:
false
,
checkOnSelect
:
false
,
fit
:
false
,
pagination
:
true
,
pageSize
:
100
,
pageList
:
[
10
,
20
,
50
,
100
,
200
],
//rows
pageNumber
:
1
,
loadFilter
:
function
(
data
)
{
selectOnCheck
:
false
,
checkOnSelect
:
false
,
fit
:
false
,
pagination
:
true
,
pageSize
:
100
,
pageList
:
[
10
,
20
,
50
,
100
,
200
],
//rows
pageNumber
:
1
,
loadFilter
:
function
(
data
)
{
return
data
;
},
onLoadSuccess
:
function
(
data
)
{
$
(
"#ryxxTable"
).
datagrid
(
"resize"
,{
width
:
2000
onLoadSuccess
:
function
(
data
)
{
$
(
"#ryxxTable"
).
datagrid
(
"resize"
,
{
width
:
2000
});
dataColumn
(
check_val
);
}
});
}
function
doClear
(){
$
(
"form[name='ryxxForm']"
)
.
find
(
"input"
).
val
(
''
);
function
dataColumn
(
data
)
{
//先将所有想都隐藏
// var zw = "";
// var rx = "";
var
hm
=
""
;
var
zj
=
""
;
var
sw
=
""
;
var
sj
=
""
;
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
// if (data[i]== '1') {
// zw = "1";
// }
// if (data[i]== '2') {
// rx = "1";
// }
if
(
data
[
i
]
==
'3'
)
{
hm
=
"1"
;
}
if
(
data
[
i
]
==
'4'
)
{
zj
=
"1"
;
}
if
(
data
[
i
]
==
'5'
)
{
sw
=
"1"
;
}
}
/*if (zw =="1"){
$('#ryxxTable').datagrid("showColumn", "zw");
$('#ryxxTable').datagrid("showColumn", "zwcjs");
$('#ryxxTable').datagrid("showColumn", "zwxzcjs");
$('#ryxxTable').datagrid("showColumn", "zwwcjs");
$('#ryxxTable').datagrid("showColumn", "zwcjl");
}else {
$('#ryxxTable').datagrid("hideColumn", "zw");
$('#ryxxTable').datagrid("hideColumn", "zwcjs");
$('#ryxxTable').datagrid("hideColumn", "zwxzcjs");
$('#ryxxTable').datagrid("hideColumn", "zwwcjs");
$('#ryxxTable').datagrid("hideColumn", "zwcjl");
}
if (rx =="1"){
$('#ryxxTable').datagrid("showColumn", "rx");
$('#ryxxTable').datagrid("showColumn", "rxcjs");
$('#ryxxTable').datagrid("showColumn", "rxxzcjs");
$('#ryxxTable').datagrid("showColumn", "rxwcjs");
$('#ryxxTable').datagrid("showColumn", "rxcjl");
}else {
$('#ryxxTable').datagrid("hideColumn", "rx");
$('#ryxxTable').datagrid("hideColumn", "rxcjs");
$('#ryxxTable').datagrid("hideColumn", "rxxzcjs");
$('#ryxxTable').datagrid("hideColumn", "rxwcjs");
$('#ryxxTable').datagrid("hideColumn", "rxcjl");
}*/
if
(
hm
==
"1"
){
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"hm"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"hmcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"hmxzcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"hmwcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"hmcjl"
);
}
else
{
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"hm"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"hmcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"hmxzcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"hmwcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"hmcjl"
);
}
if
(
zj
==
"1"
){
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"zj"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"zjcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"zjxzcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"zjwcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"zjcjl"
);
}
else
{
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"zj"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"zjcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"zjxzcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"zjwcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"zjcjl"
);
}
if
(
sw
==
"1"
){
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"sw"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"swcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"swxzcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"swwcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"swcjl"
);
}
else
{
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"sw"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"swcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"swxzcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"swwcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"swcjl"
);
}
}
function
doClear
()
{
$
(
"form[name='ryxxForm']"
).
find
(
"input"
).
val
(
''
);
}
//格式化字典
function
codeFormatter
(
val
,
type
)
{
var
codeName
=
""
;
function
codeFormatter
(
val
,
type
)
{
var
codeName
=
""
;
$
.
ajax
({
url
:
"/queryNameByCode"
,
data
:
{
"codeId"
:
val
,
"codeType"
:
type
},
async
:
false
,
type
:
"post"
,
dataType
:
"text"
,
success
:
function
(
data
)
{
codeName
=
data
;
url
:
"/queryNameByCode"
,
data
:
{
"codeId"
:
val
,
"codeType"
:
type
},
async
:
false
,
type
:
"post"
,
dataType
:
"text"
,
success
:
function
(
data
)
{
codeName
=
data
;
},
error
:
function
(
e
)
{
console
.
log
(
"error="
+
JSON
.
stringify
(
e
));
error
:
function
(
e
)
{
console
.
log
(
"error="
+
JSON
.
stringify
(
e
));
}
});
return
codeName
;
}
function
doExportExcel
(){
function
doExportExcel
()
{
var
ccdw
=
$
(
"#RCcdwStr"
).
val
();
var
minccsj
=
$
(
"#minccsj"
).
val
();
var
maxccsj
=
$
(
"#maxccsj"
).
val
();
var
unitgrade
=
$
(
"#unitgrade"
).
val
();
window
.
location
.
href
=
"/exportExcelToRycjtj?ccdw="
+
ccdw
+
"&ftjsj="
+
minccsj
+
"&etjsj="
+
maxccsj
+
"&grade="
+
unitgrade
;
window
.
location
.
href
=
"/exportExcelToRycjtj?ccdw="
+
ccdw
+
"&ftjsj="
+
minccsj
+
"&etjsj="
+
maxccsj
+
"&grade="
+
unitgrade
;
}
function
setCodeText
(
id
,
code
,
type
)
{
var
text
=
codeFormatter
(
code
,
type
)
$
(
"#"
+
id
).
next
(
"span"
).
find
(
"input.textbox-text"
).
val
(
text
);
function
setCodeText
(
id
,
code
,
type
)
{
var
text
=
codeFormatter
(
code
,
type
)
$
(
"#"
+
id
).
next
(
"span"
).
find
(
"input.textbox-text"
).
val
(
text
);
}
function
setCodeTexts
(){
$
(
'input.easyui-combotree'
).
each
(
function
(){
function
setCodeTexts
()
{
$
(
'input.easyui-combotree'
).
each
(
function
()
{
var
$this
=
$
(
this
);
var
thisId
=
$this
.
attr
(
'id'
);
var
thisUrl
=
$this
.
combotree
(
'options'
).
url
;
var
thisType
=
thisUrl
.
substr
(
thisUrl
.
indexOf
(
"?type="
)
+
6
);
var
thisCode
=
$
(
"#"
+
thisId
).
combotree
(
"getValue"
);
setCodeText
(
thisId
,
thisCode
,
thisType
);
var
thisUrl
=
$this
.
combotree
(
'options'
).
url
;
var
thisType
=
thisUrl
.
substr
(
thisUrl
.
indexOf
(
"?type="
)
+
6
);
var
thisCode
=
$
(
"#"
+
thisId
).
combotree
(
"getValue"
);
setCodeText
(
thisId
,
thisCode
,
thisType
);
});
}
function
showlist
(
unitcode
,
unitgrade
,
type
,
value
,
end
,
start
,
ifslgzd
,
name
)
{
if
(
value
!=
0
)
{
param
=
"?unitCode="
+
unitcode
+
"&startCcsj="
+
start
+
"&endCcsj="
+
end
+
"&slType="
+
type
+
"&unitgrade="
+
unitgrade
+
"&cot="
+
value
+
"&ifslgzd="
+
ifslgzd
+
"&name="
+
name
;
var
url
=
"toKhtjDet"
+
param
;
function
showlist
(
unitcode
,
unitgrade
,
type
,
value
,
end
,
start
,
ifslgzd
,
name
)
{
if
(
value
!=
0
)
{
param
=
"?unitCode="
+
unitcode
+
"&startCcsj="
+
start
+
"&endCcsj="
+
end
+
"&slType="
+
type
+
"&unitgrade="
+
unitgrade
+
"&cot="
+
value
+
"&ifslgzd="
+
ifslgzd
+
"&name="
+
name
;
var
url
=
"toKhtjDet"
+
param
;
window
.
open
(
url
);
}
else
{
$
.
messager
.
alert
(
'提示'
,
"请选择数量大于0的进行查看!"
);
}
else
{
$
.
messager
.
alert
(
'提示'
,
"请选择数量大于0的进行查看!"
);
}
}
...
...
src/main/resources/templates/khtj/ryxxtjhk.html
0 → 100644
View file @
8f5fe900
<!doctype html>
<html
xmlns:th=
"http://www.thymeleaf.org"
>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
人员信息统计
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/xtba/zljc/css/easyui-new.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/xtba/zljc/css/font-awesome.min.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/xtba/zljc/css/zljc.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/xtba/zljc/css/btn.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/xtba/zljc/css/buttons.css"
>
<script
type=
"text/javascript"
src=
"static/ajgl/js/jquery.easyui.min.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/compareCalendar.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/ajgl/css/font-awesome.min.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/ajgl/css/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/ajgl/css/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/ajgl/css/demo.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/ajgl/css/ajgl.css"
>
<script
type=
"text/javascript"
src=
"static/common/js/baseJs.js"
></script>
<script
type=
"text/javascript"
src=
"static/ajgl/js/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"static/ajgl/js/easyui-lang-zh_CN.js"
></script>
<!--<script type="text/javascript" src="easyui-window/js/jquery.min.js"></script>-->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/easyui-window/css/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/easyui-window/css/icon.css"
>
<!-- <script type="text/javascript" src="easyui-window/js/jquery.easyui.min.js"></script>-->
<script
type=
"text/javascript"
src=
"static/easyui-window/js/function.js"
></script>
</head>
<style>
</style>
<body
>
<div
id=
"nipic_search"
>
<div
id=
"header"
>
<h5
class=
"h_title_rycx"
style=
"background: url(static/xtba/ythcj/img/khtj.png);width:400px;"
></h5>
</div>
<!--内容-->
<div
id=
"content_box0"
class=
"content_box"
>
<!--查询条件-->
<div
class=
"condition"
>
<h6
class=
"cx_t"
>
统计条件
<span></span></h6>
<input
type=
"hidden"
name=
"RCcdwStr"
id=
"RCcdwStr"
th:value=
"${rstBean.RCcdw}"
>
<input
type=
"hidden"
name=
"minccsj"
id=
"minccsj"
th:value=
"${rstBean.minccsjStr}"
>
<input
type=
"hidden"
name=
"maxccsj"
id=
"maxccsj"
th:value=
"${rstBean.maxccsjStr}"
>
<form
name=
"ryxxForm"
>
<input
type=
"hidden"
id=
"unitgrade"
name=
"unitgrade"
value=
"10"
/>
<input
type=
"hidden"
id=
"ifFirst"
name=
"ifFirst"
value=
"0"
/>
<input
type=
"hidden"
id=
"iftype"
name=
"iftype"
value=
"0"
/>
<input
type=
"hidden"
id=
"ifhk"
name=
"ifhk"
value=
"1"
/>
<table
style=
"width:100%;border-collapse: collapse;background-color: rgba(255,255,255,0.75);text-align:left;"
class=
"cx_table_tj_zljc"
>
<tr>
<td
class=
"td_r"
>
统计单位:
</td>
<td>
<p
class=
"datebox-h"
>
<input
type=
"text"
style=
"height: 25px;"
id=
"RCcdw"
name=
"RCcdw"
class=
"val easyui-combotree"
data-options=
"url: '/queryTypeCode?type=CODE_UNIT',method:'get',textField : 'text', valueField : 'id'"
/>
</p>
</td>
<td
class=
"td_r"
>
统计时间:
</td>
<td>
<p
class=
"datebox-h"
><input
id=
"minccsjStr"
name=
"minccsjStr"
type=
"text"
class=
"easyui-datebox"
style=
"height:24px;"
></p>
</td>
<td
class=
"td_r"
>
至:
</td>
<td>
<p
class=
"datebox-h"
><input
id=
"maxccsjStr"
name=
"maxccsjStr"
type=
"text"
class=
"easyui-datebox"
style=
"height:24px;"
></p>
</td>
</tr>
<tr>
<td
class=
"td_r"
>
统计项:
</td>
<td
colspan=
"5"
style=
"font-family: Tahoma;"
>
<!-- <input type="checkbox" onclick="checkboxOnclick(this)" style="cursor:hand;vertical-align:middle; margin-top:0;width: 90px;" value="1" name="zwcjzt" checked/><span style="margin-left: -20px;">指纹</span> -->
<!-- <input type="checkbox" onclick="checkboxOnclick(this)" style="cursor:hand;vertical-align:middle; margin-top:0;width: 90px;" value="2" name="rxcjzt"/><span style="margin-left: -20px;">人像</span> -->
<input
type=
"checkbox"
onclick=
"checkboxOnclick(this)"
style=
"cursor:hand;vertical-align:middle; margin-top:0;width: 90px;"
value=
"3"
name=
"tjx"
/><span
style=
"margin-left: -20px;"
>
虹膜
</span>
<input
type=
"checkbox"
onclick=
"checkboxOnclick(this)"
style=
"cursor:hand;vertical-align:middle; margin-top:0;width: 90px;"
value=
"4"
name=
"tjx"
/><span
style=
"margin-left: -20px;"
>
足迹
</span>
<input
type=
"checkbox"
onclick=
"checkboxOnclick(this)"
style=
"cursor:hand;vertical-align:middle; margin-top:0;width: 90px;"
value=
"5"
name=
"tjx"
/><span
style=
"margin-left: -20px;"
>
声纹
</span>
<!-- <input type="checkbox" onclick="checkboxOnclick(this)" style="cursor:hand;vertical-align:middle; margin-top:0;width: 90px;" value="6" name="sjcjzt" /><span style="margin-left: -20px;">手机</span> -->
</td>
</tr>
<tr>
<td
colspan=
"8"
style=
"text-align:center;"
>
<a
href=
"javascript:doQuery();"
class=
"btn_cx"
>
统计
</a>
<a
href=
"javascript:doClear();"
class=
"btn_qkcxtj"
>
清空
</a>
<a
href=
"javascript:doExportExcel();"
class=
"btn btn_dc"
>
导出
</a>
</td>
</tr>
</table>
</form>
</div>
<!--查询结果 table-->
<div
class=
"result"
style=
"padding-bottom:30px;"
>
<span
class=
""
>
</span>
<table
class=
"easyui-datagrid"
id=
"ryxxTable"
style=
"border-top:1px dashed #ccc;"
width=
"100%"
>
</table>
</div>
</div>
</div>
<!-- 权限机制-->
<div
style=
"display: none"
id=
"perurl"
th:text=
"${session.perurl}"
></div>
<script
type=
"text/javascript"
src=
"static/xtba/zljc/js/jquery-1.11.3.js"
></script>
<script
type=
"text/javascript"
src=
"static/xtba/zljc/js/jquery.easyui.min.js"
></script>
<script
type=
"text/javascript"
src=
"static/xtba/zljc/js/easyui-lang-zh_CN.js"
></script>
<!--<script type="text/javascript" src="static/ajgl/js/jquery.easyui.min.js"></script>-->
<script
type=
"text/javascript"
src=
"static/xtba/zljc/js/zljc.js"
></script>
<script
type=
"text/javascript"
th:inline=
"none"
>
openCombotree
(
'RCcdw'
);
window
.
onload
=
function
()
{
$
(
"#RCcdw"
).
combotree
(
"setValue"
,
$
(
"#RCcdwStr"
).
val
());
$
(
"#minccsjStr"
).
datebox
(
"setValue"
,
$
(
"#minccsj"
).
val
());
$
(
"#maxccsjStr"
).
datebox
(
"setValue"
,
$
(
"#maxccsj"
).
val
());
$
(
"#ifFirst"
).
val
(
"1"
);
setCodeTexts
();
doQuery
();
$
(
"#ifFirst"
).
val
(
"0"
)
};
check_val
=
[];
function
checkboxOnclick
(
obj
)
{
check_val
.
length
=
0
;
var
tjx
=
document
.
getElementsByName
(
"tjx"
);
for
(
k
in
tjx
)
{
if
(
tjx
[
k
].
checked
)
{
check_val
.
push
(
tjx
[
k
].
value
);
}
}
}
$
(
function
()
{
checkboxOnclick
();
$
(
"#Table"
).
datagrid
({
striped
:
true
,
fitColumns
:
true
,
singleSelect
:
false
,
pagination
:
true
,
nowrap
:
true
,
pageSize
:
20
,
pageList
:
[
10
,
20
,
50
,
100
,
150
,
200
],
showFooter
:
true
,
});
});
//将表单序列化
function
serializeObject
(
form
){
var
o
=
{};
$
.
each
(
form
.
serializeArray
(),
function
(
index
){
if
(
o
[
this
[
'name'
]
]){
o
[
this
[
'name'
]
]
=
o
[
this
[
'name'
]
]
+
","
+
this
[
'value'
];
}
else
{
o
[
this
[
'name'
]
]
=
this
[
'value'
];
}
})
return
o
;
}
function
doQuery
(){
if
(
compareCalendar
(
$
(
"#minccsjStr"
).
combobox
(
"getValue"
),
$
(
"#maxccsjStr"
).
combobox
(
"getValue"
))){
$
.
messager
.
alert
(
'提示'
,
"统计时间起始时间不能大于截止时间!"
);
return
;
}
$
(
"#RCcdwStr"
).
val
(
$
(
"#RCcdw"
).
combobox
(
"getValue"
));
$
(
"#minccsj"
).
val
(
$
(
"#minccsjStr"
).
combobox
(
"getValue"
));
$
(
"#maxccsj"
).
val
(
$
(
"#maxccsjStr"
).
combobox
(
"getValue"
));
var
nameCode
=
$
(
"#RCcdw"
).
combobox
(
"getValue"
);
$
(
'#ryxxTable'
).
datagrid
({
url
:
"rycjqktj"
,
columns
:
[[
{
title
:
"采集单位"
,
field
:
"name"
,
width
:
'16%'
,
align
:
"center"
,
rowspan
:
2
,
resizeable
:
false
,
halign
:
'center'
},
// rowspan:2 表示跨两行
{
title
:
"协同总人数<br/>(重复人数)"
,
field
:
"zycs"
,
width
:
'4.5%'
,
align
:
"center"
,
rowspan
:
2
,
resizeable
:
false
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','xtzrs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a> (<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','sfcfs','"
+
row
.
sfcfs
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
row
.
sfcfs
+
"</a> )"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','xtzrs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
null
+
"')>"
+
value
+
"</a> (<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','sfcfs','"
+
row
.
sfcfs
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
null
+
"')>"
+
row
.
sfcfs
+
"</a>)"
;
}
}
},
{
title
:
"场所应采数"
,
field
:
"ycs"
,
width
:
'4.5%'
,
align
:
"center"
,
rowspan
:
2
,
resizeable
:
false
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
row
.
name
==
"合计"
)
{
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','csycs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','csycs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
"指纹采集"
,
field
:
"zw"
,
order
:
4
,
width
:
'16.6%'
,
align
:
"center"
,
colspan
:
4
},
{
title
:
"人像采集"
,
field
:
"rx"
,
order
:
4
,
width
:
'16.6%'
,
align
:
"center"
,
colspan
:
4
},
{
title
:
"虹膜采集"
,
field
:
"hm"
,
order
:
4
,
width
:
'16.6%'
,
align
:
"center"
,
colspan
:
4
},
{
title
:
"足迹采集"
,
field
:
"zj"
,
order
:
4
,
width
:
'16.6%'
,
align
:
"center"
,
colspan
:
4
},
//colspan:2 表示跨两列
{
title
:
"声纹采集"
,
field
:
"sw"
,
order
:
4
,
width
:
'16.6%'
,
align
:
"center"
,
colspan
:
4
},
],
// 第一行表头显示
[
{
//指纹
title
:
'场所采集数'
,
field
:
'zwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'新增采集数'
,
field
:
'zwxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zwxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zwxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'未采集数'
,
field
:
'zwwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zwwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zwwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'场所采集率'
,
field
:
'zwcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
},
{
//人像
title
:
'场所采集数'
,
field
:
'rxcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','rxcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','rxcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'新增采集数'
,
field
:
'rxxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','rxxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','rxxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'未采集数'
,
field
:
'rxwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','rxwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','rxwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'场所采集率'
,
field
:
'rxcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
},
{
//虹膜
title
:
'场所采集数'
,
field
:
'hmcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','hmcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','hmcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'新增采集数'
,
field
:
'hmxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','hmxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','hmxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'未采集数'
,
field
:
'hmwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','hmwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','hmwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'场所采集率'
,
field
:
'hmcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
},
{
//足迹
title
:
'场所采集数'
,
field
:
'zjcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zjcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zjcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'新增采集数'
,
field
:
'zjxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zjxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zjxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'未采集数'
,
field
:
'zjwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','zjwccjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','zjwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'场所采集率'
,
field
:
'zjcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
},
{
//声纹
title
:
'场所采集数'
,
field
:
'swcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','swcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','swcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'新增采集数'
,
field
:
'swxzcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','swxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','swxzcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'未采集数'
,
field
:
'swwcjs'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
,
formatter
:
function
(
value
,
row
,
index
){
if
(
row
.
name
==
"合计"
){
// return value;
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
nameCode
+
"','"
+
row
.
unitgrade
+
"','swwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
name
+
"')>"
+
value
+
"</a>"
;
}
else
{
return
"<a href='javascript:void(0)' style='text-decoration:none;' onclick=showlist('"
+
row
.
code
+
"','"
+
row
.
unitgrade
+
"','swwcjs','"
+
value
+
"','"
+
row
.
maxccsjStr
+
"','"
+
row
.
minccsjStr
+
"','"
+
row
.
txls
+
"','"
+
null
+
"')>"
+
value
+
"</a>"
;
}
}
},
{
title
:
'场所采集率'
,
field
:
'swcjl'
,
width
:
50
,
align
:
'center'
,
halign
:
'center'
}
]],
striped
:
true
,
queryParams
:
serializeObject
(
$
(
"form[name='ryxxForm']"
)),
singleSelect
:
true
,
nowrap
:
false
,
//设置是否换行,false换行,true不换行
fitColumns
:
true
,
scrollbarSize
:
0
,
selectOnCheck
:
false
,
checkOnSelect
:
false
,
fit
:
false
,
pagination
:
true
,
pageSize
:
100
,
pageList
:
[
10
,
20
,
50
,
100
,
200
],
//rows
pageNumber
:
1
,
loadFilter
:
function
(
data
){
return
data
;
},
onLoadSuccess
:
function
(
data
){
$
(
"#ryxxTable"
).
datagrid
(
"resize"
,{
width
:
2000
});
dataColumn
(
check_val
);
}
});
}
function
dataColumn
(
data
)
{
//先将所有想都隐藏
// var zw = "";
// var rx = "";
var
hm
=
""
;
var
zj
=
""
;
var
sw
=
""
;
var
sj
=
""
;
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
// if (data[i]== '1') {
// zw = "1";
// }
// if (data[i]== '2') {
// rx = "1";
// }
if
(
data
[
i
]
==
'3'
)
{
hm
=
"1"
;
}
if
(
data
[
i
]
==
'4'
)
{
zj
=
"1"
;
}
if
(
data
[
i
]
==
'5'
)
{
sw
=
"1"
;
}
}
/*if (zw =="1"){
$('#ryxxTable').datagrid("showColumn", "zw");
$('#ryxxTable').datagrid("showColumn", "zwcjs");
$('#ryxxTable').datagrid("showColumn", "zwxzcjs");
$('#ryxxTable').datagrid("showColumn", "zwwcjs");
$('#ryxxTable').datagrid("showColumn", "zwcjl");
}else {
$('#ryxxTable').datagrid("hideColumn", "zw");
$('#ryxxTable').datagrid("hideColumn", "zwcjs");
$('#ryxxTable').datagrid("hideColumn", "zwxzcjs");
$('#ryxxTable').datagrid("hideColumn", "zwwcjs");
$('#ryxxTable').datagrid("hideColumn", "zwcjl");
}
if (rx =="1"){
$('#ryxxTable').datagrid("showColumn", "rx");
$('#ryxxTable').datagrid("showColumn", "rxcjs");
$('#ryxxTable').datagrid("showColumn", "rxxzcjs");
$('#ryxxTable').datagrid("showColumn", "rxwcjs");
$('#ryxxTable').datagrid("showColumn", "rxcjl");
}else {
$('#ryxxTable').datagrid("hideColumn", "rx");
$('#ryxxTable').datagrid("hideColumn", "rxcjs");
$('#ryxxTable').datagrid("hideColumn", "rxxzcjs");
$('#ryxxTable').datagrid("hideColumn", "rxwcjs");
$('#ryxxTable').datagrid("hideColumn", "rxcjl");
}*/
if
(
hm
==
"1"
){
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"hm"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"hmcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"hmxzcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"hmwcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"hmcjl"
);
}
else
{
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"hm"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"hmcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"hmxzcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"hmwcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"hmcjl"
);
}
if
(
zj
==
"1"
){
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"zj"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"zjcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"zjxzcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"zjwcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"zjcjl"
);
}
else
{
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"zj"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"zjcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"zjxzcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"zjwcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"zjcjl"
);
}
if
(
sw
==
"1"
){
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"sw"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"swcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"swxzcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"swwcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"showColumn"
,
"swcjl"
);
}
else
{
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"sw"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"swcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"swxzcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"swwcjs"
);
$
(
'#ryxxTable'
).
datagrid
(
"hideColumn"
,
"swcjl"
);
}
}
function
doClear
(){
$
(
"form[name='ryxxForm']"
)
.
find
(
"input"
).
val
(
''
);
}
//格式化字典
function
codeFormatter
(
val
,
type
){
var
codeName
=
""
;
$
.
ajax
({
url
:
"/queryNameByCode"
,
data
:{
"codeId"
:
val
,
"codeType"
:
type
},
async
:
false
,
type
:
"post"
,
dataType
:
"text"
,
success
:
function
(
data
){
codeName
=
data
;
},
error
:
function
(
e
){
console
.
log
(
"error="
+
JSON
.
stringify
(
e
));
}
});
return
codeName
;
}
function
doExportExcel
(){
var
ccdw
=
$
(
"#RCcdwStr"
).
val
();
var
minccsj
=
$
(
"#minccsj"
).
val
();
var
maxccsj
=
$
(
"#maxccsj"
).
val
();
var
unitgrade
=
$
(
"#unitgrade"
).
val
();
window
.
location
.
href
=
"/exportExcelToRycjtj?ccdw="
+
ccdw
+
"&ftjsj="
+
minccsj
+
"&etjsj="
+
maxccsj
+
"&grade="
+
unitgrade
;
}
function
setCodeText
(
id
,
code
,
type
){
var
text
=
codeFormatter
(
code
,
type
)
$
(
"#"
+
id
).
next
(
"span"
).
find
(
"input.textbox-text"
).
val
(
text
);
}
function
setCodeTexts
(){
$
(
'input.easyui-combotree'
).
each
(
function
(){
var
$this
=
$
(
this
);
var
thisId
=
$this
.
attr
(
'id'
);
var
thisUrl
=
$this
.
combotree
(
'options'
).
url
;
var
thisType
=
thisUrl
.
substr
(
thisUrl
.
indexOf
(
"?type="
)
+
6
);
var
thisCode
=
$
(
"#"
+
thisId
).
combotree
(
"getValue"
);
setCodeText
(
thisId
,
thisCode
,
thisType
);
});
}
function
showlist
(
unitcode
,
unitgrade
,
type
,
value
,
end
,
start
,
ifslgzd
,
name
){
if
(
value
!=
0
){
param
=
"?unitCode="
+
unitcode
+
"&startCcsj="
+
start
+
"&endCcsj="
+
end
+
"&slType="
+
type
+
"&unitgrade="
+
unitgrade
+
"&cot="
+
value
+
"&ifslgzd="
+
ifslgzd
+
"&name="
+
name
;
var
url
=
"toKhtjDet"
+
param
;
window
.
open
(
url
);
}
else
{
$
.
messager
.
alert
(
'提示'
,
"请选择数量大于0的进行查看!"
);
}
}
function
dateTimes
(
tjdate
)
{
if
(
tjdate
==
undefined
||
tjdate
==
''
)
{
return
""
;
}
var
month
=
tjdate
.
getMonth
()
+
1
;
var
day
=
tjdate
.
getDate
();
return
tjdate
.
getFullYear
()
+
'-'
+
getFormatDate
(
month
)
+
'-'
+
getFormatDate
(
day
);
}
</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