修改创建作业未启用匿评时,所有作业列表看不到
This commit is contained in:
parent
83796bfaa0
commit
09c51d1a87
|
@ -793,7 +793,7 @@ class BidsController < ApplicationController
|
||||||
@bid.is_evaluation = params[:bid][:is_evaluation]
|
@bid.is_evaluation = params[:bid][:is_evaluation]
|
||||||
@bid.proportion = params[:bid][:proportion]
|
@bid.proportion = params[:bid][:proportion]
|
||||||
@bid.evaluation_num = params[:bid][:evaluation_num]
|
@bid.evaluation_num = params[:bid][:evaluation_num]
|
||||||
@bid.open_anonymous_evaluation = params[:bid][:open_anonymous_evaluation]
|
params[:bid][:open_anonymous_evaluation] ? @bid.open_anonymous_evaluation = 1 : @bid.open_anonymous_evaluation = 0
|
||||||
@bid.reward_type = 3
|
@bid.reward_type = 3
|
||||||
# @bid.budget = params[:bid][:budget]
|
# @bid.budget = params[:bid][:budget]
|
||||||
@bid.deadline = params[:bid][:deadline]
|
@bid.deadline = params[:bid][:deadline]
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended to check this file into your version control system.
|
# It's strongly recommended to check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(:version => 20150409092151) do
|
ActiveRecord::Schema.define(:version => 20150415032102) do
|
||||||
|
|
||||||
create_table "activities", :force => true do |t|
|
create_table "activities", :force => true do |t|
|
||||||
t.integer "act_id", :null => false
|
t.integer "act_id", :null => false
|
||||||
|
@ -1459,7 +1459,7 @@ ActiveRecord::Schema.define(:version => 20150409092151) do
|
||||||
t.string "file_path"
|
t.string "file_path"
|
||||||
t.integer "pack_times", :default => 1
|
t.integer "pack_times", :default => 1
|
||||||
t.integer "pack_size", :default => 0
|
t.integer "pack_size", :default => 0
|
||||||
t.string "file_digests"
|
t.text "file_digests"
|
||||||
t.datetime "created_at", :null => false
|
t.datetime "created_at", :null => false
|
||||||
t.datetime "updated_at", :null => false
|
t.datetime "updated_at", :null => false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue