patient
parent
3c07ea26c0
commit
7b71879fe4
|
|
@ -65,7 +65,7 @@ class PatientController extends AdminController
|
||||||
{
|
{
|
||||||
return $this->baseForm()->body([
|
return $this->baseForm()->body([
|
||||||
amisMake()->SelectControl()->options($this->getTypeOptions())->name('type_id')->label(__('patient.type_id'))->required(),
|
amisMake()->SelectControl()->options($this->getTypeOptions())->name('type_id')->label(__('patient.type_id'))->required(),
|
||||||
amisMake()->SelectControl()->source(admin_url('/api/user/list'))->name('user_id')->label(__('patient.user_id'))->clearable()->onEvent([
|
amisMake()->SelectControl()->source(admin_url('/api/user/list'))->name('user_id')->label(__('patient.user_id'))->searchable()->clearable()->onEvent([
|
||||||
'change' => [
|
'change' => [
|
||||||
'actions' => [
|
'actions' => [
|
||||||
['actionType' => 'setValue', 'componentId' => 'patient_name', 'args' => ['value' => '${event.data.selectedItems.name}']],
|
['actionType' => 'setValue', 'componentId' => 'patient_name', 'args' => ['value' => '${event.data.selectedItems.name}']],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue