module EducodeSales module BusinessCoursesHelper def real_shixun_type(type) case type.to_i when 1 "管培" when 2 "专职" when 3 "全职" else "管培" end end def real_shixun_level(level) case level.to_i when 1 "不明确" when 2 "重要紧急" when 3 "建设重要不紧急中" when 4 "不重要紧急" when 5 "不重要不紧急" else "不明确" end end end end