Skip to content

Commit d34366c

Browse files
committed
coding
1 parent f667473 commit d34366c

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

YanZhiwei.JavaScript.Utilities/BackHandler/BaseHandler.ashx.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ public void ProcessRequest(HttpContext context)
4343
{
4444
int _pageIndex = context.Request.Params["PageIndex"].ToInt32OrDefault(1),
4545
_pageSize = context.Request.Params["PageSize"].ToInt32OrDefault(10);
46-
SqlServerDataOperator _helper = new SqlServerDataOperator(@"Server=YANZHIWEI-PC\SQLEXPRESS;database=JooWMS;user id=sa;Password=sasa");
46+
SqlServerDataOperator _helper = new SqlServerDataOperator(@"Server=YANZHIWEI-IT-PC\SQLEXPRESS;database=JooWMS;user id=sa;Password=sasa");
4747
PagedList<Location> _pageResult = _helper.ExecutePageQuery<Location>("[Location]", "*", "ID", OrderType.Desc, string.Empty, _pageSize, _pageIndex);
48-
string _json = SerializeHelper.JsonSerialize(new JsonPagedList<Location>(_pageResult));
48+
string _json = SerializeHelper.JsonSerialize(new JsonPagedList<Location>(_pageResult)).ParseJsonDateTime();
4949
context.Response.Write(_json);
5050
}
5151
else if(_actionType.CompareIgnoreCase("exportLocationExcel"))
5252
{
53-
SqlServerDataOperator _helper = new SqlServerDataOperator(@"Server=YANZHIWEI-PC\SQLEXPRESS;database=JooWMS;user id=sa;Password=sasa");
53+
SqlServerDataOperator _helper = new SqlServerDataOperator(@"Server=YANZHIWEI-IT-PC\SQLEXPRESS;database=JooWMS;user id=sa;Password=sasa");
5454
PagedList<Location> _pageResult = _helper.ExecutePageQuery<Location>("[Location]", "*", "ID", OrderType.Desc, string.Empty, 10, 1);
5555
DataTable _result = GeneralMapper.ToDataTable<Location>(_pageResult, new string[4] { "LocalNum", "LocalBarCode", "LocalName", "StorageNum" });
5656
string _filePath = context.Server.MapPath("~/UploadFiles/");
Binary file not shown.
Binary file not shown.

YanZhiwei.JavaScript.Utilities/bootstrap3/bootstrap_Templet.aspx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@
5858
background-color: #fff;
5959
cursor: default;
6060
}
61+
62+
.widget-body .dataTables_info, .widget-body .dataTables_paginate {
63+
margin-top: 5px !important;
64+
padding-bottom: 0px !important;
65+
margin-bottom: -4px !important;
66+
}
6167
</style>
6268
<script type="text/javascript">
6369
$(document).ready(function () {

0 commit comments

Comments
 (0)