parent
a8a183e213
commit
727e82b336
|
|
@ -34,7 +34,9 @@ VITE_DEFAULT_DIRECTIVE_PRESMALL_PIC = 'default/presmalldefault.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将以乾坤子应用模式启动)
|
||||
#VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3
|
||||
|
|
|
|||
|
|
@ -34,7 +34,9 @@ VITE_DEFAULT_DIRECTIVE_PRESMALL_PIC = 'default/presmalldefault.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将以乾坤子应用模式启动)
|
||||
#VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3
|
||||
|
|
|
|||
|
|
@ -34,7 +34,9 @@ VITE_DEFAULT_DIRECTIVE_PRESMALL_PIC = 'default/presmalldefault.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将以乾坤子应用模式启动)
|
||||
#VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3
|
||||
|
|
|
|||
|
|
@ -38,7 +38,9 @@ VITE_DEFAULT_DIRECTIVE_PRESMALL_PIC = 'default/presmalldefault.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将以乾坤子应用模式启动)
|
||||
#VITE_GLOB_QIANKUN_MICRO_APP_NAME=jeecg-vue3
|
||||
|
|
|
|||
|
|
@ -106,7 +106,8 @@
|
|||
<a-col :span="12">
|
||||
<a-form-item label="户籍所在地" v-bind="validateInfos.houseAddress" id="EmployeesApplyForm-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> -->
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
|
@ -145,7 +146,8 @@
|
|||
<a-col :span="12">
|
||||
<a-form-item label="现住址" v-bind="validateInfos.currentAddress" id="EmployeesApplyForm-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> -->
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
|
@ -166,7 +168,7 @@
|
|||
<a-tab-pane key="1" tab="身份证">
|
||||
<a-row>
|
||||
<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">
|
||||
<j-image-upload v-if="!!formData.idCardPositive" :fileMax="1" :bizPath="`employeesZzxx`"
|
||||
:value="opeMediaAddress + formData.idCardPositive" disabled></j-image-upload>
|
||||
|
|
@ -174,7 +176,7 @@
|
|||
</a-form-item>
|
||||
</a-col>
|
||||
<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">
|
||||
<j-image-upload v-if="!!formData.idCardNegative" :fileMax="1" :bizPath="`employeesZzxx`"
|
||||
:value="opeMediaAddress + formData.idCardNegative" disabled></j-image-upload>
|
||||
|
|
@ -185,27 +187,33 @@
|
|||
</a-tab-pane>
|
||||
<a-tab-pane key="3" tab="健康证">
|
||||
<a-row>
|
||||
<a-col :span="12">
|
||||
<a-col :span="12" v-if="!!formData.healthCertificatePositive">
|
||||
<a-form-item label="健康证" v-bind="validateInfos.healthCertificatePositive"
|
||||
id="BizEmployeesInfoForm-healthCertificatePositive" name="healthCertificatePositive">
|
||||
<j-image-upload :fileMax="1"
|
||||
:bizPath="`employeesZzxx`" :value="opeMediaAddress + (formData.healthCertificatePositive || defaultPrePic)"
|
||||
disabled></j-image-upload>
|
||||
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
|
||||
:value="opeMediaAddress + formData.healthCertificatePositive" disabled></j-image-upload>
|
||||
<!-- <span v-else>未上传</span> -->
|
||||
</a-form-item>
|
||||
</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-form-item label="健康证反面" v-bind="validateInfos.healthCertificateNegative"
|
||||
id="BizEmployeesInfoForm-healthCertificateNegative" name="healthCertificateNegative">
|
||||
id="BizEmployeesInfoForm-healthCertificateNegative"
|
||||
name="healthCertificateNegative">
|
||||
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
|
||||
v-model:value="formData.healthCertificateNegative" disabled></j-image-upload>
|
||||
v-model:value="formData.healthCertificateNegative"
|
||||
disabled></j-image-upload>
|
||||
</a-form-item>
|
||||
</a-col> -->
|
||||
</a-row>
|
||||
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="4" tab="银行卡">
|
||||
<a-row>
|
||||
<a-row v-if="!!formData.bankPositive || !!formData.bankNegative">
|
||||
<a-col :span="12">
|
||||
<a-form-item label="银行卡正面" v-bind="validateInfos.bankPositive"
|
||||
id="BizEmployeesInfoForm-bankPositive" name="bankPositive">
|
||||
|
|
@ -223,29 +231,48 @@
|
|||
</a-form-item>
|
||||
</a-col>
|
||||
</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 key="5" tab="资质证件">
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
<a-col :span="24" v-if="!!formData.qualification">
|
||||
<a-form-item label="资质证" v-bind="validateInfos.qualification"
|
||||
id="BizEmployeesInfoForm-qualification" name="qualification" :labelCol="labelCol3">
|
||||
<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> -->
|
||||
</a-form-item>
|
||||
</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-tab-pane>
|
||||
<a-tab-pane key="6" tab="无犯罪证明">
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
<a-col :span="24" v-if="!!formData.noCrimeCertificate">
|
||||
<a-form-item label="无犯罪证明" v-bind="validateInfos.noCrimeCertificate"
|
||||
id="BizEmployeesInfoForm-noCrimeCertificate" name="noCrimeCertificate" :labelCol="labelCol3">
|
||||
<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> -->
|
||||
</a-form-item>
|
||||
</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-tab-pane>
|
||||
</a-tabs>
|
||||
|
|
@ -265,11 +292,9 @@
|
|||
</div>
|
||||
</a-col>
|
||||
<a-col :span="8">
|
||||
<a-form-item label="审核状态" v-bind="validateInfos.status" id="EmployeesApplyForm-status"
|
||||
name="status">
|
||||
<a-form-item label="审核状态" v-bind="validateInfos.status" id="EmployeesApplyForm-status" name="status">
|
||||
<!-- <a-input v-model:value="formData.applyStatus" placeholder="请输入审核状态" ></a-input> -->
|
||||
<a-select v-model:value="formData.status" placeholder="请选择审核状态" style="width: 200px"
|
||||
:disabled="false">
|
||||
<a-select v-model:value="formData.status" placeholder="请选择审核状态" style="width: 200px" :disabled="false">
|
||||
<a-select-option value="1">待审核</a-select-option>
|
||||
<a-select-option value="2">审核通过</a-select-option>
|
||||
<a-select-option value="3">审核驳回</a-select-option>
|
||||
|
|
@ -279,7 +304,8 @@
|
|||
<a-col :span="16" v-show="formData.status == 3">
|
||||
<a-form-item label="驳回原因" v-bind="validateInfos.auditContent" id="EmployeesApplyForm-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-col>
|
||||
</a-row>
|
||||
|
|
|
|||
|
|
@ -182,27 +182,33 @@
|
|||
</a-tab-pane>
|
||||
<a-tab-pane key="3" tab="健康证">
|
||||
<a-row>
|
||||
<a-col :span="12">
|
||||
<a-col :span="12" v-if="!!formData.healthCertificatePositive">
|
||||
<a-form-item label="健康证" v-bind="validateInfos.healthCertificatePositive"
|
||||
id="BizEmployeesInfoForm-healthCertificatePositive" name="healthCertificatePositive">
|
||||
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
|
||||
:value="opeMediaAddress + (formData.healthCertificatePositive || defaultPrePic)"
|
||||
disabled></j-image-upload>
|
||||
:value="opeMediaAddress + formData.healthCertificatePositive" disabled></j-image-upload>
|
||||
<!-- <span v-else>未上传</span> -->
|
||||
</a-form-item>
|
||||
</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-form-item label="健康证反面" v-bind="validateInfos.healthCertificateNegative"
|
||||
id="BizEmployeesInfoForm-healthCertificateNegative" name="healthCertificateNegative">
|
||||
id="BizEmployeesInfoForm-healthCertificateNegative"
|
||||
name="healthCertificateNegative">
|
||||
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
|
||||
v-model:value="formData.healthCertificateNegative" disabled></j-image-upload>
|
||||
v-model:value="formData.healthCertificateNegative"
|
||||
disabled></j-image-upload>
|
||||
</a-form-item>
|
||||
</a-col> -->
|
||||
</a-row>
|
||||
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="4" tab="银行卡">
|
||||
<a-row>
|
||||
<a-row v-if="!!formData.bankPositive || !!formData.bankNegative">
|
||||
<a-col :span="12">
|
||||
<a-form-item label="银行卡正面" v-bind="validateInfos.bankPositive"
|
||||
id="BizEmployeesInfoForm-bankPositive" name="bankPositive">
|
||||
|
|
@ -220,10 +226,17 @@
|
|||
</a-form-item>
|
||||
</a-col>
|
||||
</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 key="5" tab="资质证件">
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
<a-col :span="24" v-if="!!formData.qualification">
|
||||
<a-form-item label="资质证" v-bind="validateInfos.qualification"
|
||||
id="BizEmployeesInfoForm-qualification" name="qualification" :labelCol="labelCol3">
|
||||
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
|
||||
|
|
@ -232,11 +245,16 @@
|
|||
<!-- <span v-else>未上传</span> -->
|
||||
</a-form-item>
|
||||
</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-tab-pane>
|
||||
<a-tab-pane key="6" tab="无犯罪证明">
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
<a-col :span="24" v-if="!!formData.noCrimeCertificate">
|
||||
<a-form-item label="无犯罪证明" v-bind="validateInfos.noCrimeCertificate"
|
||||
id="BizEmployeesInfoForm-noCrimeCertificate" name="noCrimeCertificate" :labelCol="labelCol3">
|
||||
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
|
||||
|
|
@ -245,15 +263,21 @@
|
|||
<!-- <span v-else>未上传</span> -->
|
||||
</a-form-item>
|
||||
</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-tab-pane>
|
||||
<a-tab-pane key="7" tab="头像">
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="头像" v-bind="validateInfos.headPath"
|
||||
id="BizEmployeesInfoForm-headPath" name="headPath" :labelCol="labelCol3">
|
||||
<a-form-item label="头像" v-bind="validateInfos.headPath" id="BizEmployeesInfoForm-headPath"
|
||||
name="headPath" :labelCol="labelCol3">
|
||||
<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>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
|
@ -316,6 +340,7 @@ const props = defineProps({
|
|||
});
|
||||
const opeMediaAddress = import.meta.env.VITE_OPE_MEDIA_ADDRESS
|
||||
const defaultPrePic = import.meta.env.VITE_DEFAULT_ZANWUZHENGJIAN_PIC//证件照默认图片
|
||||
const mrtxPic = import.meta.env.VITE_DEFAULT_MORENTOUXIANG_PIC//默认头像
|
||||
const formRef = ref();
|
||||
const useForm = Form.useForm;
|
||||
const emit = defineEmits(['register', 'ok']);
|
||||
|
|
|
|||
|
|
@ -185,27 +185,33 @@
|
|||
</a-tab-pane>
|
||||
<a-tab-pane key="3" tab="健康证">
|
||||
<a-row>
|
||||
<a-col :span="12">
|
||||
<a-col :span="12" v-if="!!formData.healthCertificatePositive">
|
||||
<a-form-item label="健康证" v-bind="validateInfos.healthCertificatePositive"
|
||||
id="BizEmployeesInfoForm-healthCertificatePositive" name="healthCertificatePositive">
|
||||
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
|
||||
:value="opeMediaAddress + (formData.healthCertificatePositive || defaultPrePic)"
|
||||
disabled></j-image-upload>
|
||||
:value="opeMediaAddress + formData.healthCertificatePositive" disabled></j-image-upload>
|
||||
<!-- <span v-else>未上传</span> -->
|
||||
</a-form-item>
|
||||
</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-form-item label="健康证反面" v-bind="validateInfos.healthCertificateNegative"
|
||||
id="BizEmployeesInfoForm-healthCertificateNegative" name="healthCertificateNegative">
|
||||
id="BizEmployeesInfoForm-healthCertificateNegative"
|
||||
name="healthCertificateNegative">
|
||||
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
|
||||
v-model:value="formData.healthCertificateNegative" disabled></j-image-upload>
|
||||
v-model:value="formData.healthCertificateNegative"
|
||||
disabled></j-image-upload>
|
||||
</a-form-item>
|
||||
</a-col> -->
|
||||
</a-row>
|
||||
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="4" tab="银行卡">
|
||||
<a-row>
|
||||
<a-row v-if="!!formData.bankPositive || !!formData.bankNegative">
|
||||
<a-col :span="12">
|
||||
<a-form-item label="银行卡正面" v-bind="validateInfos.bankPositive"
|
||||
id="BizEmployeesInfoForm-bankPositive" name="bankPositive">
|
||||
|
|
@ -223,10 +229,17 @@
|
|||
</a-form-item>
|
||||
</a-col>
|
||||
</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 key="5" tab="资质证件">
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
<a-col :span="24" v-if="!!formData.qualification">
|
||||
<a-form-item label="资质证" v-bind="validateInfos.qualification"
|
||||
id="BizEmployeesInfoForm-qualification" name="qualification" :labelCol="labelCol3">
|
||||
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
|
||||
|
|
@ -235,11 +248,16 @@
|
|||
<!-- <span v-else>未上传</span> -->
|
||||
</a-form-item>
|
||||
</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-tab-pane>
|
||||
<a-tab-pane key="6" tab="无犯罪证明">
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
<a-col :span="24" v-if="!!formData.noCrimeCertificate">
|
||||
<a-form-item label="无犯罪证明" v-bind="validateInfos.noCrimeCertificate"
|
||||
id="BizEmployeesInfoForm-noCrimeCertificate" name="noCrimeCertificate" :labelCol="labelCol3">
|
||||
<j-image-upload :fileMax="1" :bizPath="`employeesZzxx`"
|
||||
|
|
@ -248,6 +266,11 @@
|
|||
<!-- <span v-else>未上传</span> -->
|
||||
</a-form-item>
|
||||
</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-tab-pane>
|
||||
</a-tabs>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<a-form-item label="头像" v-bind="validateInfos.headPath"
|
||||
id="BizEmployeesInfoForm-headPath" name="headPath">
|
||||
<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-col>
|
||||
</a-col>
|
||||
|
|
@ -223,7 +223,7 @@
|
|||
<div
|
||||
style="display: flex; flex-direction: column; align-items: center; width: 100%;">
|
||||
<img :src="opeMediaAddress + defaultPrePic"
|
||||
style="height: 100px; margin-bottom: 8px;" />
|
||||
style="height: 150px; margin-bottom: 8px;" />
|
||||
</div>
|
||||
</a-col>
|
||||
<!-- <a-col :span="12">
|
||||
|
|
@ -239,7 +239,7 @@
|
|||
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="4" tab="银行卡">
|
||||
<a-row>
|
||||
<a-row v-if="!!formData.bankPositive || !!formData.bankNegative">
|
||||
<a-col :span="12">
|
||||
<a-form-item label="银行卡正面" v-bind="validateInfos.bankPositive"
|
||||
id="BizEmployeesInfoForm-bankPositive" name="bankPositive">
|
||||
|
|
@ -259,10 +259,19 @@
|
|||
</a-form-item>
|
||||
</a-col>
|
||||
</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 key="5" tab="资质证件">
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
<a-col :span="24" v-if="!!formData.qualification">
|
||||
<a-form-item label="资质证" v-bind="validateInfos.qualification"
|
||||
id="BizEmployeesInfoForm-qualification" name="qualification"
|
||||
:labelCol="labelCol3">
|
||||
|
|
@ -272,11 +281,18 @@
|
|||
<!-- <span v-else>未上传</span> -->
|
||||
</a-form-item>
|
||||
</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-tab-pane>
|
||||
<a-tab-pane key="6" tab="无犯罪证明">
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
<a-col :span="24" v-if="!!formData.noCrimeCertificate">
|
||||
<a-form-item label="无犯罪证明" v-bind="validateInfos.noCrimeCertificate"
|
||||
id="BizEmployeesInfoForm-noCrimeCertificate" name="noCrimeCertificate"
|
||||
:labelCol="labelCol3">
|
||||
|
|
@ -286,6 +302,13 @@
|
|||
<!-- <span v-else>未上传</span> -->
|
||||
</a-form-item>
|
||||
</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-tab-pane>
|
||||
</a-tabs>
|
||||
|
|
@ -335,6 +358,7 @@ const props = defineProps({
|
|||
});
|
||||
const opeMediaAddress = import.meta.env.VITE_OPE_MEDIA_ADDRESS
|
||||
const defaultPrePic = import.meta.env.VITE_DEFAULT_ZANWUZHENGJIAN_PIC//证件照默认图片
|
||||
const mrtxPic = import.meta.env.VITE_DEFAULT_MORENTOUXIANG_PIC//默认头像
|
||||
const formRef = ref();
|
||||
const useForm = Form.useForm;
|
||||
const emit = defineEmits(['register', 'ok']);
|
||||
|
|
|
|||
|
|
@ -272,7 +272,6 @@ function handleYxFwzlDetail(record) {
|
|||
tagsDetailData.value = []
|
||||
visible.value = true
|
||||
fwzlQueryById({ id: record.employeesTagsId }).then(item => {
|
||||
console.log("🌊 ~ handleYxFwzlDetail ~ item:", item)
|
||||
tagsDetailData.value.push(item);
|
||||
nextTick(() => {
|
||||
registerForm.value.showDetail(tagsDetailData.value)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { BasicColumn } from '/@/components/Table';
|
|||
//列表数据
|
||||
export const columns: BasicColumn[] = [
|
||||
{
|
||||
title: '员工标签',
|
||||
title: '标签名称',
|
||||
align: 'center',
|
||||
dataIndex: 'tagName',
|
||||
},
|
||||
|
|
@ -17,9 +17,13 @@ export const columns: BasicColumn[] = [
|
|||
dataIndex: 'createBy_dictText',
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
title: '创建日期',
|
||||
align: 'center',
|
||||
dataIndex: 'createTime',
|
||||
customRender: ({ text }) => {
|
||||
if (!text) return '';
|
||||
return text.split(' ')[0];
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '状态',
|
||||
|
|
|
|||
Loading…
Reference in New Issue