diff --git a/mobile-web/src/api/order.js b/mobile-web/src/api/order.js index bfddcbb42..0ae3e2427 100644 --- a/mobile-web/src/api/order.js +++ b/mobile-web/src/api/order.js @@ -149,7 +149,7 @@ export function getLogisticsInfo(params) { export function getOrderReturnReason() { return request({ url: '/order-api/users/order_return/reason', - method: 'get', + method: 'GET', }); } @@ -165,3 +165,13 @@ export function orderReturnApply(params) { }, }); } + +export function getOrderReturnInfo(orderId) { + return request({ + url: '/order-api/users/order_return/info', + method: 'GET', + params: { + orderId, + }, + }); +} diff --git a/mobile-web/src/config/router.js b/mobile-web/src/config/router.js index e0d6034e3..381d4f407 100644 --- a/mobile-web/src/config/router.js +++ b/mobile-web/src/config/router.js @@ -140,7 +140,7 @@ const routes = [ } }, { - path: '/user/aftersale/detail', + path: '/user/aftersale/detail/:orderId', component: () => import('../page/user/aftersale/detail'), meta: { title: '服务单详情' diff --git a/mobile-web/src/page/user/aftersale/detail.vue b/mobile-web/src/page/user/aftersale/detail.vue index 0a2437732..d4a5ea46c 100644 --- a/mobile-web/src/page/user/aftersale/detail.vue +++ b/mobile-web/src/page/user/aftersale/detail.vue @@ -1,58 +1,79 @@ - -
- - - 提交申请 - 客服审核 - 客户确认 - 仓库收货 - 完成 - - - - -
-
- -
- -
- - - - - -
- - - - +