解决app编译后显示项重复问题修复

hyx_2024-10-18_BUG
liujun 2024-07-02 17:16:10 +08:00
parent 58e1c1cc74
commit 7036b72802
1 changed files with 149 additions and 93 deletions

View File

@ -2,99 +2,155 @@
<view class="content"> <view class="content">
<view class="card"> <view class="card">
<u-cell-group> <u-cell-group>
<u-cell title="照片"> <view>
<template #value> <u-cell title="照片">
<u--image :src="info.userPhoto" shape="circle" width="100upx" height="100upx"></u--image> <template #value>
</template> <u--image :src="info.userPhoto" shape="circle" width="100upx" height="100upx"></u--image>
</u-cell> </template>
<u-cell title="姓名" :value="info.NAME"></u-cell> </u-cell>
<u-cell title="性别" :value="info.SEX === '1' ? '女' : '男'"> </view>
<template #value> <view>
{{info.SEX === '1' ? '女' : ''}} <u-cell title="姓名" :value="info.NAME"></u-cell>
{{info.SEX === '0' ? '男' : ''}} </view>
</template> <view>
</u-cell> <u-cell title="性别" :value="info.SEX === '1' ? '女' : '男'">
<u-cell title="出生年月" :value="info.DATE_OF_BIRTH"></u-cell> <template #value>
<u-cell title="年龄" :value="info.AGE"></u-cell> {{ info.SEX === '1' ? '女' : '' }}
<u-cell title="身份证" :value="info.CARD_ID"></u-cell> {{ info.SEX === '0' ? '男' : '' }}
<u-cell title="身份证照片"> </template>
<template #value> </u-cell>
<view v-for="(item,index) in userCardIDPhotoFile" :key="index" </view>
style="display: flex;justify-content: space-between"> <view>
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;" <u-cell title="出生年月" :value="info.DATE_OF_BIRTH"></u-cell>
@click="fnPreview(userCardIDPhotoFile)"></u--image> </view>
</view> <view>
</template> <u-cell title="年龄" :value="info.AGE"></u-cell>
</u-cell> </view>
<u-cell title="民族" :value="info.minzuName"></u-cell> <view>
<u-cell title="户口所在地"> <u-cell title="身份证" :value="info.CARD_ID"></u-cell>
<template #value> </view>
<u--text :lines="2" align="right" :text="info.HKLOCAL"></u--text> <view>
</template> <u-cell title="身份证照片">
</u-cell> <template #value>
<u-cell title="现住址"> <view v-for="(item,index) in userCardIDPhotoFile" :key="index"
<template #value> style="display: flex;justify-content: space-between">
<u--text :lines="2" align="right" :text="info.ADDRESS"></u--text> <u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
</template> @click="fnPreview(userCardIDPhotoFile)"></u--image>
</u-cell> </view>
<u-cell title="联系电话" :value="info.PHONE"></u-cell> </template>
<u-cell title="婚姻状况" :value="info.MARITALSTATUS == 0 ? '未婚':'已婚'"></u-cell> </u-cell>
<u-cell title="政治面貌" :value="info.zzName"></u-cell> </view>
<u-cell v-if="info.POLITICAL_STATUS == 'zhonggongdangyuan'" title="入党时间" :value="info.POLITICAL_TIME"></u-cell> <view>
<u-cell title="是否缴纳社保" :value="info.IS_SOCIAL_NAME"></u-cell> <u-cell title="民族" :value="info.minzuName"></u-cell>
<u-cell title="社会保障号" v-if="info.IS_SOCIAL==='1'" :value="info.SOCIAL_NUMBER"></u-cell> </view>
<u-cell title="社会保障卡照片" v-if="info.IS_SOCIAL==='1'" > <view>
<template #value> <u-cell title="户口所在地">
<view v-for="(item,index) in socialPhotoFile" :key="index" <template #value>
style="display: flex;justify-content: space-between"> <u--text :lines="2" align="right" :text="info.HKLOCAL"></u--text>
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;" </template>
@click="fnPreview(socialPhotoFile)"></u--image> </u-cell>
</view> </view>
</template> <view>
</u-cell> <u-cell title="现住址">
<u-cell title="是否签订劳动合同" :value="info.IS_SIGN_LABOR_NAME"></u-cell> <template #value>
<u-cell title="合同图片" v-if="info.IS_SIGN_LABOR==='1'"> <u--text :lines="2" align="right" :text="info.ADDRESS"></u--text>
<template #value> </template>
<view v-for="(item,index) in contractFile" :key="index" </u-cell>
style="display: flex;justify-content: space-between"> </view>
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;" <view>
@click="fnPreview(contractFile)"></u--image> <u-cell title="联系电话" :value="info.PHONE"></u-cell>
</view> </view>
</template> <view>
</u-cell> <u-cell title="婚姻状况" :value="info.MARITALSTATUS == 0 ? '未婚':'已婚'"></u-cell>
<u-cell title="是否缴纳商业保险" :value="info.ISPAY_NAME"></u-cell> </view>
<u-cell title="商业保险单号" v-if="info.ISPAY==='1'" :value="info.ISPAY_NUMBER"></u-cell> <view>
<u-cell title="保险图片" v-if="info.ISPAY==='1'"> <u-cell title="政治面貌" :value="info.zzName"></u-cell>
<template #value> </view>
<view v-for="(item,index) in insuranceFile" :key="index" <view v-if="info.POLITICAL_STATUS == 'zhonggongdangyuan'">
style="display: flex;justify-content: space-between"> <u-cell title="入党时间" :value="info.POLITICAL_TIME"></u-cell>
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;" </view>
@click="fnPreview(insuranceFile)"></u--image> <view>
</view> <u-cell title="是否缴纳社保" :value="info.IS_SOCIAL_NAME"></u-cell>
</template> </view>
</u-cell> <view v-if="info.IS_SOCIAL==='1'">
<u-cell title="是否按期缴纳工伤保险" :value="info.IS_INJURIES_PAY_NAME"></u-cell> <u-cell title="社会保障号" :value="info.SOCIAL_NUMBER"></u-cell>
<u-cell title="工伤保险有效期" v-if="info.IS_INJURIES_PAY==='1'" :value="info.IS_INJURIES_PAY_TIME"></u-cell> </view>
<u-cell title="工伤保险凭证" v-if="info.IS_INJURIES_PAY==='1'"> <view v-if="info.IS_SOCIAL==='1'">
<template #value> <u-cell title="社会保障卡照片">
<view v-for="(item,index) in injuriesPayTiemFile" :key="index" <template #value>
style="display: flex;justify-content: space-between"> <view v-for="(item,index) in socialPhotoFile" :key="index"
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;" style="display: flex;justify-content: space-between">
@click="fnPreview(injuriesPayTiemFile)"></u--image> <u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
</view> @click="fnPreview(socialPhotoFile)"></u--image>
</template> </view>
</u-cell> </template>
<u-cell title="岗位名称(工种)" :value="info.POST_ID"></u-cell> </u-cell>
<u-cell title="是否参加三级安全培训" :value="info.IS_LEVEL_THREE_NAME"></u-cell> </view>
<u-cell title="三级安全培训照片" v-if="info.IS_LEVEL_THREE==='1'"> <view>
<template #value> <u-cell title="是否签订劳动合同" :value="info.IS_SIGN_LABOR_NAME"></u-cell>
<view v-for="(item,index) in photosOfLevel" :key="index" </view>
style="display: flex;justify-content: space-between"> <view v-if="info.IS_SIGN_LABOR==='1'">
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;" <u-cell title="合同图片" >
@click="fnPreview(photosOfLevel)"></u--image> <template #value>
</view> <view v-for="(item,index) in contractFile" :key="index"
</template> style="display: flex;justify-content: space-between">
</u-cell> <u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
@click="fnPreview(contractFile)"></u--image>
</view>
</template>
</u-cell>
</view>
<view>
<u-cell title="是否缴纳商业保险" :value="info.ISPAY_NAME"></u-cell>
</view>
<view v-if="info.ISPAY==='1'">
<u-cell title="商业保险单号" :value="info.ISPAY_NUMBER"></u-cell>
</view>
<view>
<u-cell title="保险图片" v-if="info.ISPAY==='1'">
<template #value>
<view v-for="(item,index) in insuranceFile" :key="index"
style="display: flex;justify-content: space-between">
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
@click="fnPreview(insuranceFile)"></u--image>
</view>
</template>
</u-cell>
</view>
<view>
<u-cell title="是否按期缴纳工伤保险" :value="info.IS_INJURIES_PAY_NAME"></u-cell>
</view>
<view v-if="info.IS_INJURIES_PAY==='1'">
<u-cell title="工伤保险有效期" :value="info.IS_INJURIES_PAY_TIME"></u-cell>
</view>
<view v-if="info.IS_INJURIES_PAY==='1'">
<u-cell title="工伤保险凭证" >
<template #value>
<view v-for="(item,index) in injuriesPayTiemFile" :key="index"
style="display: flex;justify-content: space-between">
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
@click="fnPreview(injuriesPayTiemFile)"></u--image>
</view>
</template>
</u-cell>
</view>
<view>
<u-cell title="岗位名称(工种)" :value="info.POST_ID"></u-cell>
</view>
<view>
<u-cell title="是否参加三级安全培训" :value="info.IS_LEVEL_THREE_NAME"></u-cell>
</view>
<view v-if="info.IS_LEVEL_THREE==='1'">
<u-cell title="三级安全培训照片" >
<template #value>
<view v-for="(item,index) in photosOfLevel" :key="index"
style="display: flex;justify-content: space-between">
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
@click="fnPreview(photosOfLevel)"></u--image>
</view>
</template>
</u-cell>
</view>
<u-cell title="是否流动人员" :value="info.ISFLOW_NAME"></u-cell> <u-cell title="是否流动人员" :value="info.ISFLOW_NAME"></u-cell>
</u-cell-group> </u-cell-group>
</view> </view>