更新 'src/client/src/orangehrmPimPlugin/pages/employee/SaveEmployee.vue'

This commit is contained in:
zhongjin 2023-05-08 13:24:47 +08:00
parent a44f9cf998
commit 4399da8cd2

View File

@ -37,15 +37,22 @@
</div>
<div class="orangehrm-employee-form">
<oxd-form-row>
<oxd-grid :cols="1" class="orangehrm-full-width-grid">
<oxd-grid-item>
<full-name-input
v-model:firstName="employee.firstName"
v-model:middleName="employee.middleName"
v-model:lastName="employee.lastName"
:rules="rules"
/>
</oxd-grid-item>
<oxd-grid :cols="3" class="orangehrm-full-width-grid">
<oxd-grid-item>
<oxd-input-field
v-model="employee.firstName"
:label="$t('pim.employee_first_name')" />
</oxd-grid-item>
<oxd-grid-item>
<oxd-input-field
v-model="employee.lastName"
:label="$t('pim.employee_last_name')" />
</oxd-grid-item>
<oxd-grid-item>
<oxd-input-field
v-model="employee.middleName"
:label="$t('pim.employee_middle_name')" />
</oxd-grid-item>
</oxd-grid>
<oxd-grid :cols="2" class="orangehrm-full-width-grid">
@ -163,7 +170,6 @@ export default {
components: {
'oxd-switch-input': OxdSwitchInput,
'profile-image-input': ProfileImageInput,
'full-name-input': FullNameInput,
'password-input': PasswordInput,
},