From e1647902e29a5200875d02e4aa760e0e797e6f28 Mon Sep 17 00:00:00 2001 From: ylweng Date: Mon, 1 Sep 2025 01:23:49 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=96=87=E6=A1=A3=EF=BC=8C=E5=AE=8C=E5=96=84=E9=9C=80=E6=B1=82?= =?UTF-8?q?=E5=92=8C=E6=8A=80=E6=9C=AF=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin_website/src/views/Orders.vue | 164 ++++++++++--------------- admin_website/src/views/Statistics.vue | 65 +++++----- backend/API接口文档.md | 46 +++---- backend/后台管理系统API文档.md | 7 +- 4 files changed, 119 insertions(+), 163 deletions(-) diff --git a/admin_website/src/views/Orders.vue b/admin_website/src/views/Orders.vue index 831d61f..337e065 100644 --- a/admin_website/src/views/Orders.vue +++ b/admin_website/src/views/Orders.vue @@ -37,33 +37,33 @@ - + - + - + @@ -73,7 +73,7 @@ size="small" type="primary" @click="handleUpdateStatus(scope.row)" - :disabled="scope.row.paymentStatus === 'cancelled'" + :disabled="scope.row.payment_status === 'cancelled'" > 状态 @@ -96,37 +96,37 @@ - {{ currentOrder.orderNo }} + {{ currentOrder.order_number }} {{ currentOrder.username }} {{ currentOrder.phone }} - ¥{{ currentOrder.amount }} + ¥{{ currentOrder.total_amount }} - 待支付 - 已支付 - 已取消 - {{ currentOrder.paymentStatus }} + 待支付 + 已支付 + 已取消 + {{ currentOrder.payment_status }} - 待发货 - 已发货 - 已完成 - {{ currentOrder.shippingStatus }} + 待发货 + 已发货 + 已完成 + {{ currentOrder.shipping_status }} - {{ currentOrder.shippingAddress }} - {{ formatDate(currentOrder.createTime) }} + {{ currentOrder.shipping_address }} + {{ formatDate(currentOrder.created_at) }} - + - + @@ -142,14 +142,14 @@ - + - + @@ -169,7 +169,8 @@