From d71097ac313e267f426d1e81d14f0ffc55304b84 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 3 Jan 2024 20:09:56 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20CRM=EF=BC=9A=E3=80=90=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E9=85=8D=E7=BD=AE=E3=80=91=E8=B0=83=E6=95=B4=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../limitConfig}/index.ts | 0 .../poolConfig}/index.ts | 5 ++--- .../limitConfig}/CustomerLimitConfigForm.vue | 18 +++++++++--------- .../limitConfig}/CustomerLimitConfigList.vue | 14 +++++--------- .../limitConfig}/index.vue | 4 ++-- .../poolConfig}/index.vue | 10 +++++----- 6 files changed, 23 insertions(+), 28 deletions(-) rename src/api/crm/{customerLimitConfig => customer/limitConfig}/index.ts (100%) rename src/api/crm/{customerPoolConfig => customer/poolConfig}/index.ts (77%) rename src/views/crm/{config/customerLimitConfig => customer/limitConfig}/CustomerLimitConfigForm.vue (94%) rename src/views/crm/{config/customerLimitConfig => customer/limitConfig}/CustomerLimitConfigList.vue (88%) rename src/views/crm/{config/customerLimitConfig => customer/limitConfig}/index.vue (74%) rename src/views/crm/{config/customerPoolConfig => customer/poolConfig}/index.vue (94%) diff --git a/src/api/crm/customerLimitConfig/index.ts b/src/api/crm/customer/limitConfig/index.ts similarity index 100% rename from src/api/crm/customerLimitConfig/index.ts rename to src/api/crm/customer/limitConfig/index.ts diff --git a/src/api/crm/customerPoolConfig/index.ts b/src/api/crm/customer/poolConfig/index.ts similarity index 77% rename from src/api/crm/customerPoolConfig/index.ts rename to src/api/crm/customer/poolConfig/index.ts index 3cd8ef28..b96e61fc 100644 --- a/src/api/crm/customerPoolConfig/index.ts +++ b/src/api/crm/customer/poolConfig/index.ts @@ -1,12 +1,11 @@ import request from '@/config/axios' -import { ConfigVO } from '@/api/infra/config' export interface CustomerPoolConfigVO { enabled?: boolean contactExpireDays?: number dealExpireDays?: number notifyEnabled?: boolean - notifyDays: number + notifyDays?: number } // 获取客户公海规则设置 @@ -15,6 +14,6 @@ export const getCustomerPoolConfig = async () => { } // 更新客户公海规则设置 -export const saveCustomerPoolConfig = async (data: ConfigVO) => { +export const saveCustomerPoolConfig = async (data: CustomerPoolConfigVO) => { return await request.put({ url: `/crm/customer-pool-config/save`, data }) } diff --git a/src/views/crm/config/customerLimitConfig/CustomerLimitConfigForm.vue b/src/views/crm/customer/limitConfig/CustomerLimitConfigForm.vue similarity index 94% rename from src/views/crm/config/customerLimitConfig/CustomerLimitConfigForm.vue rename to src/views/crm/customer/limitConfig/CustomerLimitConfigForm.vue index da37e556..218462fb 100644 --- a/src/views/crm/config/customerLimitConfig/CustomerLimitConfigForm.vue +++ b/src/views/crm/customer/limitConfig/CustomerLimitConfigForm.vue @@ -56,12 +56,12 @@ diff --git a/src/views/crm/config/customerPoolConfig/index.vue b/src/views/crm/customer/poolConfig/index.vue similarity index 94% rename from src/views/crm/config/customerPoolConfig/index.vue rename to src/views/crm/customer/poolConfig/index.vue index c7db3301..39a5f340 100644 --- a/src/views/crm/config/customerPoolConfig/index.vue +++ b/src/views/crm/customer/poolConfig/index.vue @@ -56,7 +56,7 @@