|
|
|
|
@ -51,6 +51,10 @@ class AskSubmitScForm extends Form
|
|
|
|
|
"rules" => "required",
|
|
|
|
|
"choices" => ['10' => '非常满意', '9' => '满意', '7' => '一般','5'=>'不满意']
|
|
|
|
|
]);
|
|
|
|
|
$this->add("ask[9]", Field::SELECT, ["label" => AskSubmit::$askListSc[9],
|
|
|
|
|
"rules" => "required",
|
|
|
|
|
"choices" => ['10' => '非常满意', '9' => '满意', '7' => '一般','5'=>'不满意']
|
|
|
|
|
]);
|
|
|
|
|
$this->add("tip", Field::TEXT, ["label" => "建议"]);
|
|
|
|
|
$this->add('buttons', 'buttongroup', ["splitted" => true, "buttons" => [
|
|
|
|
|
["label" => "保存", "attr" => ["class" => "btn btn-primary mr-1", "type" => "submit"]],
|
|
|
|
|
|