|
@@ -3,7 +3,7 @@
|
|
|
<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="请填写老人姓名" />
|
|
|
+ <input style="margin-left:50rpx;margin-top:30rpx;border:1px solid #279bff" placeholder-style="color: {{color}}" bindinput="addOldName" value="{{addOldname}}" />
|
|
|
<view class="btn_box">
|
|
|
<view class="sure" bindtap="sure">确定</view>
|
|
|
<view class="esc" bindtap="qx">取消</view>
|
|
@@ -13,7 +13,7 @@
|
|
|
<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="请填写老人姓名" />
|
|
|
+ <input style="margin-left:50rpx;margin-top:30rpx;border:1px solid #279bff" bindinput="addOldName1" value="{{addOldname1}}" />
|
|
|
<view class="btn_box">
|
|
|
<view class="sure" bindtap="sure1">确定</view>
|
|
|
<view class="esc" bindtap="qx1">取消</view>
|
|
@@ -68,7 +68,7 @@
|
|
|
<van-icon name="photograph" color="#2087f7" size="30rpx" style="margin-left:20rpx" />
|
|
|
<text>可拍身份证照片上传基本信息</text>
|
|
|
</view>
|
|
|
- <view class="block"><text class="red">*</text>姓名<input class="huiColor" disabled="true" placeholder="请填写老人姓名" value="{{oldInfo[activeIndex].name}}" /></view>
|
|
|
+ <view class="block"><text class="red">*</text>姓名<input class="huiColor" disabled="true" value="{{oldInfo[activeIndex].name}}" /></view>
|
|
|
<view class="block">
|
|
|
<view class="name"><text class="red">*</text>性别</view>
|
|
|
<radio-group bindchange="tab1Change2">
|
|
@@ -110,7 +110,7 @@
|
|
|
<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}}" />
|
|
|
+ <input disabled="{{nowAdress}}" bindblur="tab1Change7" placeholder="请填写补充现居地址" value="{{oldInfo[activeIndex].addressExt}}" />
|
|
|
</view>
|
|
|
<view class="block">
|
|
|
<view class="name"><text class="red">*</text>婚姻及配偶情况</view>
|
|
@@ -121,9 +121,9 @@
|
|
|
</radio-group>
|
|
|
</view>
|
|
|
<view wx:if="{{oldInfo[activeIndex].oldMarry[1].checked}}">
|
|
|
- <view class="block"><text class="red">*</text>配偶姓名<input bindblur="tab1Change8_1" placeholder="请填写配偶姓名" value="{{oldInfo[activeIndex].partnerName}}" /></view>
|
|
|
+ <view class="block"><text class="red">*</text>配偶姓名<input bindblur="tab1Change8_1" value="{{oldInfo[activeIndex].partnerName}}" /></view>
|
|
|
<view wx:if="{{oldisMarryName}}" class="required">配偶姓名不能为空哦!</view>
|
|
|
- <view class="block"><text class="red">*</text>配偶身份证号<input bindblur="tab1Change8_2" placeholder="请填写配偶联系电话" value="{{oldInfo[activeIndex].partnerIdNumber}}" /></view>
|
|
|
+ <view class="block"><text class="red">*</text>配偶身份证号<input bindblur="tab1Change8_2" value="{{oldInfo[activeIndex].partnerIdNumber}}" /></view>
|
|
|
<view wx:if="{{oldisMarryPhone}}" class="required">配偶身份证号不能为空哦!</view>
|
|
|
<view wx:if="{{oldisMarryPhoneGs}}" class="required">配偶身份证号格式不对哦!</view>
|
|
|
</view>
|
|
@@ -183,9 +183,8 @@
|
|
|
</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>
|
|
|
-
|
|
|
+ <input wx:if="{{oldInfo[activeIndex].moneyFromAyy[4].checked}}" placeholder="请填写其它收入来源" value="{{oldInfo[activeIndex].sourceOfIncomeExt}}" bindblur="tab1Change14_1" class="otherinput" />
|
|
|
+ <view wx:if="{{oldInfo[activeIndex].moneyFromAyy[4].checked&&moneyOtherQtnull}}" class="required">其它收入来源不能为空哦!</view>
|
|
|
<view class="name"><text class="red">*</text>本人上年度可支配收入</view>
|
|
|
<picker bindchange="tab1Change15" value="{{oldInfo[activeIndex].income}}" range="{{payMoney}}">
|
|
|
<view class="picker">
|
|
@@ -203,7 +202,7 @@
|
|
|
<view wx:if="{{familyHelp}}" class="required">家庭救助帮扶情况不能为空哦!</view>
|
|
|
<view wx:if="{{oldInfo[activeIndex].familyHelpArr[6].checked}}">
|
|
|
<input value="{{oldInfo[activeIndex].rescueStateExt}}" placeholder="请填写其它救助情况" bindblur="tab1Change16_1" class="otherinput" />
|
|
|
- <view wx:if="{{otherhelpQtnull}}" class="required">其它救助情况不能为空哦!</view>
|
|
|
+ <view wx:if="{{oldInfo[activeIndex].familyHelpArr[6].checked&&otherhelpQtnull}}" class="required">其它救助情况不能为空哦!</view>
|
|
|
</view>
|
|
|
<view class="block">
|
|
|
<view class="name"><text class="red">*</text>是否为失独家庭</view>
|
|
@@ -223,7 +222,7 @@
|
|
|
</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 wx:if="{{oldInfo[activeIndex].liveStatus[4].checked&&isliveQtNull}}" class="required">其他陪伴居住情况不能为空哦!</view>
|
|
|
<view class="block">
|
|
|
<view class="name"><text class="red">*</text>日常生活照料人</view>
|
|
|
<checkbox-group bindchange="tab1Change19">
|
|
@@ -235,10 +234,10 @@
|
|
|
<view wx:if="{{isoftenManNull}}" class="required">日常生活照料人不能为空哦!</view>
|
|
|
<view wx:if="{{oldInfo[activeIndex].oftenMan[5].checked}}">
|
|
|
<input value="{{oldInfo[activeIndex].lookAfterExt}}" bindblur="tab1Change20" placeholder="请填写人员关系" class="otherinput" />
|
|
|
- <view wx:if="{{isoftenReaNull}}" class="required">人员关系不能为空哦!</view>
|
|
|
+ <view wx:if="{{oldInfo[activeIndex].oftenMan[5].checked&&isoftenReaNull}}" class="required">人员关系不能为空哦!</view>
|
|
|
</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="block"><text class="red">*</text>主要照料人姓名<input value="{{oldInfo[activeIndex].mainLookName}}" bindblur="tab1Change21" /></view>
|
|
|
<view class="required" wx:if="{{lookAfterName}}">主要照料人姓名不能为空哦!</view>
|
|
|
<view class="block">
|
|
|
<view class="name"><text class="red">*</text>主要照料人性别</view>
|
|
@@ -248,7 +247,7 @@
|
|
|
</label>
|
|
|
</radio-group>
|
|
|
</view>
|
|
|
- <view class="block"><text class="red">*</text>主要照料人电话<input value="{{oldInfo[activeIndex].mainLookPhone}}" bindblur="tab1Change23" placeholder="请填写主要照料人电话" name="name" /></view>
|
|
|
+ <view class="block"><text class="red">*</text>主要照料人电话<input value="{{oldInfo[activeIndex].mainLookPhone}}" bindblur="tab1Change23"/></view>
|
|
|
<view class="required" wx:if="{{islookPhoneNull}}">主要照料人电话不能为空哦!</view>
|
|
|
</view>
|
|
|
<view class="block">
|
|
@@ -260,8 +259,8 @@
|
|
|
</checkbox-group>
|
|
|
</view>
|
|
|
<view wx:if="{{isloveNull}}" class="required">关爱服务需求不能为空哦!</view>
|
|
|
- <input wx:if="{{oldInfo[activeIndex].loveRequire[8].checked}}" placeholder="请填写其它关爱服务需求" value="{{oldInfo[activeIndex].demandExt}}" bindblur="tab1Change25" name="name" class="otherinput" />
|
|
|
- <view wx:if="{{isloveQtNull}}" class="required">其它关爱服务需求不能为空哦!</view>
|
|
|
+ <input wx:if="{{oldInfo[activeIndex].loveRequire[8].checked}}" placeholder="请填写其它关爱服务需求" value="{{oldInfo[activeIndex].demandExt}}" bindblur="tab1Change25" class="otherinput" />
|
|
|
+ <view wx:if="{{oldInfo[activeIndex].loveRequire[8].checked&&isloveQtNull}}" class="required">其它关爱服务需求不能为空哦!</view>
|
|
|
<view class="block">
|
|
|
<view class="name"><text class="red">*</text>老年人类别</view>
|
|
|
<checkbox-group bindchange="tab1Change26">
|
|
@@ -287,11 +286,10 @@
|
|
|
{{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"><text class="red">*</text>子女姓名<input data-index="{{idx}}" bindblur="tab2Change2" value="{{childInfo[activeIndex].Info[idx].name}}" /></view>
|
|
|
+ <view wx:if="{{childNameNull[idx]}}" 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}}">
|
|
@@ -300,8 +298,8 @@
|
|
|
</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="block"><text class="red">*</text>子女联系电话<input data-index="{{idx}}" bindblur="tab2Change4" value="{{childInfo[activeIndex].Info[idx].phone}}" /></view>
|
|
|
+ <view wx:if="{{childPhoneNull[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">
|
|
@@ -309,7 +307,7 @@
|
|
|
</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 class="block"><text class="red">*</text>外出原因<input data-index="{{idx}}" bindblur="tab2Change6" 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}}">
|
|
@@ -332,9 +330,9 @@
|
|
|
{{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="{{childInfo[activeIndex].Info[idx].isHasPartner=='是'}}" class="block"><text class="red">*</text>配偶姓名<input data-index="{{idx}}" bindblur="tab2Change10" 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="{{childInfo[activeIndex].Info[idx].isHasPartner=='是'}}" class="block"><text class="red">*</text>配偶联系电话<input data-index="{{idx}}" bindblur="tab2Change11" 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}}">
|
|
@@ -353,7 +351,7 @@
|
|
|
</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 class="block"><text class="red">*</text>其他赡养人姓名<input bindblur="tab3Change2" value="{{otherInfo[activeIndex].Info.name}}" /></view>
|
|
|
<view wx:if="{{isothersyrName}}" class="required">其他赡养人姓名不能为空哦!</view>
|
|
|
<view class="block">
|
|
|
<view class="name"><text class="red">*</text>其他赡养人性别</view>
|
|
@@ -363,7 +361,7 @@
|
|
|
</label>
|
|
|
</radio-group>
|
|
|
</view>
|
|
|
- <view class="block"><text class="red">*</text>其他赡养人电话<input bindblur="tab3Change4" value="{{otherInfo[activeIndex].Info.phone}}" placeholder="请填写常用联系电话" name="name" /></view>
|
|
|
+ <view class="block"><text class="red">*</text>其他赡养人电话<input bindblur="tab3Change4" value="{{otherInfo[activeIndex].Info.phone}}"/></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}}">
|
|
@@ -371,7 +369,7 @@
|
|
|
{{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 class="block" wx:if="{{otherInfo[activeIndex].Info.relation == '其他'}}"><text class="red">*</text>与被赡养人其他关系<input bindblur="tab3Change6" value="{{otherInfo[activeIndex].Info.relationExt}}"/></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}}">
|
|
@@ -380,7 +378,7 @@
|
|
|
</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 class="block"><text class="red">*</text>外出原因<input bindblur="tab3Change8" 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}}">
|
|
@@ -404,9 +402,9 @@
|
|
|
</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 class="block"><text class="red">*</text>配偶姓名<input bindblur="tab3Change12" 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 class="block"><text class="red">*</text>配偶联系电话<input bindblur="tab3Change13" value="{{otherInfo[activeIndex].Info.phone2}}" /></view>
|
|
|
<view wx:if="{{isMarryPhone}}" class="required">配偶联系电话不能为空哦!</view>
|
|
|
</view>
|
|
|
<view class="name"><text class="red">*</text>平均一年探望次数</view>
|
|
@@ -429,7 +427,7 @@
|
|
|
</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 wx:if="{{regularsInfos[activeIndex].visitMode[2].checked&&isVisittimesnull}}" class="required">其它巡访方式不能为空哦!</view>
|
|
|
<view class="block">
|
|
|
<view class="name"><text class="red">*</text>巡访频次</view>
|
|
|
<radio-group bindchange="tab4Change3">
|
|
@@ -438,9 +436,8 @@
|
|
|
</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>
|
|
|
+ <input wx:if="{{regularsInfos[activeIndex].visitCount[4].checked}}" value="{{regularsInfos[activeIndex].visitCountExt}}" placeholder="请填写其它内容" bindblur="tab4change4" class="otherinput" />
|
|
|
+ <view wx:if="{{regularsInfos[activeIndex].visitCount[4].checked&&isVisittimesQtnull}}" class="required">其它巡访频次不能为空哦!</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|