Commit f392db40 authored by wuzhilong's avatar wuzhilong

制证统计图描述,用户登录日志输出

parent 07e510db
...@@ -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;
} }
......
...@@ -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,
......
<section class="content row"> <section class="content row">
<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;"
ng-model="year" ng-model="year"
ng-change="changeYear()"> ng-change="changeYear()">
<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="col-md-12">
<div class="row" > <div class="yx-div-header"></div>
<div class="col-md-12"> <div id="diagram_item_ratio_certification" style="height:500px;"></div>
<div class="yx-div-header"></div>
<div id="diagram_item_ratio_certification" style="height:500px;"></div>
</div>
</div>
</div>
</div> </div>
</div> </div>
</div>
</div>
</div>
</div> </div>
</section> </section>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment