123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448 |
- <wxs module="urls" src="../../utils/photoUrl.wxs"></wxs>
- <view class="container1">
- <view class="{{showBj ? 'writeOldmanName':'none'}} " hidden="{{!showBj}}">
- <view class=" OldmanName_box">
- <view class="oldmanname">请输入老人姓名</view>
- <!-- -->
- <input style="margin-left:50rpx;margin-top:30rpx;border:1px solid #279bff" placeholder-style="color: {{color}}" bindinput="addOldName" value="{{addOldname}}" placeholder="请填写老人姓名" />
- <view class="btn_box">
- <view class="sure" bindtap="sure">确定</view>
- <view class="esc" bindtap="qx">取消</view>
- </view>
- </view>
- </view>
- <view class="writeOldmanName" wx:if="{{showBj1}}">
- <view class="OldmanName_box">
- <view class="oldmanname">请输入老人姓名</view>
- <input style="margin-left:50rpx;margin-top:30rpx;border:1px solid #279bff" bindinput="addOldName1" value="{{addOldname1}}" placeholder="请填写老人姓名" />
- <view class="btn_box">
- <view class="sure" bindtap="sure1">确定</view>
- <view class="esc" bindtap="qx1">取消</view>
- </view>
- </view>
- </view>
- <view class="left">
- <view class="block1 {{currentIndex!=0?'clickblock1':''}}" bindtap="turn" data-index="0">
- <image src="{{currentIndex==0?src1:src2}}" class="img"></image>
- <text class="title {{currentIndex!=0?'title1':''}}">老年人信息</text>
- <image wx:if="{{oldInfo[activeIndex].name && (oldInfo[activeIndex].oldSex[0].checked||oldInfo[activeIndex].oldSex[1].checked) && oldInfo[activeIndex].nation && oldInfo[activeIndex].idNumber&&oldInfo[activeIndex].phone&&oldInfo[activeIndex].chooseAdressArr.length!=0&&oldInfo[activeIndex].chooseAdressArr1.length!=0&&(oldInfo[activeIndex].oldMarry[0].checked||oldInfo[activeIndex].oldMarry[1].checked||oldInfo[activeIndex].oldMarry[2].checked||oldInfo[activeIndex].oldMarry[3].checked) && (oldInfo[activeIndex].healthAyy[0].checked||oldInfo[activeIndex].healthAyy[1].checked||oldInfo[activeIndex].healthAyy[2].checked||oldInfo[activeIndex].healthAyy[3].checked)&&oldInfo[activeIndex].ability&&oldInfo[activeIndex].livingCondition && (oldInfo[activeIndex].moneyFromAyy[0].checked||oldInfo[activeIndex].moneyFromAyy[1].checked||oldInfo[activeIndex].moneyFromAyy[2].checked||oldInfo[activeIndex].moneyFromAyy[3].checked||oldInfo[activeIndex].moneyFromAyy[4].checked)&&oldInfo[activeIndex].income&&(oldInfo[activeIndex].familyHelpArr[0].checked||oldInfo[activeIndex].familyHelpArr[1].checked||oldInfo[activeIndex].familyHelpArr[2].checked||oldInfo[activeIndex].familyHelpArr[3].checked||oldInfo[activeIndex].familyHelpArr[4].checked||oldInfo[activeIndex].familyHelpArr[5].checked||oldInfo[activeIndex].familyHelpArr[6].checked)&&(oldInfo[activeIndex].loneArr[0].checked||oldInfo[activeIndex].loneArr[1].checked)&&(oldInfo[activeIndex].liveStatus[0].checked||oldInfo[activeIndex].liveStatus[1].checked||oldInfo[activeIndex].liveStatus[2].checked||oldInfo[activeIndex].liveStatus[3].checked||oldInfo[activeIndex].liveStatus[4].checked)&&(oldInfo[activeIndex].oftenMan[0].checked||oldInfo[activeIndex].oftenMan[1].checked||oldInfo[activeIndex].oftenMan[2].checked||oldInfo[activeIndex].oftenMan[3].checked||oldInfo[activeIndex].oftenMan[4].checked||oldInfo[activeIndex].oftenMan[5].checked)&&(oldInfo[activeIndex].loveRequire[0].checked||oldInfo[activeIndex].loveRequire[1].checked||oldInfo[activeIndex].loveRequire[2].checked||oldInfo[activeIndex].loveRequire[3].checked||oldInfo[activeIndex].loveRequire[4].checked||oldInfo[activeIndex].loveRequire[5].checked||oldInfo[activeIndex].loveRequire[6].checked||oldInfo[activeIndex].loveRequire[7].checked||oldInfo[activeIndex].loveRequire[8].checked)&&(oldInfo[activeIndex].oldType[0].checked||oldInfo[activeIndex].oldType[1].checked||oldInfo[activeIndex].oldType[2].checked||oldInfo[activeIndex].oldType[3].checked||oldInfo[activeIndex].oldType[4].checked||oldInfo[activeIndex].oldType[5].checked||oldInfo[activeIndex].oldType[6].checked)&&oldInfo[activeIndex].imgPath}}" src="../../images/mz/finish.png" class="isfinish_icon"></image>
- <image wx:else src="../../images/mz/unfinish.png" class="isfinish_icon"></image>
- </view>
- <view class="block2 {{currentIndex!=1?'':'clickblock2'}}" bindtap="turn" data-index="1">
- <image src="{{currentIndex==1?src3:src4}}" class="img"></image>
- <text class="{{currentIndex==1?'title':'title1'}}">子女信息</text>
- <image wx:if="{{childInfo[activeIndex].childrenNum=='0个'||(childInfo[activeIndex].childrenNum=='1个'&&childInfo[activeIndex].Info[0].name&&childInfo[activeIndex].Info[0].sex&&childInfo[activeIndex].Info[0].phone&&(childInfo[activeIndex].Info[0].isHasGoOut=='否'||childInfo[activeIndex].Info[0].isHasGoOut=='是' && childInfo[activeIndex].Info[0].outgoingCause&&childInfo[activeIndex].Info[0].outgoingplace&&childInfo[activeIndex].Info[0].outgoingTime)&&(childInfo[activeIndex].Info[0].isHasPartner=='否'||(childInfo[activeIndex].Info[0].isHasPartner=='是'&&childInfo[activeIndex].Info[0].name2&&childInfo[activeIndex].Info[0].phone2)) && childInfo[activeIndex].Info[0].visit || (childInfo[activeIndex].childrenNum=='2个'&& childInfo[activeIndex].Info[0].name&&childInfo[activeIndex].Info[0].sex&&childInfo[activeIndex].Info[0].phone&&(childInfo[activeIndex].Info[0].isHasGoOut=='否'||childInfo[activeIndex].Info[0].isHasGoOut=='是' && childInfo[activeIndex].Info[0].outgoingCause&&childInfo[activeIndex].Info[0].outgoingplace&&childInfo[activeIndex].Info[0].outgoingTime)&&(childInfo[activeIndex].Info[0].isHasPartner=='否'||(childInfo[activeIndex].Info[0].isHasPartner=='是'&&childInfo[activeIndex].Info[0].name2&&childInfo[activeIndex].Info[0].phone2))&&childInfo[activeIndex].Info[0].visit&&childInfo[activeIndex].Info[1].name&&childInfo[activeIndex].Info[1].sex&&childInfo[activeIndex].Info[1].phone&&(childInfo[activeIndex].Info[1].isHasGoOut=='否'||childInfo[activeIndex].Info[1].isHasGoOut=='是' && childInfo[activeIndex].Info[1].outgoingCause&&childInfo[activeIndex].Info[1].outgoingplace&&childInfo[activeIndex].Info[1].outgoingTime)&&(childInfo[activeIndex].Info[1].isHasPartner=='否'||(childInfo[activeIndex].Info[1].isHasPartner=='是'&&childInfo[activeIndex].Info[1].name2&&childInfo[activeIndex].Info[1].phone2))&&childInfo[activeIndex].Info[1].visit))||(childInfo[activeIndex].childrenNum=='3个'||childInfo[activeIndex].childrenNum=='3个以上')&&childInfo[activeIndex].Info[0].name&&childInfo[activeIndex].Info[0].sex&&childInfo[activeIndex].Info[0].phone&&(childInfo[activeIndex].Info[0].isHasGoOut=='否'||childInfo[activeIndex].Info[0].isHasGoOut=='是' && childInfo[activeIndex].Info[0].outgoingCause&&childInfo[activeIndex].Info[0].outgoingplace&&childInfo[activeIndex].Info[0].outgoingTime)&&(childInfo[activeIndex].Info[0].isHasPartner=='否'||(childInfo[activeIndex].Info[0].isHasPartner=='是'&&childInfo[activeIndex].Info[0].name2&&childInfo[activeIndex].Info[0].phone2))&&childInfo[activeIndex].Info[0].visit&&childInfo[activeIndex].Info[1].name&&childInfo[activeIndex].Info[1].sex&&childInfo[activeIndex].Info[1].phone&&(childInfo[activeIndex].Info[1].isHasGoOut=='否'||childInfo[activeIndex].Info[1].isHasGoOut=='是' && childInfo[activeIndex].Info[1].outgoingCause&&childInfo[activeIndex].Info[1].outgoingplace&&childInfo[activeIndex].Info[1].outgoingTime)&&(childInfo[activeIndex].Info[1].isHasPartner=='否'||(childInfo[activeIndex].Info[1].isHasPartner=='是'&&childInfo[activeIndex].Info[1].name2&&childInfo[activeIndex].Info[1].phone2))&&childInfo[activeIndex].Info[1].visit&&childInfo[activeIndex].Info[2].name&&childInfo[activeIndex].Info[2].sex&&childInfo[activeIndex].Info[2].phone&&(childInfo[activeIndex].Info[2].isHasGoOut=='否'||childInfo[activeIndex].Info[2].isHasGoOut=='是' && childInfo[activeIndex].Info[2].outgoingCause&&childInfo[activeIndex].Info[2].outgoingplace&&childInfo[activeIndex].Info[2].outgoingTime)&&(childInfo[activeIndex].Info[2].isHasPartner=='否'||(childInfo[activeIndex].Info[2].isHasPartner=='是'&&childInfo[activeIndex].Info[2].name2&&childInfo[activeIndex].Info[2].phone2))&&childInfo[activeIndex].Info[2].visit}}" src="../../images/mz/finish.png" class="isfinish_icon"></image>
- <image wx:else src="../../images/mz/unfinish.png" class="isfinish_icon"></image>
- </view>
- <view class="block2 {{currentIndex!=2?'':'clickblock2'}}" bindtap="turn" data-index="2">
- <image src="{{currentIndex==2?src5:src6}}" class="img img1"></image>
- <text class="title2 {{currentIndex==2?'title4':''}}">其他赡养</text>
- <text class="title3 {{currentIndex==2?'title4':''}}">义务人信息</text>
- <image wx:if="{{otherInfo[activeIndex].isHasOther == '否'||(otherInfo[activeIndex].isHasOther =='是' && otherInfo[activeIndex].Info.name &&otherInfo[activeIndex].Info.sex&&otherInfo[activeIndex].Info.phone && otherInfo[activeIndex].Info.relation&& (otherInfo[activeIndex].Info.isHasGoOut=='否'||(otherInfo[activeIndex].Info.isHasGoOut=='是'&&otherInfo[activeIndex].Info.outgoingCause&&otherInfo[activeIndex].Info.outgoingplace&&otherInfo[activeIndex].Info.outgoingTime)) && (otherInfo[activeIndex].Info.isHasPartner=='否'||(otherInfo[activeIndex].Info.isHasPartner=='是'&&otherInfo[activeIndex].Info.name2&&otherInfo[activeIndex].Info.phone2)) && otherInfo[activeIndex].Info.visit)}}" src="../../images/mz/finish.png" class="isfinish_icon"></image>
- <image wx:else src="../../images/mz/unfinish.png" class="isfinish_icon"></image>
- </view>
- <view class="block2 {{currentIndex!=3?'':'clickblock2'}}" bindtap="turn" data-index="3">
- <image src="{{currentIndex==3?src7:src8}}" class="img img1"></image>
- <text class="title2 {{currentIndex==3?'title4':''}}">巡访</text>
- <text class="title3 {{currentIndex==3?'title4':''}}">联系人信息</text>
- <image wx:if="{{(regularsInfos[activeIndex].visitMode[0].checked||regularsInfos[activeIndex].visitMode[1].checked||(regularsInfos[activeIndex].visitMode[2].checked&®ularsInfos[activeIndex].visitModeExt)) && (regularsInfos[activeIndex].visitCount[0].checked||regularsInfos[activeIndex].visitCount[1].checked||regularsInfos[activeIndex].visitCount[2].checked||regularsInfos[activeIndex].visitCount[3].checked||(regularsInfos[activeIndex].visitCount[4].checked&®ularsInfos[activeIndex].visitCountExt))}}" src="../../images/mz/finish.png" class="isfinish_icon"></image>
- <image wx:else src="../../images/mz/unfinish.png" class="isfinish_icon"></image>
- </view>
- </view>
- <!-- 右侧部分 -->
- <!-- 第一个表单 -->
- <view class="right">
- <view class="name_box">
- <view class="name_smallName">
- <view class="{{activeIndex==index?'unsinglename':'singlename'}}" wx:for="{{nameArr}}" wx:key="{{item}}">
- <view style="line-height:50rpx" data-item="{{item}}" data-index="{{index}}" bindtap="switchNameTab">{{item.name}}</view>
- <van-icon bindtap="deleteName" data-item="{{item}}" data-index="{{index}}" name="close" style="margin-left:25rpx;" />
- </view>
- </view>
- <view class="addname_box">
- <van-icon name="add-o" color="#2087f7" size="40rpx" bindtap="addFamilyOldman" />
- </view>
- </view>
- <view class="form_box">
- <!-- 第二个tab老人信息 -->
- <view wx:if="{{currentIndex==0}}">
- <view class="scan" bindtap="goOcr">
- <van-icon name="photograph" color="#2087f7" size="30rpx" style="margin-left:20rpx" />
- <!-- <image src="../../images/mz/upload.png" style="width:40rpx;height:40rpx;margin-top:5rpx;margin-left:20rpx"></image>-->
- <text>可拍身份证照片上传基本信息</text>
- </view>
- <view class="block"><text class="red">*</text>姓名<input class="{{oldInfo[activeIndex].status == '3' ? 'huiColor' : ''}}" disabled="{{oldInfo[activeIndex].status == '3'}}" bindblur="tab1Change1" placeholder="请填写老人姓名" value="{{oldInfo[activeIndex].name}}" /></view>
- <view wx:if="{{oldName}}" class="required">老人姓名不能为空哦!</view>
- <view class="block">
- <view class="name"><text class="red">*</text>性别</view>
- <radio-group bindchange="tab1Change2">
- <label wx:for="{{oldInfo[activeIndex].oldSex}}" wx:key="{{item.name}}">
- <radio disabled="{{oldInfo[activeIndex].status == '3'}}" value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </radio-group>
- </view>
- <view class="name"><text class="red">*</text>民族</view>
- <picker bindchange="tab1Change3" disabled="{{oldInfo[activeIndex].status == '3'}}" value="{{oldInfo[activeIndex].nation}}" range="{{mzArr}}">
- <view class="picker {{oldInfo[activeIndex].status == '3' ? 'huiColor' : ''}} ">
- {{oldInfo[activeIndex].nation}}
- </view>
- </picker>
- <view class="block"><text class="red">*</text>身份证号<input class="{{oldInfo[activeIndex].status == '3' ? 'huiColor' : ''}}" bindblur="tab1Change4" disabled="{{oldInfo[activeIndex].status == '3'}}" placeholder="请填写老人身份证号" value="{{oldInfo[activeIndex].idNumber}}" /></view>
- <view wx:if="{{oldCard[activeIndex].name}}" class="required">老人身份证号不能为空哦!</view>
- <view wx:if="{{oldCard1[activeIndex].name}}" class="required">老人身份证号格式不对哦!</view>
- <view wx:if="{{oldCard2[activeIndex].name}}" class="required">不可采集低于60岁老人的信息哦</view>
- <view class="block"><text class="red">*</text>联系电话<input bindblur="tab1Change5" placeholder="请填写联系电话" value="{{oldInfo[activeIndex].phone}}" /></view>
- <view wx:if="{{oldPhone}}" class="required">老人联系电话不能为空哦!</view>
- <view wx:if="{{oldPhone1}}" class="required">老人联系电话格式不对哦!</view>
- <view class="block"><text class="red">*</text>户籍地址
- <picker style="z-index:1" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}" range-key="{{'CIVILREGIONALISMNAME'}}">
- <view class="picker1">
- <view wx:if="{{oldInfo[activeIndex].chooseAdressArr.length==0}}">点我选择户籍地址</view>
- <textarea style="width:450rpx;height:auto" disabled="true" wx:else>{{oldInfo[activeIndex].chooseAdressArr}}</textarea>
- </view>
- </picker>
- <input bindblur="tab1Change6" placeholder="请填写补充户籍地址" value="{{oldInfo[activeIndex].nativePlaceExt}}" />
- </view>
- <checkbox-group bindchange="tab1change6_1">
- <label wx:for="{{oldInfo[activeIndex].isSameWithAddress}}" wx:key="{{item.name}}">
- <checkbox value="{{item.name}}" color="#fff" checked="{{item.checked}}" />{{item.name}}
- </label>
- </checkbox-group>
- <view class="block"><text class="red">*</text>现居地址
- <picker disabled="{{nowAdress}}" mode="multiSelector" bindchange="bindMultiPickerChange1" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex1}}" range="{{multiArray}}" range-key="{{'CIVILREGIONALISMNAME'}}">
- <view class="picker1">
- <view wx:if="{{oldInfo[activeIndex].chooseAdressArr1.length==0}}">点我选择现居地址</view>
- <textarea style="width:450rpx;height:auto" disabled="true" wx:else>{{oldInfo[activeIndex].chooseAdressArr1}}</textarea>
- </view>
- </picker>
- <input disabled="{{nowAdress}}" bindblur="tab1Change7" placeholder="请填写补充现居地址" name="name" value="{{oldInfo[activeIndex].addressExt}}" />
- </view>
- <view class="block">
- <view class="name"><text class="red">*</text>婚姻及配偶情况</view>
- <radio-group bindchange="tab1Change8">
- <label wx:for="{{oldInfo[activeIndex].oldMarry}}" wx:key="{{item.name}}">
- <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </radio-group>
- </view>
- <view wx:if="{{oldInfo[activeIndex].oldMarry[1].checked}}" class="block"><text class="red">*</text>配偶姓名<input bindblur="tab1Change8_1" placeholder="请填写配偶姓名" value="{{oldInfo[activeIndex].partnerName}}" /></view>
- <view wx:if="{{oldisMarryName}}" class="required">配偶姓名不能为空哦!</view>
- <view wx:if="{{oldInfo[activeIndex].oldMarry[1].checked}}" class="block"><text class="red">*</text>配偶身份证号<input bindblur="tab1Change8_2" placeholder="请填写配偶联系电话" value="{{oldInfo[activeIndex].partnerIdNumber}}" /></view>
- <view wx:if="{{oldisMarryPhone}}" class="required">配偶身份证号不能为空哦!</view>
- <view wx:if="{{oldisMarryPhoneGs}}" class="required">配偶身份证号格式不对哦!</view>
- <view class="block">
- <view class="name"><text class="red">*</text>健康状况</view>
- <checkbox-group bindchange="tab1Change9">
- <label wx:for="{{oldInfo[activeIndex].healthAyy}}" wx:key="{{item.name}}">
- <checkbox value="{{item.name}}" color="#fff" disabled="{{item.disabled}}" checked="{{item.checked}}" />{{item.name}}
- </label>
- </checkbox-group>
- </view>
- <view wx:if="{{oldHealth1}}" class="required">老人健康状况不能为空哦!</view>
- <view class="block" wx:if="{{oldInfo[activeIndex].healthAyy[1].checked}}">
- <view class="name"><text class="red">*</text>残疾类别</view>
- <checkbox-group bindchange="tab1Change10">
- <label wx:for="{{oldInfo[activeIndex].disabilityAyy}}" wx:key="{{item.name}}">
- <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </checkbox-group>
- </view>
- <view wx:if="{{oldDisableType}}" class="required">老人残疾类别不能为空哦!</view>
- <view wx:if="{{oldInfo[activeIndex].healthAyy[1].checked}}">
- <view class="name"><text class="red">*</text>残疾人等级</view>
- <picker bindchange="tab1Change11" value="{{oldInfo[activeIndex].disabilityLevel}}" range="{{disableLeval}}">
- <view class="picker">
- {{oldInfo[activeIndex].disabilityLevel}}
- </view>
- </picker>
- </view>
- <view class="block" wx:if="{{oldInfo[activeIndex].healthAyy[2].checked}}">
- <view class="name"><text class="red">*</text>重特大疾病类别</view>
- <checkbox-group bindchange="tab1Change10_1">
- <label wx:for="{{oldInfo[activeIndex].sickType}}" wx:key="{{item.name}}">
- <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </checkbox-group>
- </view>
- <view wx:if="{{issickTypeNull}}" class="required">重特大疾病类别类别不能为空哦!</view>
- <view class="name"><text class="red">*</text>老年人能力情况</view>
- <picker bindchange="tab1Change12" value="{{oldInfo[activeIndex].ability}}" range="{{ableStatus}}">
- <view class="picker">
- {{oldInfo[activeIndex].ability}}
- </view>
- </picker>
- <view class="name"><text class="red">*</text>生活经济情况</view>
- <picker bindchange="tab1Change13" value="{{oldInfo[activeIndex].livingCondition}}" range="{{moneyStatus}}">
- <view class="picker">
- {{oldInfo[activeIndex].livingCondition}}
- </view>
- </picker>
- <view class="block">
- <view class="name"><text class="red">*</text>收入来源</view>
- <checkbox-group bindchange="tab1Change14">
- <label wx:for="{{oldInfo[activeIndex].moneyFromAyy}}" wx:key="{{item.name}}">
- <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </checkbox-group>
- </view>
- <view wx:if="{{moneyFromOther}}" class="required">收入来源不能为空哦!</view>
- <input wx:if="{{oldInfo[activeIndex].moneyFromAyy[4].checked}}" placeholder="请填写其它收入来源" value="{{oldInfo[activeIndex].sourceOfIncomeExt}}" bindblur="tab1Change14_1" name="name" class="otherinput" />
- <view wx:if="{{moneyOtherQtnull}}" class="required">其它收入来源不能为空哦!</view>
- <view class="name"><text class="red">*</text>本人上年度可支配收入</view>
- <picker bindchange="tab1Change15" value="{{oldInfo[activeIndex].income}}" range="{{payMoney}}">
- <view class="picker">
- {{oldInfo[activeIndex].income}}
- </view>
- </picker>
- <view class="block">
- <view class="name"><text class="red">*</text>家庭救助帮扶情况</view>
- <checkbox-group bindchange="tab1Change16">
- <label wx:for="{{oldInfo[activeIndex].familyHelpArr}}" wx:key="{{item.name}}">
- <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </checkbox-group>
- </view>
- <view wx:if="{{familyHelp}}" class="required">家庭救助帮扶情况不能为空哦!</view>
- <input wx:if="{{oldInfo[activeIndex].familyHelpArr[6].checked}}" value="{{oldInfo[activeIndex].rescueStateExt}}" placeholder="请填写其它救助情况" bindblur="tab1Change16_1" class="otherinput" />
- <view wx:if="{{otherhelpQtnull}}" class="required">其它救助情况不能为空哦!</view>
- <view class="block">
- <view class="name"><text class="red">*</text>是否为失独家庭</view>
- <radio-group bindchange="tab1Change17">
- <label wx:for="{{oldInfo[activeIndex].loneArr}}" wx:key="{{item.name}}">
- <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </radio-group>
- </view>
- <view class="block">
- <view class="name"><text class="red">*</text>陪伴居住情况</view>
- <checkbox-group bindchange="tab1Change18">
- <label wx:for="{{oldInfo[activeIndex].liveStatus}}" wx:key="{{item.name}}">
- <checkbox value="{{item.name}}" disabled="{{item.disabled}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </checkbox-group>
- </view>
- <view wx:if="{{isliveNull}}" class="required">陪伴居住情况不能为空哦!</view>
- <input wx:if="{{oldInfo[activeIndex].liveStatus[4].checked}}" value="{{oldInfo[activeIndex].accompanyExt}}" placeholder="请填写其他陪伴居住情况" bindblur="tab1Change18_1" class="otherinput" />
- <view wx:if="{{isliveQtNull}}" class="required">其他陪伴居住情况不能为空哦!</view>
- <view class="block">
- <view class="name"><text class="red">*</text>日常生活照料人</view>
- <checkbox-group bindchange="tab1Change19">
- <label wx:for="{{oldInfo[activeIndex].oftenMan}}" wx:key="{{item.name}}">
- <checkbox value="{{item.name}}" disabled="{{item.disabled}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </checkbox-group>
- </view>
- <view wx:if="{{isoftenManNull}}" class="required">日常生活照料人不能为空哦!</view>
- <input wx:if="{{oldInfo[activeIndex].oftenMan[5].checked}}" value="{{oldInfo[activeIndex].lookAfterExt}}" bindblur="tab1Change20" placeholder="请填写人员关系" class="otherinput" />
- <view wx:if="{{isoftenReaNull}}" class="required">人员关系不能为空哦!</view>
- <view wx:if="{{oldInfo[activeIndex].oftenMan[1].checked||oldInfo[activeIndex].oftenMan[2].checked||oldInfo[activeIndex].oftenMan[3].checked||oldInfo[activeIndex].oftenMan[4].checked||oldInfo[activeIndex].oftenMan[5].checked}}">
- <view class="block"><text class="red">*</text>主要照料人姓名<input value="{{oldInfo[activeIndex].mainLookName}}" bindblur="tab1Change21" placeholder="请填写主要照料人姓名" /></view>
- <view class="required" wx:if="{{lookAfterName}}">主要照料人姓名不能为空哦!</view>
- <view class="block">
- <view class="name"><text class="red">*</text>主要照料人性别</view>
- <radio-group bindchange="tab1Change22">
- <label wx:for="{{oldInfo[activeIndex].mainLookSex}}" wx:key="{{item.name}}">
- <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </radio-group>
- </view>
- <view class="block"><text class="red">*</text>主要照料人电话<input value="{{oldInfo[activeIndex].mainLookPhone}}" bindblur="tab1Change23" placeholder="请填写主要照料人电话" name="name" /></view>
- <view class="required" wx:if="{{islookPhoneNull}}">主要照料人电话不能为空哦!</view>
- </view>
- <!-- <view wx:if="{{moneyFromOther}}" class="required">收入来源不能为空哦!</view>
- <input wx:if="{{oldInfo[activeIndex].moneyFromAyy[4].checked}}" placeholder="请填写其它收入来源" value="{{oldInfo[activeIndex].sourceOfIncomeExt}}" bindblur="tab1Change14_1" name="name" class="otherinput" /> -->
- <view class="block">
- <view class="name"><text class="red">*</text>关爱服务需求</view>
- <checkbox-group bindchange="tab1Change24">
- <label wx:for="{{oldInfo[activeIndex].loveRequire}}" wx:key="{{item.name}}">
- <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </checkbox-group>
- </view>
- <view wx:if="{{isloveNull}}" class="required">关爱服务需求不能为空哦!</view>
- <input wx:if="{{oldInfo[activeIndex].loveRequire[8].checked}}" placeholder="请填写其它关爱服务需求" value="{{oldInfo[activeIndex].demandExt}}" bindblur="tab1Change24_1" name="name" class="otherinput" />
- <view wx:if="{{isloveQtNull}}" class="required">其它关爱服务需求不能为空哦!</view>
- <view class="block">
- <view class="name"><text class="red">*</text>老年人类别</view>
- <checkbox-group bindchange="tab1Change26">
- <label wx:for="{{oldInfo[activeIndex].oldType}}" wx:key="{{item.name}}">
- <checkbox value="{{item.name}}" disabled="{{item.disable}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </checkbox-group>
- </view>
- <view wx:if="{{isoldtypeNull}}" class="required">老年人类别不能为空哦!</view>
- <view class="scan" wx:if="{{oldInfo[activeIndex].imgPath == ''}}" style="margin-top:20rpx" bindtap="goPhoto">
- <image src="../../images/mz/upload.png" style="width:40rpx;height:40rpx;margin-top:5rpx;margin-left:30rpx"></image><text >请上传老人含面部照片</text>
- </view>
- <view wx:if="{{oldInfo[activeIndex].imgPath}}" class="boxssss">
- <image class="image" style="width:200rpx;height:200rpx" src="{{urls.url(oldInfo[activeIndex].imgPath)}}" mode='scaleToFill' bindtap="previewImg"></image>
- <van-icon size='23' name="clear" class="close" data-index="{{index}}" bindtap="closeImage" data-activeIndex='{{activeIndex}}' />
- </view>
- </view>
- <!-- 第二个tab子女信息 -->
- <view wx:if="{{currentIndex==1}}">
- <view class="name"><text class="red">*</text>子女个数</view>
- <picker bindchange="tab2Change1" value="{{childInfo[activeIndex].childrenNum}}" range="{{childNumArr}}">
- <view class="picker">
- {{childInfo[activeIndex].childrenNum}}
- </view>
- </picker>
- <!-- <view style="margin-top:30rpx;font-weight:900">第1个子女信息</view> -->
- <view wx:for="{{childInfo[activeIndex].Info}}" wx:for-index="idx">
- <van-divider contentPosition="center">第{{idx+1}}个子女信息</van-divider>
- <view class="block"><text class="red">*</text>子女姓名<input data-index="{{idx}}" bindblur="tab2Change2" placeholder="子女姓名" value="{{childInfo[activeIndex].Info[idx].name}}" /></view>
- <!-- <view class="required">子女姓名不能为空哦!</view> -->
- <view class="block">
- <view class="name"><text class="red">*</text>子女性别</view>
- <picker bindchange="tab2Change3" data-index="{{idx}}" value="{{childInfo[activeIndex].Info[idx].sex}}" range="{{childSexArr}}">
- <view class="picker">
- {{childInfo[activeIndex].Info[idx].sex}}
- </view>
- </picker>
- </view>
- <view class="block"><text class="red">*</text>子女联系电话<input data-index="{{idx}}" bindblur="tab2Change4" placeholder="请填写常用联系电话" value="{{childInfo[activeIndex].Info[idx].phone}}" /></view>
- <view wx:if="{{ischildPhone[idx]}}" class="required">子女联系电话不能为空哦!</view>
- <view class="name"><text class="red">*</text>是否外出</view>
- <picker bindchange="tab2Change5" data-index="{{idx}}" value="{{childInfo[activeIndex].Info[idx].isHasGoOut}}" range="{{childIsout}}">
- <view class="picker">
- {{childInfo[activeIndex].Info[idx].isHasGoOut}}
- </view>
- </picker>
- <view wx:if="{{childInfo[activeIndex].Info[idx].isHasGoOut=='是'}}">
- <view class="block"><text class="red">*</text>外出原因<input data-index="{{idx}}" bindblur="tab2Change6" placeholder="请填写外出原因" value="{{childInfo[activeIndex].Info[idx].outgoingCause}}" /></view>
- <view wx:if="{{ischildOutReason[idx]}}" class="required">外出原因不能为空哦!</view>
- <view class="block"><text class="red">*</text>外出地点
- <picker mode="region" data-index="{{idx}}" bindchange="tab2Change7" value="{{childInfo[activeIndex].Info[idx].outgoingplace}}">
- <view class="picker">
- {{childInfo[activeIndex].Info[idx].outgoingplace}}
- </view>
- </picker>
- </view>
- <view class="block"><text class="red">*</text>最后一次离家时间
- <picker mode="date" data-index="{{idx}}" bindchange="tab2Change8" value="{{childInfo[activeIndex].Info[idx].outgoingTime}}" fields="month">
- <view class="picker">
- {{childInfo[activeIndex].Info[idx].outgoingTime}}
- </view>
- </picker>
- </view>
- </view>
- <view class="name"><text class="red">*</text>是否有配偶</view>
- <picker bindchange="tab2Change9" data-index="{{idx}}" value="{{childInfo[activeIndex].Info[idx].isHasPartner}}" range="{{childIsMArry}}">
- <view class="picker">
- {{childInfo[activeIndex].Info[idx].isHasPartner}}
- </view>
- </picker>
- <view wx:if="{{childInfo[activeIndex].Info[idx].isHasPartner=='是'}}" class="block"><text class="red">*</text>配偶姓名<input data-index="{{idx}}" bindblur="tab2Change10" placeholder="请填写配偶姓名" value="{{childInfo[activeIndex].Info[idx].name2}}" /></view>
- <view wx:if="{{ischildMarryName[idx]}}" class="required">配偶姓名不能为空哦!</view>
- <view wx:if="{{childInfo[activeIndex].Info[idx].isHasPartner=='是'}}" class="block"><text class="red">*</text>配偶联系电话<input data-index="{{idx}}" bindblur="tab2Change11" placeholder="请填写配偶联系电话" value="{{childInfo[activeIndex].Info[idx].phone2}}" /></view>
- <view wx:if="{{ischildMarryPhone[idx]}}" class="required">配偶联系电话不能为空哦!</view>
- <view class="name"><text class="red">*</text>平均一年探望次数</view>
- <picker bindchange="tab2Change12" data-index="{{idx}}" value="{{childInfo[activeIndex].Info[idx].visit}}" range="{{childTfTimes}}">
- <view class="picker">
- {{childInfo[activeIndex].Info[idx].visit}}
- </view>
- </picker>
- </view>
- </view>
- <!-- 第三个tab其他赡养义务人信息 -->
- <view wx:if="{{currentIndex==2}}">
- <view class="name"><text class="red">*</text>是否有其他赡养人</view>
- <picker bindchange="tab3Change1" value="{{otherInfo[activeIndex].isHasOther}}" range="{{othersyrArr}}">
- <view class="picker">
- {{otherInfo[activeIndex].isHasOther}}
- </view>
- </picker>
- <view wx:if="{{otherInfo[activeIndex].isHasOther=='是'}}">
- <view class="block"><text class="red">*</text>其他赡养人姓名<input bindblur="tab3Change2" placeholder="请填写其他赡养人姓名" value="{{otherInfo[activeIndex].Info.name}}" /></view>
- <view wx:if="{{isothersyrName}}" class="required">其他赡养人姓名不能为空哦!</view>
- <view class="block">
- <view class="name"><text class="red">*</text>其他赡养人性别</view>
- <radio-group bindchange="tab3Change3">
- <label wx:for="{{ otherInfo[activeIndex].Info.othersyrSexArr}}" wx:key="{{item}}">
- <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </radio-group>
- </view>
- <view class="block"><text class="red">*</text>其他赡养人电话<input bindblur="tab3Change4" value="{{otherInfo[activeIndex].Info.phone}}" placeholder="请填写常用联系电话" name="name" /></view>
- <view wx:if="{{isothersyrPhone}}" class="required">其他赡养人电话不能为空哦!</view>
- <view class="name"><text class="red">*</text>与被赡养人关系</view>
- <picker bindchange="tab3Change5" value="{{otherInfo[activeIndex].Info.relation}}" range="{{othersyrRelation}}">
- <view class="picker">
- {{otherInfo[activeIndex].Info.relation}}
- </view>
- </picker>
- <view class="block" wx:if="{{otherInfo[activeIndex].Info.relation == '其他'}}"><text class="red">*</text>与被赡养人其他关系<input bindblur="tab3Change6" placeholder="请填写与被赡养人其他关系" value="{{otherInfo[activeIndex].Info.relationExt}}" name="name" /></view>
- <view wx:if="{{isothersyRelation}}" class="required">与被赡养人其他关系不能为空哦!</view>
- <view class="name"><text class="red">*</text>是否外出</view>
- <picker bindchange="tab3Change7" value="{{otherInfo[activeIndex].Info.isHasGoOut}}" range="{{othersyrIsout}}">
- <view class="picker">
- {{otherInfo[activeIndex].Info.isHasGoOut}}
- </view>
- </picker>
- <view wx:if="{{otherInfo[activeIndex].Info.isHasGoOut=='是'}}">
- <view class="block"><text class="red">*</text>外出原因<input bindblur="tab3Change8" placeholder="请填写外出原因" value="{{otherInfo[activeIndex].Info.outgoingCause}}" /></view>
- <view wx:if="{{isOutReason}}" class="required">外出原因不能为空哦!</view>
- <view class="block"><text class="red">*</text>外出地点
- <picker mode="region" bindchange="tab3Change9" value="{{otherInfo[activeIndex].Info.outgoingplace}}">
- <view class="picker">
- {{otherInfo[activeIndex].Info.outgoingplace}}
- </view>
- </picker>
- </view>
- <view class="block"><text class="red">*</text>最后一次离家时间
- <picker mode="date" bindchange="tab3Change10" value="{{otherInfo[activeIndex].Info.outgoingTime}}" fields="month">
- <view class="picker">
- {{otherInfo[activeIndex].Info.outgoingTime}}
- </view>
- </picker>
- </view>
- </view>
- <view class="name"><text class="red">*</text>是否有配偶</view>
- <picker bindchange="tab3Change11" value="{{otherInfo[activeIndex].Info.isHasPartner}}" range="{{othersyrIsMarry}}">
- <view class="picker">
- {{otherInfo[activeIndex].Info.isHasPartner}}
- </view>
- </picker>
- <view wx:if="{{otherInfo[activeIndex].Info.isHasPartner=='是'}}">
- <view class="block"><text class="red">*</text>配偶姓名<input bindblur="tab3Change12" placeholder="请填写配偶姓名" value="{{otherInfo[activeIndex].Info.name2}}" /></view>
- <view wx:if="{{isMarryName}}" class="required">配偶姓名不能为空哦!</view>
- <view class="block"><text class="red">*</text>配偶联系电话<input bindblur="tab3Change13" placeholder="请填写配偶联系电话" value="{{otherInfo[activeIndex].Info.phone2}}" /></view>
- <view wx:if="{{isMarryPhone}}" class="required">配偶联系电话不能为空哦!</view>
- </view>
- <view class="name"><text class="red">*</text>平均一年探望次数</view>
- <picker bindchange="tab3Change14" value="{{otherInfo[activeIndex].Info.visit}}" range="{{othersyrTfTimes}}">
- <view class="picker">
- {{otherInfo[activeIndex].Info.visit}}
- </view>
- </picker>
- </view>
- </view>
- <!-- 第四个tab寻访联系人信息 -->
- <view wx:if="{{currentIndex==3}}">
- <view class="block">
- <view class="name"><text class="red">*</text>巡访方式</view>
- <checkbox-group bindchange="tab4Change1">
- <label wx:for="{{regularsInfos[activeIndex].visitMode}}" wx:key="{{item.name}}">
- <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </checkbox-group>
- </view>
- <view wx:if="{{visitWaysFromOther}}" class="required">巡访方式不能为空哦!</view>
- <input wx:if="{{regularsInfos[activeIndex].visitMode[2].checked}}" placeholder="请填写其它内容" value="{{regularsInfos[activeIndex].visitModeExt}}" bindblur="tab4Change2" class="otherinput" />
- <view wx:if="{{isVisittimesnull}}" class="required">其它巡访方式不能为空哦!</view>
- <view class="block">
- <view class="name"><text class="red">*</text>巡访频次</view>
- <radio-group bindchange="tab4Change3">
- <label wx:for="{{regularsInfos[activeIndex].visitCount}}" wx:key="{{item.name}}">
- <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
- </label>
- </radio-group>
- </view>
- <view wx:if="{{isnull2}}" class="required">巡访频次不能为空哦!</view>
- <input wx:if="{{regularsInfos[activeIndex].visitCount[4].checked}}" value="{{regularsInfos[activeIndex].visitCountExt}}" placeholder="请填写其它内容" bindblur="tab4change4" name="name" class="otherinput" />
- <view wx:if="{{isVisittimesnull}}" class="required">其它巡访频次不能为空哦!</view>
- </view>
- </view>
- </view>
- </view>
|