feat(closed-loop): complete end-to-end closed loops across miniapp, backend, and admin
这个提交包含在:
@@ -46,7 +46,7 @@
|
||||
<text class="countdown-txt">{{ getOrderCountdown(order) }}</text>
|
||||
</view>
|
||||
<view class="status-pill" :class="order.status">
|
||||
{{ getStatusText(order.status) }}
|
||||
{{ getStatusText(order.status, order) }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -465,12 +465,14 @@ const goToExplore = () => {
|
||||
});
|
||||
};
|
||||
|
||||
const getStatusText = (status) => {
|
||||
const getStatusText = (status, order) => {
|
||||
if (order && order.rawStatus === '已退款') return '已全额退款';
|
||||
if (order && order.rawStatus === '争议仲裁中') return '争议仲裁中';
|
||||
const map = {
|
||||
PENDING_PAY: '待付款',
|
||||
IN_SERVICE: '服务中',
|
||||
COMPLETED: '已完成',
|
||||
REFUNDING: '退款中',
|
||||
REFUNDING: '售后处理中',
|
||||
CANCELLED: '已取消',
|
||||
};
|
||||
return map[status] || status;
|
||||
|
||||
在新工单中引用
屏蔽一个用户