epmet 工作端 小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

389 lines
19 KiB

<!--subpages/searchResult/pages/resiInfo/resiInfo.wxml-->
<!-- 基本信息 -->
<view class="card">
<view class="top">
<view class="left">
<view class="name">
<view style="display: flex;">
<image style="width: 40rpx;height: 40rpx;margin-right: 16rpx;" wx:if="{{form.baseInfoDto.gender=='1'&&form.baseInfoDto.age>18 &&form.baseInfoDto.age<60}}" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/internal/20240402/1e21790833b04e9abe61e2a8f40446cb.png" mode="" />
<image style="width: 40rpx;height: 40rpx;margin-right: 16rpx;" wx:if="{{form.baseInfoDto.gender=='1'&& form.baseInfoDto.age<18 }}" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/internal/20240402/62c2b6a1ce834f8dae081b562b2579b9.png" mode="" />
<image style="width: 40rpx;height: 40rpx;margin-right: 16rpx;" wx:if="{{form.baseInfoDto.gender=='1'&&form.baseInfoDto.age>=60}}" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/internal/20240402/bd586a4e7d0f4b3aa68c79067dfe1428.png" mode="" />
<image style="width: 40rpx;height: 40rpx;margin-right: 16rpx;" wx:if="{{form.baseInfoDto.gender=='2'&&form.baseInfoDto.age>18 &&form.baseInfoDto.age<60}}" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/internal/20240402/3b44e3495dcd4d96a3c07baad1bd7c5e.png" mode="" />
<image style="width: 40rpx;height: 40rpx;margin-right: 16rpx;" wx:if="{{form.baseInfoDt.gender=='2'&&form.baseInfoDto.age<18 }}" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/internal/20240402/0c38251bba644a6b8e4a925aea74c9a7.png" mode="" />
<image style="width: 40rpx;height: 40rpx;margin-right: 16rpx;" wx:if="{{form.baseInfoDto.gender=='2'&&form.baseInfoDto.age>=60}}" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/internal/20240402/2465ff7633a94413bf4ed2aa778c2765.png" mode="" />
<image style="width: 40rpx;height: 40rpx;margin-right: 16rpx;" wx:if="{{form.baseInfoDto.gender == '0'}}" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/internal/20240402/1e21790833b04e9abe61e2a8f40446cb.png" mode="" />
</view>
<view style="font-size: 32rpx;margin-right: 35rpx;">{{form.baseInfoDto.name}}</view>
<view style="font-size: 28rpx;color:#999999 ;">信息完整度:</view>
<view style="color:#04b8ad;">{{form.integrityData.score}}</view>
</view>
<view class="tags">
<view class="tag {{ itemC === '党员' ? 'hong' : itemC === '群众' ? 'lan' : itemC === '共青团员' ? 'ju' : itemC === '残疾人员' ? 'qing' : itemC === '慢病' ? 'zi' : itemC === '死亡' ? '灰' : itemC === '老年人' ? 'lan' : itemC === '低保人员' ? 'lv' : itemC === '退役军人' ? 'hong' : itemC === '保障房人员' ? 'huang' : itemC === '育龄妇女' ? 'fen' : itemC === '特扶人员' ? 'zi' : itemC === '安置帮教' ? 'zi' : itemC === '吸毒人员' ? 'hong' : itemC === '社区矫正' ? 'qing' : itemC === '不良青少年' ? 'huang' : itemC === '肇事肇祸精神病' ? 'zi' : itemC === '邪教人员' ? 'ju' : itemC === '统战人员' ? 'lv' : itemC === '信访人员' ? 'hong' : itemC === '志愿者' ? 'hong' : itemC === '楼长' ? 'lan' : itemC === '单元长' ? 'qing' : itemC === '公益岗' ? 'fen' : itemC === '大病' ? 'hong' : 'lan' }} " wx:for="{{form.baseInfoDto.categoryInfo.categoryNames}}" wx:key="index" wx:for-item="itemC" wx:for-index="index">{{itemC}}</view>
</view>
</view>
<view class="right">
<view class="jm-btn" bind:tap="toAddResi">编辑</view>
</view>
</view>
<!-- <view class="form">
<view class="form_label">地址:</view>
<view class="form_value"><text>{{form
.resideInfoDtos[0].agencyName}}</text>{{form.resideInfoDtos[0].homeName}}</view>
</view> -->
<view class="form">
<view class="form_label">创建时间:</view>
<view class="form_value">{{form.baseInfoDto.createdTime}}</view>
</view>
<view class="form">
<view class="form_label">最近更新时间:</view>
<view class="form_value">{{form.baseInfoDto.updatedTime}}</view>
</view>
<view class="tabs">
<view class="tab_item {{activeType === index ? 'border_bto' : ''}}" wx:for="{{tabList}}" bind:tap="handelClickTab" data-item="{{item}}" data-index="{{index}}" wx:key="index" wx:if="{{item.filledQty!=0 }}">
{{item.name}} <text style="color:{{item.filledQty!==item.totalQty?'#f27225':'#1ebfb5'}}" wx:if="{{item.filledQty ||item.id=='ext'}}">({{ item.filledQty }}/{{ item.totalQty }})</text>
</view>
</view>
</view>
<view class="card">
<view class="title">基础信息</view>
<view class="info">
<view class="item">
<text class="must">*</text>
<view class="label">国籍:</view>
<View class="value">{{form.baseInfoDto.nationalityName|| '--' }}</View>
</view>
<view class="item">
<text class="must">*</text>
<view class="label">证件类型:</view>
<View class="value">{{idTypeList[form.baseInfoDto.idType].label||'--'}}</View>
</view>
<view class="item">
<text class="must">*</text>
<view class="label">证件号:</view>
<View class="value">{{form.baseInfoDto.idNum||'--'}}</View>
</view>
<view class="item">
<text class="must">*</text>
<view class="label">联系电话:</view>
<View class="value">{{form.baseInfoDto.mobile||'--'}}</View>
</view>
<view class="item">
<view class="label">文化程度:</view>
<View class="value">{{form.eduInfoDto.cultureLevelName||'--'}}</View>
</view>
<view class="item">
<view class="label">性别:</view>
<View class="value">{{form.baseInfoDto.genderName||'--'}}</View>
</view>
<view class="item">
<view class="label">出生日期:</view>
<View class="value">{{form.baseInfoDto.birthday||'--'}}</View>
</view>
<view class="item">
<view class="label">民族:</view>
<View class="value">{{form.baseInfoDto.nationName||'--'}}</View>
</view>
<view class="item">
<view class="label">婚姻状况:</view>
<View class="value"> {{marriageName||'--'}}</View>
</view>
<view class="item">
<view class="label">籍贯:</view>
<View class="value">{{form.baseInfoDto.nativePlace||'--'}}</View>
</view>
</view>
</view>
<view class="card" id="reside">
<view class="title">居住信息</view>
<view class="info" wx:for="{{form.resideInfoDtos}}" wx:key="index" style="margin-top: 20rpx;">
<view class="item">
<text class="must">*</text>
<view class="label">所属网格:</view>
<View class="value">{{item.gridName|| '--' }}</View>
</view>
<view class="item">
<text class="must">*</text>
<view class="label">所属房屋:</view>
<View class="value">{{item.agencyName}}{{item.homeName }}</View>
</view>
<view class="item">
<view class="label">人房关系:</view>
<View class="value">{{
item.resiHouseRel != null
? item.resiHouseRel === 0
? "自住"
: item.resiHouseRel === 1
? "租住"
: "--"
: "--"
}}</View>
</view>
<view class="item">
<view class="label">人户状况:</view>
<view class="value" wx:if="{{item.householdSituation && dicts.householdSituationArr}}">
<block wx:for="{{dicts.householdSituationArr}}" wx:for-item="selectItem" wx:key="index">
<block wx:if="{{selectItem.value === item.householdSituation}}">
{{selectItem.label}}
</block>
</block>
</view>
<view wx:else>--</view>
</view>
<view class="item">
<view class="label">户籍所在地:</view>
<View class="value"> {{ item.placeOfDomicile?item.placeOfDomicile:'--'}}</View>
</view>
<view class="item">
<view class="label">与户主关系:</view>
<View class="value"> {{dicts.houseHolderRelArr[item.houseHolderRel].label || "--" }}</View>
</view>
</view>
</view>
<view class="card" id="ext">
<view class="title">拓展信息</view>
<view class="info">
<view class="item">
<view class="label">宗教信仰:</view>
<view class="value">{{
form.religionDto && form.religionDto.religion
? form.religionDto.religion
: "--"
}}</view>
</view>
<view class="item">
<view class="label">就业状态:</view>
<View class="value">{{dicts.careerStatusArr[form.workInfoDto.careerStatus].label || '--'}}</View>
</view>
<view class="item" wx:if="{{form.workInfoDto && form.workInfoDto.careerStatus >= 1 && form.workInfoDto.careerStatus <= 5}}">
<view class="label">工作单位:</view>
<View class="value">{{
form.workInfoDto
? form.workInfoDto.workUnit
? form.workInfoDto.workUnit
: "--"
: "--"
}}</View>
</view>
<view class="item" wx:if="{{ form.unemployedDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)}}">
<view class="label">原工作单位:</view>
<View class="value">{{
form.unemployedDto
? form.unemployedDto.originWorkUnit
? form.unemployedDto.originWorkUnit
: "--"
: "--"
}}</View>
</view>
<view class="item" wx:if="{{form.workInfoDto && form.workInfoDto.careerStatus >= 1 && form.workInfoDto.careerStatus <= 5}}">
<view class="label">职业:</view>
<View class="value">{{
form.workInfoDto
? form.workInfoDto.occupation
? form.workInfoDto.occupation
: "--"
: "--"
}}</View>
</view>
<view class="item" wx:if="{{ form.unemployedDto && (form.workInfoDto.careerStatus == 0 ||form.workInfoDto.careerStatus == 6)}}">
<view class="label">失业时间:</view>
<View class="value">{{
form.unemployedDto
? form.unemployedDto.unemploymentTime
? form.unemployedDto.unemploymentTime
: "--"
: "--"
}}</View>
</view>
<view class="item" wx:if="{{form.economyDto && form.workInfoDto.careerStatus >= 1 &&form.workInfoDto.careerStatus <= 5}}">
<view class="label">月收入:</view>
<View class="value">{{
form.economyDto
? form.economyDto.monthIncome
? form.economyDto.monthIncome
: "--"
: "--"
}}</View>
</view>
<view class="item" wx:if="{{ form.unemployedDto && (form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)}}">
<view class="label">失业证号:</view>
<View class="value">{{
form.unemployedDto
? form.unemployedDto.unemploymentNum
? form.unemployedDto.unemploymentNum
: "--"
: "--"
}}</View>
</view>
<view class="item" wx:if="{{ form.unemployedDto &&(form.workInfoDto.careerStatus == 0 ||form.workInfoDto.careerStatus == 6)}}">
<view class="label">失业原因:</view>
<View class="value">{{
form.unemployedDto
? form.unemployedDto.unemploymentReason
? form.unemployedDto.unemploymentReason
: "--"
: "--"
}}</View>
</view>
<view class="item" wx:if="{{ form.unemployedDto &&(form.workInfoDto.careerStatus == 0 ||form.workInfoDto.careerStatus == 6)}}">
<view class="label">失业原因:</view>
<View class="value">{{
form.unemployedDto
? form.unemployedDto.employmentNum
? form.unemployedDto.employmentNum
: "--"
: "--"
}}</View>
</view>
<view class="item" wx:if="{{ form.unemployedDto && (form.workInfoDto.careerStatus == 0 ||form.workInfoDto.careerStatus == 6)}}">
<view class="label">技术特长:</view>
<View class="value">{{
form.unemployedDto
? form.unemployedDto.specialSkill
? form.unemployedDto.specialSkill
: "--"
: "--"
}}</View>
</view>
<view class="item" wx:if="{{ form.unemployedDto &&(form.workInfoDto.careerStatus == 0 || form.workInfoDto.careerStatus == 6)}}">
<view class="label">是否领取失业金:</view>
<View class="value">{{
form.unemployedDto.unempCompensationFlag != null
? form.unemployedDto.unempCompensationFlag === 0
? "否"
: form.unemployedDto.unempCompensationFlag === 1
? "是"
: "--"
: "--"}}</View>
</view>
<view class="item" wx:if="{{ form.unemployedDto &&(form.workInfoDto.careerStatus == 0 ||form.workInfoDto.careerStatus == 6)}}">
<view class="label">是否就业困难对象:</view>
<View class="value">{{
form.unemployedDto.employmentHardFlag != null
? form.unemployedDto.employmentHardFlag === 0
? "否"
: form.unemployedDto.employmentHardFlag === 1
? "是"
: "--"
: "--"}}</View>
</view>
<view class="item" wx:if="{{ form.workInfoDto &&(form.workInfoDto.careerStatus == 0 ||form.workInfoDto.careerStatus == 6)}}">
<view class="label">劳动就业愿望:</view>
<View class="value">{{
form.workInfoDto
? form.workInfoDto.employmentWish
? form.workInfoDto.employmentWish
: "--"
: "--"}}</View>
</view>
<view class="item">
<view class="label">有无赡养人:</view>
<View class="value">{{form.familyInfoDto &&
form.familyInfoDto.elderlyFlag == 1
? "有"
: form.familyInfoDto &&
form.familyInfoDto.elderlyFlag == 0
? "无"
: "--"}}</View>
</view>
</view>
</view>
<view class="card" wx:for="{{expandList}}" wx:key="index" id="{{item.scrollId}}">
<view class="title">{{item.title}}</view>
<view class="info" wx:for="{{item.children}}" wx:for-index="indexC" wx:key="indexC" wx:for-item="itemC">
<view class="item">
<view class="label">{{itemC.label}}:</view>
<View class="value">{{itemC.value|| '--' }}</View>
</view>
</view>
</view>
<view class="card" id="graph">
<view class="title">关系图谱</view>
<resi-graph resiId="{{resiId}}" bind:clickGraphNode="clickGraphNode" wx:if="{{resiId}}"></resi-graph>
</view>
<view class="card" id="business">
<view class="title">
<text>业务记录</text>
</view>
<BusinessRecord wx:if="{{ywVisible}}" ywData="{{ywData}}" />
</view>
<view class="card" id="update">
<view class="title">
<text>更新记录</text>
</view>
<view style="margin-top: 32rpx; padidng:0 12rpx;">
<view class="logsBox" wx:for="{{logs}}" wx:key="{{item.changeTime}}">
<view class="item-dian {{index!=0?'item-dian1':''}}">
<view class="neidian"></view>
</view>
<view class="logs-top">
<view class="logs-top-title">{{item.typeName}}-{{item.operatorName}}</view>
<view class="logs-top-time">{{item.changeTime}}</view>
</view>
<view class="logs-content">
<view class="logs-content-left">
<view>
<text class="logs-content-title">变更信息:</text>
<text class="logs-content-txt">{{item.fieldName}}</text>
</view>
<view>
<text class="logs-content-title">变更后:</text>
<text class="logs-content-txt">{{item.beforeChangeName}}</text>
</view>
<view>
<text class="logs-content-title">备注:</text>
<text class="logs-content-txt">{{item.remark||'--'}}</text>
</view>
</view>
<view class="logs-content-right">
<view>
<text class="logs-content-title">变更前:</text>
<text class="logs-content-txt">{{item.afterChangeName}}</text>
</view>
<view>
<text class="logs-content-title">操作人:</text>
<text class="logs-content-txt">{{item.operatorName}}</text>
</view>
</view>
</view>
</view>
</view>
<no-data isShow="{{logs.length===0}}" wx:if="{{logs.length===0}}"></no-data>
</view>
<!-- 走访打卡 -->
<!-- <view class="card ">
<view class="flex-sb">
<view class="title">走访打卡</view>
<view class="view" bind:tap="gotopage" data-url="/subpages/searchResult/pages/checkLog/checkLog?resiId={{resiId}}">打卡记录</view>
</view>
<view class="punch {{animationClass}}" bind:tap="handlePunch">
<view class="{{animationClass}}" style="font-size: 36rpx;">打卡</view>
<view class="{{animationClass}}" style="font-family:PingFang-SC-Regular;font-size: 28rpx;opacity: 0.72;">{{currentTime}}</view>
</view>
<view class="address">当前位置:{{addressContent}}</view>
<view class="address" style="margin-top: 0;" wx:if="{{lastLog.clockInTime}}">最近打卡时间:{{lastLog.clockInTime}}</view>
</view> -->
<view class="bto_btn">
<view class="btn" bind:tap="toEvent">上报诉求</view>
<view class="btn" bind:tap="toWebView" wx:if="{{agencyLevel!=='street'}}">
满意度调查</view>
<!-- -->
<view class="btn blue" bind:tap="handelTopunchCard">走访打卡</view>
</view>
<van-dialog use-slot title="密码验证" show="{{ checkPassword }}" show-cancel-button bind:close="onClosePassword" bind:confirm="onConfirmassword" custom-class="dialog" confirm-button-color="#3974f6">
<view>
<input type="text" bind:input="bindPassword" bind:blur="bindPassword" value="{{password}}" placeholder="请输入密码" password />
</view>
</van-dialog>