我的issue导出excel功能
This commit is contained in:
parent
2cbc7bca33
commit
f359b26344
|
@ -12,7 +12,7 @@
|
|||
<ul>
|
||||
<!-- <a href="javascript:void(0)" class="hw_btn_blue ml10 mt10 mb10" style="visibility:hidden;" alt="导出EXCEL">导出EXCEL</a>-->
|
||||
<%= link_to "导出EXCEL", user_issues_user_path(:format => 'xls'), :class => "hw_btn_blue ml10 mt10 mb10", :id=>"sendexcel",
|
||||
:onclick=> "remote_function_export('#{User.current}')"%>
|
||||
:onclick => "remote_function_export('#{User.current}')"%>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -113,6 +113,7 @@
|
|||
$("select[id='assigned_to_id']").find(assign).attr("selected", "selected");
|
||||
$("select[id='author_id']").val('');
|
||||
$("select[id='priority_id']").val('');
|
||||
$("select[id='project_id']").val('');
|
||||
$("select[id='tracker_id']").val('');
|
||||
$("select[id='fixed_version_id']").val('');
|
||||
$("select[id='status_id']").val('');
|
||||
|
@ -138,6 +139,7 @@
|
|||
$("select[id='author_id']").find(user).attr("selected", "selected");
|
||||
$("select[id='assigned_to_id']").val('');
|
||||
$("select[id='priority_id']").val('');
|
||||
$("select[id='project_id']").val('');
|
||||
$("select[id='tracker_id']").val('');
|
||||
$("select[id='fixed_version_id']").val('');
|
||||
$("select[id='status_id']").val('');
|
||||
|
@ -270,7 +272,7 @@
|
|||
<p class="nodata mt10"><%= l(:label_no_data) %></p>
|
||||
<% else %>
|
||||
<div id="issue_list">
|
||||
<%= render :partial => 'users/all_issue_list', :locals => {:issues => @issues, :excel_issues => @excel_issues, :issue_pages => @issue_pages,:issue_count => @issue_count, :subject => @subject } %>
|
||||
<%= render :partial => 'users/all_issue_list', :locals => {:issues => @issues, :issue_pages => @issue_pages,:issue_count => @issue_count, :subject => @subject } %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue