diff --git a/src/api/crm/customerLimitConfig/index.ts b/src/api/crm/customerLimitConfig/index.ts
index 22fde3ea..86776326 100644
--- a/src/api/crm/customerLimitConfig/index.ts
+++ b/src/api/crm/customerLimitConfig/index.ts
@@ -9,6 +9,20 @@ export interface CustomerLimitConfigVO {
dealCountEnabled?: boolean
}
+/**
+ * 客户限制配置类型
+ */
+export enum LimitConfType {
+ /**
+ * 拥有客户数限制
+ */
+ CUSTOMER_QUANTITY_LIMIT = 1,
+ /**
+ * 锁定客户数限制
+ */
+ CUSTOMER_LOCK_LIMIT = 2
+}
+
// 查询客户限制配置列表
export const getCustomerLimitConfigPage = async (params) => {
return await request.get({ url: `/crm/customer-limit-config/page`, params })
diff --git a/src/api/crm/customerPoolConf/index.ts b/src/api/crm/customerPoolConfig/index.ts
similarity index 67%
rename from src/api/crm/customerPoolConf/index.ts
rename to src/api/crm/customerPoolConfig/index.ts
index 8234ba36..3cd8ef28 100644
--- a/src/api/crm/customerPoolConf/index.ts
+++ b/src/api/crm/customerPoolConfig/index.ts
@@ -1,4 +1,5 @@
import request from '@/config/axios'
+import { ConfigVO } from '@/api/infra/config'
export interface CustomerPoolConfigVO {
enabled?: boolean
@@ -14,6 +15,6 @@ export const getCustomerPoolConfig = async () => {
}
// 更新客户公海规则设置
-export const updateCustomerPoolConfig = async (data: ConfigVO) => {
- return await request.put({ url: `/crm/customer-pool-config/update`, data })
+export const saveCustomerPoolConfig = async (data: ConfigVO) => {
+ return await request.put({ url: `/crm/customer-pool-config/save`, data })
}
diff --git a/src/views/crm/clue/ClueForm.vue b/src/views/crm/clue/ClueForm.vue
index 4321f952..f0cfcab6 100644
--- a/src/views/crm/clue/ClueForm.vue
+++ b/src/views/crm/clue/ClueForm.vue
@@ -10,9 +10,15 @@
-
-
+
+
+
diff --git a/src/views/crm/customerPoolConf/index.vue b/src/views/crm/config/customerPoolConfig/index.vue
similarity index 70%
rename from src/views/crm/customerPoolConf/index.vue
rename to src/views/crm/config/customerPoolConfig/index.vue
index 5fa98711..c7db3301 100644
--- a/src/views/crm/customerPoolConf/index.vue
+++ b/src/views/crm/config/customerPoolConfig/index.vue
@@ -23,7 +23,7 @@
-
+
不启用
启用
@@ -36,7 +36,11 @@
天未成交
-
+
不提醒
提醒
@@ -52,11 +56,10 @@
diff --git a/src/views/crm/customer/detail/index.vue b/src/views/crm/customer/detail/index.vue
index c88137fa..59b18c5b 100644
--- a/src/views/crm/customer/detail/index.vue
+++ b/src/views/crm/customer/detail/index.vue
@@ -1,69 +1,5 @@
-
-
-
-
-
-
-
-
-
-
- 编辑
-
- 更改成交状态
-
-
-
-
-
- 创建任务
-
-
-
- 发送邮件
-
-
-
- 创建联系人
-
-
-
- 创建商机
-
-
-
- 创建合同
-
-
-
- 创建回款
-
-
-
- 添加团队成员
-
-
-
-
-
-
-
-
-
- {{ customer.dealStatus ? '已成交' : '未成交' }}
-
-
- {{ customer.ownerUserName }}
-
-
-
-
-
- {{ customer.mobile }}
-
-
-
+
@@ -107,9 +43,6 @@
发票
-
-
-