collectInfo.wxml 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  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. <!-- -->
  7. <input style="margin-left:50rpx;margin-top:30rpx;border:1px solid #279bff" placeholder-style="color: {{color}}" bindinput="addOldName" value="{{addOldname}}" placeholder="请填写老人姓名" />
  8. <view class="btn_box">
  9. <view class="sure" bindtap="sure">确定</view>
  10. <view class="esc" bindtap="qx">取消</view>
  11. </view>
  12. </view>
  13. </view>
  14. <view class="writeOldmanName" wx:if="{{showBj1}}">
  15. <view class="OldmanName_box">
  16. <view class="oldmanname">请输入老人姓名</view>
  17. <input style="margin-left:50rpx;margin-top:30rpx;border:1px solid #279bff" bindinput="addOldName1" value="{{addOldname1}}" placeholder="请填写老人姓名" />
  18. <view class="btn_box">
  19. <view class="sure" bindtap="sure1">确定</view>
  20. <view class="esc" bindtap="qx1">取消</view>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="left">
  25. <view class="block1 {{currentIndex!=0?'clickblock1':''}}" bindtap="turn" data-index="0">
  26. <image src="{{currentIndex==0?src1:src2}}" class="img"></image>
  27. <text class="title {{currentIndex!=0?'title1':''}}">老年人信息</text>
  28. <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>
  29. <image wx:else src="../../images/mz/unfinish.png" class="isfinish_icon"></image>
  30. </view>
  31. <view class="block2 {{currentIndex!=1?'':'clickblock2'}}" bindtap="turn" data-index="1">
  32. <image src="{{currentIndex==1?src3:src4}}" class="img"></image>
  33. <text class="{{currentIndex==1?'title':'title1'}}">子女信息</text>
  34. <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>
  35. <image wx:else src="../../images/mz/unfinish.png" class="isfinish_icon"></image>
  36. </view>
  37. <view class="block2 {{currentIndex!=2?'':'clickblock2'}}" bindtap="turn" data-index="2">
  38. <image src="{{currentIndex==2?src5:src6}}" class="img img1"></image>
  39. <text class="title2 {{currentIndex==2?'title4':''}}">其他赡养</text>
  40. <text class="title3 {{currentIndex==2?'title4':''}}">义务人信息</text>
  41. <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>
  42. <image wx:else src="../../images/mz/unfinish.png" class="isfinish_icon"></image>
  43. </view>
  44. <view class="block2 {{currentIndex!=3?'':'clickblock2'}}" bindtap="turn" data-index="3">
  45. <image src="{{currentIndex==3?src7:src8}}" class="img img1"></image>
  46. <text class="title2 {{currentIndex==3?'title4':''}}">巡访</text>
  47. <text class="title3 {{currentIndex==3?'title4':''}}">联系人信息</text>
  48. <image wx:if="{{(regularsInfos[activeIndex].visitMode[0].checked||regularsInfos[activeIndex].visitMode[1].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>
  49. <image wx:else src="../../images/mz/unfinish.png" class="isfinish_icon"></image>
  50. </view>
  51. </view>
  52. <!-- 右侧部分 -->
  53. <!-- 第一个表单 -->
  54. <view class="right">
  55. <view class="name_box">
  56. <view class="name_smallName">
  57. <view class="{{activeIndex==index?'unsinglename':'singlename'}}" wx:for="{{nameArr}}" wx:key="{{item}}">
  58. <view style="line-height:50rpx" data-item="{{item}}" data-index="{{index}}" bindtap="switchNameTab">{{item.name}}</view>
  59. <van-icon bindtap="deleteName" data-item="{{item}}" data-index="{{index}}" name="close" style="margin-left:25rpx;" />
  60. </view>
  61. </view>
  62. <view class="addname_box">
  63. <van-icon name="add-o" color="#2087f7" size="40rpx" bindtap="addFamilyOldman" />
  64. </view>
  65. </view>
  66. <view class="form_box">
  67. <!-- 第二个tab老人信息 -->
  68. <view wx:if="{{currentIndex==0}}">
  69. <view class="scan" bindtap="goOcr">
  70. <van-icon name="photograph" color="#2087f7" size="30rpx" style="margin-left:20rpx" />
  71. <!-- <image src="../../images/mz/upload.png" style="width:40rpx;height:40rpx;margin-top:5rpx;margin-left:20rpx"></image>-->
  72. <text>可拍身份证照片上传基本信息</text>
  73. </view>
  74. <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>
  75. <view wx:if="{{oldName}}" class="required">老人姓名不能为空哦!</view>
  76. <view class="block">
  77. <view class="name"><text class="red">*</text>性别</view>
  78. <radio-group bindchange="tab1Change2">
  79. <label wx:for="{{oldInfo[activeIndex].oldSex}}" wx:key="{{item.name}}">
  80. <radio disabled="{{oldInfo[activeIndex].status == '3'}}" value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  81. </label>
  82. </radio-group>
  83. </view>
  84. <view class="name"><text class="red">*</text>民族</view>
  85. <picker bindchange="tab1Change3" disabled="{{oldInfo[activeIndex].status == '3'}}" value="{{oldInfo[activeIndex].nation}}" range="{{mzArr}}">
  86. <view class="picker {{oldInfo[activeIndex].status == '3' ? 'huiColor' : ''}} ">
  87. {{oldInfo[activeIndex].nation}}
  88. </view>
  89. </picker>
  90. <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>
  91. <view wx:if="{{oldCard[activeIndex].name}}" class="required">老人身份证号不能为空哦!</view>
  92. <view wx:if="{{oldCard1[activeIndex].name}}" class="required">老人身份证号格式不对哦!</view>
  93. <view wx:if="{{oldCard2[activeIndex].name}}" class="required">不可采集低于60岁老人的信息哦</view>
  94. <view class="block"><text class="red">*</text>联系电话<input bindblur="tab1Change5" placeholder="请填写联系电话" value="{{oldInfo[activeIndex].phone}}" /></view>
  95. <view wx:if="{{oldPhone}}" class="required">老人联系电话不能为空哦!</view>
  96. <view wx:if="{{oldPhone1}}" class="required">老人联系电话格式不对哦!</view>
  97. <view class="block"><text class="red">*</text>户籍地址
  98. <picker style="z-index:1" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}" range-key="{{'CIVILREGIONALISMNAME'}}">
  99. <view class="picker1">
  100. <view wx:if="{{oldInfo[activeIndex].chooseAdressArr.length==0}}">点我选择户籍地址</view>
  101. <textarea style="width:450rpx;height:auto" disabled="true" wx:else>{{oldInfo[activeIndex].chooseAdressArr}}</textarea>
  102. </view>
  103. </picker>
  104. <input bindblur="tab1Change6" placeholder="请填写补充户籍地址" value="{{oldInfo[activeIndex].nativePlaceExt}}" />
  105. </view>
  106.  <checkbox-group bindchange="tab1change6_1">
  107. <label wx:for="{{oldInfo[activeIndex].isSameWithAddress}}" wx:key="{{item.name}}">
  108. <checkbox value="{{item.name}}" color="#fff" checked="{{item.checked}}" />{{item.name}}
  109. </label>
  110. </checkbox-group>
  111. <view class="block"><text class="red">*</text>现居地址
  112. <picker disabled="{{nowAdress}}" mode="multiSelector" bindchange="bindMultiPickerChange1" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex1}}" range="{{multiArray}}" range-key="{{'CIVILREGIONALISMNAME'}}">
  113. <view class="picker1">
  114. <view wx:if="{{oldInfo[activeIndex].chooseAdressArr1.length==0}}">点我选择现居地址</view>
  115. <textarea style="width:450rpx;height:auto" disabled="true" wx:else>{{oldInfo[activeIndex].chooseAdressArr1}}</textarea>
  116. </view>
  117. </picker>
  118. <input disabled="{{nowAdress}}" bindblur="tab1Change7" placeholder="请填写补充现居地址" name="name" value="{{oldInfo[activeIndex].addressExt}}" />
  119. </view>
  120. <view class="block">
  121. <view class="name"><text class="red">*</text>婚姻及配偶情况</view>
  122. <radio-group bindchange="tab1Change8">
  123. <label wx:for="{{oldInfo[activeIndex].oldMarry}}" wx:key="{{item.name}}">
  124. <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  125. </label>
  126. </radio-group>
  127. </view>
  128. <view wx:if="{{oldInfo[activeIndex].oldMarry[1].checked}}" class="block"><text class="red">*</text>配偶姓名<input bindblur="tab1Change8_1" placeholder="请填写配偶姓名" value="{{oldInfo[activeIndex].partnerName}}" /></view>
  129. <view wx:if="{{oldisMarryName}}" class="required">配偶姓名不能为空哦!</view>
  130. <view wx:if="{{oldInfo[activeIndex].oldMarry[1].checked}}" class="block"><text class="red">*</text>配偶身份证号<input bindblur="tab1Change8_2" placeholder="请填写配偶联系电话" value="{{oldInfo[activeIndex].partnerIdNumber}}" /></view>
  131. <view wx:if="{{oldisMarryPhone}}" class="required">配偶身份证号不能为空哦!</view>
  132. <view wx:if="{{oldisMarryPhoneGs}}" class="required">配偶身份证号格式不对哦!</view>
  133. <view class="block">
  134. <view class="name"><text class="red">*</text>健康状况</view>
  135. <checkbox-group bindchange="tab1Change9">
  136. <label wx:for="{{oldInfo[activeIndex].healthAyy}}" wx:key="{{item.name}}">
  137. <checkbox value="{{item.name}}" color="#fff" disabled="{{item.disabled}}" checked="{{item.checked}}" />{{item.name}}
  138. </label>
  139. </checkbox-group>
  140. </view>
  141. <view wx:if="{{oldHealth1}}" class="required">老人健康状况不能为空哦!</view>
  142. <view class="block" wx:if="{{oldInfo[activeIndex].healthAyy[1].checked}}">
  143. <view class="name"><text class="red">*</text>残疾类别</view>
  144. <checkbox-group bindchange="tab1Change10">
  145. <label wx:for="{{oldInfo[activeIndex].disabilityAyy}}" wx:key="{{item.name}}">
  146. <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  147. </label>
  148. </checkbox-group>
  149. </view>
  150. <view wx:if="{{oldDisableType}}" class="required">老人残疾类别不能为空哦!</view>
  151. <view wx:if="{{oldInfo[activeIndex].healthAyy[1].checked}}">
  152. <view class="name"><text class="red">*</text>残疾人等级</view>
  153. <picker bindchange="tab1Change11" value="{{oldInfo[activeIndex].disabilityLevel}}" range="{{disableLeval}}">
  154. <view class="picker">
  155. {{oldInfo[activeIndex].disabilityLevel}}
  156. </view>
  157. </picker>
  158. </view>
  159. <view class="block" wx:if="{{oldInfo[activeIndex].healthAyy[2].checked}}">
  160. <view class="name"><text class="red">*</text>重特大疾病类别</view>
  161. <checkbox-group bindchange="tab1Change10_1">
  162. <label wx:for="{{oldInfo[activeIndex].sickType}}" wx:key="{{item.name}}">
  163. <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  164. </label>
  165. </checkbox-group>
  166. </view>
  167. <view wx:if="{{issickTypeNull}}" class="required">重特大疾病类别类别不能为空哦!</view>
  168. <view class="name"><text class="red">*</text>老年人能力情况</view>
  169. <picker bindchange="tab1Change12" value="{{oldInfo[activeIndex].ability}}" range="{{ableStatus}}">
  170. <view class="picker">
  171. {{oldInfo[activeIndex].ability}}
  172. </view>
  173. </picker>
  174. <view class="name"><text class="red">*</text>生活经济情况</view>
  175. <picker bindchange="tab1Change13" value="{{oldInfo[activeIndex].livingCondition}}" range="{{moneyStatus}}">
  176. <view class="picker">
  177. {{oldInfo[activeIndex].livingCondition}}
  178. </view>
  179. </picker>
  180. <view class="block">
  181. <view class="name"><text class="red">*</text>收入来源</view>
  182. <checkbox-group bindchange="tab1Change14">
  183. <label wx:for="{{oldInfo[activeIndex].moneyFromAyy}}" wx:key="{{item.name}}">
  184. <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  185. </label>
  186. </checkbox-group>
  187. </view>
  188. <view wx:if="{{moneyFromOther}}" class="required">收入来源不能为空哦!</view>
  189. <input wx:if="{{oldInfo[activeIndex].moneyFromAyy[4].checked}}" placeholder="请填写其它收入来源" value="{{oldInfo[activeIndex].sourceOfIncomeExt}}" bindblur="tab1Change14_1" name="name" class="otherinput" />
  190. <view wx:if="{{moneyOtherQtnull}}" class="required">其它收入来源不能为空哦!</view>
  191. <view class="name"><text class="red">*</text>本人上年度可支配收入</view>
  192. <picker bindchange="tab1Change15" value="{{oldInfo[activeIndex].income}}" range="{{payMoney}}">
  193. <view class="picker">
  194. {{oldInfo[activeIndex].income}}
  195. </view>
  196. </picker>
  197. <view class="block">
  198. <view class="name"><text class="red">*</text>家庭救助帮扶情况</view>
  199. <checkbox-group bindchange="tab1Change16">
  200. <label wx:for="{{oldInfo[activeIndex].familyHelpArr}}" wx:key="{{item.name}}">
  201. <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  202. </label>
  203. </checkbox-group>
  204. </view>
  205. <view wx:if="{{familyHelp}}" class="required">家庭救助帮扶情况不能为空哦!</view>
  206. <input wx:if="{{oldInfo[activeIndex].familyHelpArr[6].checked}}" value="{{oldInfo[activeIndex].rescueStateExt}}" placeholder="请填写其它救助情况" bindblur="tab1Change16_1" class="otherinput" />
  207. <view wx:if="{{otherhelpQtnull}}" class="required">其它救助情况不能为空哦!</view>
  208. <view class="block">
  209. <view class="name"><text class="red">*</text>是否为失独家庭</view>
  210. <radio-group bindchange="tab1Change17">
  211. <label wx:for="{{oldInfo[activeIndex].loneArr}}" wx:key="{{item.name}}">
  212. <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  213. </label>
  214. </radio-group>
  215. </view>
  216. <view class="block">
  217. <view class="name"><text class="red">*</text>陪伴居住情况</view>
  218. <checkbox-group bindchange="tab1Change18">
  219. <label wx:for="{{oldInfo[activeIndex].liveStatus}}" wx:key="{{item.name}}">
  220. <checkbox value="{{item.name}}" disabled="{{item.disabled}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  221. </label>
  222. </checkbox-group>
  223. </view>
  224. <view wx:if="{{isliveNull}}" class="required">陪伴居住情况不能为空哦!</view>
  225. <input wx:if="{{oldInfo[activeIndex].liveStatus[4].checked}}" value="{{oldInfo[activeIndex].accompanyExt}}" placeholder="请填写其他陪伴居住情况" bindblur="tab1Change18_1" class="otherinput" />
  226. <view wx:if="{{isliveQtNull}}" class="required">其他陪伴居住情况不能为空哦!</view>
  227. <view class="block">
  228. <view class="name"><text class="red">*</text>日常生活照料人</view>
  229. <checkbox-group bindchange="tab1Change19">
  230. <label wx:for="{{oldInfo[activeIndex].oftenMan}}" wx:key="{{item.name}}">
  231. <checkbox value="{{item.name}}" disabled="{{item.disabled}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  232. </label>
  233. </checkbox-group>
  234. </view>
  235. <view wx:if="{{isoftenManNull}}" class="required">日常生活照料人不能为空哦!</view>
  236. <input wx:if="{{oldInfo[activeIndex].oftenMan[5].checked}}" value="{{oldInfo[activeIndex].lookAfterExt}}" bindblur="tab1Change20" placeholder="请填写人员关系" class="otherinput" />
  237. <view wx:if="{{isoftenReaNull}}" class="required">人员关系不能为空哦!</view>
  238. <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}}">
  239. <view class="block"><text class="red">*</text>主要照料人姓名<input value="{{oldInfo[activeIndex].mainLookName}}" bindblur="tab1Change21" placeholder="请填写主要照料人姓名" /></view>
  240. <view class="required" wx:if="{{lookAfterName}}">主要照料人姓名不能为空哦!</view>
  241. <view class="block">
  242. <view class="name"><text class="red">*</text>主要照料人性别</view>
  243. <radio-group bindchange="tab1Change22">
  244. <label wx:for="{{oldInfo[activeIndex].mainLookSex}}" wx:key="{{item.name}}">
  245. <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  246. </label>
  247. </radio-group>
  248. </view>
  249. <view class="block"><text class="red">*</text>主要照料人电话<input value="{{oldInfo[activeIndex].mainLookPhone}}" bindblur="tab1Change23" placeholder="请填写主要照料人电话" name="name" /></view>
  250. <view class="required" wx:if="{{islookPhoneNull}}">主要照料人电话不能为空哦!</view>
  251. </view>
  252. <!-- <view wx:if="{{moneyFromOther}}" class="required">收入来源不能为空哦!</view>
  253. <input wx:if="{{oldInfo[activeIndex].moneyFromAyy[4].checked}}" placeholder="请填写其它收入来源" value="{{oldInfo[activeIndex].sourceOfIncomeExt}}" bindblur="tab1Change14_1" name="name" class="otherinput" /> -->
  254. <view class="block">
  255. <view class="name"><text class="red">*</text>关爱服务需求</view>
  256. <checkbox-group bindchange="tab1Change24">
  257. <label wx:for="{{oldInfo[activeIndex].loveRequire}}" wx:key="{{item.name}}">
  258. <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  259. </label>
  260. </checkbox-group>
  261. </view>
  262. <view wx:if="{{isloveNull}}" class="required">关爱服务需求不能为空哦!</view>
  263. <input wx:if="{{oldInfo[activeIndex].loveRequire[8].checked}}" placeholder="请填写其它关爱服务需求" value="{{oldInfo[activeIndex].demandExt}}" bindblur="tab1Change24_1" name="name" class="otherinput" />
  264. <view wx:if="{{isloveQtNull}}" class="required">其它关爱服务需求不能为空哦!</view>
  265. <view class="block">
  266. <view class="name"><text class="red">*</text>老年人类别</view>
  267. <checkbox-group bindchange="tab1Change26">
  268. <label wx:for="{{oldInfo[activeIndex].oldType}}" wx:key="{{item.name}}">
  269. <checkbox value="{{item.name}}" disabled="{{item.disable}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  270. </label>
  271. </checkbox-group>
  272. </view>
  273. <view wx:if="{{isoldtypeNull}}" class="required">老年人类别不能为空哦!</view>
  274. <view class="scan" wx:if="{{oldInfo[activeIndex].imgPath == ''}}" style="margin-top:20rpx" bindtap="goPhoto">
  275. <image src="../../images/mz/upload.png" style="width:40rpx;height:40rpx;margin-top:5rpx;margin-left:30rpx"></image><text >请上传老人含面部照片</text>
  276. </view>
  277. <view wx:if="{{oldInfo[activeIndex].imgPath}}" class="boxssss">
  278. <image class="image" style="width:200rpx;height:200rpx" src="{{urls.url(oldInfo[activeIndex].imgPath)}}" mode='scaleToFill' bindtap="previewImg"></image>
  279. <van-icon size='23' name="clear" class="close" data-index="{{index}}" bindtap="closeImage" data-activeIndex='{{activeIndex}}' />
  280. </view>
  281. </view>
  282. <!-- 第二个tab子女信息 -->
  283. <view wx:if="{{currentIndex==1}}">
  284. <view class="name"><text class="red">*</text>子女个数</view>
  285. <picker bindchange="tab2Change1" value="{{childInfo[activeIndex].childrenNum}}" range="{{childNumArr}}">
  286. <view class="picker">
  287. {{childInfo[activeIndex].childrenNum}}
  288. </view>
  289. </picker>
  290. <!-- <view style="margin-top:30rpx;font-weight:900">第1个子女信息</view> -->
  291. <view wx:for="{{childInfo[activeIndex].Info}}" wx:for-index="idx">
  292. <van-divider contentPosition="center">第{{idx+1}}个子女信息</van-divider>
  293. <view class="block"><text class="red">*</text>子女姓名<input data-index="{{idx}}" bindblur="tab2Change2" placeholder="子女姓名" value="{{childInfo[activeIndex].Info[idx].name}}" /></view>
  294. <!-- <view class="required">子女姓名不能为空哦!</view> -->
  295. <view class="block">
  296. <view class="name"><text class="red">*</text>子女性别</view>
  297. <picker bindchange="tab2Change3" data-index="{{idx}}" value="{{childInfo[activeIndex].Info[idx].sex}}" range="{{childSexArr}}">
  298. <view class="picker">
  299. {{childInfo[activeIndex].Info[idx].sex}}
  300. </view>
  301. </picker>
  302. </view>
  303. <view class="block"><text class="red">*</text>子女联系电话<input data-index="{{idx}}" bindblur="tab2Change4" placeholder="请填写常用联系电话" value="{{childInfo[activeIndex].Info[idx].phone}}" /></view>
  304. <view wx:if="{{ischildPhone[idx]}}" class="required">子女联系电话不能为空哦!</view>
  305. <view class="name"><text class="red">*</text>是否外出</view>
  306. <picker bindchange="tab2Change5" data-index="{{idx}}" value="{{childInfo[activeIndex].Info[idx].isHasGoOut}}" range="{{childIsout}}">
  307. <view class="picker">
  308. {{childInfo[activeIndex].Info[idx].isHasGoOut}}
  309. </view>
  310. </picker>
  311. <view wx:if="{{childInfo[activeIndex].Info[idx].isHasGoOut=='是'}}">
  312. <view class="block"><text class="red">*</text>外出原因<input data-index="{{idx}}" bindblur="tab2Change6" placeholder="请填写外出原因" value="{{childInfo[activeIndex].Info[idx].outgoingCause}}" /></view>
  313. <view wx:if="{{ischildOutReason[idx]}}" class="required">外出原因不能为空哦!</view>
  314. <view class="block"><text class="red">*</text>外出地点
  315. <picker mode="region" data-index="{{idx}}" bindchange="tab2Change7" value="{{childInfo[activeIndex].Info[idx].outgoingplace}}">
  316. <view class="picker">
  317. {{childInfo[activeIndex].Info[idx].outgoingplace}}
  318. </view>
  319. </picker>
  320. </view>
  321. <view class="block"><text class="red">*</text>最后一次离家时间
  322. <picker mode="date" data-index="{{idx}}" bindchange="tab2Change8" value="{{childInfo[activeIndex].Info[idx].outgoingTime}}" fields="month">
  323. <view class="picker">
  324. {{childInfo[activeIndex].Info[idx].outgoingTime}}
  325. </view>
  326. </picker>
  327. </view>
  328. </view>
  329. <view class="name"><text class="red">*</text>是否有配偶</view>
  330. <picker bindchange="tab2Change9" data-index="{{idx}}" value="{{childInfo[activeIndex].Info[idx].isHasPartner}}" range="{{childIsMArry}}">
  331. <view class="picker">
  332. {{childInfo[activeIndex].Info[idx].isHasPartner}}
  333. </view>
  334. </picker>
  335. <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>
  336. <view wx:if="{{ischildMarryName[idx]}}" class="required">配偶姓名不能为空哦!</view>
  337. <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>
  338. <view wx:if="{{ischildMarryPhone[idx]}}" class="required">配偶联系电话不能为空哦!</view>
  339. <view class="name"><text class="red">*</text>平均一年探望次数</view>
  340. <picker bindchange="tab2Change12" data-index="{{idx}}" value="{{childInfo[activeIndex].Info[idx].visit}}" range="{{childTfTimes}}">
  341. <view class="picker">
  342. {{childInfo[activeIndex].Info[idx].visit}}
  343. </view>
  344. </picker>
  345. </view>
  346. </view>
  347. <!-- 第三个tab其他赡养义务人信息 -->
  348. <view wx:if="{{currentIndex==2}}">
  349. <view class="name"><text class="red">*</text>是否有其他赡养人</view>
  350. <picker bindchange="tab3Change1" value="{{otherInfo[activeIndex].isHasOther}}" range="{{othersyrArr}}">
  351. <view class="picker">
  352. {{otherInfo[activeIndex].isHasOther}}
  353. </view>
  354. </picker>
  355. <view wx:if="{{otherInfo[activeIndex].isHasOther=='是'}}">
  356. <view class="block"><text class="red">*</text>其他赡养人姓名<input bindblur="tab3Change2" placeholder="请填写其他赡养人姓名" value="{{otherInfo[activeIndex].Info.name}}" /></view>
  357. <view wx:if="{{isothersyrName}}" class="required">其他赡养人姓名不能为空哦!</view>
  358. <view class="block">
  359. <view class="name"><text class="red">*</text>其他赡养人性别</view>
  360. <radio-group bindchange="tab3Change3">
  361. <label wx:for="{{ otherInfo[activeIndex].Info.othersyrSexArr}}" wx:key="{{item}}">
  362. <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  363. </label>
  364. </radio-group>
  365. </view>
  366. <view class="block"><text class="red">*</text>其他赡养人电话<input bindblur="tab3Change4" value="{{otherInfo[activeIndex].Info.phone}}" placeholder="请填写常用联系电话" name="name" /></view>
  367. <view wx:if="{{isothersyrPhone}}" class="required">其他赡养人电话不能为空哦!</view>
  368. <view class="name"><text class="red">*</text>与被赡养人关系</view>
  369. <picker bindchange="tab3Change5" value="{{otherInfo[activeIndex].Info.relation}}" range="{{othersyrRelation}}">
  370. <view class="picker">
  371. {{otherInfo[activeIndex].Info.relation}}
  372. </view>
  373. </picker>
  374. <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>
  375. <view wx:if="{{isothersyRelation}}" class="required">与被赡养人其他关系不能为空哦!</view>
  376. <view class="name"><text class="red">*</text>是否外出</view>
  377. <picker bindchange="tab3Change7" value="{{otherInfo[activeIndex].Info.isHasGoOut}}" range="{{othersyrIsout}}">
  378. <view class="picker">
  379. {{otherInfo[activeIndex].Info.isHasGoOut}}
  380. </view>
  381. </picker>
  382. <view wx:if="{{otherInfo[activeIndex].Info.isHasGoOut=='是'}}">
  383. <view class="block"><text class="red">*</text>外出原因<input bindblur="tab3Change8" placeholder="请填写外出原因" value="{{otherInfo[activeIndex].Info.outgoingCause}}" /></view>
  384. <view wx:if="{{isOutReason}}" class="required">外出原因不能为空哦!</view>
  385. <view class="block"><text class="red">*</text>外出地点
  386. <picker mode="region" bindchange="tab3Change9" value="{{otherInfo[activeIndex].Info.outgoingplace}}">
  387. <view class="picker">
  388. {{otherInfo[activeIndex].Info.outgoingplace}}
  389. </view>
  390. </picker>
  391. </view>
  392. <view class="block"><text class="red">*</text>最后一次离家时间
  393. <picker mode="date" bindchange="tab3Change10" value="{{otherInfo[activeIndex].Info.outgoingTime}}" fields="month">
  394. <view class="picker">
  395. {{otherInfo[activeIndex].Info.outgoingTime}}
  396. </view>
  397. </picker>
  398. </view>
  399. </view>
  400. <view class="name"><text class="red">*</text>是否有配偶</view>
  401. <picker bindchange="tab3Change11" value="{{otherInfo[activeIndex].Info.isHasPartner}}" range="{{othersyrIsMarry}}">
  402. <view class="picker">
  403. {{otherInfo[activeIndex].Info.isHasPartner}}
  404. </view>
  405. </picker>
  406. <view wx:if="{{otherInfo[activeIndex].Info.isHasPartner=='是'}}">
  407. <view class="block"><text class="red">*</text>配偶姓名<input bindblur="tab3Change12" placeholder="请填写配偶姓名" value="{{otherInfo[activeIndex].Info.name2}}" /></view>
  408. <view wx:if="{{isMarryName}}" class="required">配偶姓名不能为空哦!</view>
  409. <view class="block"><text class="red">*</text>配偶联系电话<input bindblur="tab3Change13" placeholder="请填写配偶联系电话" value="{{otherInfo[activeIndex].Info.phone2}}" /></view>
  410. <view wx:if="{{isMarryPhone}}" class="required">配偶联系电话不能为空哦!</view>
  411. </view>
  412. <view class="name"><text class="red">*</text>平均一年探望次数</view>
  413. <picker bindchange="tab3Change14" value="{{otherInfo[activeIndex].Info.visit}}" range="{{othersyrTfTimes}}">
  414. <view class="picker">
  415. {{otherInfo[activeIndex].Info.visit}}
  416. </view>
  417. </picker>
  418. </view>
  419. </view>
  420. <!-- 第四个tab寻访联系人信息 -->
  421. <view wx:if="{{currentIndex==3}}">
  422. <view class="block">
  423. <view class="name"><text class="red">*</text>巡访方式</view>
  424. <checkbox-group bindchange="tab4Change1">
  425. <label wx:for="{{regularsInfos[activeIndex].visitMode}}" wx:key="{{item.name}}">
  426. <checkbox value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  427. </label>
  428. </checkbox-group>
  429. </view>
  430. <view wx:if="{{visitWaysFromOther}}" class="required">巡访方式不能为空哦!</view>
  431. <input wx:if="{{regularsInfos[activeIndex].visitMode[2].checked}}" placeholder="请填写其它内容" value="{{regularsInfos[activeIndex].visitModeExt}}" bindblur="tab4Change2" class="otherinput" />
  432. <view wx:if="{{isVisittimesnull}}" class="required">其它巡访方式不能为空哦!</view>
  433. <view class="block">
  434. <view class="name"><text class="red">*</text>巡访频次</view>
  435. <radio-group bindchange="tab4Change3">
  436. <label wx:for="{{regularsInfos[activeIndex].visitCount}}" wx:key="{{item.name}}">
  437. <radio value="{{item.name}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
  438. </label>
  439. </radio-group>
  440. </view>
  441. <view wx:if="{{isnull2}}" class="required">巡访频次不能为空哦!</view>
  442. <input wx:if="{{regularsInfos[activeIndex].visitCount[4].checked}}" value="{{regularsInfos[activeIndex].visitCountExt}}" placeholder="请填写其它内容" bindblur="tab4change4" name="name" class="otherinput" />
  443. <view wx:if="{{isVisittimesnull}}" class="required">其它巡访频次不能为空哦!</view>
  444. </view>
  445. </view>
  446. </view>
  447. </view>