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.
99 lines
3.0 KiB
99 lines
3.0 KiB
<navbar fixed custom-style="background:{{background}}" back> |
|
<view class="page-title" slot="left" bind:tap="handleBack"> |
|
<van-icon name="arrow-left" /> |
|
{{isEdit?"编辑":"添加"}}复诊记录 |
|
</view> |
|
</navbar> |
|
|
|
<view |
|
class="page" |
|
style="background: url('{{imageUrl}}bg6.png?t={{Timestamp}}') no-repeat top center/100% 478rpx;padding-top: {{pageTop}}px;" |
|
> |
|
<view class="form"> |
|
<view class="form-item"> |
|
<view class="form-label">日期</view> |
|
<picker mode="date" value="{{visitDate}}" bind:change="onDateChange" end="{{endDate}}"> |
|
<view class="date"> |
|
<view class="content" data-place="请选择日期">{{visitDate}}</view> |
|
<van-icon class="icon" name="arrow-down" /> |
|
</view> |
|
</picker> |
|
</view> |
|
<view class="form-item"> |
|
<view class="form-label"> |
|
上传图片 |
|
<view class="sub">可上传复诊病历、处方单或检查结果</view> |
|
</view> |
|
<view class="upload-wrap"> |
|
<uploadFile |
|
maxNum="{{10}}" |
|
fileList="{{fileList}}" |
|
bind:setData="handleSetData" |
|
bind:deleteFile="handleDeleteFile" |
|
></uploadFile> |
|
<view class="limit">可上传10张图,单图大小不超过2M</view> |
|
</view> |
|
</view> |
|
<view class="form-item"> |
|
<view class="form-label">是否更新处方</view> |
|
<view class="select1"> |
|
<view |
|
class="s-item {{isUpdatePrescription === 1 ? 'active' : ''}}" |
|
data-value="{{1}}" |
|
bind:tap="handlePrescriptionChange" |
|
> |
|
是 |
|
</view> |
|
<view |
|
class="s-item {{isUpdatePrescription === 0 ? 'active' : ''}}" |
|
data-value="{{0}}" |
|
bind:tap="handlePrescriptionChange" |
|
> |
|
否 |
|
</view> |
|
</view> |
|
</view> |
|
<view class="form-item"> |
|
<view class="form-label">是否手术诊断</view> |
|
<view class="select1"> |
|
<view |
|
class="s-item {{isUpdateSurgery === 1 ? 'active' : ''}}" |
|
data-value="{{1}}" |
|
bind:tap="handleSurgeryChange" |
|
> |
|
是 |
|
</view> |
|
<view |
|
class="s-item {{isUpdateSurgery === 0 ? 'active' : ''}}" |
|
data-value="{{0}}" |
|
bind:tap="handleSurgeryChange" |
|
> |
|
否 |
|
</view> |
|
</view> |
|
</view> |
|
<view class="form-item"> |
|
<view class="form-label">其他备注</view> |
|
<textarea |
|
class="txa" |
|
placeholder-class="txa-place" |
|
placeholder="请输入本次复诊内容,如:医生建议、症状变化、复诊结论等" |
|
value="{{remark}}" |
|
bindinput="onRemarkInput" |
|
maxlength="{{500}}" |
|
></textarea> |
|
</view> |
|
</view> |
|
<view class="page-footer"> |
|
<view class="cancel" bind:tap="handleBack">取消</view> |
|
<view class="send" bind:tap="handleSubmit">保存记录</view> |
|
</view> |
|
</view> |
|
|
|
<popup |
|
show="{{popupShow}}" |
|
type="{{popupType}}" |
|
params="{{popupParams}}" |
|
bind:ok="handlePopupOk" |
|
bind:cancel="handlePopupCancel" |
|
></popup>
|
|
|