| | |
| | | import EducationList from './education-list.vue'; |
| | | import WorkHistoryList from './work-history-list.vue'; |
| | | import EmergencyContactList from './emergency-contact-list.vue'; |
| | | import SocialSecurityList from './social-security-list.vue'; |
| | | import EmployeeDetail from './detail.vue'; |
| | | |
| | | const emit = defineEmits(['success']); |
| | |
| | | const educationListRef = ref<InstanceType<typeof EducationList>>(); |
| | | const workHistoryListRef = ref<InstanceType<typeof WorkHistoryList>>(); |
| | | const emergencyContactListRef = ref<InstanceType<typeof EmergencyContactList>>(); |
| | | const socialSecurityListRef = ref<InstanceType<typeof SocialSecurityList>>(); |
| | | |
| | | const isDetail = computed(() => formType.value === 'detail'); |
| | | const getTitle = computed(() => { |
| | |
| | | ref="emergencyContactListRef" |
| | | :form-type="formType" |
| | | :employee-id="employeeId" |
| | | /> |
| | | </Tabs.TabPane> |
| | | <Tabs.TabPane key="socialSecurity" tab="社保公积金档案" v-if="employeeId"> |
| | | <SocialSecurityList |
| | | ref="socialSecurityListRef" |
| | | :form-type="formType" |
| | | :employee-id="employeeId" |
| | | :user-id="employeeData?.userId" |
| | | /> |
| | | </Tabs.TabPane> |
| | | </Tabs> |