|
|
|
|
@ -15,16 +15,11 @@ class AskSubmitForm extends Form
|
|
|
|
|
$this->add("visit", Field::TEXT, ["label" => "拜访人员", "rules" => "required"]);
|
|
|
|
|
$this->add("date", Field::DATE, ["label" => "考核日期", "rules" => "required"]);
|
|
|
|
|
$this->add("department", Field::TEXT, ["label" => "科室", "rules" => "required"]);
|
|
|
|
|
$this->add("ask[]", Field::RADIO, ["label" => "遵守医院各项规章制度,维持秩序。", "choices" => [
|
|
|
|
|
"20" => "满意-20",
|
|
|
|
|
"19" => "满意-19",
|
|
|
|
|
"18" => "满意18",
|
|
|
|
|
"17" => "较满意-17",
|
|
|
|
|
"16" => "较满意-16",
|
|
|
|
|
"15" => "较满意-15",
|
|
|
|
|
"14" => "开放",
|
|
|
|
|
$this->add("ask[]", Field::NUMBER, ["label" => "遵守医院各项规章制度,维持秩序。","rules" => "required",[
|
|
|
|
|
'attr' => ['placeholder' => 'Enter text here...']
|
|
|
|
|
]]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$this->add("tip", Field::TEXTAREA, ["label" => "建议"]);
|
|
|
|
|
$this->add('buttons', 'buttongroup', ["splitted" => true, "buttons" => [
|
|
|
|
|
["label" => "保存", "attr" => ["class" => "btn btn-primary mr-1", "type" => "submit"]],
|
|
|
|
|
|