1、员工信息:未上传头像时展示默认头像

2、员工信息:未上传证件时展示“未上传图标”
This commit is contained in:
1378012178@qq.com 2026-03-18 10:04:32 +08:00
parent a8a183e213
commit 727e82b336
10 changed files with 201 additions and 92 deletions

View File

@ -34,7 +34,9 @@ VITE_DEFAULT_DIRECTIVE_PRESMALL_PIC = 'default/presmalldefault.png'
# 服务指令-即时指令图标默认图片 # 服务指令-即时指令图标默认图片
VITE_DEFAULT_DIRECTIVE_IM_PIC = 'default/imdefault.png' VITE_DEFAULT_DIRECTIVE_IM_PIC = 'default/imdefault.png'
# 暂无证件默认图片 # 暂无证件默认图片
VITE_DEFAULT_ZANWUZHENGJIAN_PIC = 'default/zanwuzhengjian.png' VITE_DEFAULT_ZANWUZHENGJIAN_PIC = 'default/zanweishangchuanzhengjian.png'
# 默认头像
VITE_DEFAULT_MORENTOUXIANG_PIC = 'default/touxiang.png'
# 填写后将作为乾坤子应用启动主应用注册时AppName需保持一致放开 VITE_GLOB_QIANKUN_MICRO_APP_NAME 参数表示jeecg-vue3将以乾坤子应用模式启动 # 填写后将作为乾坤子应用启动主应用注册时AppName需保持一致放开 VITE_GLOB_QIANKUN_MICRO_APP_NAME 参数表示jeecg-vue3将以乾坤子应用模式启动
#VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3 #VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3

View File

@ -34,7 +34,9 @@ VITE_DEFAULT_DIRECTIVE_PRESMALL_PIC = 'default/presmalldefault.png'
# 服务指令-即时指令图标默认图片 # 服务指令-即时指令图标默认图片
VITE_DEFAULT_DIRECTIVE_IM_PIC = 'default/imdefault.png' VITE_DEFAULT_DIRECTIVE_IM_PIC = 'default/imdefault.png'
# 暂无证件默认图片 # 暂无证件默认图片
VITE_DEFAULT_ZANWUZHENGJIAN_PIC = 'default/zanwuzhengjian.png' VITE_DEFAULT_ZANWUZHENGJIAN_PIC = 'default/zanweishangchuanzhengjian.png'
# 默认头像
VITE_DEFAULT_MORENTOUXIANG_PIC = 'default/touxiang.png'
# 填写后将作为乾坤子应用启动主应用注册时AppName需保持一致放开 VITE_GLOB_QIANKUN_MICRO_APP_NAME 参数表示jeecg-vue3将以乾坤子应用模式启动 # 填写后将作为乾坤子应用启动主应用注册时AppName需保持一致放开 VITE_GLOB_QIANKUN_MICRO_APP_NAME 参数表示jeecg-vue3将以乾坤子应用模式启动
#VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3 #VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3

View File

@ -34,7 +34,9 @@ VITE_DEFAULT_DIRECTIVE_PRESMALL_PIC = 'default/presmalldefault.png'
# 服务指令-即时指令图标默认图片 # 服务指令-即时指令图标默认图片
VITE_DEFAULT_DIRECTIVE_IM_PIC = 'default/imdefault.png' VITE_DEFAULT_DIRECTIVE_IM_PIC = 'default/imdefault.png'
# 暂无证件默认图片 # 暂无证件默认图片
VITE_DEFAULT_ZANWUZHENGJIAN_PIC = 'default/zanwuzhengjian.png' VITE_DEFAULT_ZANWUZHENGJIAN_PIC = 'default/zanweishangchuanzhengjian.png'
# 默认头像
VITE_DEFAULT_MORENTOUXIANG_PIC = 'default/touxiang.png'
# 填写后将作为乾坤子应用启动主应用注册时AppName需保持一致放开 VITE_GLOB_QIANKUN_MICRO_APP_NAME 参数表示jeecg-vue3将以乾坤子应用模式启动 # 填写后将作为乾坤子应用启动主应用注册时AppName需保持一致放开 VITE_GLOB_QIANKUN_MICRO_APP_NAME 参数表示jeecg-vue3将以乾坤子应用模式启动
#VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3 #VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3

View File

@ -38,7 +38,9 @@ VITE_DEFAULT_DIRECTIVE_PRESMALL_PIC = 'default/presmalldefault.png'
# 服务指令-即时指令图标默认图片 # 服务指令-即时指令图标默认图片
VITE_DEFAULT_DIRECTIVE_IM_PIC = 'default/imdefault.png' VITE_DEFAULT_DIRECTIVE_IM_PIC = 'default/imdefault.png'
# 暂无证件默认图片 # 暂无证件默认图片
VITE_DEFAULT_ZANWUZHENGJIAN_PIC = 'default/zanwuzhengjian.png' VITE_DEFAULT_ZANWUZHENGJIAN_PIC = 'default/zanweishangchuanzhengjian.png'
# 默认头像
VITE_DEFAULT_MORENTOUXIANG_PIC = 'default/touxiang.png'
# 填写后将作为乾坤子应用启动主应用注册时AppName需保持一致放开 VITE_GLOB_QIANKUN_MICRO_APP_NAME 参数表示jeecg-vue3将以乾坤子应用模式启动 # 填写后将作为乾坤子应用启动主应用注册时AppName需保持一致放开 VITE_GLOB_QIANKUN_MICRO_APP_NAME 参数表示jeecg-vue3将以乾坤子应用模式启动
#VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3 #VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3

View File

@ -3,7 +3,7 @@
<JFormContainer :disabled="true"> <JFormContainer :disabled="true">
<template #detail> <template #detail>
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol" <a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol"
name="EmployeesApplyForm"> name="EmployeesApplyForm">
<a-row class="card-class"> <a-row class="card-class">
<a-col :span="24" style="border-bottom: 2px solid #f7f7f7; margin-bottom: 14px;"> <a-col :span="24" style="border-bottom: 2px solid #f7f7f7; margin-bottom: 14px;">
<SectionDivider :title="'基本信息'" /> <SectionDivider :title="'基本信息'" />
@ -37,9 +37,9 @@
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="出生日期" v-bind="validateInfos.dateOfBirth" id="EmployeesApplyForm-dateOfBirth" <a-form-item label="出生日期" v-bind="validateInfos.dateOfBirth" id="EmployeesApplyForm-dateOfBirth"
name="dateOfBirth"> name="dateOfBirth">
<a-date-picker placeholder="请选择出生日期" v-model:value="formData.dateOfBirth" value-format="YYYY-MM-DD" <a-date-picker placeholder="请选择出生日期" v-model:value="formData.dateOfBirth" value-format="YYYY-MM-DD"
style="width: 100%" disabled allow-clear /> style="width: 100%" disabled allow-clear />
<!-- <span>{{ formData.dateOfBirth }}</span> --> <!-- <span>{{ formData.dateOfBirth }}</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -57,7 +57,7 @@
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="婚否" v-bind="validateInfos.marriedOrNot" id="EmployeesApplyForm-marriedOrNot" <a-form-item label="婚否" v-bind="validateInfos.marriedOrNot" id="EmployeesApplyForm-marriedOrNot"
name="marriedOrNot"> name="marriedOrNot">
<!-- <j-dict-select-tag type='radio' v-model:value="formData.marriedOrNot" dictCode="married_or_not" <!-- <j-dict-select-tag type='radio' v-model:value="formData.marriedOrNot" dictCode="married_or_not"
placeholder="请选择婚否" disabled allow-clear /> --> placeholder="请选择婚否" disabled allow-clear /> -->
<a-input v-model:value="formData.marriedOrNot" placeholder="请输入婚否" disabled allow-clear></a-input> <a-input v-model:value="formData.marriedOrNot" placeholder="请输入婚否" disabled allow-clear></a-input>
@ -86,7 +86,7 @@
</a-col> --> </a-col> -->
<a-col :span="12"> <a-col :span="12">
<a-form-item label="健康状况" v-bind="validateInfos.healthStatus" id="EmployeesApplyForm-healthStatus" <a-form-item label="健康状况" v-bind="validateInfos.healthStatus" id="EmployeesApplyForm-healthStatus"
name="healthStatus"> name="healthStatus">
<!-- <j-dict-select-tag type='radio' v-model:value="formData.healthStatus" dictCode="health_status" disabled <!-- <j-dict-select-tag type='radio' v-model:value="formData.healthStatus" dictCode="health_status" disabled
placeholder="请选择健康状况" allow-clear /> --> placeholder="请选择健康状况" allow-clear /> -->
<a-input v-model:value="formData.healthStatus" placeholder="请输入健康状况" style="width: 100%" disabled /> <a-input v-model:value="formData.healthStatus" placeholder="请输入健康状况" style="width: 100%" disabled />
@ -95,47 +95,48 @@
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="政治面貌" v-bind="validateInfos.politicalAppearance" <a-form-item label="政治面貌" v-bind="validateInfos.politicalAppearance"
id="EmployeesApplyForm-politicalAppearance" name="politicalAppearance"> id="EmployeesApplyForm-politicalAppearance" name="politicalAppearance">
<!-- <j-dict-select-tag v-model:value="formData.politicalAppearance" dictCode="political_appearance" disabled <!-- <j-dict-select-tag v-model:value="formData.politicalAppearance" dictCode="political_appearance" disabled
placeholder="请选择政治面貌" allow-clear /> --> placeholder="请选择政治面貌" allow-clear /> -->
<a-input v-model:value="formData.politicalAppearance" placeholder="请输入政治面貌" style="width: 100%" <a-input v-model:value="formData.politicalAppearance" placeholder="请输入政治面貌" style="width: 100%"
disabled /> disabled />
<!-- <span>{{ formData.politicalAppearance }}</span> --> <!-- <span>{{ formData.politicalAppearance }}</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="户籍所在地" v-bind="validateInfos.houseAddress" id="EmployeesApplyForm-houseAddress" <a-form-item label="户籍所在地" v-bind="validateInfos.houseAddress" id="EmployeesApplyForm-houseAddress"
name="houseAddress"> name="houseAddress">
<a-textarea v-model:value="formData.houseAddress" placeholder="请输入户籍所在地" disabled allow-clear :autosize="true"></a-textarea> <a-textarea v-model:value="formData.houseAddress" placeholder="请输入户籍所在地" disabled allow-clear
:autosize="true"></a-textarea>
<!-- <span>{{ formData.houseAddress }}</span> --> <!-- <span>{{ formData.houseAddress }}</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="紧急联系人" v-bind="validateInfos.emergencyContact" <a-form-item label="紧急联系人" v-bind="validateInfos.emergencyContact"
id="EmployeesApplyForm-emergencyContact" name="emergencyContact"> id="EmployeesApplyForm-emergencyContact" name="emergencyContact">
<a-input v-model:value="formData.emergencyContact" placeholder="请输入紧急联系人" disabled <a-input v-model:value="formData.emergencyContact" placeholder="请输入紧急联系人" disabled
allow-clear></a-input> allow-clear></a-input>
<!-- <span>{{ formData.emergencyContact }}</span> --> <!-- <span>{{ formData.emergencyContact }}</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="紧急联系人电话" v-bind="validateInfos.emergencyTel" id="EmployeesApplyForm-emergencyTel" <a-form-item label="紧急联系人电话" v-bind="validateInfos.emergencyTel" id="EmployeesApplyForm-emergencyTel"
name="emergencyTel"> name="emergencyTel">
<a-input v-model:value="formData.emergencyTel" placeholder="请输入紧急联系人电话" disabled allow-clear></a-input> <a-input v-model:value="formData.emergencyTel" placeholder="请输入紧急联系人电话" disabled allow-clear></a-input>
<!-- <span>{{ formData.emergencyTel }}</span> --> <!-- <span>{{ formData.emergencyTel }}</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="与本人关系" v-bind="validateInfos.emergencyRelationship" <a-form-item label="与本人关系" v-bind="validateInfos.emergencyRelationship"
id="EmployeesApplyForm-emergencyRelationship" name="emergencyRelationship"> id="EmployeesApplyForm-emergencyRelationship" name="emergencyRelationship">
<a-input v-model:value="formData.emergencyRelationship" placeholder="请输入紧急联系人与本人关系" disabled <a-input v-model:value="formData.emergencyRelationship" placeholder="请输入紧急联系人与本人关系" disabled
allow-clear></a-input> allow-clear></a-input>
<!-- <span>{{ formData.emergencyRelationship }}</span> --> <!-- <span>{{ formData.emergencyRelationship }}</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="户口性质" v-bind="validateInfos.hukouNature" id="EmployeesApplyForm-hukouNature" <a-form-item label="户口性质" v-bind="validateInfos.hukouNature" id="EmployeesApplyForm-hukouNature"
name="hukouNature"> name="hukouNature">
<!-- <j-dict-select-tag type='radio' v-model:value="formData.hukouNature" dictCode="hukou_nature" disabled <!-- <j-dict-select-tag type='radio' v-model:value="formData.hukouNature" dictCode="hukou_nature" disabled
placeholder="请选择户口性质" allow-clear /> --> placeholder="请选择户口性质" allow-clear /> -->
<a-input v-model:value="formData.hukouNature" placeholder="请输入户口性质" disabled allow-clear></a-input> <a-input v-model:value="formData.hukouNature" placeholder="请输入户口性质" disabled allow-clear></a-input>
@ -144,8 +145,9 @@
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="现住址" v-bind="validateInfos.currentAddress" id="EmployeesApplyForm-currentAddress" <a-form-item label="现住址" v-bind="validateInfos.currentAddress" id="EmployeesApplyForm-currentAddress"
name="currentAddress"> name="currentAddress">
<a-textarea v-model:value="formData.currentAddress" placeholder="请输入现住址" disabled allow-clear :autosize="true"></a-textarea> <a-textarea v-model:value="formData.currentAddress" placeholder="请输入现住址" disabled allow-clear
:autosize="true"></a-textarea>
<!-- <span>{{ formData.currentAddress }}</span> --> <!-- <span>{{ formData.currentAddress }}</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -156,7 +158,7 @@
<JFormContainer> <JFormContainer>
<template #detail> <template #detail>
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol2" :wrapperCol="wrapperCol2" <a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol2" :wrapperCol="wrapperCol2"
name="EmployeesApplyForm"> name="EmployeesApplyForm">
<a-row class="card-class"> <a-row class="card-class">
<a-col :span="24" style="border-bottom: 2px solid #f7f7f7; margin-bottom: 14px;"> <a-col :span="24" style="border-bottom: 2px solid #f7f7f7; margin-bottom: 14px;">
<SectionDivider :title="'证件信息'" /> <SectionDivider :title="'证件信息'" />
@ -166,18 +168,18 @@
<a-tab-pane key="1" tab="身份证"> <a-tab-pane key="1" tab="身份证">
<a-row> <a-row>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="身份证人像面" v-bind="validateInfos.idCardPositive" <a-form-item label="人像面" v-bind="validateInfos.idCardPositive"
id="BizEmployeesInfoForm-idCardPositive" name="idCardPositive"> id="BizEmployeesInfoForm-idCardPositive" name="idCardPositive">
<j-image-upload v-if="!!formData.idCardPositive" :fileMax="1" :bizPath="`employeesZzxx`" <j-image-upload v-if="!!formData.idCardPositive" :fileMax="1" :bizPath="`employeesZzxx`"
:value="opeMediaAddress + formData.idCardPositive" disabled></j-image-upload> :value="opeMediaAddress + formData.idCardPositive" disabled></j-image-upload>
<span v-else>未上传</span> <span v-else>未上传</span>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="身份证国徽面" v-bind="validateInfos.idCardNegative" <a-form-item label="国徽面" v-bind="validateInfos.idCardNegative"
id="BizEmployeesInfoForm-idCardNegative" name="idCardNegative"> id="BizEmployeesInfoForm-idCardNegative" name="idCardNegative">
<j-image-upload v-if="!!formData.idCardNegative" :fileMax="1" :bizPath="`employeesZzxx`" <j-image-upload v-if="!!formData.idCardNegative" :fileMax="1" :bizPath="`employeesZzxx`"
:value="opeMediaAddress + formData.idCardNegative" disabled></j-image-upload> :value="opeMediaAddress + formData.idCardNegative" disabled></j-image-upload>
<span v-else>未上传</span> <span v-else>未上传</span>
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -185,67 +187,92 @@
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="3" tab="健康证"> <a-tab-pane key="3" tab="健康证">
<a-row> <a-row>
<a-col :span="12"> <a-col :span="12" v-if="!!formData.healthCertificatePositive">
<a-form-item label="健康证" v-bind="validateInfos.healthCertificatePositive" <a-form-item label="健康证" v-bind="validateInfos.healthCertificatePositive"
id="BizEmployeesInfoForm-healthCertificatePositive" name="healthCertificatePositive"> id="BizEmployeesInfoForm-healthCertificatePositive" name="healthCertificatePositive">
<j-image-upload :fileMax="1" <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
:bizPath="`employeesZzxx`" :value="opeMediaAddress + (formData.healthCertificatePositive || defaultPrePic)" :value="opeMediaAddress + formData.healthCertificatePositive" disabled></j-image-upload>
disabled></j-image-upload>
<!-- <span v-else>未上传</span> --> <!-- <span v-else>未上传</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24" v-else>
<div style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic" style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
<!-- <a-col :span="12"> <!-- <a-col :span="12">
<a-form-item label="健康证反面" v-bind="validateInfos.healthCertificateNegative" <a-form-item label="健康证反面" v-bind="validateInfos.healthCertificateNegative"
id="BizEmployeesInfoForm-healthCertificateNegative" name="healthCertificateNegative"> id="BizEmployeesInfoForm-healthCertificateNegative"
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`" name="healthCertificateNegative">
v-model:value="formData.healthCertificateNegative" disabled></j-image-upload> <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
</a-form-item> v-model:value="formData.healthCertificateNegative"
</a-col> --> disabled></j-image-upload>
</a-form-item>
</a-col> -->
</a-row> </a-row>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="4" tab="银行卡"> <a-tab-pane key="4" tab="银行卡">
<a-row> <a-row v-if="!!formData.bankPositive || !!formData.bankNegative">
<a-col :span="12"> <a-col :span="12">
<a-form-item label="银行卡正面" v-bind="validateInfos.bankPositive" <a-form-item label="银行卡正面" v-bind="validateInfos.bankPositive"
id="BizEmployeesInfoForm-bankPositive" name="bankPositive"> id="BizEmployeesInfoForm-bankPositive" name="bankPositive">
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`" <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
:value="opeMediaAddress + (formData.bankPositive || defaultPrePic)" disabled></j-image-upload> :value="opeMediaAddress + (formData.bankPositive || defaultPrePic)" disabled></j-image-upload>
<!-- <span v-else>未上传</span> --> <!-- <span v-else>未上传</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="银行卡反面" v-bind="validateInfos.bankNegative" <a-form-item label="银行卡反面" v-bind="validateInfos.bankNegative"
id="BizEmployeesInfoForm-bankNegative" name="bankNegative"> id="BizEmployeesInfoForm-bankNegative" name="bankNegative">
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`" <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
:value="opeMediaAddress + (formData.bankNegative || defaultPrePic)" disabled></j-image-upload> :value="opeMediaAddress + (formData.bankNegative || defaultPrePic)" disabled></j-image-upload>
<!-- <span v-else>未上传</span> --> <!-- <span v-else>未上传</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<a-row v-else>
<a-col :span="24">
<div style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic" style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
</a-row>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="5" tab="资质证件"> <a-tab-pane key="5" tab="资质证件">
<a-row> <a-row>
<a-col :span="24"> <a-col :span="24" v-if="!!formData.qualification">
<a-form-item label="资质证" v-bind="validateInfos.qualification" <a-form-item label="资质证" v-bind="validateInfos.qualification"
id="BizEmployeesInfoForm-qualification" name="qualification" :labelCol="labelCol3"> id="BizEmployeesInfoForm-qualification" name="qualification" :labelCol="labelCol3">
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`" <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
:value="opeMediaAddress + (formData.qualification || defaultPrePic)" disabled></j-image-upload> :value="opeMediaAddress + (formData.qualification || defaultPrePic)"
disabled></j-image-upload>
<!-- <span v-else>未上传</span> --> <!-- <span v-else>未上传</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24" v-else>
<div style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic" style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
</a-row> </a-row>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="6" tab="无犯罪证明"> <a-tab-pane key="6" tab="无犯罪证明">
<a-row> <a-row>
<a-col :span="24"> <a-col :span="24" v-if="!!formData.noCrimeCertificate">
<a-form-item label="无犯罪证明" v-bind="validateInfos.noCrimeCertificate" <a-form-item label="无犯罪证明" v-bind="validateInfos.noCrimeCertificate"
id="BizEmployeesInfoForm-noCrimeCertificate" name="noCrimeCertificate" :labelCol="labelCol3"> id="BizEmployeesInfoForm-noCrimeCertificate" name="noCrimeCertificate" :labelCol="labelCol3">
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`" <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
:value="opeMediaAddress + (formData.noCrimeCertificate || defaultPrePic)" disabled></j-image-upload> :value="opeMediaAddress + (formData.noCrimeCertificate || defaultPrePic)"
disabled></j-image-upload>
<!-- <span v-else>未上传</span> --> <!-- <span v-else>未上传</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24" v-else>
<div style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic" style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
</a-row> </a-row>
</a-tab-pane> </a-tab-pane>
</a-tabs> </a-tabs>
@ -257,7 +284,7 @@
<JFormContainer :disabled="disabled"> <JFormContainer :disabled="disabled">
<template #detail> <template #detail>
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol" <a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol"
name="EmployeesApplyForm"> name="EmployeesApplyForm">
<a-row class="card-class"> <a-row class="card-class">
<a-col :span="24" style="border-bottom: 2px solid #f7f7f7; margin-bottom: 14px;"> <a-col :span="24" style="border-bottom: 2px solid #f7f7f7; margin-bottom: 14px;">
<div> <div>
@ -265,11 +292,9 @@
</div> </div>
</a-col> </a-col>
<a-col :span="8"> <a-col :span="8">
<a-form-item label="审核状态" v-bind="validateInfos.status" id="EmployeesApplyForm-status" <a-form-item label="审核状态" v-bind="validateInfos.status" id="EmployeesApplyForm-status" name="status">
name="status">
<!-- <a-input v-model:value="formData.applyStatus" placeholder="请输入审核状态" ></a-input> --> <!-- <a-input v-model:value="formData.applyStatus" placeholder="请输入审核状态" ></a-input> -->
<a-select v-model:value="formData.status" placeholder="请选择审核状态" style="width: 200px" <a-select v-model:value="formData.status" placeholder="请选择审核状态" style="width: 200px" :disabled="false">
:disabled="false">
<a-select-option value="1">待审核</a-select-option> <a-select-option value="1">待审核</a-select-option>
<a-select-option value="2">审核通过</a-select-option> <a-select-option value="2">审核通过</a-select-option>
<a-select-option value="3">审核驳回</a-select-option> <a-select-option value="3">审核驳回</a-select-option>
@ -278,8 +303,9 @@
</a-col> </a-col>
<a-col :span="16" v-show="formData.status == 3"> <a-col :span="16" v-show="formData.status == 3">
<a-form-item label="驳回原因" v-bind="validateInfos.auditContent" id="EmployeesApplyForm-auditContent" <a-form-item label="驳回原因" v-bind="validateInfos.auditContent" id="EmployeesApplyForm-auditContent"
name="auditContent"> name="auditContent">
<a-textarea :maxlength="50" show-count v-model:value="formData.auditContent" placeholder="请输入驳回原因" rows="4"></a-textarea> <a-textarea :maxlength="50" show-count v-model:value="formData.auditContent" placeholder="请输入驳回原因"
rows="4"></a-textarea>
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>

View File

@ -182,27 +182,33 @@
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="3" tab="健康证"> <a-tab-pane key="3" tab="健康证">
<a-row> <a-row>
<a-col :span="12"> <a-col :span="12" v-if="!!formData.healthCertificatePositive">
<a-form-item label="健康证" v-bind="validateInfos.healthCertificatePositive" <a-form-item label="健康证" v-bind="validateInfos.healthCertificatePositive"
id="BizEmployeesInfoForm-healthCertificatePositive" name="healthCertificatePositive"> id="BizEmployeesInfoForm-healthCertificatePositive" name="healthCertificatePositive">
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`" <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
:value="opeMediaAddress + (formData.healthCertificatePositive || defaultPrePic)" :value="opeMediaAddress + formData.healthCertificatePositive" disabled></j-image-upload>
disabled></j-image-upload>
<!-- <span v-else>未上传</span> --> <!-- <span v-else>未上传</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24" v-else>
<div style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic" style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
<!-- <a-col :span="12"> <!-- <a-col :span="12">
<a-form-item label="健康证反面" v-bind="validateInfos.healthCertificateNegative" <a-form-item label="健康证反面" v-bind="validateInfos.healthCertificateNegative"
id="BizEmployeesInfoForm-healthCertificateNegative" name="healthCertificateNegative"> id="BizEmployeesInfoForm-healthCertificateNegative"
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`" name="healthCertificateNegative">
v-model:value="formData.healthCertificateNegative" disabled></j-image-upload> <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
</a-form-item> v-model:value="formData.healthCertificateNegative"
</a-col> --> disabled></j-image-upload>
</a-form-item>
</a-col> -->
</a-row> </a-row>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="4" tab="银行卡"> <a-tab-pane key="4" tab="银行卡">
<a-row> <a-row v-if="!!formData.bankPositive || !!formData.bankNegative">
<a-col :span="12"> <a-col :span="12">
<a-form-item label="银行卡正面" v-bind="validateInfos.bankPositive" <a-form-item label="银行卡正面" v-bind="validateInfos.bankPositive"
id="BizEmployeesInfoForm-bankPositive" name="bankPositive"> id="BizEmployeesInfoForm-bankPositive" name="bankPositive">
@ -220,10 +226,17 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<a-row v-else>
<a-col :span="24">
<div style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic" style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
</a-row>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="5" tab="资质证件"> <a-tab-pane key="5" tab="资质证件">
<a-row> <a-row>
<a-col :span="24"> <a-col :span="24" v-if="!!formData.qualification">
<a-form-item label="资质证" v-bind="validateInfos.qualification" <a-form-item label="资质证" v-bind="validateInfos.qualification"
id="BizEmployeesInfoForm-qualification" name="qualification" :labelCol="labelCol3"> id="BizEmployeesInfoForm-qualification" name="qualification" :labelCol="labelCol3">
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`" <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
@ -232,11 +245,16 @@
<!-- <span v-else>未上传</span> --> <!-- <span v-else>未上传</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24" v-else>
<div style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic" style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
</a-row> </a-row>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="6" tab="无犯罪证明"> <a-tab-pane key="6" tab="无犯罪证明">
<a-row> <a-row>
<a-col :span="24"> <a-col :span="24" v-if="!!formData.noCrimeCertificate">
<a-form-item label="无犯罪证明" v-bind="validateInfos.noCrimeCertificate" <a-form-item label="无犯罪证明" v-bind="validateInfos.noCrimeCertificate"
id="BizEmployeesInfoForm-noCrimeCertificate" name="noCrimeCertificate" :labelCol="labelCol3"> id="BizEmployeesInfoForm-noCrimeCertificate" name="noCrimeCertificate" :labelCol="labelCol3">
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`" <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
@ -245,15 +263,21 @@
<!-- <span v-else>未上传</span> --> <!-- <span v-else>未上传</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24" v-else>
<div style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic" style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
</a-row> </a-row>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="7" tab="头像"> <a-tab-pane key="7" tab="头像">
<a-row> <a-row>
<a-col :span="24"> <a-col :span="24">
<a-form-item label="头像" v-bind="validateInfos.headPath" <a-form-item label="头像" v-bind="validateInfos.headPath" id="BizEmployeesInfoForm-headPath"
id="BizEmployeesInfoForm-headPath" name="headPath" :labelCol="labelCol3"> name="headPath" :labelCol="labelCol3">
<j-image-upload v-if="!!formData.headPath" text="无" :fileMax="1" :bizPath="`employeesZzxx`" <j-image-upload v-if="!!formData.headPath" text="无" :fileMax="1" :bizPath="`employeesZzxx`"
:value="opeMediaAddress + formData.headPath" disabled></j-image-upload> :value="!formData.headPath ? opeMediaAddress + mrtxPic : formData.headPath"
disabled></j-image-upload>
<span v-else>未上传</span> <span v-else>未上传</span>
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -316,6 +340,7 @@ const props = defineProps({
}); });
const opeMediaAddress = import.meta.env.VITE_OPE_MEDIA_ADDRESS const opeMediaAddress = import.meta.env.VITE_OPE_MEDIA_ADDRESS
const defaultPrePic = import.meta.env.VITE_DEFAULT_ZANWUZHENGJIAN_PIC// const defaultPrePic = import.meta.env.VITE_DEFAULT_ZANWUZHENGJIAN_PIC//
const mrtxPic = import.meta.env.VITE_DEFAULT_MORENTOUXIANG_PIC//
const formRef = ref(); const formRef = ref();
const useForm = Form.useForm; const useForm = Form.useForm;
const emit = defineEmits(['register', 'ok']); const emit = defineEmits(['register', 'ok']);

View File

@ -185,27 +185,33 @@
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="3" tab="健康证"> <a-tab-pane key="3" tab="健康证">
<a-row> <a-row>
<a-col :span="12"> <a-col :span="12" v-if="!!formData.healthCertificatePositive">
<a-form-item label="健康证" v-bind="validateInfos.healthCertificatePositive" <a-form-item label="健康证" v-bind="validateInfos.healthCertificatePositive"
id="BizEmployeesInfoForm-healthCertificatePositive" name="healthCertificatePositive"> id="BizEmployeesInfoForm-healthCertificatePositive" name="healthCertificatePositive">
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`" <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
:value="opeMediaAddress + (formData.healthCertificatePositive || defaultPrePic)" :value="opeMediaAddress + formData.healthCertificatePositive" disabled></j-image-upload>
disabled></j-image-upload>
<!-- <span v-else>未上传</span> --> <!-- <span v-else>未上传</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24" v-else>
<div style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic" style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
<!-- <a-col :span="12"> <!-- <a-col :span="12">
<a-form-item label="健康证反面" v-bind="validateInfos.healthCertificateNegative" <a-form-item label="健康证反面" v-bind="validateInfos.healthCertificateNegative"
id="BizEmployeesInfoForm-healthCertificateNegative" name="healthCertificateNegative"> id="BizEmployeesInfoForm-healthCertificateNegative"
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`" name="healthCertificateNegative">
v-model:value="formData.healthCertificateNegative" disabled></j-image-upload> <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
</a-form-item> v-model:value="formData.healthCertificateNegative"
</a-col> --> disabled></j-image-upload>
</a-form-item>
</a-col> -->
</a-row> </a-row>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="4" tab="银行卡"> <a-tab-pane key="4" tab="银行卡">
<a-row> <a-row v-if="!!formData.bankPositive || !!formData.bankNegative">
<a-col :span="12"> <a-col :span="12">
<a-form-item label="银行卡正面" v-bind="validateInfos.bankPositive" <a-form-item label="银行卡正面" v-bind="validateInfos.bankPositive"
id="BizEmployeesInfoForm-bankPositive" name="bankPositive"> id="BizEmployeesInfoForm-bankPositive" name="bankPositive">
@ -223,10 +229,17 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<a-row v-else>
<a-col :span="24">
<div style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic" style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
</a-row>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="5" tab="资质证件"> <a-tab-pane key="5" tab="资质证件">
<a-row> <a-row>
<a-col :span="24"> <a-col :span="24" v-if="!!formData.qualification">
<a-form-item label="资质证" v-bind="validateInfos.qualification" <a-form-item label="资质证" v-bind="validateInfos.qualification"
id="BizEmployeesInfoForm-qualification" name="qualification" :labelCol="labelCol3"> id="BizEmployeesInfoForm-qualification" name="qualification" :labelCol="labelCol3">
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`" <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
@ -235,11 +248,16 @@
<!-- <span v-else>未上传</span> --> <!-- <span v-else>未上传</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24" v-else>
<div style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic" style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
</a-row> </a-row>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="6" tab="无犯罪证明"> <a-tab-pane key="6" tab="无犯罪证明">
<a-row> <a-row>
<a-col :span="24"> <a-col :span="24" v-if="!!formData.noCrimeCertificate">
<a-form-item label="无犯罪证明" v-bind="validateInfos.noCrimeCertificate" <a-form-item label="无犯罪证明" v-bind="validateInfos.noCrimeCertificate"
id="BizEmployeesInfoForm-noCrimeCertificate" name="noCrimeCertificate" :labelCol="labelCol3"> id="BizEmployeesInfoForm-noCrimeCertificate" name="noCrimeCertificate" :labelCol="labelCol3">
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`" <j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
@ -248,6 +266,11 @@
<!-- <span v-else>未上传</span> --> <!-- <span v-else>未上传</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24" v-else>
<div style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic" style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
</a-row> </a-row>
</a-tab-pane> </a-tab-pane>
</a-tabs> </a-tabs>

View File

@ -13,7 +13,7 @@
<a-form-item label="头像" v-bind="validateInfos.headPath" <a-form-item label="头像" v-bind="validateInfos.headPath"
id="BizEmployeesInfoForm-headPath" name="headPath"> id="BizEmployeesInfoForm-headPath" name="headPath">
<j-image-upload :fileMax="1" :bizPath="upBizPrefix + '/ygxx/yg'" text="头像" <j-image-upload :fileMax="1" :bizPath="upBizPrefix + '/ygxx/yg'" text="头像"
v-model:value="formData.headPath"></j-image-upload> :value="!formData.headPath ? opeMediaAddress + mrtxPic : formData.headPath"></j-image-upload>
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-col> </a-col>
@ -223,7 +223,7 @@
<div <div
style="display: flex; flex-direction: column; align-items: center; width: 100%;"> style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic" <img :src="opeMediaAddress + defaultPrePic"
style="height: 100px; margin-bottom: 8px;" /> style="height: 150px; margin-bottom: 8px;" />
</div> </div>
</a-col> </a-col>
<!-- <a-col :span="12"> <!-- <a-col :span="12">
@ -239,7 +239,7 @@
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="4" tab="银行卡"> <a-tab-pane key="4" tab="银行卡">
<a-row> <a-row v-if="!!formData.bankPositive || !!formData.bankNegative">
<a-col :span="12"> <a-col :span="12">
<a-form-item label="银行卡正面" v-bind="validateInfos.bankPositive" <a-form-item label="银行卡正面" v-bind="validateInfos.bankPositive"
id="BizEmployeesInfoForm-bankPositive" name="bankPositive"> id="BizEmployeesInfoForm-bankPositive" name="bankPositive">
@ -259,10 +259,19 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<a-row v-else>
<a-col :span="24">
<div
style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic"
style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
</a-row>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="5" tab="资质证件"> <a-tab-pane key="5" tab="资质证件">
<a-row> <a-row>
<a-col :span="24"> <a-col :span="24" v-if="!!formData.qualification">
<a-form-item label="资质证" v-bind="validateInfos.qualification" <a-form-item label="资质证" v-bind="validateInfos.qualification"
id="BizEmployeesInfoForm-qualification" name="qualification" id="BizEmployeesInfoForm-qualification" name="qualification"
:labelCol="labelCol3"> :labelCol="labelCol3">
@ -272,11 +281,18 @@
<!-- <span v-else>未上传</span> --> <!-- <span v-else>未上传</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24" v-else>
<div
style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic"
style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
</a-row> </a-row>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="6" tab="无犯罪证明"> <a-tab-pane key="6" tab="无犯罪证明">
<a-row> <a-row>
<a-col :span="24"> <a-col :span="24" v-if="!!formData.noCrimeCertificate">
<a-form-item label="无犯罪证明" v-bind="validateInfos.noCrimeCertificate" <a-form-item label="无犯罪证明" v-bind="validateInfos.noCrimeCertificate"
id="BizEmployeesInfoForm-noCrimeCertificate" name="noCrimeCertificate" id="BizEmployeesInfoForm-noCrimeCertificate" name="noCrimeCertificate"
:labelCol="labelCol3"> :labelCol="labelCol3">
@ -286,6 +302,13 @@
<!-- <span v-else>未上传</span> --> <!-- <span v-else>未上传</span> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24" v-else>
<div
style="display: flex; flex-direction: column; align-items: center; width: 100%;">
<img :src="opeMediaAddress + defaultPrePic"
style="height: 150px; margin-bottom: 8px;" />
</div>
</a-col>
</a-row> </a-row>
</a-tab-pane> </a-tab-pane>
</a-tabs> </a-tabs>
@ -335,6 +358,7 @@ const props = defineProps({
}); });
const opeMediaAddress = import.meta.env.VITE_OPE_MEDIA_ADDRESS const opeMediaAddress = import.meta.env.VITE_OPE_MEDIA_ADDRESS
const defaultPrePic = import.meta.env.VITE_DEFAULT_ZANWUZHENGJIAN_PIC// const defaultPrePic = import.meta.env.VITE_DEFAULT_ZANWUZHENGJIAN_PIC//
const mrtxPic = import.meta.env.VITE_DEFAULT_MORENTOUXIANG_PIC//
const formRef = ref(); const formRef = ref();
const useForm = Form.useForm; const useForm = Form.useForm;
const emit = defineEmits(['register', 'ok']); const emit = defineEmits(['register', 'ok']);

View File

@ -272,7 +272,6 @@ function handleYxFwzlDetail(record) {
tagsDetailData.value = [] tagsDetailData.value = []
visible.value = true visible.value = true
fwzlQueryById({ id: record.employeesTagsId }).then(item => { fwzlQueryById({ id: record.employeesTagsId }).then(item => {
console.log("🌊 ~ handleYxFwzlDetail ~ item:", item)
tagsDetailData.value.push(item); tagsDetailData.value.push(item);
nextTick(() => { nextTick(() => {
registerForm.value.showDetail(tagsDetailData.value) registerForm.value.showDetail(tagsDetailData.value)

View File

@ -2,7 +2,7 @@ import { BasicColumn } from '/@/components/Table';
//列表数据 //列表数据
export const columns: BasicColumn[] = [ export const columns: BasicColumn[] = [
{ {
title: '员工标签', title: '标签名称',
align: 'center', align: 'center',
dataIndex: 'tagName', dataIndex: 'tagName',
}, },
@ -17,9 +17,13 @@ export const columns: BasicColumn[] = [
dataIndex: 'createBy_dictText', dataIndex: 'createBy_dictText',
}, },
{ {
title: '创建时间', title: '创建日期',
align: 'center', align: 'center',
dataIndex: 'createTime', dataIndex: 'createTime',
customRender: ({ text }) => {
if (!text) return '';
return text.split(' ')[0];
},
}, },
{ {
title: '状态', title: '状态',