| <template> | 
|   <ProDialog title="申请详情" v-model="visible" width="1200px" destroy-on-close> | 
|     <ProTabs v-model="form.tabType" hasBorder> | 
|       <ProTabPane lazy label="人员详情" name="user"> | 
|         <!-- <StaffDetailInfoView :form="form" /> --> | 
|       </ProTabPane> | 
|       <ProTabPane lazy label="人员简历" name="resume"> | 
|         <!-- <StaffResumeView :form="form" /> --> | 
|       </ProTabPane> | 
|       <ProTabPane lazy label="签约详情" name="sign"> | 
|         <SignDetailView :form="form" /> | 
|       </ProTabPane> | 
|     </ProTabs> | 
|     <template #footer> | 
|       <span class="dialog-footer"> | 
|         <el-button @click="emit('onCancel')">关闭</el-button> | 
|       </span> | 
|     </template> | 
|   </ProDialog> | 
| </template> | 
|   | 
| <script setup lang="ts"> | 
| import { ProDialog, ProTabs, ProTabPane } from '@bole-core/components'; | 
| import _ from 'lodash'; | 
| import StaffDetailInfoView from './StaffDetailInfoView.vue'; | 
| import StaffResumeView from './StaffResumeView.vue'; | 
| import SignDetailView from './SignDetailView.vue'; | 
|   | 
| defineOptions({ | 
|   name: 'CPersonDetailDialog', | 
| }); | 
|   | 
| type Form = { | 
|   tabType: string; | 
|   id: string; | 
| }; | 
|   | 
| const form = defineModel<Form>('form'); | 
| const visible = defineModel<boolean>('modelValue'); | 
|   | 
| const emit = defineEmits<{ | 
|   (e: 'onCancel'): void; | 
| }>(); | 
| </script> | 
|   | 
| <style lang="scss" scoped> | 
| @use '@/style/common.scss' as *; | 
| </style> |