This commit is contained in:
lik
2026-09-03 11:35:21 +08:00
parent f8f7afceb8
commit b4c8bf0add
45 changed files with 2989 additions and 426 deletions
+9 -17
View File
@@ -18,22 +18,13 @@
<view class="info-section">
<text class="section-title">患者信息</text>
<view class="info-card">
<view class="patient-header">
<view class="patient-avatar">
<text class="avatar-text">{{patientFirstChar}}</text>
</view>
<view class="patient-info">
<view class="patient-name-row">
<text class="patient-name">{{order.patient.name || '未知患者'}}</text>
<text class="patient-sex {{order.patient.sex}}" wx:if="{{patientSexText}}">{{patientSexText}}</text>
<text class="patient-age" wx:if="{{order.patient.age}}">{{order.patient.age}}岁</text>
</view>
<view class="patient-phone" data-phone="{{order.patient.mobile}}" bindtap="callPhone">
<text>{{order.patient.mobile || '暂无电话'}}</text>
<text class="call-icon" wx:if="{{order.patient.mobile}}"> 拨打</text>
</view>
</view>
</view>
<!-- 订单必须关联健康档案:按档案ID加载(不读缓存,直接请求最新) -->
<patient-info
profile-id="{{healthProfileId}}"
use-cache="{{false}}"
dial="{{true}}"
bind:call="callPhone"
/>
<view class="divider"></view>
<view class="info-row" wx:if="{{order.patient.weight}}">
<text class="info-label">体重</text>
@@ -192,7 +183,8 @@
</view>
<!-- 底部操作 -->
<view class="bottom-actions" wx:if="{{showConfirmBtn || showCancelBtn || showStartBtn || showCompleteBtn}}">
<view class="bottom-actions" wx:if="{{showEditBtn || showConfirmBtn || showCancelBtn || showStartBtn || showCompleteBtn}}">
<view class="action-btn btn-ghost" wx:if="{{showEditBtn}}" bindtap="onEdit">编辑订单</view>
<view class="action-btn btn-ghost" wx:if="{{showCancelBtn}}" bindtap="onCancel">取消订单</view>
<view class="action-btn btn-solid" wx:if="{{showConfirmBtn}}" bindtap="onConfirm">确认订单</view>
<view class="action-btn btn-solid" wx:if="{{showStartBtn}}" bindtap="onStart">开始服务</view>