员工各界面增加现住址字段展示

This commit is contained in:
1378012178@qq.com 2025-10-28 16:03:24 +08:00
parent 39d0406790
commit f44d804691
5 changed files with 43 additions and 12 deletions

View File

@ -116,6 +116,13 @@
{{ formData.contactRelationship }}
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="现住址" v-bind="validateInfos.currentAddress"
id="NuEmployeesAdvisoryInfoForm-currentAddress" name="currentAddress">
<!-- <a-input v-model:value="formData.currentAddress" placeholder="请输入现住址" allow-clear disabled ></a-input> -->
{{ formData.currentAddress }}
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="户口性质" v-bind="validateInfos.hukouType" id="NuEmployeesAdvisoryInfoForm-hukouType"
name="hukouType">
@ -195,6 +202,7 @@ const formData = reactive<Record<string, any>>({
healthFmPath: '',
qualificationPath: '',
noCrimeCertificate: '',
currentAddress: '',
});
const { createMessage } = useMessage();
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 8 } });

View File

@ -134,4 +134,5 @@ export const applyObj = {
applyType: '申请类型 0被邀请 1主动申请 2信息变更',
startTime: '有效开始日期',
endTime: '有效结束日期',
currentAddress: '现住址',
};

View File

@ -142,6 +142,13 @@
<!-- <span>{{ formData.hukouNature }}</span> -->
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="现住址" v-bind="validateInfos.currentAddress" id="EmployeesApplyForm-currentAddress"
name="currentAddress">
<a-input v-model:value="formData.currentAddress" placeholder="请输入现住址" disabled allow-clear></a-input>
<!-- <span>{{ formData.currentAddress }}</span> -->
</a-form-item>
</a-col>
</a-row>
</a-form>
</template>
@ -364,6 +371,7 @@ const formData = reactive<Record<string, any>>({
applyType: '',
startTime: '',
endTime: '',
currentAddress: '',
});
const statusVal = ref('')
const { createMessage } = useMessage();

View File

@ -188,6 +188,7 @@ const fieldMap = {
regional: 'regional',
startTime: 'startTime',
endTime: 'endTime',
currentAddress: 'currentAddress',
};
async function show(record) {

View File

@ -155,6 +155,12 @@
<span>{{ formData.hukouNature }}</span>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="现住址" v-bind="validateInfos.currentAddress"
id="EmployeesApplyForm-currentAddress" name="currentAddress">
<span>{{ formData.currentAddress }}</span>
</a-form-item>
</a-col>
</a-row>
</a-form>
</template>
@ -184,10 +190,11 @@
<a-col :span="12">
<a-form-item label="身份证反面" v-bind="validateInfos.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>
<span v-else>未上传</span>
<span v-else>未上传</span>
</a-form-item>
</a-col>
</a-row>
@ -198,10 +205,11 @@
<a-form-item label="健康证正面" v-bind="validateInfos.healthCertificatePositive"
id="BizEmployeesInfoForm-healthCertificatePositive"
name="healthCertificatePositive">
<j-image-upload v-if="!!formData.healthCertificatePositive" :fileMax="1" :bizPath="`employeesZzxx`"
<j-image-upload v-if="!!formData.healthCertificatePositive" :fileMax="1"
:bizPath="`employeesZzxx`"
:value="opeMediaAddress + formData.healthCertificatePositive"
disabled></j-image-upload>
<span v-else>未上传</span>
<span v-else>未上传</span>
</a-form-item>
</a-col>
<!-- <a-col :span="12">
@ -221,19 +229,21 @@
<a-col :span="12">
<a-form-item label="银行卡正面" v-bind="validateInfos.bankPositive"
id="BizEmployeesInfoForm-bankPositive" name="bankPositive">
<j-image-upload v-if="!!formData.bankPositive" :fileMax="1" :bizPath="`employeesZzxx`"
<j-image-upload v-if="!!formData.bankPositive" :fileMax="1"
:bizPath="`employeesZzxx`"
:value="opeMediaAddress + formData.bankPositive"
disabled></j-image-upload>
<span v-else>未上传</span>
<span v-else>未上传</span>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="银行卡反面" v-bind="validateInfos.bankNegative"
id="BizEmployeesInfoForm-bankNegative" name="bankNegative">
<j-image-upload v-if="!!formData.bankNegative" :fileMax="1" :bizPath="`employeesZzxx`"
<j-image-upload v-if="!!formData.bankNegative" :fileMax="1"
:bizPath="`employeesZzxx`"
:value="opeMediaAddress + formData.bankNegative"
disabled></j-image-upload>
<span v-else>未上传</span>
<span v-else>未上传</span>
</a-form-item>
</a-col>
</a-row>
@ -244,10 +254,11 @@
<a-form-item label="资质证" v-bind="validateInfos.qualification"
id="BizEmployeesInfoForm-qualification" name="qualification"
:labelCol="labelCol3">
<j-image-upload v-if="!!formData.qualification" :fileMax="1" :bizPath="`employeesZzxx`"
<j-image-upload v-if="!!formData.qualification" :fileMax="1"
:bizPath="`employeesZzxx`"
:value="opeMediaAddress + formData.qualification"
disabled></j-image-upload>
<span v-else>未上传</span>
<span v-else>未上传</span>
</a-form-item>
</a-col>
</a-row>
@ -258,10 +269,11 @@
<a-form-item label="无犯罪证明" v-bind="validateInfos.noCrimeCertificate"
id="BizEmployeesInfoForm-noCrimeCertificate" name="noCrimeCertificate"
:labelCol="labelCol3">
<j-image-upload v-if="!!formData.noCrimeCertificate" :fileMax="1" :bizPath="`employeesZzxx`"
<j-image-upload v-if="!!formData.noCrimeCertificate" :fileMax="1"
:bizPath="`employeesZzxx`"
:value="opeMediaAddress + formData.noCrimeCertificate"
disabled></j-image-upload>
<span v-else>未上传</span>
<span v-else>未上传</span>
</a-form-item>
</a-col>
</a-row>
@ -332,6 +344,7 @@ const formData = reactive<Record<string, any>>({
noCrimeCertificate: '',
regional: '',
serviceTag: '',
currentAddress: '',
});
const { createMessage } = useMessage();
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 8 } });