|
|
@ -36,7 +36,7 @@ class ExaminationIntelligentSettingsController < ApplicationController
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def exchange_one_item
|
|
|
|
def exchange_one_item
|
|
|
|
item = @exam.item_baskets.find_by!(id: params[:item_id])
|
|
|
|
item = @exam.item_baskets.find_by!(item_bank_id: params[:item_id])
|
|
|
|
exam_type_setting = @exam.examination_type_settings.find_by!(item_type: item.item_type)
|
|
|
|
exam_type_setting = @exam.examination_type_settings.find_by!(item_type: item.item_type)
|
|
|
|
|
|
|
|
|
|
|
|
# 获取可选的题
|
|
|
|
# 获取可选的题
|
|
|
|