From 490de4ea6799cc8d60f572b3cacb7b54b5b75a49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=98=E6=B3=8A=E5=AE=A2?= <1059510186@qq.com> Date: Fri, 15 Sep 2023 18:38:46 +0800 Subject: [PATCH] xsm --- src/api/auth/types.ts | 1 + src/api/geopoliticalCustomers/index.ts | 11 + src/api/geopoliticalCustomers/types.ts | 1 + src/api/shopManage/index.ts | 12 + src/api/shopManage/types.ts | 19 + .../inspectionIndex.vue | 159 ++++++ .../inspectionModal.vue | 305 +++++++++++ .../inspectionSearch.vue | 110 ++++ src/views/shopManage/shopIndex.vue | 186 +++++++ src/views/shopManage/shopModal copy 2.vue | 294 ++++++++++ src/views/shopManage/shopModal copy.vue | 294 ++++++++++ src/views/shopManage/shopModal.vue | 517 ++++++++++++++++++ src/views/shopManage/shopSearch.vue | 110 ++++ 13 files changed, 2019 insertions(+) create mode 100644 src/api/shopManage/index.ts create mode 100644 src/api/shopManage/types.ts create mode 100644 src/views/qualityInspectionDistribution/inspectionIndex.vue create mode 100644 src/views/qualityInspectionDistribution/inspectionModal.vue create mode 100644 src/views/qualityInspectionDistribution/inspectionSearch.vue create mode 100644 src/views/shopManage/shopIndex.vue create mode 100644 src/views/shopManage/shopModal copy 2.vue create mode 100644 src/views/shopManage/shopModal copy.vue create mode 100644 src/views/shopManage/shopModal.vue create mode 100644 src/views/shopManage/shopSearch.vue diff --git a/src/api/auth/types.ts b/src/api/auth/types.ts index d3d9cb1..4ba403c 100644 --- a/src/api/auth/types.ts +++ b/src/api/auth/types.ts @@ -34,6 +34,7 @@ export interface LoginUserInfo { organizationId: number nickname: string avatar?: string + salesmanType: number } /** diff --git a/src/api/geopoliticalCustomers/index.ts b/src/api/geopoliticalCustomers/index.ts index cc1a2c6..533900a 100644 --- a/src/api/geopoliticalCustomers/index.ts +++ b/src/api/geopoliticalCustomers/index.ts @@ -96,3 +96,14 @@ export function getDetail(customId: customId) { params: customId }) } +/** + * 任务审核 + * + */ +export function updateCustomerAudit(customId: number, status: number, salesmanType: number) { + return httpClient.post('/custom/audit', { + customId, + status, + salesmanType + }) +} diff --git a/src/api/geopoliticalCustomers/types.ts b/src/api/geopoliticalCustomers/types.ts index 2e77c3e..20576df 100644 --- a/src/api/geopoliticalCustomers/types.ts +++ b/src/api/geopoliticalCustomers/types.ts @@ -224,6 +224,7 @@ export type GeopoliticalCustomersRecord = { market?: string enrollStatus?: string radius?: string + comprehensiveAddress?: string } /** * 地缘获客搜索区域表单 diff --git a/src/api/shopManage/index.ts b/src/api/shopManage/index.ts new file mode 100644 index 0000000..a364ed9 --- /dev/null +++ b/src/api/shopManage/index.ts @@ -0,0 +1,12 @@ +import httpClient from '@/utils/axios' +import type { ApiResult } from '@/api/types' +import type { shopPageParam } from './types' + +export function pageQueryAll(pageParams: shopPageParam) { + return httpClient.get('/store/queryAll', { + params: pageParams + }) +} +export function storeUserQueryAll() { + return httpClient.get('/storeUser/queryAll', {}) +} diff --git a/src/api/shopManage/types.ts b/src/api/shopManage/types.ts new file mode 100644 index 0000000..1f2d7ff --- /dev/null +++ b/src/api/shopManage/types.ts @@ -0,0 +1,19 @@ +import type { PageParam } from '@/api/types' +export type shopParam = { + storeName?: string + storeType?: number + province?: string + city?: string + county?: string + createStartTime?: string + createEndTime?: string +} + +export type shopPageParam = shopParam & PageParam + +export type shopDTO = shopParam & { + id: number + reservationNum?: number + storeType: number + storeStatus: number +} diff --git a/src/views/qualityInspectionDistribution/inspectionIndex.vue b/src/views/qualityInspectionDistribution/inspectionIndex.vue new file mode 100644 index 0000000..24817b3 --- /dev/null +++ b/src/views/qualityInspectionDistribution/inspectionIndex.vue @@ -0,0 +1,159 @@ + + + + diff --git a/src/views/qualityInspectionDistribution/inspectionModal.vue b/src/views/qualityInspectionDistribution/inspectionModal.vue new file mode 100644 index 0000000..c314e07 --- /dev/null +++ b/src/views/qualityInspectionDistribution/inspectionModal.vue @@ -0,0 +1,305 @@ + + + + + diff --git a/src/views/qualityInspectionDistribution/inspectionSearch.vue b/src/views/qualityInspectionDistribution/inspectionSearch.vue new file mode 100644 index 0000000..1ef3d99 --- /dev/null +++ b/src/views/qualityInspectionDistribution/inspectionSearch.vue @@ -0,0 +1,110 @@ + + + diff --git a/src/views/shopManage/shopIndex.vue b/src/views/shopManage/shopIndex.vue new file mode 100644 index 0000000..dc9f8ce --- /dev/null +++ b/src/views/shopManage/shopIndex.vue @@ -0,0 +1,186 @@ + + + + diff --git a/src/views/shopManage/shopModal copy 2.vue b/src/views/shopManage/shopModal copy 2.vue new file mode 100644 index 0000000..664d040 --- /dev/null +++ b/src/views/shopManage/shopModal copy 2.vue @@ -0,0 +1,294 @@ + + + + diff --git a/src/views/shopManage/shopModal copy.vue b/src/views/shopManage/shopModal copy.vue new file mode 100644 index 0000000..664d040 --- /dev/null +++ b/src/views/shopManage/shopModal copy.vue @@ -0,0 +1,294 @@ + + + + diff --git a/src/views/shopManage/shopModal.vue b/src/views/shopManage/shopModal.vue new file mode 100644 index 0000000..8131c28 --- /dev/null +++ b/src/views/shopManage/shopModal.vue @@ -0,0 +1,517 @@ + + + + diff --git a/src/views/shopManage/shopSearch.vue b/src/views/shopManage/shopSearch.vue new file mode 100644 index 0000000..1ef3d99 --- /dev/null +++ b/src/views/shopManage/shopSearch.vue @@ -0,0 +1,110 @@ + + +