|
|
|
|
<view class="page">
|
|
|
|
|
<view class="banner">
|
|
|
|
|
<view class="avatar">
|
|
|
|
|
<image class="avatar-img" src="{{detail.UserImg}}"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="wrap">
|
|
|
|
|
<view class="name" bind:tap="handleToggleTel">
|
|
|
|
|
{{showTel ? detail.Name : detail.hideName}}
|
|
|
|
|
<image wx:if="{{showTel}}" class="tel-icon" src="{{imageUrl}}/5/eye2.png?t={{Timestamp}}"></image>
|
|
|
|
|
<image wx:else class="tel-icon" src="{{imageUrl}}/5/eye1.png?t={{Timestamp}}"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="content">
|
|
|
|
|
<view>{{detail.AgeRangeName}} | {{showTel ? detail.Telephone : '***********'}}</view>
|
|
|
|
|
<view>邀约时间:{{detail.InviteTime}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="container">
|
|
|
|
|
<block wx:if="{{detail.HealthQA && detail.HealthQA.hasSubmitted && detail.HealthQA.questions.length > 0}}">
|
|
|
|
|
<view class="row" wx:for="{{detail.HealthQA.questions}}" wx:key="QuestionNo">
|
|
|
|
|
<view class="label">{{item.QuestionContent}}</view>
|
|
|
|
|
<view class="content" wx:if="{{item.AnswerTextStr}}">
|
|
|
|
|
<text wx:if="{{!item.isAnswerArray}}">{{item.AnswerTextStr}}</text>
|
|
|
|
|
<block wx:else>
|
|
|
|
|
<view wx:for="{{item.AnswerTextArr}}" wx:for-item="ans" wx:key="index">{{ans}}<text wx:if="{{item.OtherText && index === item.AnswerTextArr.length - 1}}">({{item.OtherText}})</text></view>
|
|
|
|
|
</block>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="content" wx:else>未作答</view>
|
|
|
|
|
</view>
|
|
|
|
|
</block>
|
|
|
|
|
<view class="row">
|
|
|
|
|
<view class="label">备注</view>
|
|
|
|
|
<view class="content">{{detail.DoctorRemark || '无'}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="footer">
|
|
|
|
|
<view class="remark" bind:tap="handleRemark">备注</view>
|
|
|
|
|
<view class="send" bind:tap="handleSend" wx:if="{{detail.IsCurrent==1}}">发消息</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<van-popup
|
|
|
|
|
show="{{ popupRemarkShow }}"
|
|
|
|
|
style="--popup-close-icon-color: #283031"
|
|
|
|
|
position="bottom"
|
|
|
|
|
round
|
|
|
|
|
closeable
|
|
|
|
|
bind:close="handleRemarkClose"
|
|
|
|
|
>
|
|
|
|
|
<view class="popup-remark">
|
|
|
|
|
<view class="title">备注</view>
|
|
|
|
|
<textarea
|
|
|
|
|
class="textarea"
|
|
|
|
|
focus="{{remarkFocus}}"
|
|
|
|
|
model:value="{{remark}}"
|
|
|
|
|
cursor-spacing="{{100}}"
|
|
|
|
|
placeholder-style="color: rgba(194, 201, 202, 1)"
|
|
|
|
|
placeholder="请输入备注"
|
|
|
|
|
></textarea>
|
|
|
|
|
<view class="submit" bind:tap="handleRemarkSubmit">保存</view>
|
|
|
|
|
</view>
|
|
|
|
|
</van-popup>
|
|
|
|
|
|
|
|
|
|
<van-popup show="{{ popupEditShow }}" position="center" round bind:close="handleRemarkClose">
|
|
|
|
|
<view class="popup-edit">
|
|
|
|
|
<view class="title">编辑患者信息</view>
|
|
|
|
|
<view class="popup-container">
|
|
|
|
|
<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 {{detail.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 {{detail.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 {{detail.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 {{detail.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 {{detail.MedicalInsuranceType + '' === item.id && 'active'}}"
|
|
|
|
|
data-key="MedicalInsuranceType"
|
|
|
|
|
data-id="{{item.id}}"
|
|
|
|
|
bind:tap="handleRadio"
|
|
|
|
|
>
|
|
|
|
|
{{item.value}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="popup-footer">
|
|
|
|
|
<view class="cancel" bind:tap="handleUserCancel">取消</view>
|
|
|
|
|
<view class="conform" bind:tap="handleUserSubmit">保存</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</van-popup>
|
|
|
|
|
|
|
|
|
|
<toast
|
|
|
|
|
bind:cancel="handleToastCancel"
|
|
|
|
|
bind:ok="handleToastOk"
|
|
|
|
|
show="{{toastShow}}"
|
|
|
|
|
type="{{toastType}}"
|
|
|
|
|
params="{{toastParams}}"
|
|
|
|
|
></toast>
|