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.
130 lines
4.5 KiB
130 lines
4.5 KiB
<view class="page" id="{{theme === 'DRUG' && 'drug-page'}}"> |
|
<view class="page-container"> |
|
<view class="content"> |
|
<view class="row-title">患者身份</view> |
|
<view class="switch"> |
|
<view |
|
class="item {{userInfo.RelationType == 1 && 'active'}}" |
|
bind:tap="handleRadio" |
|
data-key="RelationType" |
|
data-id="1" |
|
> |
|
<image class="icon" src="{{imageUrl}}{{theme === 'DRUG' ? 'icon88' : 'icon31'}}.png?t={{Timestamp}}"></image> |
|
<view class="name">本人</view> |
|
</view> |
|
<view |
|
class="item {{userInfo.RelationType == 2 && 'active'}}" |
|
bind:tap="handleRadio" |
|
data-key="RelationType" |
|
data-id="2" |
|
> |
|
<image class="icon" style="margin-right: 10rpx" src="{{imageUrl}}{{theme === 'DRUG' ? 'icon89' : 'icon32'}}.png?t={{Timestamp}}"></image> |
|
<view class="name">亲友</view> |
|
</view> |
|
</view> |
|
<view class="row-title">患者性别</view> |
|
<view class="row row2"> |
|
<view class="item {{userInfo.Gender == 2 && 'active'}}" bind:tap="handleRadio" data-key="Gender" data-id="2"> |
|
<image |
|
class="icon" |
|
src="{{imageUrl}}1/{{theme === 'DRUG' && userInfo.Gender == 2 ? 'drug-' : ''}}woman{{userInfo.Gender == 2 ? '-active' : ''}}.png?t={{Timestamp}}" |
|
></image> |
|
女 |
|
</view> |
|
<view class="item {{userInfo.Gender == 1 && 'active'}}" bind:tap="handleRadio" data-key="Gender" data-id="1"> |
|
<image |
|
class="icon" |
|
src="{{imageUrl}}1/{{theme === 'DRUG' && userInfo.Gender == 1 ? 'drug-' : ''}}man{{userInfo.Gender == 1 ? '-active' : ''}}.png?t={{Timestamp}}" |
|
></image> |
|
男 |
|
</view> |
|
</view> |
|
<view class="row-title">患者年龄</view> |
|
<view class="row row-age"> |
|
<view |
|
class="age-item {{userInfo.AgeRange == 1 && 'active'}}" |
|
data-key="AgeRange" |
|
data-id="1" |
|
bind:tap="handleRadio" |
|
> |
|
{{"<40岁"}} |
|
</view> |
|
<view |
|
class="age-item {{userInfo.AgeRange == 2 && 'active'}}" |
|
data-key="AgeRange" |
|
data-id="2" |
|
bind:tap="handleRadio" |
|
> |
|
40-49岁 |
|
</view> |
|
<view |
|
class="age-item {{userInfo.AgeRange == 3 && 'active'}}" |
|
data-key="AgeRange" |
|
data-id="3" |
|
bind:tap="handleRadio" |
|
> |
|
50-59岁 |
|
</view> |
|
<view |
|
class="age-item {{userInfo.AgeRange == 4 && 'active'}}" |
|
data-key="AgeRange" |
|
data-id="4" |
|
bind:tap="handleRadio" |
|
> |
|
60-69岁 |
|
</view> |
|
<view |
|
class="age-item {{userInfo.AgeRange == 5 && 'active'}}" |
|
data-key="AgeRange" |
|
data-id="5" |
|
bind:tap="handleRadio" |
|
> |
|
70-79岁 |
|
</view> |
|
<view |
|
class="age-item {{userInfo.AgeRange == 6 && 'active'}}" |
|
data-key="AgeRange" |
|
data-id="6" |
|
bind:tap="handleRadio" |
|
> |
|
≥80岁 |
|
</view> |
|
</view> |
|
<view class="row-title">患者姓名</view> |
|
<view class="row"> |
|
<input |
|
class="input" |
|
placeholder-style="color:rgba(34,34,34,0.3)" |
|
placeholder="输入姓名" |
|
value="{{userInfo.PatientName}}" |
|
maxlength="{{8}}" |
|
bindinput="handleInput" |
|
data-key="PatientName" |
|
bindblur="updateUserInfo" |
|
/> |
|
</view> |
|
<view class="row-title">您的意向就医地区</view> |
|
<view class="row"> |
|
<pickerArea |
|
pname="{{userInfo.IntentionalVisitProvinceName}}" |
|
pid="{{userInfo.IntentionalVisitProvinceId}}" |
|
cname="{{userInfo.IntentionalVisitCityName}}" |
|
cid="{{userInfo.IntentionalVisitCityId}}" |
|
theme="{{theme}}" |
|
bind:ok="handleAreaSelect" |
|
> |
|
<view class="area-text {{userInfo.IntentionalVisitProvinceName && 'area-text-active'}}"> |
|
{{userInfo.IntentionalVisitProvinceName ? (userInfo.IntentionalVisitProvinceName + ' ' + userInfo.IntentionalVisitCityName) : '请选择省份/城市'}} |
|
<van-icon name="arrow-down" /> |
|
</view> |
|
</pickerArea> |
|
</view> |
|
</view> |
|
<view class="bottom-actions"> |
|
<view class="action-btn danger" bind:tap="routerTo" data-url="/doctor/pages/d_login/index?back=1"> |
|
切换医生端 |
|
</view> |
|
<view wx:if="{{userInfo.IsRootUser==1}}" class="action-btn danger" bind:tap="handleLogout">注销</view> |
|
</view> |
|
</view> |
|
</view>
|
|
|