wupengfei
14 小时以前 ce7ff0effee22807c8d29a31d6f5f2713d3bf95c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<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>