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
67e66a45
Commit
67e66a45
authored
Feb 07, 2023
by
wuchengwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手机统计列表性别翻译,职业描述等长度限制
parent
d19c57eb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
28 deletions
+25
-28
hnxtba-core/src/main/java/com/founder/service/impl/TbPhSjInfoServiceImpl.java
+12
-7
hnxtba-core/src/main/resources/templates/khtj/ryxxtj.html
+0
-17
hnxtba-core/src/main/resources/templates/khtj/sjlist.html
+10
-1
hnxtba-core/src/main/resources/templates/rygl/addryxx.html
+3
-3
No files found.
hnxtba-core/src/main/java/com/founder/service/impl/TbPhSjInfoServiceImpl.java
View file @
67e66a45
...
...
@@ -4,6 +4,7 @@ import com.founder.dao.TbPhSjInfoDao;
import
com.founder.model.*
;
import
com.founder.service.TbPhSjInfoService
;
import
com.founder.utils.EasyuiPage
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
...
...
@@ -24,13 +25,17 @@ public class TbPhSjInfoServiceImpl implements TbPhSjInfoService{
@Override
public
List
<
TbPhFzxyrsjgl
>
getPhoneInfoList
(
Map
<
String
,
Object
>
map
)
{
List
<
TbPhFzxyrsjgl
>
phoneInfoList
=
phSjInfoDao
.
getPhoneInfoList
(
map
);
phoneInfoList
.
stream
().
forEach
(
p
->
{
if
(
p
.
getYddh
().
startsWith
(
"86"
)){
p
.
setYddh
(
p
.
getYddh
().
substring
(
2
));
}
else
if
(
p
.
getYddh
().
startsWith
(
"+86"
)){
p
.
setYddh
(
p
.
getYddh
().
substring
(
3
));
}
});
if
(
phoneInfoList
.
size
()
>
0
)
{
phoneInfoList
.
stream
().
forEach
(
p
->
{
if
(
StringUtils
.
isNotBlank
(
p
.
getYddh
())){
if
(
p
.
getYddh
().
startsWith
(
"86"
))
{
p
.
setYddh
(
p
.
getYddh
().
substring
(
2
));
}
else
if
(
p
.
getYddh
().
startsWith
(
"+86"
))
{
p
.
setYddh
(
p
.
getYddh
().
substring
(
3
));
}
}
});
}
return
phoneInfoList
;
}
...
...
hnxtba-core/src/main/resources/templates/khtj/ryxxtj.html
View file @
67e66a45
...
...
@@ -497,23 +497,6 @@
return
false
;
}
}
function
getRecentDay
()
{
var
today
=
new
Date
();
var
tYear
=
today
.
getFullYear
();
var
tMonth
=
today
.
getMonth
()
+
1
;
// var tDate = today.getDate();
return
tYear
+
"-"
+
tMonth
+
"-01"
;
}
function
getCruuentDay
()
{
var
today
=
new
Date
();
var
tYear
=
today
.
getFullYear
();
var
tMonth
=
today
.
getMonth
()
+
1
;
var
tDate
=
today
.
getDate
();
return
tYear
+
"-"
+
tMonth
+
"-"
+
tDate
;
}
//格式化字典
function
codeFormatter
(
val
,
type
){
var
codeName
=
""
;
...
...
hnxtba-core/src/main/resources/templates/khtj/sjlist.html
View file @
67e66a45
...
...
@@ -138,7 +138,16 @@
return
"<span title='点击查看人员生物特征详情' onclick=
\"
openRyxq('"
+
rybh
+
"')
\"
>"
+
rybh
+
"</span>"
;
}},
{
title
:
"姓名"
,
field
:
"xm"
,
align
:
'left'
,
width
:
120
},
{
title
:
"性别"
,
field
:
"xbdm"
,
align
:
'left'
,
width
:
80
},
{
title
:
"性别"
,
field
:
"xbdm"
,
align
:
'left'
,
width
:
80
,
formatter
:
function
(
val
,
row
,
index
){
var
xbdm
=
row
.
xbdm
;
var
rstStr
=
""
;
if
(
xbdm
==
"1"
){
rstStr
=
"男"
;
}
else
if
(
xbdm
==
"2"
){
rstStr
=
"女"
;
}
return
rstStr
;
}},
{
title
:
"证件号码"
,
field
:
"gmsfhm"
,
align
:
'left'
,
width
:
150
,
formatter
:
function
(
val
,
row
,
index
){
var
gmsfhm
=
row
.
gmsfhm
;
var
zjhm
=
row
.
zjhm
;
...
...
hnxtba-core/src/main/resources/templates/rygl/addryxx.html
View file @
67e66a45
...
...
@@ -796,15 +796,15 @@
layer
.
alert
(
"现住址详址长度过长!"
,{
icon
:
7
,
title
:
'提示'
});
return
-
1
;
}
if
(
$
(
"#zylbdmbcms"
).
val
()
!=
null
&&
$
(
"#zylbdmbcms"
).
val
().
length
>
10
0
){
if
(
$
(
"#zylbdmbcms"
).
val
()
!=
null
&&
$
(
"#zylbdmbcms"
).
val
().
length
>
6
0
){
layer
.
alert
(
"职业描述长度过长!"
,{
icon
:
7
,
title
:
'提示'
});
return
-
1
;
}
if
(
$
(
"#tszcdmbcms"
).
val
()
!=
null
&&
$
(
"#tszcdmbcms"
).
val
().
length
>
10
0
){
if
(
$
(
"#tszcdmbcms"
).
val
()
!=
null
&&
$
(
"#tszcdmbcms"
).
val
().
length
>
6
0
){
layer
.
alert
(
"专长描述长度过长!"
,{
icon
:
7
,
title
:
'提示'
});
return
-
1
;
}
if
(
$
(
"#sarysfdmbcms"
).
val
()
!=
null
&&
$
(
"#sarysfdmbcms"
).
val
().
length
>
10
0
){
if
(
$
(
"#sarysfdmbcms"
).
val
()
!=
null
&&
$
(
"#sarysfdmbcms"
).
val
().
length
>
6
0
){
layer
.
alert
(
"身份描述长度过长!"
,{
icon
:
7
,
title
:
'提示'
});
return
-
1
;
}
...
...
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