12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- @using MES.Production.Service;
- @using Central.Control.Domain;
- @using Ant.Service.Common;
- @using CommonToolHelper;
- @{
- ViewBag.Title = "Index";
- Layout = "~/Views/Shared/_Layout.cshtml";
- }
- @model PageInfo
- <!-- table star -->
- <div class="row col-lg-12">
- <div class="wrapper wrapper-content animated fadeInUp">
- <div class="ibox">
- <div class="ibox-title">
- <h5>下载管理</h5>
- </div>
- <div class="ibox-content">
- <!-- search star -->
- @using (Ajax.BeginForm("Index", null, new AjaxOptions() { }, new { @id = "form1", @class = "form-horizontal", @method = "get" }))
- {
- <div class="form-horizontal clearfix">
- <div class="col-lg-4 col-sm-4" style="float:right;">
- <div class="form-group">
- <div class="col-lg-12 col-sm-12 input-group">
- @Html.TextBox("Search", null, new { @class = "input-sm form-control", @placeholder = "请输入查询关键词" })
- <span class="input-group-btn">
- <button type="button" onclick="submit()" class="btn btn-sm btn-primary"> 搜索</button>
- </span>
- </div>
- </div>
- </div>
- </div>
- <!-- search end -->
- <div id="example_wrapper" class="dataTables_wrapper form-inline dt-bootstrap no-footer">
- <table id="example" class="table table-striped table-bordered table-hover dataTables-example dataTable" cellspacing="0" width="100%">
- <thead>
- <tr>
- <th>下载时间</th>
- <th>下载者</th>
- <th>下载IP</th>
- <th>文件名</th>
- <th style="width:100px !important;">下载次数</th>
- </tr>
- </thead>
- <tbody>
- @{foreach (var item in Model.List)
- {
- <tr>
- <td>@item.DLDATE</td>
- <td>@item.DLOPERATOR</td>
- <td>@item.DLIP</td>
- <td>@item.FILENAME</td>
- <td>@item.DLNUM</td>
- </tr>
- }
- }
- </tbody>
- </table>
- <!-- page -->
- <div class="bottom">
- <div class="dataTables_info" id="example_info" post="status" aria-live="polite">显示第 @Model.BeginPage 至 @Model.EndPage 项结果,共 @Model.Count 项</div>
- <div class="dataTables_length" id="example_length">
- <label>
- 显示
- <select name="example_length" onchange="submit()" aria-controls="example" class="form-control input-sm">
- <option value="10" @(Model.PageSize == 10 ? "selected" : "")>10</option>
- <option value="25" @(Model.PageSize == 25 ? "selected" : "")>25</option>
- <option value="50" @(Model.PageSize == 50 ? "selected" : "")>50</option>
- <option value="100" @(Model.PageSize == 100 ? "selected" : "")>100</option>
- </select> 项结果
- </label>
- </div>
- @CommonHtmlHelper.PaginationPager(Model.Index, Model.PageSize, Model.Count, 7, Model.Url)
- <div class="clear"></div>
- </div>
- <!-- page -->
- </div>
- }
- </div>
- </div>
- </div>
- </div>
- <!-- table end -->
- @section scripts{
- }
|