|
@@ -1,14 +1,20 @@
|
|
|
<script setup lang="ts">
|
|
|
+/**
|
|
|
+ * @description 档案详情
|
|
|
+ */
|
|
|
+
|
|
|
defineOptions({ name: 'StaffDetail' })
|
|
|
|
|
|
import { useQuery, useMutation } from '@tanstack/vue-query'
|
|
|
import { getRecordsDetail, editRecordsDetail, generateStaffNum } from '@/api/oa/staffRecords'
|
|
|
import { getConfigDict } from './index'
|
|
|
import { ElRow, FormInstance } from 'element-plus'
|
|
|
-import TechCertificate from './TechCertificate.vue'
|
|
|
+// import TechCertificate from './TechCertificate.vue'
|
|
|
import avatarImg from '@/assets/imgs/avatar.jpg'
|
|
|
import DeptSelect from '@/components/DeptSelect/index.vue'
|
|
|
import { createImageViewer } from '@/components/ImageViewer'
|
|
|
+import WorkTable from './WorkTable.vue'
|
|
|
+
|
|
|
const formConfigList = getConfigDict()
|
|
|
|
|
|
const { query } = useRoute()
|
|
@@ -180,9 +186,9 @@ const isEdit = computed(() => {
|
|
|
<div class="my-portrait-item">
|
|
|
<div class="title">
|
|
|
<i></i>
|
|
|
- <span>技能证书</span>
|
|
|
+ <span>工作经历</span>
|
|
|
</div>
|
|
|
- <TechCertificate />
|
|
|
+ <WorkTable />
|
|
|
</div>
|
|
|
<el-row justify="end">
|
|
|
<el-form-item v-if="isEdit">
|
|
@@ -234,7 +240,7 @@ const isEdit = computed(() => {
|
|
|
|
|
|
.my-portrait-item {
|
|
|
margin-bottom: 20px;
|
|
|
-
|
|
|
+ width: 100%;
|
|
|
.title {
|
|
|
display: flex;
|
|
|
align-items: center;
|