server/aspnetapp/Views/BuyrUser/Index.cshtml

(开头部分) 8KB

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

@model IEnumerable<aspnetapp.Models.BuyrUserEntity>

@{
    var allsysu = ViewBag.allsysu as List<SysUserEntity> ?? new List<SysUserEntity>();
    var allcompany = ViewBag.company as List<CompanyEntity> ?? new List<CompanyEntity>();


    int pagesize = ViewBag.pagesize;
    int pageindex = ViewBag.page == null ? 0 : Convert.ToInt32(ViewBag.page);

    int i = (pageindex * pagesize) + 1;
}

<div class="table-box">
    <div class="col-md-12 xigw-tab">
        <div class="tab-content">
            <ul class="nav nav-tabs" role="tablist">
                <li role="presentation" class="active">
                    <a href="###">用户列表</a>
                </li>
            </ul>

            <div style="padding-top:10px;">
                <form id="form1" name="form1" action="Index" method="post">
                    <table>
                        <tr>
                            <th style="padding-left:20px;width:70px">姓名:</th>
                            <td style="text-align: center !important;width:200px;">
                                <input type="text" name="username" class="form-control" autocomplete="off" style="width: 180px" value="@ViewBag.username" onchange="func()">
                            </td>
                            <th style="padding-left:20px;width:70px">单位:</th>
                            <td style="text-align: center !important;width:200px;">
                                <select class="form-control" id="company" name="company" onchange="func()" style="width:160px">
                                    <option value="全部">全部</option>
                                    @foreach (var item in allcompany)
                                    {
                                        <option value="@item.CompanyName">@item.CompanyName</option>
                                    }
                                </select>
                            </td>

                            <th style="padding-left:20px;width:70px">用户类型:</th>
                            <td style="text-align: center !important;width:200px;">
                                @Html.DropDownList("UserType", null, "全部", new { @class = "form-control", @style = "width:200px", @onchange="func()" })
                            </td>

                            <th style="padding-left:20px;width:70px">用户状态:</th>
                            <td style="text-align: center !important;width:200px;">
                                @Html.DropDownList("UserStatus", null, "全部", new { @class = "form-control", @style = "width:200px", @onchange="func()" })
                            </td>
                        </tr>
                    </table>
                </form>
                @if (ViewBag.count != 0)
                {
                    <div>
                        <div class="remind-box" style="padding-top: 8px; height: 38px; background-color: #FFEEE6; ">
                            <div class="remind-info" style=" white-space: nowrap; overflow: hidden; text-overflow: ellipsis;width:auto" title="共查询到 @(ViewBag.count) 位用户">
                                <p>共查询到 <strong>@(ViewBag.count)</strong> 位用户</p>
                            </div>
后面还有 116 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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