Sha256: 1c0504cd90c9e4da91f24e3e689e4394d13c4bdcad38f2e4cc367573199f0832
Contents?: true
Size: 1.12 KB
Versions: 7
Compression:
Stored size: 1.12 KB
Contents
module EducodeSales module BusinessCoursesHelper def real_shixun_category(categor) case categor.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 # 项目状态: 待建设(constructed) 已签协议(signed) 建设中(construction) 审核中(review),返修中(repair) 已内部公开(public), 已公开发布(published) 已经付费(paid) def real_shixun_status(status) case status.to_i when 1 "待建设" when 2 "已签协议" when 3 "建设中" when 4 "审核中" when 5 "返修中" when 6 "已内部发布" when 7 "已公开发布" when 8 "已付费用" when 9 "审核通过" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems