From 24115b68c35e1865143852b6b08afdace3dabbdb Mon Sep 17 00:00:00 2001 From: huyuanxiang <273637057@qq.com> Date: Tue, 6 Jun 2023 13:17:42 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E6=9C=AA=E5=8F=91=E8=B4=A7=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E7=8A=B6=E6=80=81=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/index.js | 5 ++++- config/order.js | 6 ++++++ pages/commponent/user/my-order.vue | 15 +++++++++++++ pages/login/index1.vue | 34 ++++++++++++++++++++++++------ pages/views/order/confirmOrder.vue | 9 +++++++- pages/views/order/orderList.vue | 4 ++++ pages/views/tabBar/user.vue | 26 +++++++++++++++++++++-- 7 files changed, 88 insertions(+), 11 deletions(-) diff --git a/api/index.js b/api/index.js index c775de1..43bba74 100644 --- a/api/index.js +++ b/api/index.js @@ -17,4 +17,7 @@ export const editAddr = (params) => request('/erp/addrManager/edit', params, 'po export const delAddr = (params) => request('/erp/addrManager/delete?id='+params, {} , 'delete') export const getCode = (params) => request('/sys/randomImage/' + params, {}, 'get') -export const login = (params) => request('/sys/login', params, 'POST') \ No newline at end of file +export const login = (params) => request('/sys/login', params, 'POST') + + +export const getStatusList = (params) => request('/erp/order/queryState', params, 'get') \ No newline at end of file diff --git a/config/order.js b/config/order.js index cdc9801..aa11fca 100644 --- a/config/order.js +++ b/config/order.js @@ -27,6 +27,12 @@ export const ORDER_NAVS = [ url: '', id: 3 }, + { + name: '已取消', + icon: 'icon-erji', + url: '', + id: 5 + }, // { // name: '退款/售后', // icon: 'icon-shouhou', diff --git a/pages/commponent/user/my-order.vue b/pages/commponent/user/my-order.vue index 43cd8d2..f91f2f3 100644 --- a/pages/commponent/user/my-order.vue +++ b/pages/commponent/user/my-order.vue @@ -7,6 +7,7 @@ {{item.name}} + {{item._num}} @@ -46,6 +47,19 @@ export default { };