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

This commit is contained in:
zhongjin 2023-05-08 10:43:14 +08:00
parent e98c0da9a8
commit c9ca88cfce

View File

@ -27,15 +27,28 @@
<oxd-divider />
<oxd-form :loading="isLoading" @submit-valid="onSave">
<oxd-form-row>
<oxd-grid :cols="1" class="orangehrm-full-width-grid">
<oxd-grid :cols="3" class="orangehrm-full-width-grid">
<oxd-grid-item>
<full-name-input
v-model:firstName="employee.firstName"
:rules="rules"
/>
</oxd-grid-item>
<oxd-grid-item>
<full-name-input
v-model:middleName="employee.middleName"
:rules="rules"
/>
</oxd-grid-item>
<oxd-grid-item>
<full-name-input
v-model:lastName="employee.lastName"
:rules="rules"
/>
</oxd-grid-item>
</oxd-grid>
<oxd-grid
v-if="showDeprecatedFields"
@ -283,9 +296,9 @@ export default {
drivingLicenseExpiredDate: [validDateFormat(this.userDateFormat)],
},
maritalStatuses: [
{id: 'Single', label: 'Single'},
{id: 'Married', label: 'Married'},
{id: 'Other', label: 'Other'},
{id: 'Single', label: '未婚'},
{id: 'Married', label: '已婚'},
{id: 'Other', label: '其他'},
],
};
},