From 6e92e7162c58cfc1f41811f73d527a813a446394 Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Sat, 27 Apr 2019 16:31:07 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E7=94=B3=E8=AF=B7=E9=80=80=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 和物流 --- mobile-web/src/api/order.js | 14 +++- mobile-web/src/config/router.js | 2 +- mobile-web/src/page/user/aftersale/detail.vue | 55 ++++++++++++---- mobile-web/src/page/user/aftersale/track.vue | 64 ++++++++++++------- mobile-web/src/page/user/order/info.vue | 2 +- mobile-web/src/page/user/order/logistics.vue | 4 +- 6 files changed, 99 insertions(+), 42 deletions(-) diff --git a/mobile-web/src/api/order.js b/mobile-web/src/api/order.js index 0ae3e2427..1f5c07918 100644 --- a/mobile-web/src/api/order.js +++ b/mobile-web/src/api/order.js @@ -133,9 +133,9 @@ export function getCartCalcSkuPrice(skuId) { // 物流信息 -export function getLogisticsInfo(params) { +export function getOrderLogisticsInfo(params) { return request({ - url: '/order-api/users/order_logistics/logistics_info', + url: '/order-api/users/order_logistics/info_order', method: 'get', params: { ...params, @@ -143,6 +143,16 @@ export function getLogisticsInfo(params) { }); } +export function getLogisticsInfo(logisticsId) { + return request({ + url: '/order-api/users/order_logistics/info', + method: 'GET', + params: { + logisticsId, + }, + }); +} + // 退货信息 diff --git a/mobile-web/src/config/router.js b/mobile-web/src/config/router.js index 381d4f407..5067fc8c0 100644 --- a/mobile-web/src/config/router.js +++ b/mobile-web/src/config/router.js @@ -147,7 +147,7 @@ const routes = [ } }, { - path: '/user/aftersale/track/:id', + path: '/user/aftersale/track/:id/:serviceNumber', component: () => import('../page/user/aftersale/track'), meta: { title: '进度详情' diff --git a/mobile-web/src/page/user/aftersale/detail.vue b/mobile-web/src/page/user/aftersale/detail.vue index d4a5ea46c..7019f18f0 100644 --- a/mobile-web/src/page/user/aftersale/detail.vue +++ b/mobile-web/src/page/user/aftersale/detail.vue @@ -1,16 +1,32 @@