Views/I5/I0504/Index.cshtml

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@model IEnumerable<OPMS.Models.I0504>

@{
    ViewBag.Title = "Index";
}
<script src="~/Content/lib/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 系统管理 <span class="c-gray en">&gt;</span> 系统日志<a class="btn btn-success radius r mr-20" style="line-height: 1.6em; margin-top: 3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="pd-20">
    <div class="text-l">
        @using (Html.BeginForm("Index", "I0504", FormMethod.Get))
        {
            <div class="l mb-5">
                时间范围:
                <input id="startime" name="startime" type="text" onclick="WdatePicker({ dateFmt: 'yyyy-MM-dd' })" readonly="true"  class="input-text Wdate" style="width:110px; height:28px; margin-right: 5px;" value="@ViewBag.t1">
                -
                <input id="endtime" name="endtime" class="input-text Wdate" onclick="WdatePicker({ dateFmt: 'yyyy-MM-dd' })" type="text" readonly="true" style="width: 110px;height:28px; margin-right: 5px;" value="@ViewBag.t2" />
                <input type="text" class="input-text w250"  placeholder="输入操作人、信息、结果、日志名称" id="queryStr" name="queryStr" value="@ViewBag.queryStr">
                <button type="submit" class="btn btn-success"><i class="Hui-iconfont">&#xe665;</i> 查询</button>
            </div>
        }
        @if (ViewBag.delete)
        {
            <span class="r mb-5">
                <a href="javascript:;" onclick="datadel()" class="btn btn-danger radius"><i class="Hui-iconfont">&#xe6e2;</i> 批量删除</a>
            </span>
        }
    </div>
    <table class="table table-border table-bordered table-bg table-hover table-sort">
        <tr>
            <th style="width: 25px; text-align: center;">
                <input id="CheckboxAll" name="CheckboxAll" type="checkbox" onclick="SelectAll();" /></th>
            <th>
                @Html.DisplayNameFor(model => model.Operator)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Message)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Result)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Type)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Module)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.CreateTime)
            </th>
            <th>操作</th>
        </tr>

        @foreach (var item in Model)
        {
            <tr>
                <td class="text-c">
                    <input id="checkbox" name="checkbox" type="checkbox" value="@item.Id" /></td>
                <td>
                    @Html.DisplayFor(modelItem => item.Operator)
                </td>
后面还有 104 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。