|
@@ -1,4 +1,14 @@
|
|
|
<view class="container">
|
|
|
+ <view class="writeOldmanName" wx:if="{{showBj}}">
|
|
|
+ <view class="OldmanName_box">
|
|
|
+ <view class="oldmanname">请输入老人姓名</view>
|
|
|
+ <input auto-focus style="margin-left:50rpx;margin-top:30rpx;border:1px solid #279bff" placeholder="请填写老人姓名" />
|
|
|
+ <view class="btn_box">
|
|
|
+ <view class="sure" bindtap="sure">确定</view>
|
|
|
+ <view class="esc">取消</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class="left">
|
|
|
<view class="block1 {{currentIndex!=0?'clickblock1':''}}" bindtap="turn" data-index="0">
|
|
|
<image src="{{currentIndex==0?src1:src2}}" class="img"></image>
|
|
@@ -33,9 +43,18 @@
|
|
|
<van-icon bindtap="deleteName" data-index="{{index}}" name="close" style="margin-left:25rpx;" />
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="addname_box">
|
|
|
+ <van-icon name="add-o" color="#2087f7" size="40rpx"/>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+
|
|
|
<view class="form_box">
|
|
|
<view wx:if="{{currentIndex==0}}">
|
|
|
+ <view class="scan">
|
|
|
+ <van-icon name="photograph" color="#2087f7" size="30rpx" style="margin-left:20rpx" />
|
|
|
+ <!-- <image src="../../images/mz/upload.png" style="width:40rpx;height:40rpx;margin-top:5rpx;margin-left:20rpx"></image>-->
|
|
|
+ <text>可拍身份证照片上传基本信息</text>
|
|
|
+ </view>
|
|
|
<view class="block"><text class="red">*</text>姓名<input bindinput="tab1Change1" placeholder="请填写老人姓名" name="name" /></view>
|
|
|
<view wx:if="{{oldName}}" class="required">老人姓名不能为空哦!</view>
|
|
|
<view class="block">
|
|
@@ -99,6 +118,15 @@
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
|
+ <view class="block" wx:if="{{isSick}}">
|
|
|
+ <view class="name"><text class="red">*</text>重特大疾病类别</view>
|
|
|
+ <checkbox-group bindchange="tab1Change10_1">
|
|
|
+ <label wx:for="{{sickType}}" wx:key="{{item}}">
|
|
|
+ <checkbox value="{{item}}" color="#fff" />{{item}}
|
|
|
+ </label>
|
|
|
+ </checkbox-group>
|
|
|
+ </view>
|
|
|
+ <view wx:if="{{issickTypeNull}}" class="required">重特大疾病类别类别不能为空哦!</view>
|
|
|
<view class="name"><text class="red">*</text>老年人能力情况</view>
|
|
|
<picker bindchange="tab2Change12" value="{{ableStatus[ableIndex]}}" range="{{ableStatus}}">
|
|
|
<view class="picker">
|
|
@@ -120,7 +148,8 @@
|
|
|
</checkbox-group>
|
|
|
</view>
|
|
|
<view wx:if="{{moneyFromOther}}" class="required">收入来源不能为空哦!</view>
|
|
|
- <input wx:if="{{moneyOtherQt}}" placeholder="请填写其它收入来源" name="name" class="otherinput" />
|
|
|
+ <input wx:if="{{moneyOtherQt}}" placeholder="请填写其它收入来源" bindinput="tab1Change14_1" name="name" class="otherinput" />
|
|
|
+ <view wx:if="{{moneyOtherQtnull}}" class="required">其它收入来源不能为空哦!</view>
|
|
|
<view class="name"><text class="red">*</text>本人上年度可支配收入</view>
|
|
|
<picker bindchange="tab2Change15" value="{{payMoney[payIndex]}}" range="{{payMoney}}">
|
|
|
<view class="picker">
|
|
@@ -136,8 +165,9 @@
|
|
|
</checkbox-group>
|
|
|
</view>
|
|
|
<view wx:if="{{familyHelp}}" class="required">家庭救助帮扶情况不能为空哦!</view>
|
|
|
- <input wx:if="{{familyHelpQt}}" placeholder="请填写其它帮扶情况" name="name" class="otherinput" />
|
|
|
- <view class="block">
|
|
|
+ <input wx:if="{{familyHelpQt}}" placeholder="请填写其它救助情况" bindinput="tab1Change16_1" name="name" class="otherinput" />
|
|
|
+ <view wx:if="{{otherhelpQtnull}}" class="required">其它救助情况不能为空哦!</view>
|
|
|
+ <view class="block">
|
|
|
<view class="name"><text class="red">*</text>是否为失独家庭</view>
|
|
|
<radio-group bindchange="tab1Change17">
|
|
|
<label wx:for="{{loneArr}}" wx:key="{{item}}">
|
|
@@ -145,9 +175,65 @@
|
|
|
</label>
|
|
|
</radio-group>
|
|
|
</view>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ <view class="block">
|
|
|
+ <view class="name"><text class="red">*</text>陪伴居住情况</view>
|
|
|
+ <checkbox-group bindchange="tab1Change18">
|
|
|
+ <label wx:for="{{liveStatus}}" wx:key="{{item.name}}">
|
|
|
+ <checkbox value="{{item.name}}" disabled="{{item.disable}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
|
|
|
+ </label>
|
|
|
+ </checkbox-group>
|
|
|
+ </view>
|
|
|
+ <view wx:if="{{isliveNull}}" class="required">陪伴居住情况不能为空哦!</view>
|
|
|
+ <input wx:if="{{isliveQt}}" placeholder="请填写其他陪伴居住情况" bindinput="tab1Change18_1" name="name" class="otherinput" />
|
|
|
+ <view wx:if="{{isliveQtNull}}" class="required">其他陪伴居住情况不能为空哦!</view>
|
|
|
+ <view class="block">
|
|
|
+ <view class="name"><text class="red">*</text>日常生活照料人</view>
|
|
|
+ <checkbox-group bindchange="tab1Change19">
|
|
|
+ <label wx:for="{{oftenMan}}" wx:key="{{item.name}}">
|
|
|
+ <checkbox value="{{item.name}}" disabled="{{item.disabled}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
|
|
|
+ </label>
|
|
|
+ </checkbox-group>
|
|
|
+ </view>
|
|
|
+ <view wx:if="{{isoftenManNull}}" class="required">日常生活照料人不能为空哦!</view>
|
|
|
+ <input wx:if="{{isoftenManQt}}" bindinput="tab1Change20" placeholder="请填写人员关系" name="name" class="otherinput" />
|
|
|
+ <view wx:if="{{isoftenReaNull}}" class="required">人员关系不能为空哦!</view>
|
|
|
+ <view wx:if="{{ofenmanDetail}}">
|
|
|
+ <view class="block"><text class="red">*</text>主要照料人姓名<input bindinput="tab1Change21" placeholder="请填写主要照料人姓名" name="name" /></view>
|
|
|
+ <view class="required" wx:if="{{lookAfterName}}">主要照料人姓名不能为空哦!</view>
|
|
|
+ <view class="block">
|
|
|
+ <view class="name"><text class="red">*</text>主要照料人性别</view>
|
|
|
+ <radio-group bindchange="tab1Change22">
|
|
|
+ <label wx:for="{{lookafterSex}}" wx:key="{{item}}">
|
|
|
+ <radio value="{{item}}" color="#fff" />{{item}}
|
|
|
+ </label>
|
|
|
+ </radio-group>
|
|
|
+ </view>
|
|
|
+ <view class="block"><text class="red">*</text>主要照料人电话<input bindinput="tab1Change23" placeholder="请填写主要照料人电话" name="name" /></view>
|
|
|
+ <view class="required" wx:if="{{islookPhoneNull}}">主要照料人电话不能为空哦!</view>
|
|
|
+ </view>
|
|
|
+ <view class="block">
|
|
|
+ <view class="name"><text class="red">*</text>关爱服务需求</view>
|
|
|
+ <checkbox-group bindchange="tab1Change24">
|
|
|
+ <label wx:for="{{loveRequire}}" wx:key="{{item}}">
|
|
|
+ <checkbox value="{{item}}" color="#fff" />{{item}}
|
|
|
+ </label>
|
|
|
+ </checkbox-group>
|
|
|
+ </view>
|
|
|
+ <view wx:if="{{isloveNull}}" class="required">关爱服务需求不能为空哦!</view>
|
|
|
+ <input wx:if="{{isloveQt}}" bindinput="tab1change25" placeholder="请填写其它关爱服务需求" name="name" class="otherinput" />
|
|
|
+ <view wx:if="{{isloveQtNull}}" class="required">其它关爱服务需求不能为空哦!</view>
|
|
|
+ <view class="block">
|
|
|
+ <view class="name"><text class="red">*</text>老年人类别</view>
|
|
|
+ <checkbox-group bindchange="tab1Change26">
|
|
|
+ <label wx:for="{{oldType}}" wx:key="{{item.name}}">
|
|
|
+ <checkbox value="{{item.name}}" disabled="{{item.disable}}" checked="{{item.checked}}" color="#fff" />{{item.name}}
|
|
|
+ </label>
|
|
|
+ </checkbox-group>
|
|
|
+ </view>
|
|
|
+ <view wx:if="{{isoldtypeNull}}" class="required">老年人类别不能为空哦!</view>
|
|
|
+ <view class="scan" style="margin-top:20rpx">
|
|
|
+ <image src="../../images/mz/upload.png" style="width:40rpx;height:40rpx;margin-top:5rpx;margin-left:30rpx"></image><text>请上传老人含面部照片</text>
|
|
|
+ </view>
|
|
|
|
|
|
</view>
|
|
|
<!-- 第二个tab子女信息 -->
|
|
@@ -231,66 +317,68 @@
|
|
|
{{othersyrArr[syrIndex]}}
|
|
|
</view>
|
|
|
</picker>
|
|
|
- <view class="block"><text class="red">*</text>其他赡养人姓名<input bindinput="tab3Change2" placeholder="请填写其他赡养人姓名" name="name" /></view>
|
|
|
- <view wx:if="{{isothersyrName}}" class="required">其他赡养人姓名不能为空哦!</view>
|
|
|
- <view class="block">
|
|
|
- <view class="name"><text class="red">*</text>其他赡养人性别</view>
|
|
|
- <radio-group bindchange="tab2Change3">
|
|
|
- <label wx:for="{{othersyrSexArr}}" wx:key="{{item}}">
|
|
|
- <radio value="{{item}}" color="#fff" />{{item}}
|
|
|
- </label>
|
|
|
- </radio-group>
|
|
|
- </view>
|
|
|
- <view class="block"><text class="red">*</text>其他赡养人电话<input bindinput="tab3Change4" placeholder="请填写常用联系电话" name="name" /></view>
|
|
|
- <view wx:if="{{isothersyrPhone}}" class="required">其他赡养人电话不能为空哦!</view>
|
|
|
- <view class="name"><text class="red">*</text>与被赡养人关系</view>
|
|
|
- <picker bindchange="tab3Change5" value="{{othersyrRelation[othersyrRelationIndex]}}" range="{{othersyrRelation}}">
|
|
|
- <view class="picker">
|
|
|
- {{othersyrRelation[othersyrRelationIndex]}}
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
- <view class="block" wx:if="{{syrRelationQT}}"><text class="red">*</text>与被赡养人其他关系<input bindinput="tab3Change6" placeholder="请填写与被赡养人其他关系" name="name" /></view>
|
|
|
- <view wx:if="{{isothersyRelation}}" class="required">与被赡养人其他关系不能为空哦!</view>
|
|
|
- <view class="name"><text class="red">*</text>是否外出</view>
|
|
|
- <picker bindchange="tab3Change7" value="{{othersyrIsout[othersyrIsoutIndex]}}" range="{{othersyrIsout}}">
|
|
|
- <view class="picker">
|
|
|
- {{othersyrIsout[othersyrIsoutIndex]}}
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
- <view wx:if="{{showothersyrOut}}">
|
|
|
- <view class="block"><text class="red">*</text>外出原因<input bindinput="tab3Change8" placeholder="请填写外出原因" name="name" /></view>
|
|
|
- <view wx:if="{{isOutReason}}" class="required">外出原因不能为空哦!</view>
|
|
|
- <view class="block"><text class="red">*</text>外出地点
|
|
|
- <picker mode="region" bindchange="tab3Change9" value="{{region}}" custom-item="{{customItem}}">
|
|
|
- <view class="picker">
|
|
|
- {{region[0]}} {{region[1]}} {{region[2]}}
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
+ <view wx:if="{{isHaveOther}}">
|
|
|
+ <view class="block"><text class="red">*</text>其他赡养人姓名<input bindinput="tab3Change2" placeholder="请填写其他赡养人姓名" name="name" /></view>
|
|
|
+ <view wx:if="{{isothersyrName}}" class="required">其他赡养人姓名不能为空哦!</view>
|
|
|
+ <view class="block">
|
|
|
+ <view class="name"><text class="red">*</text>其他赡养人性别</view>
|
|
|
+ <radio-group bindchange="tab2Change3">
|
|
|
+ <label wx:for="{{othersyrSexArr}}" wx:key="{{item}}">
|
|
|
+ <radio value="{{item}}" color="#fff" />{{item}}
|
|
|
+ </label>
|
|
|
+ </radio-group>
|
|
|
</view>
|
|
|
- <view class="block"><text class="red">*</text>最后一次离家时间
|
|
|
- <picker mode="date" bindchange="tab3Change10" value="{{date}}" fields="month">
|
|
|
- <view class="picker">
|
|
|
- {{date}}
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
+ <view class="block"><text class="red">*</text>其他赡养人电话<input bindinput="tab3Change4" placeholder="请填写常用联系电话" name="name" /></view>
|
|
|
+ <view wx:if="{{isothersyrPhone}}" class="required">其他赡养人电话不能为空哦!</view>
|
|
|
+ <view class="name"><text class="red">*</text>与被赡养人关系</view>
|
|
|
+ <picker bindchange="tab3Change5" value="{{othersyrRelation[othersyrRelationIndex]}}" range="{{othersyrRelation}}">
|
|
|
+ <view class="picker">
|
|
|
+ {{othersyrRelation[othersyrRelationIndex]}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ <view class="block" wx:if="{{syrRelationQT}}"><text class="red">*</text>与被赡养人其他关系<input bindinput="tab3Change6" placeholder="请填写与被赡养人其他关系" name="name" /></view>
|
|
|
+ <view wx:if="{{isothersyRelation}}" class="required">与被赡养人其他关系不能为空哦!</view>
|
|
|
+ <view class="name"><text class="red">*</text>是否外出</view>
|
|
|
+ <picker bindchange="tab3Change7" value="{{othersyrIsout[othersyrIsoutIndex]}}" range="{{othersyrIsout}}">
|
|
|
+ <view class="picker">
|
|
|
+ {{othersyrIsout[othersyrIsoutIndex]}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ <view wx:if="{{showothersyrOut}}">
|
|
|
+ <view class="block"><text class="red">*</text>外出原因<input bindinput="tab3Change8" placeholder="请填写外出原因" name="name" /></view>
|
|
|
+ <view wx:if="{{isOutReason}}" class="required">外出原因不能为空哦!</view>
|
|
|
+ <view class="block"><text class="red">*</text>外出地点
|
|
|
+ <picker mode="region" bindchange="tab3Change9" value="{{region}}" custom-item="{{customItem}}">
|
|
|
+ <view class="picker">
|
|
|
+ {{region[0]}} {{region[1]}} {{region[2]}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ <view class="block"><text class="red">*</text>最后一次离家时间
|
|
|
+ <picker mode="date" bindchange="tab3Change10" value="{{date}}" fields="month">
|
|
|
+ <view class="picker">
|
|
|
+ {{date}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+ <view class="name"><text class="red">*</text>是否有配偶</view>
|
|
|
+ <picker bindchange="tab3Change11" value="{{othersyrIsMarry[othersyrIsMarryIndex]}}" range="{{othersyrIsMarry}}">
|
|
|
+ <view class="picker">
|
|
|
+ {{othersyrIsMarry[othersyrIsMarryIndex]}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ <view wx:if="{{isMarry}}" class="block"><text class="red">*</text>配偶姓名<input bindinput="tab3Change12" placeholder="请填写配偶姓名" name="name" /></view>
|
|
|
+ <view wx:if="{{isMarryName}}" class="required">配偶姓名不能为空哦!</view>
|
|
|
+ <view wx:if="{{isMarry}}" class="block"><text class="red">*</text>配偶联系电话<input bindinput="tab3Change13" placeholder="请填写配偶联系电话" name="name" /></view>
|
|
|
+ <view wx:if="{{isMarryPhone}}" class="required">配偶联系电话不能为空哦!</view>
|
|
|
+ <view class="name"><text class="red">*</text>平均一年探望次数</view>
|
|
|
+ <picker bindchange="tab3Change14" value="{{othersyrTfTimes[othersyrTfTimesIndex]}}" range="{{othersyrTfTimes}}">
|
|
|
+ <view class="picker">
|
|
|
+ {{othersyrTfTimes[othersyrTfTimesIndex]}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
</view>
|
|
|
- <view class="name"><text class="red">*</text>是否有配偶</view>
|
|
|
- <picker bindchange="tab3Change11" value="{{othersyrIsMarry[othersyrIsMarryIndex]}}" range="{{othersyrIsMarry}}">
|
|
|
- <view class="picker">
|
|
|
- {{othersyrIsMarry[othersyrIsMarryIndex]}}
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
- <view wx:if="{{isMarry}}" class="block"><text class="red">*</text>配偶姓名<input bindinput="tab3Change12" placeholder="请填写配偶姓名" name="name" /></view>
|
|
|
- <view wx:if="{{isMarryName}}" class="required">配偶姓名不能为空哦!</view>
|
|
|
- <view wx:if="{{isMarry}}" class="block"><text class="red">*</text>配偶联系电话<input bindinput="tab3Change13" placeholder="请填写配偶联系电话" name="name" /></view>
|
|
|
- <view wx:if="{{isMarryPhone}}" class="required">配偶联系电话不能为空哦!</view>
|
|
|
- <view class="name"><text class="red">*</text>平均一年探望次数</view>
|
|
|
- <picker bindchange="tab3Change14" value="{{othersyrTfTimes[othersyrTfTimesIndex]}}" range="{{othersyrTfTimes}}">
|
|
|
- <view class="picker">
|
|
|
- {{othersyrTfTimes[othersyrTfTimesIndex]}}
|
|
|
- </view>
|
|
|
- </picker>
|
|
|
</view>
|
|
|
<!-- 第四个tab寻访联系人信息 -->
|
|
|
<view wx:if="{{currentIndex==3}}">
|
|
@@ -303,17 +391,19 @@
|
|
|
</checkbox-group>
|
|
|
</view>
|
|
|
<view wx:if="{{isnull1}}" class="required">巡访方式不能为空哦!</view>
|
|
|
- <input wx:if="{{isVisitways}}" placeholder="请填写其它内容" name="name" class="otherinput" />
|
|
|
+ <input wx:if="{{isVisitways}}" placeholder="请填写其它内容" bindinput="tab4Change2" name="name" class="otherinput" />
|
|
|
+ <view wx:if="{{isVisitwaysnull}}" class="required">其它巡访方式不能为空哦!</view>
|
|
|
<view class="block">
|
|
|
<view class="name"><text class="red">*</text>巡访频次</view>
|
|
|
- <radio-group bindchange="tab4Change2">
|
|
|
+ <radio-group bindchange="tab4Change3">
|
|
|
<label wx:for="{{visitTimes}}" wx:key="{{item.name}}">
|
|
|
<radio value="{{item.name}}" color="#fff" />{{item.name}}
|
|
|
</label>
|
|
|
</radio-group>
|
|
|
</view>
|
|
|
<view wx:if="{{isnull2}}" class="required">巡访频次不能为空哦!</view>
|
|
|
- <input wx:if="{{isVisittimes}}" placeholder="请填写其它内容" name="name" class="otherinput" />
|
|
|
+ <input wx:if="{{isVisittimes}}" placeholder="请填写其它内容" bindinput="tab4change4" name="name" class="otherinput" />
|
|
|
+ <view wx:if="{{isVisittimesnull}}" class="required">其它巡访频次不能为空哦!</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|