From 04a86a4520e1f1f42e62383f4bebf7e384d9a4d2 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 14 八月 2025 16:38:13 +0800 Subject: [PATCH] fix: 灵工管理 --- packages/components/src/Card/FlexJobCard.vue | 32 +++++++++++++++++--------------- 1 files changed, 17 insertions(+), 15 deletions(-) diff --git a/packages/components/src/Card/FlexJobCard.vue b/packages/components/src/Card/FlexJobCard.vue index bcdc7ac..6860478 100644 --- a/packages/components/src/Card/FlexJobCard.vue +++ b/packages/components/src/Card/FlexJobCard.vue @@ -3,19 +3,19 @@ <FlexJobTopView :name="name" :age="age" - :genderType="genderType" - :isRealName="isRealName" - :arrangeCount="arrangeCount" - :educationalLevel="educationalLevel" + :avatar="avatar" + :gender="gender" + :isReal="isReal" + :personalIdentityContent="personalIdentityContent" + :educationalBackgroundContent="educationalBackgroundContent" + :taskCount="taskCount" /> <div class="flexJob-card-done-list"> {{ workExperience }} </div> <div class="flexJob-card-done-detail" v-if="showDoneDetail"> - <div class="flexJob-card-done-detail-item"> - {{ '鍦ㄣ�屽畞娉㈤浄杩.閰掑簵銆嶏紝鍋氳繃瀹㈡埧鏈嶅姟鍛樺湪銆屽畞娉㈤浄杩.閰掑簵銆嶏紝鍋氳繃瀹㈡埧鏈嶅姟鍛�' }} - </div> - <div class="flexJob-card-done-detail-item">{{ '鍦ㄣ�屽畞娉㈤浄杩.閰掑簵銆嶏紝鍋氳繃瀹㈡埧鏈嶅姟鍛�' }}</div> + <div class="flexJob-card-done-detail-item">{{ workSeniority && `${workSeniority}骞碻 }}</div> + <!-- <div class="flexJob-card-done-detail-item">{{ '鍦ㄣ�屽畞娉㈤浄杩.閰掑簵銆嶏紝鍋氳繃瀹㈡埧鏈嶅姟鍛�' }}</div> --> </div> <div class="flexJob-card-footer"> <div class="flexJob-card-footer-left-wrapper"> @@ -30,7 +30,7 @@ <div class="flexJob-card-footer-right" v-if="showFooterRight"> <slot name="footerRight"> - <nut-button type="primary" @click.stop="emit('contact')">绔嬪嵆鑱旂郴</nut-button> + <nut-button type="primary">绔嬪嵆鑱旂郴</nut-button> </slot> </div> </div> @@ -40,7 +40,7 @@ <script setup lang="ts"> import { CommonTaskCardProps } from './card'; import FlexJobTopView from './FlexJobTopView.vue'; -import { Gender } from '@12333/constants'; +import { EnumUserGender, Gender } from '@12333/constants'; defineOptions({ name: 'FlexJobCard', @@ -52,12 +52,15 @@ showDoneDetail?: boolean; name?: string; - genderType?: Gender; + avatar?: string; + gender?: EnumUserGender; age?: number; - isRealName?: boolean; - educationalLevel?: string; + isReal?: boolean; + personalIdentityContent?: string; + educationalBackgroundContent?: string; + taskCount?: number; workExperience?: string; - arrangeCount?: number; + workSeniority?: string; }; const props = withDefaults(defineProps<Props>(), { @@ -68,7 +71,6 @@ const emit = defineEmits<{ (e: 'cancelCollection'): void; - (e: 'contact'): void; }>(); </script> -- Gitblit v1.9.1