|
@ -1,10 +1,10 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view> |
|
|
<view > |
|
|
<!-- subpages/searchResult/pages/resiInfo/resiInfo.wxml --> |
|
|
<!-- subpages/searchResult/pages/resiInfo/resiInfo.wxml --> |
|
|
<!-- 基本信息 --> |
|
|
<!-- 基本信息 --> |
|
|
<view class="card"> |
|
|
<view class="card" v-if="form.baseInfoDto.idNum"> |
|
|
<view class="top"> |
|
|
<view class="top"> |
|
|
<view class="left"> |
|
|
<view class="left" > |
|
|
<view class="name"> |
|
|
<view class="name"> |
|
|
<view style="display: flex"> |
|
|
<view style="display: flex"> |
|
|
<image |
|
|
<image |
|
@ -33,7 +33,7 @@ |
|
|
/> |
|
|
/> |
|
|
<image |
|
|
<image |
|
|
style="width: 40rpx; height: 40rpx; margin-right: 16rpx" |
|
|
style="width: 40rpx; height: 40rpx; margin-right: 16rpx" |
|
|
v-if="form.baseInfoDt.gender == '2' && form.baseInfoDto.age < 18" |
|
|
v-if="form.baseInfoDto.gender == '2' && form.baseInfoDto.age < 18" |
|
|
src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/internal/20240402/0c38251bba644a6b8e4a925aea74c9a7.png" |
|
|
src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/internal/20240402/0c38251bba644a6b8e4a925aea74c9a7.png" |
|
|
mode="" |
|
|
mode="" |
|
|
/> |
|
|
/> |
|
@ -160,47 +160,47 @@ |
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<text class="must">*</text> |
|
|
<text class="must">*</text> |
|
|
<view class="label">国籍:</view> |
|
|
<view class="label">国籍:</view> |
|
|
<View class="value">{{ form.baseInfoDto.nationalityName || '--' }}</View> |
|
|
<view class="value">{{ form.baseInfoDto&&form.baseInfoDto.nationalityName?form.baseInfoDto.nationalityName:'--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<text class="must">*</text> |
|
|
<text class="must">*</text> |
|
|
<view class="label">证件类型:</view> |
|
|
<view class="label">证件类型:</view> |
|
|
<View class="value">{{ idTypeList[form.baseInfoDto.idType].label || '--' }}</View> |
|
|
<view class="value">{{ filterLabel(idTypeList,form.baseInfoDto.idType) }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<text class="must">*</text> |
|
|
<text class="must">*</text> |
|
|
<view class="label">证件号:</view> |
|
|
<view class="label">证件号:</view> |
|
|
<View class="value">{{ form.baseInfoDto.idNum || '--' }}</View> |
|
|
<view class="value">{{ form.baseInfoDto&&form.baseInfoDto.idNum?form.baseInfoDto.idNum:'--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<text class="must">*</text> |
|
|
<text class="must">*</text> |
|
|
<view class="label">联系电话:</view> |
|
|
<view class="label">联系电话:</view> |
|
|
<View class="value">{{ form.baseInfoDto.mobile || '--' }}</View> |
|
|
<view class="value">{{ form.baseInfoDto&&form.baseInfoDto.mobile?form.baseInfoDto.mobile:'--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<view class="label">文化程度:</view> |
|
|
<view class="label">文化程度:</view> |
|
|
<View class="value">{{ form.eduInfoDto.cultureLevelName || '--' }}</View> |
|
|
<view class="value">{{ form.eduInfoDto&&form.eduInfoDto.cultureLevelName?form.eduInfoDto.cultureLevelName:'--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<view class="label">性别:</view> |
|
|
<view class="label">性别:</view> |
|
|
<View class="value">{{ form.baseInfoDto.genderName || '--' }}</View> |
|
|
<view class="value">{{ form.baseInfoDto&&form.baseInfoDto.genderName?form.baseInfoDto.genderName:'--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<view class="label">出生日期:</view> |
|
|
<view class="label">出生日期:</view> |
|
|
<View class="value">{{ form.baseInfoDto.birthday || '--' }}</View> |
|
|
<view class="value">{{ form.baseInfoDto.birthday || '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<view class="label">民族:</view> |
|
|
<view class="label">民族:</view> |
|
|
<View class="value">{{ form.baseInfoDto.nationName || '--' }}</View> |
|
|
<view class="value">{{ form.baseInfoDto.nationName || '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<view class="label">婚姻状况:</view> |
|
|
<view class="label">婚姻状况:</view> |
|
|
<View class="value">{{ marriageName || '--' }}</View> |
|
|
<view class="value">{{ marriageName || '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<view class="label">籍贯:</view> |
|
|
<view class="label">籍贯:</view> |
|
|
<View class="value">{{ form.baseInfoDto.nativePlace || '--' }}</View> |
|
|
<view class="value">{{ form.baseInfoDto.nativePlace || '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
@ -211,18 +211,18 @@ |
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<text class="must">*</text> |
|
|
<text class="must">*</text> |
|
|
<view class="label">所属网格:</view> |
|
|
<view class="label">所属网格:</view> |
|
|
<View class="value">{{ item.gridName || '--' }}</View> |
|
|
<view class="value">{{ item.gridName || '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<text class="must">*</text> |
|
|
<text class="must">*</text> |
|
|
<view class="label">所属房屋:</view> |
|
|
<view class="label">所属房屋:</view> |
|
|
<View class="value">{{ item.agencyName }}{{ item.homeName }}</View> |
|
|
<view class="value">{{ item.agencyName }}{{ item.homeName }}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<view class="label">人房关系:</view> |
|
|
<view class="label">人房关系:</view> |
|
|
<View class="value">{{ item.resiHouseRel != null ? (item.resiHouseRel === 0 ? '自住' : item.resiHouseRel === 1 ? '租住' : '--') : '--' }}</View> |
|
|
<view class="value">{{ item.resiHouseRel != null ? (item.resiHouseRel === 0 ? '自住' : item.resiHouseRel === 1 ? '租住' : '--') : '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="item"> |
|
|
<view class="item"> |
|
@ -239,12 +239,12 @@ |
|
|
|
|
|
|
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<view class="label">户籍所在地:</view> |
|
|
<view class="label">户籍所在地:</view> |
|
|
<View class="value">{{ item.placeOfDomicile ? item.placeOfDomicile : '--' }}</View> |
|
|
<view class="value">{{ item.placeOfDomicile ? item.placeOfDomicile : '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<view class="label">与户主关系:</view> |
|
|
<view class="label">与户主关系:</view> |
|
|
<View class="value">{{ dicts.houseHolderRelArr[item.houseHolderRel].label || '--' }}</View> |
|
|
<view class="value" >{{ filterLabel(dicts.houseHolderRelArr,item.houseHolderRel)}}</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
@ -258,47 +258,47 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<view class="label">就业状态:</view> |
|
|
<view class="label">就业状态:</view> |
|
|
<View class="value">{{ dicts.careerStatusArr[form.workInfoDto.careerStatus].label || '--' }}</View> |
|
|
<view class="value" >{{ filterLabel(dicts.careerStatusArr,form.workInfoDto?form.workInfoDto.careerStatus:null)}}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item" v-if="form.workInfoDto && form.workInfoDto.careerStatus >= 1 && form.workInfoDto.careerStatus <= 5"> |
|
|
<view class="item" v-if="form.workInfoDto && form.workInfoDto.careerStatus >= 1 && form.workInfoDto.careerStatus <= 5"> |
|
|
<view class="label">工作单位:</view> |
|
|
<view class="label">工作单位:</view> |
|
|
<View class="value">{{ form.workInfoDto ? (form.workInfoDto.workUnit ? form.workInfoDto.workUnit : '--') : '--' }}</View> |
|
|
<view class="value">{{ form.workInfoDto ? (form.workInfoDto.workUnit ? form.workInfoDto.workUnit : '--') : '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item" v-if="form.unemployedDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="item" v-if="form.unemployedDto &&form.workInfoDto &&(form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="label">原工作单位:</view> |
|
|
<view class="label">原工作单位:</view> |
|
|
<View class="value">{{ form.unemployedDto ? (form.unemployedDto.originWorkUnit ? form.unemployedDto.originWorkUnit : '--') : '--' }}</View> |
|
|
<view class="value">{{ form.unemployedDto ? (form.unemployedDto.originWorkUnit ? form.unemployedDto.originWorkUnit : '--') : '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item" v-if="form.workInfoDto && form.workInfoDto.careerStatus >= 1 && form.workInfoDto.careerStatus <= 5"> |
|
|
<view class="item" v-if="form.workInfoDto && form.workInfoDto && form.workInfoDto.careerStatus >= 1 && form.workInfoDto.careerStatus <= 5"> |
|
|
<view class="label">职业:</view> |
|
|
<view class="label">职业:</view> |
|
|
<View class="value">{{ form.workInfoDto ? (form.workInfoDto.occupation ? form.workInfoDto.occupation : '--') : '--' }}</View> |
|
|
<view class="value">{{ form.workInfoDto ? (form.workInfoDto.occupation ? form.workInfoDto.occupation : '--') : '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item" v-if="form.unemployedDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="item" v-if="form.unemployedDto &&form.workInfoDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="label">失业时间:</view> |
|
|
<view class="label">失业时间:</view> |
|
|
<View class="value">{{ form.unemployedDto ? (form.unemployedDto.unemploymentTime ? form.unemployedDto.unemploymentTime : '--') : '--' }}</View> |
|
|
<view class="value">{{ form.unemployedDto ? (form.unemployedDto.unemploymentTime ? form.unemployedDto.unemploymentTime : '--') : '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item" v-if="form.economyDto && form.workInfoDto.careerStatus >= 1 && form.workInfoDto.careerStatus <= 5"> |
|
|
<view class="item" v-if="form.economyDto &&form.workInfoDto && form.workInfoDto.careerStatus >= 1 && form.workInfoDto.careerStatus <= 5"> |
|
|
<view class="label">月收入:</view> |
|
|
<view class="label">月收入:</view> |
|
|
<View class="value">{{ form.economyDto ? (form.economyDto.monthIncome ? form.economyDto.monthIncome : '--') : '--' }}</View> |
|
|
<view class="value">{{ form.economyDto ? (form.economyDto.monthIncome ? form.economyDto.monthIncome : '--') : '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item" v-if="form.unemployedDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="item" v-if="form.unemployedDto &&form.workInfoDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="label">失业证号:</view> |
|
|
<view class="label">失业证号:</view> |
|
|
<View class="value">{{ form.unemployedDto ? (form.unemployedDto.unemploymentNum ? form.unemployedDto.unemploymentNum : '--') : '--' }}</View> |
|
|
<view class="value">{{ form.unemployedDto ? (form.unemployedDto.unemploymentNum ? form.unemployedDto.unemploymentNum : '--') : '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item" v-if="form.unemployedDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="item" v-if="form.unemployedDto &&form.workInfoDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="label">失业原因:</view> |
|
|
<view class="label">失业原因:</view> |
|
|
<View class="value">{{ form.unemployedDto ? (form.unemployedDto.unemploymentReason ? form.unemployedDto.unemploymentReason : '--') : '--' }}</View> |
|
|
<view class="value">{{ form.unemployedDto ? (form.unemployedDto.unemploymentReason ? form.unemployedDto.unemploymentReason : '--') : '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item" v-if="form.unemployedDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="item" v-if="form.unemployedDto &&form.workInfoDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="label">失业原因:</view> |
|
|
<view class="label">失业原因:</view> |
|
|
<View class="value">{{ form.unemployedDto ? (form.unemployedDto.employmentNum ? form.unemployedDto.employmentNum : '--') : '--' }}</View> |
|
|
<view class="value">{{ form.unemployedDto ? (form.unemployedDto.employmentNum ? form.unemployedDto.employmentNum : '--') : '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item" v-if="form.unemployedDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="item" v-if="form.unemployedDto &&form.workInfoDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="label">技术特长:</view> |
|
|
<view class="label">技术特长:</view> |
|
|
<View class="value">{{ form.unemployedDto ? (form.unemployedDto.specialSkill ? form.unemployedDto.specialSkill : '--') : '--' }}</View> |
|
|
<view class="value">{{ form.unemployedDto ? (form.unemployedDto.specialSkill ? form.unemployedDto.specialSkill : '--') : '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item" v-if="form.unemployedDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="item" v-if="form.unemployedDto &&form.workInfoDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="label">是否领取失业金:</view> |
|
|
<view class="label">是否领取失业金:</view> |
|
|
<View class="value"> |
|
|
<view class="value"> |
|
|
{{ |
|
|
{{ |
|
|
form.unemployedDto.unempCompensationFlag != null |
|
|
form.unemployedDto.unempCompensationFlag != null |
|
|
? form.unemployedDto.unempCompensationFlag === 0 |
|
|
? form.unemployedDto.unempCompensationFlag === 0 |
|
@ -308,11 +308,11 @@ |
|
|
: '--' |
|
|
: '--' |
|
|
: '--' |
|
|
: '--' |
|
|
}} |
|
|
}} |
|
|
</View> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item" v-if="form.unemployedDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="item" v-if="form.unemployedDto && form.workInfoDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="label">是否就业困难对象:</view> |
|
|
<view class="label">是否就业困难对象:</view> |
|
|
<View class="value"> |
|
|
<view class="value"> |
|
|
{{ |
|
|
{{ |
|
|
form.unemployedDto.employmentHardFlag != null |
|
|
form.unemployedDto.employmentHardFlag != null |
|
|
? form.unemployedDto.employmentHardFlag === 0 |
|
|
? form.unemployedDto.employmentHardFlag === 0 |
|
@ -322,17 +322,17 @@ |
|
|
: '--' |
|
|
: '--' |
|
|
: '--' |
|
|
: '--' |
|
|
}} |
|
|
}} |
|
|
</View> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item" v-if="form.workInfoDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="item" v-if="form.workInfoDto && form.workInfoDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)"> |
|
|
<view class="label">劳动就业愿望:</view> |
|
|
<view class="label">劳动就业愿望:</view> |
|
|
<View class="value">{{ form.workInfoDto ? (form.workInfoDto.employmentWish ? form.workInfoDto.employmentWish : '--') : '--' }}</View> |
|
|
<view class="value">{{ form.workInfoDto ? (form.workInfoDto.employmentWish ? form.workInfoDto.employmentWish : '--') : '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<view class="label">有无赡养人:</view> |
|
|
<view class="label">有无赡养人:</view> |
|
|
<View class="value"> |
|
|
<view class="value"> |
|
|
{{ form.familyInfoDto && form.familyInfoDto.elderlyFlag == 1 ? '有' : form.familyInfoDto && form.familyInfoDto.elderlyFlag == 0 ? '无' : '--' }} |
|
|
{{ form.familyInfoDto && form.familyInfoDto.elderlyFlag == 1 ? '有' : form.familyInfoDto && form.familyInfoDto.elderlyFlag == 0 ? '无' : '--' }} |
|
|
</View> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
@ -343,13 +343,13 @@ |
|
|
<view class="info" v-for="(itemC, indexC) in item.children" :key="indexC"> |
|
|
<view class="info" v-for="(itemC, indexC) in item.children" :key="indexC"> |
|
|
<view class="item"> |
|
|
<view class="item"> |
|
|
<view class="label">{{ itemC.label }}:</view> |
|
|
<view class="label">{{ itemC.label }}:</view> |
|
|
<View class="value">{{ itemC.value || '--' }}</View> |
|
|
<view class="value">{{ itemC.value || '--' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="card" id="graph"> |
|
|
<view class="card" id="graph"> |
|
|
<view class="title">关系图谱</view> |
|
|
<view class="title">关系图谱</view> |
|
|
<resi-graph :resiId="resiId" @clickGraphNode="clickGraphNode" v-if="resiId"></resi-graph> |
|
|
<!-- <resi-graph :resiId="resiId" @clickGraphNode="clickGraphNode" v-if="resiId"></resi-graph> --> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="card" id="business"> |
|
|
<view class="card" id="business"> |
|
@ -402,7 +402,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<no-data :isShow="logs.length === 0" v-if="logs.length === 0"></no-data> |
|
|
<!-- <no-data :isShow="logs.length === 0" v-if="logs.length === 0"></no-data> --> |
|
|
</view> |
|
|
</view> |
|
|
<!-- 走访打卡 --> |
|
|
<!-- 走访打卡 --> |
|
|
<!-- <view class="card "> |
|
|
<!-- <view class="card "> |
|
@ -420,7 +420,7 @@ |
|
|
|
|
|
|
|
|
<view class="bto_btn"> |
|
|
<view class="bto_btn"> |
|
|
<view class="btn" @tap="toEvent">上报诉求</view> |
|
|
<view class="btn" @tap="toEvent">上报诉求</view> |
|
|
<view class="btn" @tap="toWebView" v-if="agencyLevel !== 'street'">满意度调查</view> |
|
|
<view class="btn" @tap="toWebview" v-if="agencyLevel !== 'street'">满意度调查</view> |
|
|
<view class="btn blue" @tap="handelTopunchCard">走访打卡</view> |
|
|
<view class="btn blue" @tap="handelTopunchCard">走访打卡</view> |
|
|
</view> |
|
|
</view> |
|
|
<van-dialog |
|
|
<van-dialog |
|
@ -1055,10 +1055,6 @@ export default { |
|
|
this.getChangeRecordsById(); |
|
|
this.getChangeRecordsById(); |
|
|
this.getTabData(); |
|
|
this.getTabData(); |
|
|
} |
|
|
} |
|
|
// this.data.qqMapWX = new QQMapWX({ |
|
|
|
|
|
// key: 'CMJBZ-4DECI-JXGGN-5B4WU-QLV2H-B5BEJ' |
|
|
|
|
|
// }) |
|
|
|
|
|
// this.reverseLocation() |
|
|
|
|
|
this.setData({ |
|
|
this.setData({ |
|
|
agencyLevel: app.globalData.user.level |
|
|
agencyLevel: app.globalData.user.level |
|
|
}); |
|
|
}); |
|
@ -1097,6 +1093,20 @@ export default { |
|
|
* 用户点击右上角分享 |
|
|
* 用户点击右上角分享 |
|
|
*/ |
|
|
*/ |
|
|
onShareAppMessage() {}, |
|
|
onShareAppMessage() {}, |
|
|
|
|
|
computed:{ |
|
|
|
|
|
filterLabel() { |
|
|
|
|
|
return function(arr,key){ |
|
|
|
|
|
console.log(arr,key,'seeee'); |
|
|
|
|
|
let str = '' |
|
|
|
|
|
if(key){ |
|
|
|
|
|
str = arr[key].label |
|
|
|
|
|
}else{ |
|
|
|
|
|
str = '--' |
|
|
|
|
|
} |
|
|
|
|
|
return str |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
getDicts: async function () { |
|
|
getDicts: async function () { |
|
|
try { |
|
|
try { |
|
@ -1141,14 +1151,15 @@ export default { |
|
|
if (res.data.residentCategoryStr) { |
|
|
if (res.data.residentCategoryStr) { |
|
|
res.data.baseInfoDto.categoryInfo.categoryNames = res.data.residentCategoryStr.split(','); |
|
|
res.data.baseInfoDto.categoryInfo.categoryNames = res.data.residentCategoryStr.split(','); |
|
|
} |
|
|
} |
|
|
if (res.data.familyInfoDto && res.data.familyInfoDto.marriage) { |
|
|
// if (res.data.familyInfoDto && res.data.familyInfoDto.marriage) { |
|
|
marriageName = this.dicts.marriageArr.filter((item) => item.value == res.data.familyInfoDto.marriage)[0].label; |
|
|
// marriageName = this.dicts.marriageArr.filter((item) => item.value == res.data.familyInfoDto.marriage)[0].label; |
|
|
} |
|
|
// } |
|
|
// 处理tab |
|
|
// 处理tab |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
form: res.data, |
|
|
form: res.data, |
|
|
marriageName: marriageName |
|
|
marriageName: marriageName |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
await this.updateTabList(res.data.integrityData.integrityQtyMap); |
|
|
await this.updateTabList(res.data.integrityData.integrityQtyMap); |
|
|
} catch (err) { |
|
|
} catch (err) { |
|
|
console.log('CatchClause', err); |
|
|
console.log('CatchClause', err); |
|
@ -1531,10 +1542,10 @@ export default { |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
toWebView() { |
|
|
toWebview() { |
|
|
if (app.globalData.questionnaireUrl) { |
|
|
if (app.globalData.questionnaireUrl) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages/webView/webView?url=' + app.globalData.questionnaireUrl |
|
|
url: '/pages/webview/webview?url=' + app.globalData.questionnaireUrl |
|
|
}); |
|
|
}); |
|
|
} else { |
|
|
} else { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|