2013-09-23 20:19:42 +08:00
|
|
|
$('#reward_result_<%= @biding_project_id %>').html('<%= j(
|
|
|
|
|
|
|
|
if get_prize(@b_p).nil? or get_prize(@b_p) == ""
|
|
|
|
puts '未评奖'
|
|
|
|
else
|
2013-09-27 14:58:51 +08:00
|
|
|
case get_prize(@b_p)
|
|
|
|
when '0'
|
2013-09-28 10:00:40 +08:00
|
|
|
image_tag("/images/bid/first_reward.png")
|
2013-09-27 14:58:51 +08:00
|
|
|
when '1'
|
2013-09-28 10:00:40 +08:00
|
|
|
image_tag("/images/bid/second_reward.png")
|
2013-09-27 14:58:51 +08:00
|
|
|
when '2'
|
2013-09-28 10:00:40 +08:00
|
|
|
image_tag("/images/bid/qualified.png")
|
2013-09-27 14:58:51 +08:00
|
|
|
else
|
|
|
|
'未评奖'
|
|
|
|
end
|
2013-09-23 20:19:42 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
)
|
|
|
|
%>')
|
|
|
|
|
|
|
|
$('#<%= @biding_project_id %>').hide()
|