diff --git a/src/components/03_customer-management/FormEmployeeHealthCheck.vue b/src/components/03_customer-management/FormEmployeeHealthCheck.vue index fa8985a4..b85f3fec 100644 --- a/src/components/03_customer-management/FormEmployeeHealthCheck.vue +++ b/src/components/03_customer-management/FormEmployeeHealthCheck.vue @@ -9,6 +9,8 @@ import { EmployeeCheckupCreate } from 'stores/employee/types'; import { selectFilterOptionRefMod } from 'stores/utils'; import { QSelect } from 'quasar'; import DatePicker from '../shared/DatePicker.vue'; + +import SelectInput from 'components/shared/SelectInput.vue'; import { AddButton, EditButton, @@ -31,6 +33,11 @@ const addrOptions = reactive<{ const currentIndex = defineModel('currentIndex'); const employeeCheckup = defineModel('employeeCheckup'); + +const checkupResultsOption = defineModel<{ label: string; value: string }[]>( + 'checkupResultsOption', + { required: true }, +); const checkupTypeOption = defineModel<{ label: string; value: string }[]>( 'checkupTypeOption', { required: true }, @@ -126,6 +133,13 @@ let provinceFilter: ( update: (callbackFn: () => void, afterFn?: (ref: QSelect) => void) => void, ) => void; +const checkupResultsOptions = ref[]>([]); +const checkupResultsFilter = selectFilterOptionRefMod( + checkupResultsOption, + checkupResultsOptions, + 'label', +); + const checkupTypeOptions = ref[]>([]); const checkupTypeFilter = selectFilterOptionRefMod( checkupTypeOption, @@ -222,15 +236,6 @@ const insuranceCompanyFilter = selectFilterOptionRefMod( - + + + + - - - + +
+ +
+ +
+ +
+ - - - - - -