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 @@ + + + + +