diff --git a/src/api/crm/customerLimitConfig/index.ts b/src/api/crm/customerLimitConfig/index.ts
index 22fde3ea5e043163bff9751662f4ee082735a56f..86776326ce2e967e97f68ca5cc5a4b9528401170 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 8234ba367e914aefb980fac270e88ba94743667a..3cd8ef2825520ea0b984501ed6e38449f94f86da 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 4321f9522f2e9f43cddaaf75b3281dc218044f94..f0cfcab64adfd8974f39d510b950bc3e4a7348ba 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 5fa98711d44e620429c2af6aef2eacf08b9a086f..c7db3301166d375e9770a77c02ca2f8a45179ba0 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 c88137faf7d176d8118bea4be415b44a74c0213f..59b18c5b8cb9fd21bea757d613596df94872f2df 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 @@
发票
-
-
-