From 690444cbda62ceeaa1c759dc0cb9aef6fec94a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=98=E6=B3=8A=E5=AE=A2?= <1059510186@qq.com> Date: Thu, 21 Sep 2023 13:56:00 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/shopManage/index.ts | 6 +++++ .../login/components/AccountLoginForm.vue | 1 + .../inspectionIndex.vue | 6 +++++ .../inspectionModal.vue | 9 ------- .../inspectionSearch.vue | 26 +++++++++++++++---- src/views/shopManage/shopIndex.vue | 4 +++ src/views/shopManage/shopModal.vue | 19 +++++++------- types/components.d.ts | 1 + 8 files changed, 49 insertions(+), 23 deletions(-) diff --git a/src/api/shopManage/index.ts b/src/api/shopManage/index.ts index 64c881a..1c7a423 100644 --- a/src/api/shopManage/index.ts +++ b/src/api/shopManage/index.ts @@ -25,9 +25,15 @@ export function getReservation(pageParams: queryReservation) { params: pageParams }) } + export function deleteShop(id: number) { return httpClient.delete>(`/store/${id}`) } + export function exportI18nDataExcel(params: queryReservation) { return httpClient.get('/store/export', { params, responseType: 'blob' }) } +// 所有店铺列表 +export function getShopQueryAll(type: number) { + return httpClient.get('/store/queryAll', { params: { roleType: type } }) +} diff --git a/src/views/login/components/AccountLoginForm.vue b/src/views/login/components/AccountLoginForm.vue index bac671b..1d09a02 100644 --- a/src/views/login/components/AccountLoginForm.vue +++ b/src/views/login/components/AccountLoginForm.vue @@ -30,6 +30,7 @@