Merge branch 'develop' of https://bdgit.educoder.net/Hjqreturn/pgfqe6ch8 into develop
commit
7dc216bf69
@ -1,20 +1,22 @@
|
||||
<li class="clearfix tableHead">
|
||||
<span>序号</span>
|
||||
<span>客户名称</span>
|
||||
<span><a href="<%= customers_list_managements_path(:partner_id => @current_partner.try(:id)) %>"
|
||||
data-remote="true" class="color-blue">+添加</a></span>
|
||||
<span>
|
||||
<a href="<%= customers_list_managements_path(:partner_id => @current_partner.try(:id)) %>"
|
||||
data-remote="true" class="color-blue">+添加</a>
|
||||
</span>
|
||||
<span>添加时间</span>
|
||||
</li>
|
||||
<% @current_partner.try(:customers).try(:each_with_index) do |customer, index| %>
|
||||
<li>
|
||||
<span><%= index + 1 %></span>
|
||||
<span class="task-hide"><%= customer.school.name %></span>
|
||||
<a href="<%= customer.school.statistic_url %>" target="_blank" class="color-blue"><%= customer.school.name %></a>
|
||||
<span>
|
||||
<a href="javascript:void(0)" onclick="delete_confirm_box_2('<%= delete_customers_managements_path(customer: customer.id, partner_id: @current_partner.try(:id)) %>',
|
||||
'确定要删除该客户吗')" class="color-grey-9">删除</a>
|
||||
</span>
|
||||
<a href="javascript:void(0)" onclick="delete_confirm_box_2('<%= delete_customers_managements_path(customer: customer.id, partner_id: @current_partner.try(:id)) %>',
|
||||
'确定要删除该客户吗')" class="color-grey-9">删除</a>
|
||||
</span>
|
||||
<span>
|
||||
<%= format_time customer.created_at %>
|
||||
</span>
|
||||
</li>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
Loading…
Reference in new issue