From d4d17b2d884fa52fd3faab4d1bc63d96514dfe30 Mon Sep 17 00:00:00 2001
From: liutong <836164388@qq.com>
Date: Thu, 22 May 2025 18:07:34 +0800
Subject: [PATCH] =?UTF-8?q?feat(api):=20=E6=B7=BB=E5=8A=A0=E9=94=80?=
=?UTF-8?q?=E5=94=AE=E7=AB=AF=E6=B2=9F=E9=80=9A=E8=AE=B0=E5=BD=95=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在 apiRoute.js 中新增 xs_communicationRecordsAdd 方法,用于添加沟通记录
- 在市场线索页面中调用该方法,实现电话沟通记录的添加
- 优化了电话拨打流程,添加了沟通记录保存逻辑
---
api/apiRoute.js | 8 ++++++++
pages/market/clue/index.vue | 31 ++++++++++++++++++++-----------
2 files changed, 28 insertions(+), 11 deletions(-)
diff --git a/api/apiRoute.js b/api/apiRoute.js
index 7903f78..f483e37 100644
--- a/api/apiRoute.js
+++ b/api/apiRoute.js
@@ -198,6 +198,14 @@ export default {
})
},
+ //销售端-沟通记录-添加
+ xs_communicationRecordsAdd(data = {}) {
+ let url = '/communicationRecords/add'
+ return http.post(url, data).then(res => {
+ return res;
+ })
+ },
+
diff --git a/pages/market/clue/index.vue b/pages/market/clue/index.vue
index f29f3b4..83737f4 100644
--- a/pages/market/clue/index.vue
+++ b/pages/market/clue/index.vue
@@ -3,8 +3,6 @@
-
-