|
|
|
@ -987,11 +987,12 @@ class ShixunsController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 创建实训审核
|
|
|
|
|
def review_shixuns
|
|
|
|
|
def review_shixun
|
|
|
|
|
validate_review_shixun_params
|
|
|
|
|
# 没有记录就创建记录, 如果有记录就
|
|
|
|
|
@shixun.shixun_reviews.create!(user_id: current_user.id, status: params[:status],
|
|
|
|
|
review_type: params[:review_type], evaluate_content: params[:evaluate_content])
|
|
|
|
|
normal_status("审核完成")
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 实训审核最新记录
|
|
|
|
|