From dfad8e78c48717deaa226ef5a3675b07d0e639f4 Mon Sep 17 00:00:00 2001
From: Wanwan <913752709@qq.com>
Date: Sun, 26 Nov 2023 00:40:20 +0800
Subject: [PATCH 1/7] =?UTF-8?q?feat:=20=E5=AE=A2=E6=88=B7=E9=85=8D?=
=?UTF-8?q?=E7=BD=AE=20review=20=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../index.ts | 5 +++--
...ConfDetails.vue => CustomerLimitConfigList.vue} | 14 +++++++++++---
src/views/crm/customerLimitConfig/index.vue | 7 +++----
src/views/crm/customerPoolConf/index.vue | 10 +++++-----
4 files changed, 22 insertions(+), 14 deletions(-)
rename src/api/crm/{customerPoolConf => customerPoolConfig}/index.ts (67%)
rename src/views/crm/customerLimitConfig/{CustomerLimitConfDetails.vue => CustomerLimitConfigList.vue} (91%)
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 8234ba367..3cd8ef282 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/customerLimitConfig/CustomerLimitConfDetails.vue b/src/views/crm/customerLimitConfig/CustomerLimitConfigList.vue
similarity index 91%
rename from src/views/crm/customerLimitConfig/CustomerLimitConfDetails.vue
rename to src/views/crm/customerLimitConfig/CustomerLimitConfigList.vue
index 611bdadf9..864c57768 100644
--- a/src/views/crm/customerLimitConfig/CustomerLimitConfDetails.vue
+++ b/src/views/crm/customerLimitConfig/CustomerLimitConfigList.vue
@@ -19,8 +19,16 @@
>
-
-
+
+
-
-
+
-
+
diff --git a/src/views/crm/customerPoolConf/index.vue b/src/views/crm/config/customerPoolConfig/index.vue
similarity index 98%
rename from src/views/crm/customerPoolConf/index.vue
rename to src/views/crm/config/customerPoolConfig/index.vue
index 5ec343aa8..aaafebb45 100644
--- a/src/views/crm/customerPoolConf/index.vue
+++ b/src/views/crm/config/customerPoolConfig/index.vue
@@ -56,7 +56,7 @@ import * as CustomerPoolConfigApi from '@/api/crm/customerPoolConfig'
import { CardTitle } from '@/components/Card'
// TODO @wanwan:CustomerPoolConf =》 CustomerPoolConfig;另外,我们在 crm 目录下,新建一个 config 目录,然后把 customerPoolConfig 和 customerLimitConfig 都挪进
-defineOptions({ name: 'CustomerPoolConfig' })
+defineOptions({ name: 'CrmCustomerPoolConfig' })
const message = useMessage() // 消息弹窗
const { t } = useI18n() // 国际化
--
Gitee
From c9d46fe4a394baffc18877c124a18f71a75ba4bb Mon Sep 17 00:00:00 2001
From: Wanwan <913752709@qq.com>
Date: Sun, 26 Nov 2023 01:33:20 +0800
Subject: [PATCH 3/7] =?UTF-8?q?feat:=20=E5=AE=A2=E6=88=B7=E9=85=8D?=
=?UTF-8?q?=E7=BD=AE=20review=20=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../config/customerLimitConfig/CustomerLimitConfigList.vue | 4 ++--
src/views/crm/config/customerLimitConfig/index.vue | 2 +-
src/views/crm/config/customerPoolConfig/index.vue | 1 -
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/views/crm/config/customerLimitConfig/CustomerLimitConfigList.vue b/src/views/crm/config/customerLimitConfig/CustomerLimitConfigList.vue
index 5457caff2..763585633 100644
--- a/src/views/crm/config/customerLimitConfig/CustomerLimitConfigList.vue
+++ b/src/views/crm/config/customerLimitConfig/CustomerLimitConfigList.vue
@@ -88,8 +88,8 @@
--
Gitee
From c4bd4f7a85674dbaef81316bd0b4f5cfadaa2a6c Mon Sep 17 00:00:00 2001
From: Wanwan <913752709@qq.com>
Date: Sun, 26 Nov 2023 01:51:31 +0800
Subject: [PATCH 5/7] =?UTF-8?q?feat:=20=E5=AE=A2=E6=88=B7=E9=85=8D?=
=?UTF-8?q?=E7=BD=AE=20review=20=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../customer/detail/CustomerDetailsTop.vue | 85 +++++++++++++++++++
src/views/crm/customer/detail/index.vue | 74 +---------------
2 files changed, 86 insertions(+), 73 deletions(-)
create mode 100644 src/views/crm/customer/detail/CustomerDetailsTop.vue
diff --git a/src/views/crm/customer/detail/CustomerDetailsTop.vue b/src/views/crm/customer/detail/CustomerDetailsTop.vue
new file mode 100644
index 000000000..509d0a275
--- /dev/null
+++ b/src/views/crm/customer/detail/CustomerDetailsTop.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+ 更改成交状态
+
+
+
+
+
+ 创建任务
+
+
+
+ 发送邮件
+
+
+
+ 创建联系人
+
+
+
+ 创建商机
+
+
+
+ 创建合同
+
+
+
+ 创建回款
+
+
+
+ 添加团队成员
+
+
+
+
+
+
+
+
+
+ {{ customer.dealStatus ? '已成交' : '未成交' }}
+
+
+ {{ customer.ownerUserName }}
+
+
+
+
+
+ {{ customer.mobile }}
+
+
+
+
+
+
+
+
diff --git a/src/views/crm/customer/detail/index.vue b/src/views/crm/customer/detail/index.vue
index c88137faf..59b18c5b8 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 @@
发票
-
-
-