Przeglądaj źródła

用户管理页展示修改

laiguoran 6 lat temu
rodzic
commit
262eb9acfc
1 zmienionych plików z 5 dodań i 10 usunięć
  1. 5 10
      web/users/views/user/index.html

+ 5 - 10
web/users/views/user/index.html

@@ -92,26 +92,21 @@
                     <th>企业名称</th>
                     <th>企业地区</th>
                     <th>最近使用版本</th>
-                    <th width="180">最近登录</th>
-                    <th width="180">注册时间</th>
+                    <th width="180">注册时间 / 最近登录</th>
                     <th>详细</th>
-                    <th>升级</th>
                 </tr>
                 </thead>
                 <tbody>
                 <% userList.forEach(function (user){ %>
                 <tr>
-                    <td><%= user.mobile %> / <%= user.email %></td>
+                    <td><%= user.mobile %><br><%= 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><%= user.company %></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><%= moment(user.create_time).format('YYYY-MM-DD HH:mm:ss') %><br><%= user.latest_login?moment(user.latest_login).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>
-                    <td><a href="#update" data-toggle="modal" data-target="#update" onclick='getUserUpgradeInfo("<%= user._id.toString()%>")'>升级</a></td>
+                    <!--<td><a href="#update" data-toggle="modal" data-target="#update" onclick='getUserUpgradeInfo("<%= user._id.toString()%>")'>升级</a></td>-->
                 </tr>
                 <% }) %>
                 </tbody>