From 24849335a834c1570dd7f96e80b92deb754f6ac6 Mon Sep 17 00:00:00 2001 From: dhb52 Date: Sun, 14 Jan 2024 22:44:25 +0800 Subject: [PATCH] =?UTF-8?q?wip:=20=E5=BE=85=E5=8A=9E=E4=BA=8B=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/crm/message/index.ts | 39 ++++ src/router/modules/remaining.ts | 10 + src/views/crm/message/index.vue | 134 ++++++++++++ src/views/crm/message/tables/FollowLeads.vue | 14 ++ .../crm/message/tables/TodayCustomer.vue | 201 ++++++++++++++++++ 5 files changed, 398 insertions(+) create mode 100644 src/api/crm/message/index.ts create mode 100644 src/views/crm/message/index.vue create mode 100644 src/views/crm/message/tables/FollowLeads.vue create mode 100644 src/views/crm/message/tables/TodayCustomer.vue diff --git a/src/api/crm/message/index.ts b/src/api/crm/message/index.ts new file mode 100644 index 00000000..fcd5fbd7 --- /dev/null +++ b/src/api/crm/message/index.ts @@ -0,0 +1,39 @@ +import request from '@/config/axios' + +export interface CustomerVO { + id?: number + name: string + industryId: number + level: number + source: number + followUpStatus?: boolean + lockStatus?: boolean + dealStatus?: boolean + mobile: string + telephone: string + website: string + qq: string + wechat: string + email: string + description: string + remark: string + ownerUserId?: number + ownerUserName?: string + ownerUserDept?: string + roUserIds?: string + rwUserIds?: string + areaId?: number + areaName?: string + detailAddress: string + contactLastTime?: Date + contactNextTime: Date + createTime?: Date + updateTime?: Date + creator?: string + creatorName?: string +} + +// 查询客户列表 +export const getTodayCustomerPage = async (params) => { + return await request.get({ url: `/crm/message/todayCustomer`, params }) +} diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 8fa8373c..35320edb 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -528,6 +528,16 @@ const remainingRouter: AppRouteRecordRaw[] = [ activeMenu: '/crm/product' }, component: () => import('@/views/crm/product/detail/index.vue') + }, + { + path: 'message', + name: 'CrmMessage', + meta: { + title: '待办事项', + noCache: true, + hidden: true + }, + component: () => import('@/views/crm/message/index.vue') } ] } diff --git a/src/views/crm/message/index.vue b/src/views/crm/message/index.vue new file mode 100644 index 00000000..1f809524 --- /dev/null +++ b/src/views/crm/message/index.vue @@ -0,0 +1,134 @@ + + + + + diff --git a/src/views/crm/message/tables/FollowLeads.vue b/src/views/crm/message/tables/FollowLeads.vue new file mode 100644 index 00000000..c94199fb --- /dev/null +++ b/src/views/crm/message/tables/FollowLeads.vue @@ -0,0 +1,14 @@ + + + + + + diff --git a/src/views/crm/message/tables/TodayCustomer.vue b/src/views/crm/message/tables/TodayCustomer.vue new file mode 100644 index 00000000..df70e599 --- /dev/null +++ b/src/views/crm/message/tables/TodayCustomer.vue @@ -0,0 +1,201 @@ + + + + +