|
|
@ -28,7 +28,9 @@
|
|
|
|
<td><%= overflow_hidden_span display_text(user.phone), width: 100 %></td>
|
|
|
|
<td><%= overflow_hidden_span display_text(user.phone), width: 100 %></td>
|
|
|
|
<td><%= [user.school_name.presence, user.department_name.presence].compact.join('-') %></td>
|
|
|
|
<td><%= [user.school_name.presence, user.department_name.presence].compact.join('-') %></td>
|
|
|
|
<td class="action-container">
|
|
|
|
<td class="action-container">
|
|
|
|
|
|
|
|
<% if current_user.id != laboratory_user.user_id %>
|
|
|
|
<%= delete_link '删除', cooperative_laboratory_user_path(laboratory_user, element: ".laboratory-user-item-#{laboratory_user.id}"), class: 'delete-laboratory-user-action' %>
|
|
|
|
<%= delete_link '删除', cooperative_laboratory_user_path(laboratory_user, element: ".laboratory-user-item-#{laboratory_user.id}"), class: 'delete-laboratory-user-action' %>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|