Merge branches 'dev_aliyun' and 'educoder' of https://bdgit.educoder.net/Hjqreturn/pgfqe6ch8 into educoder
commit
b0932ccd44
@ -1,19 +1,10 @@
|
||||
<%= form_tag(url_for(departments_part_managements_path),:id=>"department_part_search",:method => "post",:remote=>true) do %>
|
||||
<div class="edu-con-top clearfix mb20 xmt10 bor-grey-e mt10">
|
||||
<input class="fl task-form-20 task-height-30 ml25" id="shixun_Look_name" name="search" maxlength="" placeholder="输入关键字进行搜索" type="text" >
|
||||
<a href="javascript:void(0);" class="fl task-btn task-btn-orange ml5 mt2" onclick="$('#department_part_search').submit();">搜索</a>
|
||||
<a href="javascript:clearSearchCondition();" class="fl task-btn ml5 mt2" id="clear_contents">清除</a>
|
||||
<%= link_to "关联代理人",add_departments_part_managements_path(),:class => "task-btn task-btn-green fr mt6 mr30" %>
|
||||
<input name="sx_order" type="hidden">
|
||||
</div>
|
||||
<% end %>
|
||||
<div class="edu-con-bg01 mt15" id="managements_department_part_list">
|
||||
<%= render :partial => "managements/user_agent_list" %>
|
||||
</div>
|
||||
<script>
|
||||
function clearSearchCondition() {
|
||||
$("#shixun_Look_name").val("");
|
||||
$.get('<%= departments_part_managements_path() %>')
|
||||
$.get('<%= user_agents_managements_path() %>')
|
||||
}
|
||||
|
||||
</script>
|
Loading…
Reference in new issue