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
+3 -2
View File
@@ -6,6 +6,7 @@
<text class="header-title">订单管理</text>
<text class="header-sub">共 {{stats.total}} 个订单</text>
</view>
<view class="header-add" bindtap="onAddOrder">新增预约</view>
</view>
<!-- 状态筛选 -->
@@ -45,7 +46,7 @@
<view class="empty-box" wx:elif="{{!isLoading && orderList.length === 0}}">
<t-empty icon="file" description="暂无订单" t-class-description="empty-text">
<view slot="action">
<view class="empty-btn" bindtap="loadOrderList">刷新</view>
<view class="empty-btn" bindtap="onReload">刷新</view>
</view>
</t-empty>
</view>
@@ -76,7 +77,7 @@
<view class="patient-name-row">
<text class="patient-name">{{item.patient.name || '未知患者'}}</text>
<text class="patient-sex {{item.patient.sex}}">{{item.patient.sex === 'male' ? '男' : item.patient.sex === 'female' ? '女' : ''}}</text>
<text class="patient-age" wx:if="{{item.patient.age}}">{{item.patient.age}}</text>
<text class="patient-age" wx:if="{{item.patientAgeText}}">{{item.patientAgeText}}</text>
</view>
<text class="patient-phone">{{item.patient.mobile || '暂无电话'}}</text>
</view>