From a1d7e81859f554f3a53680cc35f0f49bf1f77098 Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期四, 14 五月 2026 14:37:02 +0800
Subject: [PATCH] 导入项目

---
 src/api/crm/followup/index.ts |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/src/api/crm/followup/index.ts b/src/api/crm/followup/index.ts
new file mode 100644
index 0000000..414f3f7
--- /dev/null
+++ b/src/api/crm/followup/index.ts
@@ -0,0 +1,43 @@
+import request from '@/config/axios'
+
+// 璺熻繘璁板綍 VO
+export interface FollowUpRecordVO {
+  id: number // 缂栧彿
+  bizType: number // 鏁版嵁绫诲瀷
+  bizId: number // 鏁版嵁缂栧彿
+  type: number // 璺熻繘绫诲瀷
+  content: string // 璺熻繘鍐呭
+  picUrls: string[] // 鍥剧墖
+  fileUrls: string[] // 闄勪欢
+  nextTime: Date // 涓嬫鑱旂郴鏃堕棿
+  businessIds: number[] // 鍏宠仈鐨勫晢鏈虹紪鍙锋暟缁�
+  businesses: {
+    id: number
+    name: string
+  }[] // 鍏宠仈鐨勫晢鏈烘暟缁�
+  contactIds: number[] // 鍏宠仈鐨勮仈绯讳汉缂栧彿鏁扮粍
+  contacts: {
+    id: number
+    name: string
+  }[] // 鍏宠仈鐨勮仈绯讳汉鏁扮粍
+  creator: string
+  creatorName?: string
+}
+
+// 璺熻繘璁板綍 API
+export const FollowUpRecordApi = {
+  // 鏌ヨ璺熻繘璁板綍鍒嗛〉
+  getFollowUpRecordPage: async (params: any) => {
+    return await request.get({ url: `/crm/follow-up-record/page`, params })
+  },
+
+  // 鏂板璺熻繘璁板綍
+  createFollowUpRecord: async (data: FollowUpRecordVO) => {
+    return await request.post({ url: `/crm/follow-up-record/create`, data })
+  },
+
+  // 鍒犻櫎璺熻繘璁板綍
+  deleteFollowUpRecord: async (id: number) => {
+    return await request.delete({ url: `/crm/follow-up-record/delete?id=` + id })
+  }
+}

--
Gitblit v1.8.0