From e6d0eacf5a4c8446fc6aa7bb9bdd3495995e59f0 Mon Sep 17 00:00:00 2001 From: 15820893422 <1978476055@qq.com> Date: Tue, 25 Jun 2024 10:32:43 +0800 Subject: [PATCH] fix --- admin/.eslintignore | 1 + admin/src/api/order.js | 19 +++++++ admin/src/layout/components/Navbar.vue | 1 - admin/src/views/order/index.vue | 68 +++++++++++++++++++------- 4 files changed, 70 insertions(+), 19 deletions(-) create mode 100644 admin/src/api/order.js diff --git a/admin/.eslintignore b/admin/.eslintignore index e6529fc0..7b5d6370 100644 --- a/admin/.eslintignore +++ b/admin/.eslintignore @@ -1,4 +1,5 @@ build/*.js src/assets +src public dist diff --git a/admin/src/api/order.js b/admin/src/api/order.js new file mode 100644 index 00000000..53914db8 --- /dev/null +++ b/admin/src/api/order.js @@ -0,0 +1,19 @@ +import request from '@/utils/request' + +export function orderBack(data) { + return request({ + url: '/admin/order/back', + method: 'post', + data + }) +} +// 获取qa详情 +export function getQaDetail(city_id) { + return request({ + url: 'admin/qa/getQaDetail', + method: 'get', + params: { + city_id + } + }) +} diff --git a/admin/src/layout/components/Navbar.vue b/admin/src/layout/components/Navbar.vue index 36d004d0..6c03a6fd 100644 --- a/admin/src/layout/components/Navbar.vue +++ b/admin/src/layout/components/Navbar.vue @@ -124,7 +124,6 @@ size="800px" direction="rtl" :modal="false" - :before-close="handleClose" >
关 闭 diff --git a/admin/src/views/order/index.vue b/admin/src/views/order/index.vue index 078e1255..b1bb05d0 100644 --- a/admin/src/views/order/index.vue +++ b/admin/src/views/order/index.vue @@ -75,7 +75,7 @@