|
|
@ -39,7 +39,7 @@ class ManagementsController < ApplicationController
|
|
|
|
format.html
|
|
|
|
format.html
|
|
|
|
format.xls{
|
|
|
|
format.xls{
|
|
|
|
time = Time.now.strftime("%Y%m%d")
|
|
|
|
time = Time.now.strftime("%Y%m%d")
|
|
|
|
filename = "实训课程体系#{time}.xls"
|
|
|
|
filename = "引流情况#{time}.xls"
|
|
|
|
send_data(user_agents_export(), :type => 'application/octet-stream', :filename => filename_for_content_disposition(filename))
|
|
|
|
send_data(user_agents_export(), :type => 'application/octet-stream', :filename => filename_for_content_disposition(filename))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|