You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
284 lines
9.7 KiB
284 lines
9.7 KiB
<view |
|
class="page" |
|
style="background: url({{imageUrl}}za-images//3/userinfo-bg.png?t={{Timestamp}}) no-repeat top center / 100% 1200rpx;padding-top: {{bottom+10}}px;" |
|
> |
|
<navBar back background="{{background}}" fixed bind:back="handleBack" title="个人信息"></navBar> |
|
<view class="page-container"> |
|
<view class="banner-new"> |
|
<view class="row"> |
|
<view class="row-header"> |
|
<view class="label">姓名</view> |
|
</view> |
|
<view class="row-content"> |
|
<input |
|
class="input" |
|
placeholder-class="place-input" |
|
placeholder="请输入真实姓名" |
|
value="{{userInfo.PatientName}}" |
|
maxlength="{{8}}" |
|
bindinput="handleInput" |
|
data-key="PatientName" |
|
bindblur="updateUserInfo" |
|
/> |
|
</view> |
|
</view> |
|
<view class="row"> |
|
<view class="row-header"> |
|
<view class="label">手机号</view> |
|
<view class="change-phone" bind:tap="handleChangeTel">修改手机号</view> |
|
</view> |
|
<view class="row-content"> |
|
<input class="input" disabled placeholder-class="place-input" type="" value="{{userInfo.Telephone}}" /> |
|
</view> |
|
</view> |
|
<view class="row"> |
|
<view class="row-header"> |
|
<view class="label">身份</view> |
|
</view> |
|
<view class="row-content"> |
|
<view class="radio-btns"> |
|
<view |
|
class="btn {{userInfo.RelationType==item.id && 'active'}}" |
|
wx:for="{{RTList}}" |
|
wx:key="index" |
|
bind:tap="handleRedioSelect" |
|
data-key="RelationType" |
|
data-id="{{item.id}}" |
|
> |
|
{{item.value}} |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="row"> |
|
<view class="row-header"> |
|
<view class="label">出生日期</view> |
|
</view> |
|
<view class="row-content"> |
|
<picker |
|
class="r-picker" |
|
bindchange="handleChaneAge" |
|
start="{{ageStart}}" |
|
end="{{ageEnd}}" |
|
fields="month" |
|
mode="date" |
|
value="{{userInfo.Birth}}" |
|
> |
|
<view class="r-picker-content"> |
|
<view class="value" data-place="年/月" wx:if="{{bron}}">{{bron}}({{age}})</view> |
|
<view class="value" data-place="年/月" wx:else></view> |
|
<image class="triangle" mode="widthFix" src="{{imageUrl}}za-images//3/triangle-down.png?t={{Timestamp}}"></image> |
|
</view> |
|
</picker> |
|
</view> |
|
</view> |
|
<view class="row"> |
|
<view class="row-header"> |
|
<view class="label">年龄范围</view> |
|
</view> |
|
<view class="row-content"> |
|
<view class="radio-btns"> |
|
<view |
|
class="btn {{userInfo.AgeRange==item.id && 'active'}}" |
|
wx:for="{{ageRangeList}}" |
|
wx:key="index" |
|
bind:tap="handleRedioSelect" |
|
data-key="AgeRange" |
|
data-id="{{item.id}}" |
|
> |
|
{{item.value}} |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="row"> |
|
<view class="row-header"> |
|
<view class="label">性别</view> |
|
</view> |
|
<view class="row-content"> |
|
<view class="radio-btns"> |
|
<view |
|
class="btn {{ userInfo.Gender === item.id && 'active'}}" |
|
wx:for="{{GenderList}}" |
|
wx:key="index" |
|
bind:tap="handleRedioSelect" |
|
data-key="Gender" |
|
data-id="{{item.id}}" |
|
> |
|
{{item.value}} |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="row"> |
|
<view class="row-header"> |
|
<view class="label">诊断分型</view> |
|
</view> |
|
<view class="row-content"> |
|
<picker |
|
class="r-picker" |
|
bindchange="handleChangeDiagnoseType" |
|
mode="selector" |
|
range="{{DTList}}" |
|
range-key="value" |
|
value="{{diagnoseTypeValue}}" |
|
disabled |
|
> |
|
<view class="r-picker-content" bind:tap="handleDiagnoseTypeShow"> |
|
<!-- prettier-ignore --> |
|
<view class="value" data-place="请选择分型" >{{DTList[diagnoseTypeValue].value || '' }}</view> |
|
<image class="triangle" mode="widthFix" src="{{imageUrl}}za-images//3/triangle-down.png?t={{Timestamp}}"></image> |
|
</view> |
|
</picker> |
|
</view> |
|
</view> |
|
<view class="row"> |
|
<view class="row-header"> |
|
<view class="label">抗体类型</view> |
|
</view> |
|
<view class="row-content"> |
|
<view class="radio-btns"> |
|
<view |
|
wx:for="{{antibodyTypeRangeList}}" |
|
wx:key="index" |
|
class="btn {{userInfo.AntibodyType + '' === item.id && 'active'}}" |
|
data-key="AntibodyType" |
|
data-id="{{item.id}}" |
|
bind:tap="handleRadio" |
|
> |
|
{{item.value}} |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="row"> |
|
<view class="row-header"> |
|
<view class="label">胸腺异常</view> |
|
</view> |
|
<view class="row-content"> |
|
<view class="radio-btns"> |
|
<view |
|
wx:for="{{thyroidAbnormalRangeList}}" |
|
wx:key="index" |
|
class="btn {{userInfo.ThyroidAbnormal + '' === item.id && 'active'}}" |
|
data-key="ThyroidAbnormal" |
|
data-id="{{item.id}}" |
|
bind:tap="handleRadio" |
|
> |
|
{{item.value}} |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="row"> |
|
<view class="row-header"> |
|
<view class="label">既往发生危象</view> |
|
</view> |
|
<view class="row-content"> |
|
<view class="radio-btns"> |
|
<view |
|
wx:for="{{previousConvulsionRangeList}}" |
|
wx:key="index" |
|
class="btn {{userInfo.PreviousConvulsion + '' === item.id && 'active'}}" |
|
data-key="PreviousConvulsion" |
|
data-id="{{item.id}}" |
|
bind:tap="handleRadio" |
|
> |
|
{{item.value}} |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="row"> |
|
<view class="row-header"> |
|
<view class="label">传统免疫抑制剂</view> |
|
</view> |
|
<view class="row-content"> |
|
<view class="radio-btns"> |
|
<view |
|
wx:for="{{traditionalImmunosuppressantRangeList}}" |
|
wx:key="index" |
|
class="btn {{userInfo.TraditionalImmunosuppressant + '' === item.id && 'active'}}" |
|
data-key="TraditionalImmunosuppressant" |
|
data-id="{{item.id}}" |
|
bind:tap="handleRadio" |
|
> |
|
{{item.value}} |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="row"> |
|
<view class="row-header"> |
|
<view class="label">医保类型</view> |
|
</view> |
|
<view class="row-content"> |
|
<view class="radio-btns"> |
|
<view |
|
wx:for="{{medicalInsuranceTypeRangeList}}" |
|
wx:key="index" |
|
class="btn {{userInfo.MedicalInsuranceType + '' === item.id && 'active'}}" |
|
data-key="MedicalInsuranceType" |
|
data-id="{{item.id}}" |
|
bind:tap="handleRadio" |
|
> |
|
{{item.value}} |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
<!-- <view class="protocol"> --> |
|
<!-- <view class="wrap"> --> |
|
<!-- <view class="name">接受电话随访服务</view> --> |
|
<!-- <view --> |
|
<!-- class="book" --> |
|
<!-- bind:tap="redirectTo" --> |
|
<!-- data-url="/patient/pages/taskAgreement/index?page=/patient/pages/personalInformation/index" --> |
|
<!-- > --> |
|
<!-- 《电话随访知情同意书》 --> |
|
<!-- </view> --> |
|
<!-- </view> --> |
|
<!-- <van-switch --> |
|
<!-- checked="{{userInfo.PatientCanFollowUp==1}}" --> |
|
<!-- active-color="#CF5375" --> |
|
<!-- size="24px" --> |
|
<!-- bind:change="handleChangeTask" --> |
|
<!-- ></van-switch> --> |
|
<!-- </view> --> |
|
</view> |
|
<!-- <view class="footer-new"> --> |
|
<!-- <view class="btn1" wx:if="{{userInfo.IsRootUser==1}}" bind:tap="handleLogout">注销账号</view> --> |
|
<!-- <view class="btn2" bind:tap="routerTo" data-url="/doctor/patient/pages/d_login/index?back=1">切换医生端</view> --> |
|
<!-- <view class="btn3" bind:tap="handleChangeUser">切换账号</view> --> |
|
<!-- </view> --> |
|
<view class="cancellation" bind:tap="handleChangeUser">切换账号</view> |
|
<view class="cancellation" bind:tap="routerTo" data-url="/doctor/patient/pages/d_login/index?back=1">切换医生端</view> |
|
<view wx:if="{{userInfo.IsRootUser==1}}" class="cancellation" bind:tap="handleLogout">注销</view> |
|
</view> |
|
</view> |
|
|
|
<van-popup |
|
class="popup" |
|
show="{{ diagnoseTypeShow }}" |
|
position="bottom" |
|
round |
|
close-on-click-overlay |
|
bind:close="handleDiagnoseTypeShow" |
|
> |
|
<view class="popup-title"> |
|
<view class="close" bind:tap="handleDiagnoseTypeShow">关闭</view> |
|
<view class="sure" bind:tap="handleDiagnoseTypeSave">保存</view> |
|
</view> |
|
<picker-view |
|
class="popup-picker" |
|
indicator-style="height: 50px;" |
|
style="width: 100%; height: 300px" |
|
value="{{[selectDiagnoseTypeIndex]}}" |
|
bindchange="handleChangeDiagnoseType" |
|
bindpickstart="handelUpdateDiagnoseType" |
|
> |
|
<picker-view-column> |
|
<view class="picker-col" wx:for="{{DTList}}">{{item.value}}</view> |
|
</picker-view-column> |
|
</picker-view> |
|
</van-popup>
|
|
|