Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
f392db40
Commit
f392db40
authored
Oct 17, 2019
by
wuzhilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
制证统计图描述,用户登录日志输出
parent
07e510db
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
14 deletions
+12
-14
UserApi.java
src/main/java/com/yxproject/start/api/UserApi.java
+6
-6
utils.js
src/main/resources/static/js/utils.js
+3
-3
blank.html
src/main/resources/static/views/blank/blank.html
+3
-5
No files found.
src/main/java/com/yxproject/start/api/UserApi.java
View file @
f392db40
...
@@ -47,18 +47,18 @@ public class UserApi {
...
@@ -47,18 +47,18 @@ public class UserApi {
}
catch
(
UnknownAccountException
e
)
{
}
catch
(
UnknownAccountException
e
)
{
resultMap
.
put
(
"status"
,
201
);
resultMap
.
put
(
"status"
,
201
);
resultMap
.
put
(
"message"
,
"账号不存在!"
);
resultMap
.
put
(
"message"
,
"账号不存在!"
);
logger
.
error
(
"不存在的用户名:"
+
username
);
//
logger.error("不存在的用户名:" + username);
logger
.
error
(
""
,
e
);
//
logger.error("", e);
}
catch
(
IncorrectCredentialsException
e1
)
{
}
catch
(
IncorrectCredentialsException
e1
)
{
resultMap
.
put
(
"status"
,
202
);
resultMap
.
put
(
"status"
,
202
);
resultMap
.
put
(
"message"
,
"密码错误!"
);
resultMap
.
put
(
"message"
,
"密码错误!"
);
logger
.
error
(
"用户密码错误,用户名:"
+
username
+
"错误密码:"
+
password
);
//
logger.error("用户密码错误,用户名:" + username + "错误密码:" + password);
logger
.
error
(
""
,
e1
);
//
logger.error("", e1);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
resultMap
.
put
(
"status"
,
500
);
resultMap
.
put
(
"status"
,
500
);
resultMap
.
put
(
"message"
,
"用户名密码错误"
);
resultMap
.
put
(
"message"
,
"用户名密码错误"
);
logger
.
error
(
"用户名错误:"
+
username
+
"错误密码:"
+
password
);
//
logger.error("用户名错误:" + username + "错误密码:" + password);
logger
.
error
(
"Exception 用户登录异常"
,
e
);
//
logger.error("Exception 用户登录异常", e);
}
}
return
resultMap
;
return
resultMap
;
}
}
...
...
src/main/resources/static/js/utils.js
View file @
f392db40
...
@@ -12,7 +12,7 @@ var buildDiagramDataCheckItemRatioProv = function (labelprov, data) {
...
@@ -12,7 +12,7 @@ var buildDiagramDataCheckItemRatioProv = function (labelprov, data) {
var
body
=
{
var
body
=
{
color
:
[
'#003366'
,
'#006699'
,
'#4cabce'
,
'#e5323e'
],
color
:
[
'#003366'
,
'#006699'
,
'#4cabce'
,
'#e5323e'
],
title
:
{
title
:
{
text
:
' 北京市公安局 '
+
data
.
date
+
' 年
本
地证制证生产情况'
,
text
:
' 北京市公安局 '
+
data
.
date
+
' 年
异
地证制证生产情况'
,
subtext
:
'人次数量'
subtext
:
'人次数量'
},
},
//提示框组件
//提示框组件
...
@@ -24,7 +24,7 @@ var buildDiagramDataCheckItemRatioProv = function (labelprov, data) {
...
@@ -24,7 +24,7 @@ var buildDiagramDataCheckItemRatioProv = function (labelprov, data) {
type
:
'scroll'
,
type
:
'scroll'
,
orient
:
'horizontal'
,
orient
:
'horizontal'
,
x
:
'right'
,
x
:
'right'
,
data
:
[
'
普通
证'
,
'港澳'
,
'台湾'
,
'废证'
]
data
:
[
'
异地
证'
,
'港澳'
,
'台湾'
,
'废证'
]
},
},
//拖拽时,是否实时更新。
//拖拽时,是否实时更新。
calculable
:
true
,
calculable
:
true
,
...
@@ -51,7 +51,7 @@ var buildDiagramDataCheckItemRatioProv = function (labelprov, data) {
...
@@ -51,7 +51,7 @@ var buildDiagramDataCheckItemRatioProv = function (labelprov, data) {
//数值
//数值
series
:
[
series
:
[
{
{
name
:
'
普通
证'
,
name
:
'
异地
证'
,
type
:
'bar'
,
type
:
'bar'
,
barGap
:
0
,
barGap
:
0
,
label
:
labelprov
,
label
:
labelprov
,
...
...
src/main/resources/static/views/blank/blank.html
View file @
f392db40
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"box "
>
<div
class=
"box "
>
<div
class=
"box-header"
>
<div
class=
"box-header"
>
<strong>
制证统计
</strong>
<strong>
制证量柱状图
</strong>
<div
class=
"pull-right col-md-2"
>
<div
class=
"pull-right col-md-2"
>
<input
class=
"form-control col-md-1"
<input
class=
"form-control col-md-1"
style=
"width: 70px;height: 20px;"
style=
"width: 70px;height: 20px;"
...
@@ -11,11 +11,9 @@
...
@@ -11,11 +11,9 @@
<span
class=
"col-md-1"
>
年
</span>
<span
class=
"col-md-1"
>
年
</span>
</div>
</div>
</div>
</div>
<div
class=
"box box-primary"
>
<div
class=
"box box-primary"
style=
"min-height: 600px;padding-top: 57px;padding-left: 25px;"
>
<div
style=
"text-align: center;"
>
<div
style=
"text-align: center;"
>
<!--通过率统计图-->
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<div
class=
"yx-div-header"
></div>
<div
class=
"yx-div-header"
></div>
<div
id=
"diagram_item_ratio_certification"
style=
"height:500px;"
></div>
<div
id=
"diagram_item_ratio_certification"
style=
"height:500px;"
></div>
...
...
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