collectInfo.wxml 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  1. <wxs module="urls" src="../../utils/photoUrl.wxs"></wxs>
  2. <view class="container1">
  3. <view class="{{showBj ? 'writeOldmanName':'none'}} " hidden="{{!showBj}}">
  4. <view class="OldmanName_box">
  5. <view class="oldmanname">请输入老人姓名</view>
  6. <form bindsubmit='formSubmit'>
  7. <input focus='{{focus}}' style="margin-left:50rpx;margin-top:30rpx;border:1px solid #279bff;" placeholder-style="color: {{color}}" name='oldName' value="{{addOldname}}" />
  8. <view class="btn_box">
  9. <button id="sure" form-type="submit">确定</button>
  10. <view class="esc" bindtap="qx">取消</view>
  11. </view>
  12. </form>
  13. </view>
  14. </view>
  15. <view class="writeOldmanName" wx:if="{{showBj1}}">
  16. <view class="OldmanName_box">
  17. <view class="oldmanname">请输入老人姓名</view>
  18. <form bindsubmit='formSubmit1'>
  19. <input style="margin-left:50rpx;margin-top:30rpx;border:1px solid #279bff" name='oldName1' value="{{addOldname1}}" />
  20. <view class="btn_box">
  21. <button id="sure" form-type="submit">确定</button>
  22. <view class="esc" bindtap="qx1">取消</view>
  23. </view>
  24. </form>
  25. </view>
  26. </view>
  27. <view class="left">
  28. <view class="block1 {{currentIndex!=0?'clickblock1':''}}" bindtap="turn" data-index="0">
  29. <image src="{{currentIndex==0?src1:src2}}" class="img"></image>
  30. <text class="title {{currentIndex!=0?'title1':''}}">老年人信息</text>
  31. <image wx:if="{{oldInfo[activeIndex].oldSexValue && oldInfo[activeIndex].nation &&oldInfo[activeIndex].idNumber &&!oldCardNull && !oldCardWrong &&!oldCard60 && oldInfo[activeIndex].phone && oldInfo[activeIndex].chooseAdressAr.length!=0 && oldInfo[activeIndex].chooseAdressArr1.length!=0&&(oldInfo[activeIndex].oldMarryValue=='未婚'||oldInfo[activeIndex].oldMarryValue=='离异'||oldInfo[activeIndex].oldMarryValue=='丧偶'||(oldInfo[activeIndex].oldMarryValue=='已婚'&&oldInfo[activeIndex].partnerName&&oldInfo[activeIndex].partnerIdNumber)) &&(oldInfo[activeIndex].healthAyy[0].checked || (oldInfo[activeIndex].healthAyy[1].checked && oldInfo[activeIndex].disabilityAyyValue.length!= 0 && oldInfo[activeIndex].disabilityLevel && !oldInfo[activeIndex].healthAyy[2].checked)||(oldInfo[activeIndex].healthAyy[2].checked && oldInfo[activeIndex].sickTypeValue.length!=0 && !oldInfo[activeIndex].healthAyy[1].checked)||(oldInfo[activeIndex].healthAyy[1].checked && oldInfo[activeIndex].disabilityAyyValue.length!=0 && oldInfo[activeIndex].disabilityLevel && oldInfo[activeIndex].healthAyy[2].checked && oldInfo[activeIndex].sickTypeValue.length!=0)||(oldInfo[activeIndex].healthAyy[3].checked&&!oldInfo[activeIndex].healthAyy[1].checked&&!oldInfo[activeIndex].healthAyy[2].checked)) &&oldInfo[activeIndex].ability && oldInfo[activeIndex].livingCondition&&((oldInfo[activeIndex].moneyFromAyy[0].checked&&!oldInfo[activeIndex].moneyFromAyy[4].checked)||(oldInfo[activeIndex].moneyFromAyy[1].checked&&!oldInfo[activeIndex].moneyFromAyy[4].checked)||(oldInfo[activeIndex].moneyFromAyy[2].checked&&!oldInfo[activeIndex].moneyFromAyy[4].checked)||(oldInfo[activeIndex].moneyFromAyy[3].checked&&!oldInfo[activeIndex].moneyFromAyy[4].checked)||(oldInfo[activeIndex].moneyFromAyy[4].checked && oldInfo[activeIndex].sourceOfIncomeExt))&&oldInfo[activeIndex].income&&((oldInfo[activeIndex].familyHelpArr[0].checked&&!oldInfo[activeIndex].familyHelpArr[6].checked)||(oldInfo[activeIndex].familyHelpArr[1].checked&&!oldInfo[activeIndex].familyHelpArr[6].checked)||(oldInfo[activeIndex].familyHelpArr[2].checked&&!oldInfo[activeIndex].familyHelpArr[6].checked)||(oldInfo[activeIndex].familyHelpArr[3].checked&&!oldInfo[activeIndex].familyHelpArr[6].checked)||(oldInfo[activeIndex].familyHelpArr[4].checked&&!oldInfo[activeIndex].familyHelpArr[6].checked)||(oldInfo[activeIndex].familyHelpArr[5].checked&&!oldInfo[activeIndex].familyHelpArr[6].checked)||(oldInfo[activeIndex].familyHelpArr[6].checked&&oldInfo[activeIndex].rescueStateExt))&&oldInfo[activeIndex].loneArrValue&&((oldInfo[activeIndex].liveStatus[0].checked&&!oldInfo[activeIndex].liveStatus[4].checked)||(oldInfo[activeIndex].liveStatus[1].checked&&!oldInfo[activeIndex].liveStatus[4].checked)||(oldInfo[activeIndex].liveStatus[2].checked&&!oldInfo[activeIndex].liveStatus[4].checked)||(oldInfo[activeIndex].liveStatus[3].checked&&!oldInfo[activeIndex].liveStatus[4].checked)||(oldInfo[activeIndex].liveStatus[4].checked&&oldInfo[activeIndex].accompanyExt))&&((oldInfo[activeIndex].oftenMan[0].checked&&!oldInfo[activeIndex].liveStatus[5].checked)||(oldInfo[activeIndex].oftenMan[1].checked&&!oldInfo[activeIndex].oftenMan[5].checked&&oldInfo[activeIndex].mainLookName&&oldInfo[activeIndex].mainLookSexValue&&oldInfo[activeIndex].mainLookPhone)||(oldInfo[activeIndex].oftenMan[2].checked&&!oldInfo[activeIndex].oftenMan[5].checked&&oldInfo[activeIndex].mainLookName&&oldInfo[activeIndex].mainLookSexValue&&oldInfo[activeIndex].mainLookPhone)||(oldInfo[activeIndex].oftenMan[3].checked&&!oldInfo[activeIndex].oftenMan[5].checked&&oldInfo[activeIndex].mainLookName&&oldInfo[activeIndex].mainLookSexValue&&oldInfo[activeIndex].mainLookPhone)||(oldInfo[activeIndex].oftenMan[4].checked&&!oldInfo[activeIndex].oftenMan[5].checked&&oldInfo[activeIndex].mainLookName&&oldInfo[activeIndex].mainLookSexValue&&oldInfo[activeIndex].mainLookPhone)||(oldInfo[activeIndex].oftenMan[5].checked&&oldInfo[activeIndex].lookAfterExt&&oldInfo[activeIndex].mainLookName&&oldInfo[activeIndex].mainLookSexValue&&oldInfo[activeIndex].mainLookPhone))&&((oldInfo[activeIndex].loveRequire[0].checked&&!oldInfo[activeIndex].loveRequire[8].checked)||(oldInfo[activeIndex].loveRequire[1].checked&&!oldInfo[activeIndex].loveRequire[8].checked)||(oldInfo[activeIndex].loveRequire[2].checked&&!oldInfo[activeIndex].loveRequire[8].checked)||(oldInfo[activeIndex].loveRequire[3].checked&&!oldInfo[activeIndex].loveRequire[8].checked)||(oldInfo[activeIndex].loveRequire[4].checked&&!oldInfo[activeIndex].loveRequire[8].checked)||(oldInfo[activeIndex].loveRequire[5].checked&&!oldInfo[activeIndex].loveRequire[8].checked)||(oldInfo[activeIndex].loveRequire[6].checked&&!oldInfo[activeIndex].loveRequire[8].checked)||(oldInfo[activeIndex].loveRequire[7].checked&&!oldInfo[activeIndex].loveRequire[8].checked)||(oldInfo[activeIndex].loveRequire[8].checked&&oldInfo[activeIndex].demandExt))&&oldInfo[activeIndex].oldTypeValue.length!=0&&oldInfo[activeIndex].imgPath&&oldInfo[activeIndex].photoAndLocation}}" src="../../images/mz/finish.png" class="isfinish_icon"></image>
  32. <image wx:else src="../../images/mz/unfinish.png" class="isfinish_icon"></image>
  33. </view>
  34. <view class="block2 {{currentIndex!=1?'':'clickblock2'}}" bindtap="turn" data-index="1">
  35. <image src="{{currentIndex==1?src3:src4}}" class="img"></image>
  36. <text class="{{currentIndex==1?'title':'title1'}}">子女信息</text>
  37. <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>
  38. <image wx:else src="../../images/mz/unfinish.png" class="isfinish_icon"></image>
  39. </view>
  40. <view class="block2 {{currentIndex!=2?'':'clickblock2'}}" bindtap="turn" data-index="2">
  41. <image src="{{currentIndex==2?src5:src6}}" class="img img1"></image>
  42. <text class="title2 {{currentIndex==2?'title4':''}}">其他赡养</text>
  43. <text class="title3 {{currentIndex==2?'title4':''}}">义务人信息</text>
  44. <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>
  45. <image wx:else src="../../images/mz/unfinish.png" class="isfinish_icon"></image>
  46. </view>
  47. <view class="block2 {{currentIndex!=3?'':'clickblock2'}}" bindtap="turn" data-index="3">
  48. <image src="{{currentIndex==3?src7:src8}}" class="img img1"></image>
  49. <text class="title2 {{currentIndex==3?'title4':''}}">巡访</text>
  50. <text class="title3 {{currentIndex==3?'title4':''}}">联系人信息</text>
  51. <image wx:if="{{((regularsInfos[activeIndex].visitMode[0].checked&&!regularsInfos[activeIndex].visitMode[2].checked)||(regularsInfos[activeIndex].visitMode[1].checked&&!regularsInfos[activeIndex].visitMode[2].checked)||(regularsInfos[activeIndex].visitMode[2].checked&&regularsInfos[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&&regularsInfos[activeIndex].visitCountExt))}}" src="../../images/mz/finish.png" class="isfinish_icon"></image>
  52. <image wx:else src="../../images/mz/unfinish.png" class="isfinish_icon"></image>
  53. </view>
  54. </view>
  55. <view class="right">
  56. <view class="name_box">
  57. <view class="name_smallName">
  58. <view class="{{activeIndex==index?'unsinglename':'singlename'}}" wx:for="{{nameArr}}" wx:key="name">
  59. <view style="line-height:50rpx" data-item="{{item}}" data-index="{{index}}" bindtap="switchNameTab">{{item.name}}</view>
  60. <van-icon bindtap="deleteName" data-item="{{item}}" data-index="{{index}}" name="close" style="margin-left:25rpx;" wx:if='{{item.status!=3}}' />
  61. </view>
  62. </view>
  63. <view class="addname_box">
  64. <van-icon name="add-o" color="#2087f7" size="40rpx" bindtap="addFamilyOldman" />
  65. </view>
  66. </view>
  67. <scroll-view scroll-y='true' scroll-into-view="{{detail}}" class="form_box">
  68. <!-- 第一个tab老人信息 -->
  69. <view wx:if="{{currentIndex==0}}">
  70. <view class="scans" wx:if="{{oldInfo[activeIndex].status == '4'}}" bindtap="goShibai">
  71. <text>审核失败,点击查看驳回理由</text>
  72. </view>
  73. <van-popup show="{{ shiBaiShow }}" position="top" custom-style="line-height:60rpx;display:flex;flex-wrap:wrap" bind:close="shiBaiClose">
  74. <view class="liyou">驳回理由:</view>
  75. <view wx:if="{{oldInfo[activeIndex].remark}}" style="margin-left: 30rpx;padding-bottom:50rpx">{{oldInfo[activeIndex].remark}}</view>
  76. <view wx:else style="margin-left: 30rpx;padding-bottom:50rpx">暂无驳回理由</view>
  77. </van-popup>
  78. <view class="scan" bindtap="goOcr">
  79. <van-icon name="photograph" color="#2087f7" size="30rpx" style="margin-left:20rpx" />
  80. <text>可拍身份证照片上传基本信息</text>
  81. </view>
  82. <!-- <view bindtap="findNull">小铃铛</view> -->
  83. <image src="../../images/dingdong.png" bindtap="findNull" style="width:40rpx;height:49rpx;position:fixed;top:130rpx;right:10rpx"></image>
  84. <!-- disabled="true" -->
  85. <view class="block"><text class="red">*</text>姓名<input disabled="true" class="huiColor" value="{{oldInfo[activeIndex].name}}" /></view>
  86. <view class="block" id="sex">
  87. <view class="name"><text class="red">*</text>性别</view>
  88. <radio-group bindchange="tab1Change2">
  89. <label wx:for="{{oldInfo[activeIndex].oldSex}}" wx:key="name">
  90. <radio disabled="{{oldInfo[activeIndex].status == '3'}}" value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  91. </label>
  92. </radio-group>
  93. </view>
  94. <view wx:if="{{oldSexNull}}" class="required">老人性别不能为空哦!</view>
  95. <view class="name" id="nation"><text class="red">*</text>民族</view>
  96. <picker bindchange="tab1Change3" disabled="{{oldInfo[activeIndex].status == '3'}}" value="{{oldInfo[activeIndex].nation}}" range="{{mzArr}}">
  97. <view class="picker {{oldInfo[activeIndex].status == '3' ? 'huiColor' : ''}} ">
  98. <view wx:if="{{oldInfo[activeIndex].nation}}">{{oldInfo[activeIndex].nation}}</view>
  99. <view wx:else class="place_text">请选择</view>
  100. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  101. </view>
  102. </picker>
  103. <view wx:if="{{oldNationNull}}" class="required">老人民族不能为空哦!</view>
  104. <view class="block" id="idnumber"><text class="red">*</text>身份证号<input placeholder="请填写" placeholder-style='font-size:25rpx;color: #bbbbbb;' class="{{oldInfo[activeIndex].status == '3' ? 'huiColor' : ''}}" bindblur="tab1Change4" disabled="{{oldInfo[activeIndex].status == '3'}}" value="{{oldInfo[activeIndex].idNumber}}" /></view>
  105. <view wx:if="{{oldCardNull}}" class="required">老人身份证号不能为空哦!</view>
  106. <view wx:if="{{oldCardWrong}}" class="required">老人身份证号格式不对哦!</view>
  107. <view wx:if="{{oldCard60}}" class="required">不可采集低于60岁老人的信息哦</view>
  108. <view wx:if="{{oldCard100}}" class="required1">提示:该老人年龄大于100岁</view>
  109. <view wx:if="{{oldCard150}}" class="required">信息有误,请再次核实身份证信息</view>
  110. <view wx:if="{{oldCardhas}}" class="required">该老人信息已存在,请核实</view>
  111. <view class="block" id="oldphone"><text class="red">*</text>联系电话<input placeholder="请填写" placeholder-style='font-size:25rpx;color: #bbbbbb;' bindblur="tab1Change5" value="{{oldInfo[activeIndex].phone}}" /></view>
  112. <view wx:if="{{oldPhoneNull}}" class="required">老人联系电话不能为空哦!</view>
  113. <view wx:if="{{oldPhoneNull1}}" class="required">老人联系电话格式不对哦!</view>
  114. <view class="block" id="place"><text class="red">*</text>户籍地址
  115. <view class="picker1">
  116. <view wx:if="{{oldInfo[activeIndex].chooseAdressArr.length==0}}" class="place_text" bindtap="showAdressShow">点我选择户籍地址</view>
  117. <view style="width:450rpx;height:100rpx" wx:else bindtap="showAdressShow">{{oldInfo[activeIndex].chooseAdressArr}}</view>
  118. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  119. </view>
  120. <view class="picker_container" wx:if='{{showAdressBox}}'>
  121. <view style="height:50px;width:300px">
  122. <view class="pick_sure" bindtap="pickSure">确定</view>
  123. <view class="pick_esc" bindtap="pickEsc">取消</view>
  124. </view>
  125. <view class="page-body">
  126. <picker-view indicator-style="height: 50px;" style="width: 100%; height: 300px;" value="{{value}}" bindchange="bindChange" bindpickstart="bindpickstart" bindpickend="bindpickend">
  127. <picker-view-column>
  128. <view wx:for="{{provinceArr}}" wx:key="CIVILREGIONALISMNAME" style="line-height: 50px; text-align: center;">{{item.CIVILREGIONALISMNAME}}</view>
  129. </picker-view-column>
  130. <picker-view-column>
  131. <view wx:for="{{cityArr}}" wx:key="CIVILREGIONALISMNAME" style="line-height: 50px; text-align: center;">{{item.CIVILREGIONALISMNAME}}</view>
  132. </picker-view-column>
  133. <picker-view-column>
  134. <view wx:for="{{areaArr}}" wx:key="CIVILREGIONALISMNAME" style="line-height: 50px; text-align: center;">{{item.CIVILREGIONALISMNAME}}</view>
  135. </picker-view-column>
  136. <picker-view-column>
  137. <view wx:for="{{townArr}}" wx:key="CIVILREGIONALISMNAME" style="line-height: 50px; text-align: center;">{{item.CIVILREGIONALISMNAME}}</view>
  138. </picker-view-column>
  139. <picker-view-column>
  140. <view wx:for="{{villageArr}}" wx:key="CIVILREGIONALISMNAME" style="line-height: 50px; text-align: center;">{{item.CIVILREGIONALISMNAME}}</view>
  141. </picker-view-column>
  142. </picker-view>
  143. </view>
  144. </view>
  145. <view wx:if="{{oldplaceNull}}" class="required">老人户籍地址不可以为空哦</view>
  146. <input bindblur="tab1Change6" placeholder="请填写补充户籍地址" placeholder-style='font-size:25rpx;color: #bbbbbb;' value="{{oldInfo[activeIndex].nativePlaceExt}}" />
  147. </view>
  148.  <checkbox-group bindchange="tab1change6_1">
  149. <label wx:for="{{oldInfo[activeIndex].isSameWithAddress}}" wx:key="name">
  150. <checkbox value="{{item.name}}" color="#fff" checked="{{item.checked}}" />{{item.name}}
  151. </label>
  152. </checkbox-group>
  153. <view class="block" id='nowplace'><text class="red">*</text>现居地址
  154. <view class="picker1 {{oldInfo[activeIndex].isSameWithAddress[0].checked ? 'huiColor' : ''}}">
  155. <view wx:if="{{oldInfo[activeIndex].chooseAdressArr1.length==0}}" class="place_text" bindtap="showAdressShow1">点我选择现居地址</view>
  156. <view style="width:450rpx;height:100rpx" wx:else bindtap="showAdressShow1">{{oldInfo[activeIndex].chooseAdressArr1}}</view>
  157. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  158. </view>
  159. <view class="picker_container" wx:if='{{showAdressBox1}}'>
  160. <view style="height:50px">
  161. <view class="pick_sure" bindtap="pickSure1">确定</view>
  162. <view class="pick_esc" bindtap="pickEsc1">取消</view>
  163. </view>
  164. <view class="page-body">
  165. <picker-view indicator-style="height: 50px;" style="width: 100%; height: 300px;" value="{{value}}" bindchange="bindChange" bindpickstart="bindpickstart" bindpickend="bindpickend" catchtouchmove='true'>
  166. <picker-view-column>
  167. <view wx:for="{{provinceArr}}" wx:key="CIVILREGIONALISMNAME" style="line-height: 50px; text-align: center;">{{item.CIVILREGIONALISMNAME}}</view>
  168. </picker-view-column>
  169. <picker-view-column>
  170. <view wx:for="{{cityArr}}" wx:key="CIVILREGIONALISMNAME" style="line-height: 50px; text-align: center;">{{item.CIVILREGIONALISMNAME}}</view>
  171. </picker-view-column>
  172. <picker-view-column>
  173. <view wx:for="{{areaArr}}" wx:key="CIVILREGIONALISMNAME" style="line-height: 50px; text-align: center;">{{item.CIVILREGIONALISMNAME}}</view>
  174. </picker-view-column>
  175. <picker-view-column>
  176. <view wx:for="{{townArr}}" wx:key="CIVILREGIONALISMNAME" style="line-height: 50px; text-align: center;">{{item.CIVILREGIONALISMNAME}}</view>
  177. </picker-view-column>
  178. <picker-view-column>
  179. <view wx:for="{{villageArr}}" wx:key="CIVILREGIONALISMNAME" style="line-height: 50px; text-align: center;">{{item.CIVILREGIONALISMNAME}}</view>
  180. </picker-view-column>
  181. </picker-view>
  182. </view>
  183. </view>
  184. <view wx:if="{{oldnowplaceNull}}" class="required">老人现居地址不可以为空哦</view>
  185. <input class="{{oldInfo[activeIndex].isSameWithAddress[0].checked ? 'huiColor' : ''}} " disabled="{{nowAdress}}" bindblur="tab1Change7" placeholder="请填写补充现居地址" placeholder-style='font-size:25rpx;color: #bbbbbb;' value="{{oldInfo[activeIndex].addressExt}}" />
  186. </view>
  187. <view class="block" id="marry">
  188. <view class="name"><text class="red">*</text>婚姻及配偶情况</view>
  189. <radio-group bindchange="tab1Change8">
  190. <label wx:for="{{oldInfo[activeIndex].oldMarry}}" wx:key="name">
  191. <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  192. </label>
  193. </radio-group>
  194. </view>
  195. <view wx:if="{{oldmarryNull}}" class="required">老人婚姻及配偶情况不可以为空哦</view>
  196. <view wx:if="{{oldInfo[activeIndex].oldMarry[1].checked}}">
  197. <view class="block" id="poname"><text class="red">*</text>配偶姓名<input bindblur="tab1Change8_1" value="{{oldInfo[activeIndex].partnerName}}" /></view>
  198. <view wx:if="{{oldisMarryName}}" class="required">配偶姓名不能为空哦!</view>
  199. <view class="block" id="pocard"><text class="red">*</text>配偶身份证号<input bindblur="tab1Change8_2" value="{{oldInfo[activeIndex].partnerIdNumber}}" /></view>
  200. <view wx:if="{{oldisMarryPhone}}" class="required">配偶身份证号不能为空哦!</view>
  201. <view wx:if="{{oldisMarryPhoneGs}}" class="required">配偶身份证号格式不对哦!</view>
  202. </view>
  203. <view class="block" id="health">
  204. <view class="name"><text class="red">*</text>健康状况</view>
  205. <checkbox-group bindchange="tab1Change9">
  206. <label wx:for="{{oldInfo[activeIndex].healthAyy}}" wx:key="name">
  207. <checkbox value="{{item.name}}" color="#fff" disabled="{{item.disabled}}" checked="{{item.checked}}" />{{item.name}}
  208. </label>
  209. </checkbox-group>
  210. </view>
  211. <view wx:if="{{oldHealth}}" class="required">老人健康状况不能为空哦!</view>
  212. <view wx:if="{{oldInfo[activeIndex].healthAyy[1].checked}}">
  213. <view class="block" id="olacjType">
  214. <view class="name"><text class="red">*</text>残疾类别</view>
  215. <checkbox-group bindchange="tab1Change10">
  216. <label wx:for="{{oldInfo[activeIndex].disabilityAyy}}" wx:key="name">
  217. <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  218. </label>
  219. </checkbox-group>
  220. </view>
  221. <view wx:if="{{oldDisableType}}" class="required">老人残疾类别不能为空哦!</view>
  222. <view class="name" id="olacjLeval"><text class="red">*</text>残疾人等级</view>
  223. <picker bindchange="tab1Change11" value="{{oldInfo[activeIndex].disabilityLevel}}" range="{{disableLeval}}">
  224. <view class="picker">
  225. {{oldInfo[activeIndex].disabilityLevel}}
  226. </view>
  227. </picker>
  228. <view wx:if="{{oldDisableLeval}}" class="required">老人残疾等级不能为空哦!</view>
  229. </view>
  230. <view class="block" id='sickType' wx:if="{{oldInfo[activeIndex].healthAyy[2].checked}}">
  231. <view class="name"><text class="red">*</text>重特大疾病类别</view>
  232. <checkbox-group bindchange="tab1Change10_1">
  233. <label wx:for="{{oldInfo[activeIndex].sickType}}" wx:key="name">
  234. <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  235. </label>
  236. </checkbox-group>
  237. <view wx:if="{{issickTypeNull}}" class="required">重特大疾病类别类别不能为空哦!</view>
  238. </view>
  239. <view class="name" id="oldnl"><text class="red">*</text>老年人能力情况</view>
  240. <picker bindchange="tab1Change12" value="{{oldInfo[activeIndex].ability}}" range="{{ableStatus}}">
  241. <view class="picker">
  242. <view wx:if="{{oldInfo[activeIndex].ability}}"> {{oldInfo[activeIndex].ability}}</view>
  243. <view wx:else class="place_text">请选择</view>
  244. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  245. </view>
  246. </picker>
  247. <view wx:if="{{oldnlNull}}" class="required">老年人能力情况不能为空哦!</view>
  248. <view class="name" id="oldjj"><text class="red">*</text>生活经济情况</view>
  249. <picker bindchange="tab1Change13" value="{{oldInfo[activeIndex].livingCondition}}" range="{{moneyStatus}}">
  250. <view class="picker">
  251. <!-- {{oldInfo[activeIndex].livingCondition}} -->
  252. <view wx:if="{{oldInfo[activeIndex].livingCondition}}"> {{oldInfo[activeIndex].livingCondition}}</view>
  253. <view wx:else class="place_text">请选择</view>
  254. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  255. </view>
  256. </picker>
  257. <view wx:if="{{oldjjNull}}" class="required">老年人经济情况不能为空哦!</view>
  258. <view class="block" id="oldsu">
  259. <view class="name"><text class="red">*</text>收入来源</view>
  260. <checkbox-group bindchange="tab1Change14">
  261. <label wx:for="{{oldInfo[activeIndex].moneyFromAyy}}" wx:key="name">
  262. <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  263. </label>
  264. </checkbox-group>
  265. </view>
  266. <view wx:if="{{moneyFromOther}}" class="required">收入来源不能为空哦!</view>
  267. <input id='qtsr' wx:if="{{oldInfo[activeIndex].moneyFromAyy[4].checked}}" placeholder="请填写其它收入来源" value="{{oldInfo[activeIndex].sourceOfIncomeExt}}" bindblur="tab1Change14_1" class="otherinput" />
  268. <view wx:if="{{oldInfo[activeIndex].moneyFromAyy[4].checked&&moneyOtherQtnull}}" class="required">其它收入来源不能为空哦!</view>
  269. <view class="name" id="zpsr"><text class="red">*</text>本人上年度可支配收入</view>
  270. <picker bindchange="tab1Change15" value="{{oldInfo[activeIndex].income}}" range="{{payMoney}}">
  271. <view class="picker">
  272. <!-- {{oldInfo[activeIndex].income}} -->
  273. <view wx:if="{{oldInfo[activeIndex].income}}"> {{oldInfo[activeIndex].income}}</view>
  274. <view wx:else class="place_text">请选择</view>
  275. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  276. </view>
  277. </picker>
  278. <view wx:if="{{oldsndsrNull}}" class="required">本人上年度可支配收入不能为空哦!</view>
  279. <view class="block" id="jthelp">
  280. <view class="name"><text class="red">*</text>家庭救助帮扶情况</view>
  281. <checkbox-group bindchange="tab1Change16">
  282. <label wx:for="{{oldInfo[activeIndex].familyHelpArr}}" wx:key="name">
  283. <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  284. </label>
  285. </checkbox-group>
  286. </view>
  287. <view wx:if="{{familyHelp}}" class="required">家庭救助帮扶情况不能为空哦!</view>
  288. <view wx:if="{{oldInfo[activeIndex].familyHelpArr[6].checked}}">
  289. <input id="qtjthelp" value="{{oldInfo[activeIndex].rescueStateExt}}" placeholder="请填写其他救助情况" bindblur="tab1Change16_1" class="otherinput" />
  290. <view wx:if="{{oldInfo[activeIndex].familyHelpArr[6].checked&&otherhelpQtnull}}" class="required">其他救助情况不能为空哦!</view>
  291. </view>
  292. <view class="block" id="lone">
  293. <view class="name"><text class="red">*</text>是否为失独家庭</view>
  294. <radio-group bindchange="tab1Change17">
  295. <label wx:for="{{oldInfo[activeIndex].loneArr}}" wx:key="name">
  296. <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  297. </label>
  298. </radio-group>
  299. </view>
  300. <view wx:if="{{loneNull}}" class="required">是否为失独家庭不能为空哦!</view>
  301. <view class="block" id="liveStatus">
  302. <view class="name"><text class="red">*</text>陪伴居住情况</view>
  303. <checkbox-group bindchange="tab1Change18">
  304. <label wx:for="{{oldInfo[activeIndex].liveStatus}}" wx:key="name">
  305. <checkbox value="{{item.name}}" disabled="{{item.disabled}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  306. </label>
  307. </checkbox-group>
  308. </view>
  309. <view wx:if="{{isliveNull}}" class="required">陪伴居住情况不能为空哦!</view>
  310. <input id="qtliveStatus" wx:if="{{oldInfo[activeIndex].liveStatus[4].checked}}" value="{{oldInfo[activeIndex].accompanyExt}}" placeholder="请填写其他陪伴居住情况" bindblur="tab1Change18_1" class="otherinput" />
  311. <view wx:if="{{oldInfo[activeIndex].liveStatus[4].checked&&isliveQtNull}}" class="required">其他陪伴居住情况不能为空哦!</view>
  312. <view class="block" id="rczlr">
  313. <view class="name"><text class="red">*</text>日常生活照料人</view>
  314. <checkbox-group bindchange="tab1Change19">
  315. <label wx:for="{{oldInfo[activeIndex].oftenMan}}" wx:key="name">
  316. <checkbox value="{{item.name}}" disabled="{{item.disabled}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  317. </label>
  318. </checkbox-group>
  319. </view>
  320. <view wx:if="{{isoftenManNull}}" class="required">日常生活照料人不能为空哦!</view>
  321. <view wx:if="{{oldInfo[activeIndex].oftenMan[5].checked}}">
  322. <input id="qtzlrgx" value="{{oldInfo[activeIndex].lookAfterExt}}" bindblur="tab1Change20" placeholder="请填写其他人员关系" class="otherinput" />
  323. <view wx:if="{{oldInfo[activeIndex].oftenMan[5].checked&&isoftenReaNull}}" class="required">其他人员关系不能为空哦!</view>
  324. </view>
  325. <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}}">
  326. <view class="block" id="mainzlrname"><text class="red">*</text>主要照料人姓名<input value="{{oldInfo[activeIndex].mainLookName}}" bindblur="tab1Change21" /></view>
  327. <view class="required" wx:if="{{lookAfterName}}">主要照料人姓名不能为空哦!</view>
  328. <view class="block" id="mainzlrsex">
  329. <view class="name"><text class="red">*</text>主要照料人性别</view>
  330. <radio-group bindchange="tab1Change22">
  331. <label wx:for="{{oldInfo[activeIndex].mainLookSex}}" wx:key="name">
  332. <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  333. </label>
  334. </radio-group>
  335. </view>
  336. <view class="required" wx:if="{{lookAfterSex}}">主要照料人性别不能为空哦!</view>
  337. <view class="block" id="mainzlrphone"><text class="red">*</text>主要照料人电话<input value="{{oldInfo[activeIndex].mainLookPhone}}" bindblur="tab1Change23" /></view>
  338. <view class="required" wx:if="{{islookPhoneNull}}">主要照料人电话不能为空哦!</view>
  339. </view>
  340. <view class="block" id="gafw">
  341. <view class="name"><text class="red">*</text>关爱服务需求</view>
  342. <checkbox-group bindchange="tab1Change24">
  343. <label wx:for="{{oldInfo[activeIndex].loveRequire}}" wx:key="name">
  344. <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  345. </label>
  346. </checkbox-group>
  347. </view>
  348. <view wx:if="{{isloveNull}}" class="required">关爱服务需求不能为空哦!</view>
  349. <input id="qtgafw" wx:if="{{oldInfo[activeIndex].loveRequire[8].checked}}" placeholder="请填写其它关爱服务需求" value="{{oldInfo[activeIndex].demandExt}}" bindblur="tab1Change25" class="otherinput" />
  350. <view wx:if="{{oldInfo[activeIndex].loveRequire[8].checked&&isloveQtNull}}" class="required">其它关爱服务需求不能为空哦!</view>
  351. <view class="block" id="lnrlb">
  352. <view class="name"><text class="red">*</text>老年人类别</view>
  353. <checkbox-group bindchange="tab1Change26">
  354. <label wx:for="{{oldInfo[activeIndex].oldType}}" wx:key="name">
  355. <checkbox value="{{item.name}}" disabled="{{item.disable}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  356. </label>
  357. </checkbox-group>
  358. </view>
  359. <view wx:if="{{isoldtypeNull}}" class="required">老年人类别不能为空哦!</view>
  360. <view id="oldPhone" class="name"><text class="red">*</text>老人清晰面部照片</view>
  361. <view class="scan" wx:if="{{oldInfo[activeIndex].imgPath == ''}}" style="margin-top:20rpx" bindtap="getSelfLocation">
  362. <image src="../../images/mz/upload.png" style="width:40rpx;height:40rpx;margin-top:5rpx;margin-left:30rpx"></image><text >请上传老人含面部照片</text>
  363. </view>
  364. <view wx:if="{{oldInfo[activeIndex].imgPath}}" class="boxssss">
  365. <image class="image" style="width:200rpx;height:200rpx" src="{{urls.url(oldInfo[activeIndex].imgPath)}}" mode='scaleToFill' bindtap="previewImg"></image>
  366. <van-icon size='23' name="clear" class="close" data-index="{{index}}" bindtap="closeImage" data-activeIndex='{{activeIndex}}' />
  367. </view>
  368. <view wx:if="{{!oldInfo[activeIndex].imgPath&&isImgNull}}" class="required">老人照片不能为空哦!</view>
  369. <view wx:if="{{LocationNull}}" class="required">获取老人地理位置失败</view>
  370. <!-- <view class="name" style="display:flex"><text class="red">*</text>所处地理位置
  371. </view>
  372. <view class="{{oldInfo[activeIndex].photoAndLocation?'picker1':'picker11'}}">
  373. {{oldInfo[activeIndex].photoAndLocation}}
  374. </view> -->
  375. </view>
  376. <!-- 第二个tab子女信息 -->
  377. <view wx:if="{{currentIndex==1}}">
  378. <image src="../../images/dingdong.png" bindtap="findNull2" style="width:40rpx;height:49rpx;position:fixed;top:130rpx;right:10rpx"></image>
  379. <view class="name"><text class="red">*</text>子女个数</view>
  380. <picker bindchange="tab2Change1" value="{{childInfo[activeIndex].childrenNum}}" range="{{childNumArr}}">
  381. <view class="picker">
  382. <view wx:if="{{childInfo[activeIndex].childrenNum}}">{{childInfo[activeIndex].childrenNum}}</view>
  383. <view wx:else class="place_text">请选择</view>
  384. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  385. </view>
  386. </picker>
  387. <view wx:if="{{oldChildrenNull}}" class="required">子女个数不能为空哦!</view>
  388. <view wx:for="{{childInfo[activeIndex].Info}}" wx:for-index="idx" wx:key="Info">
  389. <van-divider contentPosition="center">第{{idx+1}}个子女信息</van-divider>
  390. <view class="block" id="name{{idx}}"><text class="red">*</text>子女姓名<input placeholder="请填写" placeholder-style='font-size:25rpx;color: #bbbbbb;' data-index="{{idx}}" bindblur="tab2Change2" value="{{childInfo[activeIndex].Info[idx].name}}" /></view>
  391. <view wx:if="{{childNameNull[idx]}}" class="required">子女姓名不能为空哦!</view>
  392. <view class="block" id="childrenSex{{idx}}">
  393. <view class="name"><text class="red">*</text>子女性别</view>
  394. <picker bindchange="tab2Change3" data-index="{{idx}}" value="{{childInfo[activeIndex].Info[idx].sex}}" range="{{childSexArr}}">
  395. <view class="picker">
  396. <view wx:if="{{childInfo[activeIndex].Info[idx].sex}}"> {{childInfo[activeIndex].Info[idx].sex}}</view>
  397. <view wx:else class="place_text">请选择</view>
  398. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  399. </view>
  400. </picker>
  401. </view>
  402. <view wx:if="{{childSexNull[idx]}}" class="required">子女性别不能为空哦!</view>
  403. <view class="block" id="childrenPhone{{idx}}"><text class="red">*</text>子女联系电话<input placeholder="请填写" placeholder-style='font-size:25rpx;color: #bbbbbb;' data-index="{{idx}}" bindblur="tab2Change4" value="{{childInfo[activeIndex].Info[idx].phone}}" /></view>
  404. <view wx:if="{{childPhoneNull[idx]}}" class="required">子女联系电话不能为空哦!</view>
  405. <view class="name" id="childrenOut{{idx}}"><text class="red">*</text>是否外出</view>
  406. <picker bindchange="tab2Change5" data-index="{{idx}}" value="{{childInfo[activeIndex].Info[idx].isHasGoOut}}" range="{{childIsout}}">
  407. <view class="picker">
  408. <view wx:if="{{childInfo[activeIndex].Info[idx].isHasGoOut}}"> {{childInfo[activeIndex].Info[idx].isHasGoOut}}</view>
  409. <view wx:else class="place_text">请选择</view>
  410. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  411. </view>
  412. </picker>
  413. <view wx:if="{{childOutNull[idx]}}" class="required">是否外出不能为空哦!</view>
  414. <view wx:if="{{childInfo[activeIndex].Info[idx].isHasGoOut=='是'}}">
  415. <view class="block" id="childrenReason{{idx}}"><text class="red">*</text>外出原因<input placeholder="请填写" placeholder-style='font-size:25rpx;color: #bbbbbb;' data-index="{{idx}}" bindblur="tab2Change6" value="{{childInfo[activeIndex].Info[idx].outgoingCause}}" /></view>
  416. <view wx:if="{{ischildOutReason[idx]}}" class="required">外出原因不能为空哦!</view>
  417. <view class="block" id="childrenPlace{{idx}}"><text class="red">*</text>外出地点
  418. <picker mode="region" data-index="{{idx}}" bindchange="tab2Change7" value="{{childInfo[activeIndex].Info[idx].outgoingplace}}">
  419. <view class="picker">
  420. <view wx:if="{{childInfo[activeIndex].Info[idx].outgoingplace}}"> {{childInfo[activeIndex].Info[idx].outgoingplace}}</view>
  421. <view wx:else class="place_text">请选择</view>
  422. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  423. </view>
  424. </picker>
  425. </view>
  426. <view wx:if="{{ischildOutPlace[idx]}}" class="required">外出地点不能为空哦!</view>
  427. <view class="block" id="childrenoutTime{{idx}}"><text class="red">*</text>最后一次离家时间
  428. <picker mode="date" data-index="{{idx}}" bindchange="tab2Change8" value="{{childInfo[activeIndex].Info[idx].outgoingTime}}" fields="month">
  429. <view class="picker">
  430. <view wx:if="{{childInfo[activeIndex].Info[idx].outgoingTime}}"> {{childInfo[activeIndex].Info[idx].outgoingTime}}</view>
  431. <view wx:else class="place_text">请选择</view>
  432. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  433. </view>
  434. </picker>
  435. </view>
  436. <view wx:if="{{ischildOutTime[idx]}}" class="required">最后一次离家时间不能为空哦!</view>
  437. </view>
  438. <view class="name" id="childrenhasPar{{idx}}"><text class="red">*</text>是否有配偶</view>
  439. <picker bindchange="tab2Change9" data-index="{{idx}}" value="{{childInfo[activeIndex].Info[idx].isHasPartner}}" range="{{childIsMArry}}">
  440. <view class="picker">
  441. <view wx:if="{{childInfo[activeIndex].Info[idx].isHasPartner}}"> {{childInfo[activeIndex].Info[idx].isHasPartner}}</view>
  442. <view wx:else class="place_text">请选择</view>
  443. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  444. </view>
  445. </picker>
  446. <view wx:if="{{ischildMarry[idx]}}" class="required">是否有配偶不能为空哦!</view>
  447. <view wx:if="{{childInfo[activeIndex].Info[idx].isHasPartner=='是'}}" class="block" id="childrenParname{{idx}}"><text class="red">*</text>配偶姓名<input placeholder="请填写" placeholder-style='font-size:25rpx;color: #bbbbbb;' data-index="{{idx}}" bindblur="tab2Change10" value="{{childInfo[activeIndex].Info[idx].name2}}" /></view>
  448. <view wx:if="{{ischildMarryName[idx]}}" class="required">配偶姓名不能为空哦!</view>
  449. <view wx:if="{{childInfo[activeIndex].Info[idx].isHasPartner=='是'}}" class="block" id="childrenParphone{{idx}}"><text class="red">*</text>配偶联系电话<input placeholder="请填写" placeholder-style='font-size:25rpx;color: #bbbbbb;' data-index="{{idx}}" bindblur="tab2Change11" value="{{childInfo[activeIndex].Info[idx].phone2}}" /></view>
  450. <view wx:if="{{ischildMarryPhone[idx]}}" class="required">配偶联系电话不能为空哦!</view>
  451. <view class="name"><text class="red" id="childrenvisit{{idx}}">*</text>平均一年探望次数</view>
  452. <picker bindchange="tab2Change12" data-index="{{idx}}" value="{{childInfo[activeIndex].Info[idx].visit}}" range="{{childTfTimes}}">
  453. <view class="picker">
  454. <view wx:if="{{childInfo[activeIndex].Info[idx].visit}}"> {{childInfo[activeIndex].Info[idx].visit}}</view>
  455. <view wx:else class="place_text">请选择</view>
  456. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  457. </view>
  458. </picker>
  459. <view wx:if="{{ischildvisit[idx]}}" class="required">平均一年探望次数不能为空哦!</view>
  460. </view>
  461. </view>
  462. <!-- 第三个tab其他赡养义务人信息 -->
  463. <view wx:if="{{currentIndex==2}}">
  464. <image src="../../images/dingdong.png" bindtap="findNull3" style="width:40rpx;height:49rpx;position:fixed;top:130rpx;right:10rpx"></image>
  465. <view class="name"><text class="red">*</text>是否有其他赡养人</view>
  466. <picker bindchange="tab3Change1" value="{{otherInfo[activeIndex].isHasOther}}" range="{{othersyrArr}}">
  467. <view class="picker">
  468. <!-- {{otherInfo[activeIndex].isHasOther}} -->
  469. <view wx:if="{{otherInfo[activeIndex].isHasOther}}">{{otherInfo[activeIndex].isHasOther}}</view>
  470. <view wx:else class="place_text">请选择</view>
  471. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  472. </view>
  473. </picker>
  474. <view wx:if="{{isothersyrNull}}" class="required">是否有赡养人不能为空哦!</view>
  475. <view wx:if="{{otherInfo[activeIndex].isHasOther=='是'}}">
  476. <view class="block" id="othername"><text class="red">*</text>其他赡养人姓名<input placeholder="请填写" placeholder-style='font-size:25rpx;color: #bbbbbb;' bindblur="tab3Change2" value="{{otherInfo[activeIndex].Info.name}}" /></view>
  477. <view wx:if="{{isothersyrName}}" class="required">其他赡养人姓名不能为空哦!</view>
  478. <view class="block" id="othersex">
  479. <view class="name"><text class="red">*</text>其他赡养人性别</view>
  480. <radio-group bindchange="tab3Change3">
  481. <label wx:for="{{ otherInfo[activeIndex].Info.othersyrSexArr}}" wx:key="name">
  482. <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  483. </label>
  484. </radio-group>
  485. </view>
  486. <view wx:if="{{isothersyrSex}}" class="required">其他赡养人性别不能为空哦!</view>
  487. <view class="block" id="otherphone"><text class="red">*</text>其他赡养人电话<input placeholder="请填写" placeholder-style='font-size:25rpx;color: #bbbbbb;' bindblur="tab3Change4" value="{{otherInfo[activeIndex].Info.phone}}" /></view>
  488. <view wx:if="{{isothersyrPhone}}" class="required">其他赡养人电话不能为空哦!</view>
  489. <view class="name" id="otherrela"><text class="red">*</text>与被赡养人关系</view>
  490. <picker bindchange="tab3Change5" value="{{otherInfo[activeIndex].Info.relation}}" range="{{othersyrRelation}}">
  491. <view class="picker">
  492. <!-- {{otherInfo[activeIndex].Info.relation}} -->
  493. <view wx:if="{{otherInfo[activeIndex].Info.relation}}">{{otherInfo[activeIndex].Info.relation}}</view>
  494. <view wx:else class="place_text">请选择</view>
  495. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  496. </view>
  497. </picker>
  498. <view wx:if="{{isothersyrgx}}" class="required">与被赡养人关系不能为空哦!</view>
  499. <view class="block" wx:if="{{otherInfo[activeIndex].Info.relation == '其他'}}" id="otherqtrela"><text class="red">*</text>与被赡养人其他关系<input bindblur="tab3Change6" value="{{otherInfo[activeIndex].Info.relationExt}}" />
  500. <view wx:if="{{isothersyRelation}}" class="required">与被赡养人其他关系不能为空哦!</view>
  501. </view>
  502. <view class="name" id="isotherout"><text class="red">*</text>是否外出</view>
  503. <picker bindchange="tab3Change7" value="{{otherInfo[activeIndex].Info.isHasGoOut}}" range="{{othersyrIsout}}">
  504. <view class="picker">
  505. <!-- {{otherInfo[activeIndex].Info.isHasGoOut}} -->
  506. <view wx:if="{{otherInfo[activeIndex].Info.isHasGoOut}}">{{otherInfo[activeIndex].Info.isHasGoOut}}</view>
  507. <view wx:else class="place_text">请选择</view>
  508. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  509. </view>
  510. </picker>
  511. <view wx:if="{{isothersyout}}" class="required">是否外出不能为空哦!</view>
  512. <view wx:if="{{otherInfo[activeIndex].Info.isHasGoOut=='是'}}">
  513. <view class="block" id="isotheroutreal"><text class="red">*</text>外出原因<input placeholder="请填写" placeholder-style='font-size:25rpx;color: #bbbbbb;' bindblur="tab3Change8" value="{{otherInfo[activeIndex].Info.outgoingCause}}" /></view>
  514. <view wx:if="{{isOutReason}}" class="required">外出原因不能为空哦!</view>
  515. <view class="block" id="isotheroutplace"><text class="red">*</text>外出地点
  516. <picker mode="region" bindchange="tab3Change9" value="{{otherInfo[activeIndex].Info.outgoingplace}}">
  517. <view class="picker">
  518. <!-- {{otherInfo[activeIndex].Info.outgoingplace}} -->
  519. <view wx:if="{{otherInfo[activeIndex].Info.outgoingplace}}">{{otherInfo[activeIndex].Info.outgoingplace}}</view>
  520. <view wx:else class="place_text">请选择</view>
  521. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  522. </view>
  523. </picker>
  524. </view>
  525. <view wx:if="{{isOutPlace}}" class="required">外出地点不能为空哦!</view>
  526. <view class="block" id="isotherouttime"><text class="red">*</text>最后一次离家时间
  527. <picker mode="date" bindchange="tab3Change10" value="{{otherInfo[activeIndex].Info.outgoingTime}}" fields="month">
  528. <view class="picker">
  529. <!-- {{otherInfo[activeIndex].Info.outgoingTime}} -->
  530. <view wx:if="{{otherInfo[activeIndex].Info.outgoingTime}}">{{otherInfo[activeIndex].Info.outgoingTime}}</view>
  531. <view wx:else class="place_text">请选择</view>
  532. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  533. </view>
  534. </picker>
  535. <view wx:if="{{isOutTime}}" class="required">最后一次离家时间不能为空哦!</view>
  536. </view>
  537. </view>
  538. <view class="name" id="isptherpartner"><text class="red">*</text>是否有配偶</view>
  539. <picker bindchange="tab3Change11" value="{{otherInfo[activeIndex].Info.isHasPartner}}" range="{{othersyrIsMarry}}">
  540. <view class="picker">
  541. <!-- {{otherInfo[activeIndex].Info.isHasPartner}} -->
  542. <view wx:if="{{otherInfo[activeIndex].Info.isHasPartner}}">{{otherInfo[activeIndex].Info.isHasPartner}}</view>
  543. <view wx:else class="place_text">请选择</view>
  544. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  545. </view>
  546. </picker>
  547. <view wx:if="{{ispartnerNull}}" class="required">是否有配偶不能为空哦!</view>
  548. <view wx:if="{{otherInfo[activeIndex].Info.isHasPartner=='是'}}">
  549. <view class="block" id="isotherpartnername"><text class="red">*</text>配偶姓名<input placeholder="请填写" placeholder-style='font-size:25rpx;color: #bbbbbb;' bindblur="tab3Change12" value="{{otherInfo[activeIndex].Info.name2}}" /></view>
  550. <view wx:if="{{isMarryName}}" class="required">配偶姓名不能为空哦!</view>
  551. <view class="block" id="isotherpartnerphone"><text class="red">*</text>配偶联系电话<input placeholder="请填写" placeholder-style='font-size:25rpx;color: #bbbbbb;' bindblur="tab3Change13" value="{{otherInfo[activeIndex].Info.phone2}}" /></view>
  552. <view wx:if="{{isMarryPhone}}" class="required">配偶联系电话不能为空哦!</view>
  553. </view>
  554. <view class="name" id="isothervisit"><text class="red">*</text>平均一年探望次数</view>
  555. <picker bindchange="tab3Change14" value="{{otherInfo[activeIndex].Info.visit}}" range="{{othersyrTfTimes}}">
  556. <view class="picker">
  557. <!-- {{otherInfo[activeIndex].Info.visit}} -->
  558. <view wx:if="{{otherInfo[activeIndex].Info.visit}}">{{otherInfo[activeIndex].Info.visit}}</view>
  559. <view wx:else class="place_text">请选择</view>
  560. <van-icon name="arrow-down" style="position:absolute;right:20rpx;top:10rpx;color:#bbbbbb" />
  561. </view>
  562. </picker>
  563. <view wx:if="{{isothervisit}}" class="required">平均一年探望次数不能为空哦!</view>
  564. </view>
  565. </view>
  566. <!-- 第四个tab寻访联系人信息 -->
  567. <view wx:if="{{currentIndex==3}}">
  568. <image src="../../images/dingdong.png" bindtap="findNull4" style="width:40rpx;height:49rpx;position:fixed;top:130rpx;right:10rpx"></image>
  569. <view class="block">
  570. <view class="name"><text class="red">*</text>巡访方式</view>
  571. <checkbox-group bindchange="tab4Change1">
  572. <label wx:for="{{regularsInfos[activeIndex].visitMode}}" wx:key="name">
  573. <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  574. </label>
  575. </checkbox-group>
  576. </view>
  577. <view wx:if="{{visitWaysFromOther}}" class="required">巡访方式不能为空哦!</view>
  578. <input wx:if="{{regularsInfos[activeIndex].visitMode[2].checked}}" placeholder="请填写其它内容" value="{{regularsInfos[activeIndex].visitModeExt}}" bindblur="tab4Change2" class="otherinput" />
  579. <view wx:if="{{regularsInfos[activeIndex].visitMode[2].checked&&isVisittimesnull}}" class="required">其它巡访方式不能为空哦!</view>
  580. <view class="block">
  581. <view class="name"><text class="red">*</text>巡访频次</view>
  582. <radio-group bindchange="tab4Change3">
  583. <label wx:for="{{regularsInfos[activeIndex].visitCount}}" wx:key="name">
  584. <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  585. </label>
  586. </radio-group>
  587. </view>
  588. <view wx:if="{{visitTimesFromOther}}" class="required">巡访频次不能为空哦!</view>
  589. <input wx:if="{{regularsInfos[activeIndex].visitCount[4].checked}}" value="{{regularsInfos[activeIndex].visitCountExt}}" placeholder="请填写其它内容" bindblur="tab4change4" class="otherinput" />
  590. <view wx:if="{{regularsInfos[activeIndex].visitCount[4].checked&&isVisittimesQtnull}}" class="required">其它巡访频次不能为空哦!</view>
  591. </view>
  592. </scroll-view>
  593. </view>
  594. </view>