|
|
|
@ -812,7 +812,7 @@ class ManagementsController < ApplicationController
|
|
|
|
|
format.xls{
|
|
|
|
|
shixun_ids = @all_discusses.pluck(:dis_id).uniq
|
|
|
|
|
filename = "#{Time.now.strftime("%Y%m%d")}-实训反馈.xls"
|
|
|
|
|
send_data(shixun_feedback_xls(shixun_ids), :type => 'application/octet-stream', :filename => filename_for_content_disposition(filename))
|
|
|
|
|
send_data(shixun_feedback_xls(shixun_ids), :type => "text/excel;charset=utf-8; header=present", :filename => filename_for_content_disposition(filename))
|
|
|
|
|
}
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|