parent
30a5b1a4e6
commit
096dd01b8a
@ -0,0 +1,20 @@
|
||||
<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>添加时间</span>
|
||||
</li>
|
||||
<% @current_partner.try(:customers).try(:each) do |customer| %>
|
||||
<li>
|
||||
<span><%= customer.school.id %></span>
|
||||
<span class="task-hide"><%= customer.school.name %></span>
|
||||
<span>
|
||||
<a href="javascript:void(0)" onclick="delete_confirm_box_2('<%= delete_customers_managements_path(customer: customer.id) %>',
|
||||
'确定要删除该客户吗')" class="color-grey-9">删除</a>
|
||||
</span>
|
||||
<span>
|
||||
<%= format_time customer.created_at %>
|
||||
</span>
|
||||
</li>
|
||||
<% end %>
|
@ -0,0 +1 @@
|
||||
$("#partner_customer_list").html("<%= j(render :partial => "partner_customer_list") %>")
|
Loading…
Reference in new issue