parent
92f032e737
commit
d9c76bf381
@ -1,2 +1,9 @@
|
||||
$("#exercise_student_work_list").html("<%= escape_javascript(render :partial => 'exercise/student_exercise') %>");
|
||||
$("#export_exercise_work").replaceWith("<%= escape_javascript(link_to "导出成绩", student_exercise_list_exercise_path(@exercise, :course_id => @course.id, :order => @order, :sort => @b_sort, :name => @name, :ex_group => @group, :ex_comment => @comment, :ex_status => @status, :format => 'xls'), :class => "fr white-btn orange-btn mt10 ml15", :id => "export_exercise_work") %>");
|
||||
|
||||
$("#export_exercise_work").replaceWith("<%= escape_javascript(link_to "导出成绩", student_exercise_list_exercise_path(@exercise,
|
||||
:course_id => @course.id, :order => @order, :sort => @b_sort, :name => @name, :ex_group => @group, :ex_comment => @comment,
|
||||
:ex_status => @status, :format => 'xls'), :class => "fr white-btn orange-btn mt10 ml15", :id => "export_exercise_work") %>");
|
||||
|
||||
$("#export_exercise_user").replaceWith("<%= escape_javascript(link_to "PDF存档", zipdown_assort_path(:obj_class => @exercise.class,
|
||||
:obj_id => @exercise.id,:order => @order, :sort => @b_sort, :name => @name, :ex_group => @group, :ex_comment => @comment,
|
||||
:ex_status => @status), :class => "fl white-btn orange-btn mt10 export_exercise_user_zip", :id => "export_exercise_user") %>");
|
||||
|
Loading…
Reference in new issue