From 1047c5b097f4dda4c3346cb7f3285e513125aab7 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 19 Feb 2024 19:02:03 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20CRM=EF=BC=9A=E7=BA=BF=E7=B4=A2?= =?UTF-8?q?=20clue=20=E6=96=B0=E5=A2=9E/=E4=BF=AE=E6=94=B9=E7=9A=84?= =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/crm/clue/index.ts | 37 +-- .../crm/backlog/tables/FollowCustomer.vue | 2 +- .../crm/backlog/tables/PutInPoolRemind.vue | 2 +- .../crm/backlog/tables/TodayCustomer.vue | 2 +- src/views/crm/business/BusinessForm.vue | 2 +- src/views/crm/clue/ClueForm.vue | 214 +++++++++++++----- src/views/crm/clue/index.vue | 4 +- src/views/crm/customer/CustomerForm.vue | 4 +- .../customer/detail/CustomerDetailsInfo.vue | 2 +- src/views/crm/customer/index.vue | 6 +- src/views/crm/customer/pool/index.vue | 6 +- 11 files changed, 201 insertions(+), 80 deletions(-) diff --git a/src/api/crm/clue/index.ts b/src/api/crm/clue/index.ts index 4268c420..de8b0214 100644 --- a/src/api/crm/clue/index.ts +++ b/src/api/crm/clue/index.ts @@ -2,22 +2,33 @@ import request from '@/config/axios' import { TransferReqVO } from '@/api/crm/customer' export interface ClueVO { - id: number - transformStatus: boolean - followUpStatus: boolean - name: string - customerId: number - contactNextTime: Date - telephone: string - mobile: string - address: string - ownerUserId: number - contactLastTime: Date - remark: string + id: number // 编号 + name: string // 线索名称 + followUpStatus: boolean // 跟进状态 + contactLastTime: Date // 最后跟进时间 + contactLastContent: string // 最后跟进内容 + contactNextTime: Date // 下次联系时间 + ownerUserId: number // 负责人的用户编号 + ownerUserName?: string // 负责人的用户名称 + ownerUserDept?: string // 负责人的部门名称 + transformStatus: boolean // 转化状态 + customerId: number // 客户编号 + customerName?: string // 客户名称 + mobile: string // 手机号 + telephone: string // 电话 + qq: string // QQ + wechat: string // wechat + email: string // email + areaId: number // 所在地 + detailAddress: string // 详细地址 + industryId: number // 所属行业 + level: number // 客户等级 + source: number // 客户来源 + remark: string // 备注 } // 查询线索列表 -export const getCluePage = async (params) => { +export const getCluePage = async (params: any) => { return await request.get({ url: `/crm/clue/page`, params }) } diff --git a/src/views/crm/backlog/tables/FollowCustomer.vue b/src/views/crm/backlog/tables/FollowCustomer.vue index 0c768516..e82c808d 100644 --- a/src/views/crm/backlog/tables/FollowCustomer.vue +++ b/src/views/crm/backlog/tables/FollowCustomer.vue @@ -51,7 +51,7 @@ - + diff --git a/src/views/crm/backlog/tables/PutInPoolRemind.vue b/src/views/crm/backlog/tables/PutInPoolRemind.vue index 5559f656..c299ebef 100644 --- a/src/views/crm/backlog/tables/PutInPoolRemind.vue +++ b/src/views/crm/backlog/tables/PutInPoolRemind.vue @@ -49,7 +49,7 @@ - + diff --git a/src/views/crm/backlog/tables/TodayCustomer.vue b/src/views/crm/backlog/tables/TodayCustomer.vue index 798daa97..60e06ebb 100644 --- a/src/views/crm/backlog/tables/TodayCustomer.vue +++ b/src/views/crm/backlog/tables/TodayCustomer.vue @@ -63,7 +63,7 @@ - + diff --git a/src/views/crm/business/BusinessForm.vue b/src/views/crm/business/BusinessForm.vue index 31905972..0e63eb75 100644 --- a/src/views/crm/business/BusinessForm.vue +++ b/src/views/crm/business/BusinessForm.vue @@ -36,7 +36,7 @@ - + diff --git a/src/views/crm/clue/ClueForm.vue b/src/views/crm/clue/ClueForm.vue index efb36045..7605f4fa 100644 --- a/src/views/crm/clue/ClueForm.vue +++ b/src/views/crm/clue/ClueForm.vue @@ -1,74 +1,178 @@ -