|
|
|
@ -88,7 +88,7 @@ class EcCoursesController < ApplicationController
|
|
|
|
|
def ec_course_support_setting
|
|
|
|
|
respond_to do |format|
|
|
|
|
|
format.html {
|
|
|
|
|
render "/common/index", :layout => false
|
|
|
|
|
render file: 'public/react/build/index.html', :layout => false
|
|
|
|
|
}
|
|
|
|
|
format.json {
|
|
|
|
|
course_targets = @ec_course.ec_course_targets.includes(:ec_graduation_subitems)
|
|
|
|
@ -152,19 +152,19 @@ class EcCoursesController < ApplicationController
|
|
|
|
|
# 课程体系(课程考核与数据来源)
|
|
|
|
|
# /ec_courses/1/ec_course_reach_setting
|
|
|
|
|
def ec_course_reach_setting
|
|
|
|
|
render "/common/index", :layout => false
|
|
|
|
|
render file: 'public/react/build/index.html', :layout => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 课程体系(课程目标评价方法)
|
|
|
|
|
# /ec_courses/1/evaluation_methods
|
|
|
|
|
def evaluation_methods
|
|
|
|
|
render "/common/index", :layout => false
|
|
|
|
|
render file: 'public/react/build/index.html', :layout => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 课程达成详情(蓝胡12)
|
|
|
|
|
# GET /ec_courses/1/competition_calculation_info
|
|
|
|
|
def competition_calculation_info
|
|
|
|
|
render "/common/index", :layout => false
|
|
|
|
|
render file: 'public/react/build/index.html', :layout => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 评价详情的导出
|
|
|
|
@ -425,7 +425,7 @@ class EcCoursesController < ApplicationController
|
|
|
|
|
format.html{
|
|
|
|
|
Rails.logger.info("1111111111111111111template_major: #{@template_major}")
|
|
|
|
|
Rails.logger.info("1111111111111111111is_manager: #{@is_manager}")
|
|
|
|
|
render "/common/index", :layout => false
|
|
|
|
|
render file: 'public/react/build/index.html', :layout => false
|
|
|
|
|
}
|
|
|
|
|
format.json{
|
|
|
|
|
levels = @ec_course.ec_score_levels
|
|
|
|
|