| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 | <!--<%include ../layout/second_menu.html %>--><div class="panel-content">    <div class="panel-title fluid">        <div class="title-main">            <h2>                <% for (let menu of userMenu) { %>                <% if (menu.title === secondMenu[action].title) { %>                <%= menu.title %>                <% } else { %>                <a href="<%= menu.url %>" class="btn btn-primary btn-link" style="padding-left:0;margin-left: 0;margin-right: 12px"><%= menu.title %></a>                <% } %>                <% } %>                <a href="#news-add" data-toggle="modal" data-target="#news-add" class="btn btn-primary btn-sm pull-right">添加用户</a>            </h2>        </div>    </div>    <div class="content-wrap">        <div class="c-header">            <form class="form-inline" method="get" action="">                <!--搜索-->                <div class="btn-group">                    <div class="input-group">                        <input type="text" name="keyword" class="form-control input-sm" value="<%= filter.keyword === undefined ? '' : filter.keyword %>" placeholder="手机/邮箱/姓名/公司">                        <span class="input-group-btn">                        <button class="btn btn-default btn-sm" type="submit">                            <i class="glyphicon glyphicon-search"></i>                        </button>                    </span>                    </div>                </div>            </form>            <div class="btn-group">            </div>        </div>        <div class="c-body">            <table class="table">                <thead>                <tr>                    <th width="350">注册手机/邮箱</th>                    <th>姓名</th>                    <th>企业名称</th>                    <th>企业地区</th>                    <th>最近使用版本</th>                    <th width="180">最近登录</th>                    <th width="180">注册时间</th>                    <th>详细</th>                </tr>                </thead>                <tbody>                <% userList.forEach(function (user){ %>                <tr>                    <td><%= user.mobile %> / <%= user.email %></td>                    <td><%= user.real_name %></td>                    <td><a tabindex="0" role="button" data-toggle="popover" data-trigger="focus" title="更多信息"                           data-content="企业类型:<%= model.companyType[user.company_type] %>,企业规模:<%= model.companyScale[user.company_scale] %>"><%= user.company %></a>                    </td>                    <td><%= model.province[user.province] %></td>                    <td><%= compilationMap[user.latest_used]?compilationMap[user.latest_used].name:""%></td>                    <td><%= user.latest_login?moment(user.latest_login).format('YYYY-MM-DD HH:mm:ss'):"" %></td>                    <td><%= moment(user.create_time).format('YYYY-MM-DD HH:mm:ss') %></td>                    <td><a role="button" data-toggle="modal" data-target="#view" onclick='getUserInfo("<%= user._id.toString()%>")'>详细</a></td>                </tr>                <% }) %>                </tbody>            </table>            <nav aria-label="Page navigation">                <%include ../layout/page.html %>            </nav>        </div>    </div></div><script type="text/javascript">    let compilationList = JSON.parse('<%- compilationString %>');    let adminName = '<%- adminName %>';</script><script type="text/javascript" src="/web/users/js/user.js"></script>
 |