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 @@