QSMP.Web/Areas/System/Views/Role/Index.cshtml

(开头部分) 7KB

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

@{
    ViewBag.Title = "角色列表";
    Layout = "~/Areas/System/Views/Shared/_Layout.cshtml";
}


    <div class="panel animated fadeIn">
        <div class="panel-body">
            <div id="toolbar" class="elight-table-toolbar">
                <div>
                    <button id="btnSearch" class="toolbar-search-button layui-btn layui-btn-normal layui-btn-small">
                        <i class="layui-icon">&#xe615;</i>查询
                    </button>
                    <div class="toolbar-search-input">
                        <input type="text" id="keyWord" placeholder="角色名称或编码" autocomplete="off" class="layui-input" style="height:39px">
                    </div>
                </div>
                <div class="layui-btn-group"></div>
            </div>
            <table id="gridList" class="layui-form layui-table elight-table" lay-skin="line">
                <thead>
                    <tr>
                        <th>
                            <input type="checkbox" lay-skin="primary">
                        </th>
                        <th>编码</th>
                        <th>名称</th>
                        <th>类型</th>
                        <th>所属机构</th>
                        <th>排序码</th>
                        <th>状态</th>
                        <th>备注</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <!--内容容器-->
                <tbody id="content"></tbody>
            </table>
            <div id="paged"></div>
        </div>
    </div>

<!--内容模板-->
<script id="contentTpl" type="text/html">
    {{#  layui.each(d.list, function(index, item){ }}
    <tr>
        <td>
            <input type="checkbox" lay-skin="primary" value="{{item.Id}}">
        </td>
        <td>{{item.EnCode}}</td>
        <td>{{item.Name}}</td>
        <td>
            {{# if(item.Type==0){ }} 系统角色
            {{# }else if(item.Type==1){ }} 业务角色
            {{# }else{ }} 其他角色
            {{# } }}
        </td>
        <td>{{item.DeptName}}</td>
        <td>{{item.SortCode}}</td>
        <td>
后面还有 190 行代码,解锁后查看完整代码

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

AI 解读

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

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