修改BUG:系统日志表操作类型不能保存汉字,精简UI,修复时间选择框样式

This commit is contained in:
Argo-Lenovo 2017-03-29 13:25:33 +08:00
parent 55d6b0420a
commit 4ff81b3857
3 changed files with 9 additions and 5 deletions

View File

@ -538,3 +538,7 @@ input[type="datetime"] {
border-bottom: none; border-bottom: none;
} }
/*Bootstrap Table BUG END*/ /*Bootstrap Table BUG END*/
.input-group.form_date span {
border-left: none;
}

View File

@ -20,13 +20,13 @@
<div class="panel-body"> <div class="panel-body">
<form class="form-inline" role="form"> <form class="form-inline" role="form">
<div class="row"> <div class="row">
<div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12"> <div class="form-group col-xs-12">
<label class="control-label" for="txt_operate_type">操作类型</label> <label class="control-label" for="txt_operate_type">操作类型</label>
<input type="text" class="form-control" id="txt_operate_type" /> <input type="text" class="form-control" id="txt_operate_type" />
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="form-group col-xs-12 col-sm-6 col-md-5 col-lg-5"> <div class="form-group col-xs-12 col-sm-6 col-md-5">
<label class="control-label" for="txt_operate_start">起始时间</label> <label class="control-label" for="txt_operate_start">起始时间</label>
<div class="input-group date form_date"> <div class="input-group date form_date">
<input id="txt_operate_start" class="form-control" size="16" type="text" value="" readonly> <input id="txt_operate_start" class="form-control" size="16" type="text" value="" readonly>
@ -34,7 +34,7 @@
<span class="input-group-addon"><span class="glyphicon glyphicon-th"></span></span> <span class="input-group-addon"><span class="glyphicon glyphicon-th"></span></span>
</div> </div>
</div> </div>
<div class="form-group col-xs-12 col-sm-6 col-md-5 col-lg-5"> <div class="form-group col-xs-12 col-sm-6 col-md-5">
<label class="control-label" for="txt_operate_end">终止时间</label> <label class="control-label" for="txt_operate_end">终止时间</label>
<div class="input-group date form_date"> <div class="input-group date form_date">
<input id="txt_operate_end" class="form-control" size="16" type="text" value="" readonly> <input id="txt_operate_end" class="form-control" size="16" type="text" value="" readonly>
@ -42,7 +42,7 @@
<span class="input-group-addon"><span class="glyphicon glyphicon-th"></span></span> <span class="input-group-addon"><span class="glyphicon glyphicon-th"></span></span>
</div> </div>
</div> </div>
<div class="form-group col-xs-12 col-sm-12 col-md-2 col-lg-2"> <div class="form-group col-xs-12 col-sm-12 col-md-2">
<label class="sr-only"></label> <label class="sr-only"></label>
<button type="button" id="btn_query" class="btn btn-primary form-control"><i class="fa fa-search" aria-hidden="true"></i><span>查询</span></button> <button type="button" id="btn_query" class="btn btn-primary form-control"><i class="fa fa-search" aria-hidden="true"></i><span>查询</span></button>
</div> </div>

View File

@ -208,7 +208,7 @@ SET ANSI_PADDING ON
GO GO
CREATE TABLE [dbo].[Logs]( CREATE TABLE [dbo].[Logs](
[ID] [int] IDENTITY(1,1) NOT NULL, [ID] [int] IDENTITY(1,1) NOT NULL,
[CRUD] [varchar](50) NOT NULL, [CRUD] [nvarchar](50) NOT NULL,
[UserName] [varchar](50) NOT NULL, [UserName] [varchar](50) NOT NULL,
[LogTime] [datetime] NOT NULL, [LogTime] [datetime] NOT NULL,
[ClientIp] [varchar](15) NOT NULL, [ClientIp] [varchar](15) NOT NULL,