修复预约改派与员工统计展示
This commit is contained in:
@@ -73,6 +73,23 @@
|
||||
<view class="card note-card">{{appointment.remark || '暂无备注'}}</view>
|
||||
</view>
|
||||
|
||||
<view wx:if="{{!loadError && artistChangeRequests.length}}" class="section">
|
||||
<view class="section-title">改派历史</view>
|
||||
<view class="card change-history-card">
|
||||
<view wx:for="{{artistChangeRequests}}" wx:key="id" class="change-history-item">
|
||||
<view class="change-history-path">
|
||||
<text>{{item.fromArtistName || '未分配'}}</text>
|
||||
<text class="change-history-arrow">→</text>
|
||||
<text>{{item.toArtistName || '未分配'}}</text>
|
||||
</view>
|
||||
<view class="change-history-meta">
|
||||
<text>操作人:{{item.requesterName || '系统'}}</text>
|
||||
<text>{{item.approvedTime || item.createTime || ''}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view wx:if="{{priceModalVisible}}" class="detail-modal-mask" catchtap="stopTap">
|
||||
<view class="price-modal" catchtap="stopTap">
|
||||
<view class="price-modal-head">
|
||||
@@ -97,9 +114,10 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view wx:if="{{!loadError && showActionRow}}" class="fixed-bottom action-row {{showRestoreAction ? 'single' : ''}}">
|
||||
<view wx:if="{{!loadError && showActionRow}}" class="fixed-bottom action-row {{showRestoreAction ? 'single' : ''}} {{canTransferAppointment ? 'with-transfer' : ''}}">
|
||||
<button wx:if="{{showPendingActions}}" class="primary-btn" bindtap="complete">完成</button>
|
||||
<button wx:if="{{showPendingActions}}" class="danger-btn" bindtap="deleteAppointment">删除此订单</button>
|
||||
<button wx:if="{{canTransferAppointment}}" class="secondary-btn transfer-btn" bindtap="goTransfer">改派</button>
|
||||
<button wx:if="{{showRestoreAction}}" class="secondary-btn" bindtap="restorePending">修改状态</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user