diff --git a/src/api/crm/backlog/index.ts b/src/api/crm/backlog/index.ts new file mode 100644 index 00000000..8e70f745 --- /dev/null +++ b/src/api/crm/backlog/index.ts @@ -0,0 +1,18 @@ +import request from '@/config/axios' + +import { type CustomerVO } from '../customer' +import { type ClueVO } from '../clue' + + +// 查询客户列表 +// TODO @芋艿:看看是不是后续融合到 getCustomerPage 里; +export const getTodayCustomerPage = async (params) => { + return await request.get({ url: `/crm/backlog/today-customer-page`, params }) +} + +// 查询线索列表 +export const getFollowLeadsPage = async (params) => { + return await request.get({ url: `/crm/backlog/page`, params }) +} + +export { type CustomerVO, type ClueVO } diff --git a/src/api/crm/message/index.ts b/src/api/crm/message/index.ts deleted file mode 100644 index 098729eb..00000000 --- a/src/api/crm/message/index.ts +++ /dev/null @@ -1,40 +0,0 @@ -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 -} - -// 查询客户列表 -// TODO @芋艿:看看是不是后续融合到 getCustomerPage 里; -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 7e805159..7bcd81d2 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -530,15 +530,15 @@ const remainingRouter: AppRouteRecordRaw[] = [ component: () => import('@/views/crm/product/detail/index.vue') }, { - path: 'message', - name: 'CrmMessage', + path: 'backlog', + name: 'CrmBacklog', meta: { title: '待办事项', noCache: true, hidden: true }, // TODO @db52:后面搞,搞成菜单 - component: () => import('@/views/crm/message/index.vue') + component: () => import('@/views/crm/backlog/index.vue') } ] } diff --git a/src/views/crm/message/index.vue b/src/views/crm/backlog/index.vue similarity index 78% rename from src/views/crm/message/index.vue rename to src/views/crm/backlog/index.vue index 1dd972aa..bbaf3f16 100644 --- a/src/views/crm/message/index.vue +++ b/src/views/crm/backlog/index.vue @@ -17,13 +17,25 @@ + + + + + + - + + + diff --git a/src/views/crm/backlog/tables/CheckReceivables.vue b/src/views/crm/backlog/tables/CheckReceivables.vue new file mode 100644 index 00000000..2e918905 --- /dev/null +++ b/src/views/crm/backlog/tables/CheckReceivables.vue @@ -0,0 +1,15 @@ + + + + + + + diff --git a/src/views/crm/backlog/tables/EndContract.vue b/src/views/crm/backlog/tables/EndContract.vue new file mode 100644 index 00000000..1910c970 --- /dev/null +++ b/src/views/crm/backlog/tables/EndContract.vue @@ -0,0 +1,15 @@ + + + + + + + diff --git a/src/views/crm/backlog/tables/FollowCustomer.vue b/src/views/crm/backlog/tables/FollowCustomer.vue new file mode 100644 index 00000000..e60e3559 --- /dev/null +++ b/src/views/crm/backlog/tables/FollowCustomer.vue @@ -0,0 +1,160 @@ + + + + + + + diff --git a/src/views/crm/backlog/tables/FollowLeads.vue b/src/views/crm/backlog/tables/FollowLeads.vue new file mode 100644 index 00000000..1ad6f50f --- /dev/null +++ b/src/views/crm/backlog/tables/FollowLeads.vue @@ -0,0 +1,125 @@ + + + + + + + diff --git a/src/views/crm/backlog/tables/PutInPoolRemind.vue b/src/views/crm/backlog/tables/PutInPoolRemind.vue new file mode 100644 index 00000000..bb9b17a5 --- /dev/null +++ b/src/views/crm/backlog/tables/PutInPoolRemind.vue @@ -0,0 +1,15 @@ + + + + + + + diff --git a/src/views/crm/backlog/tables/RemindReceivables.vue b/src/views/crm/backlog/tables/RemindReceivables.vue new file mode 100644 index 00000000..fd99b9e6 --- /dev/null +++ b/src/views/crm/backlog/tables/RemindReceivables.vue @@ -0,0 +1,15 @@ + + + + + + + diff --git a/src/views/crm/message/tables/TodayCustomer.vue b/src/views/crm/backlog/tables/TodayCustomer.vue similarity index 72% rename from src/views/crm/message/tables/TodayCustomer.vue rename to src/views/crm/backlog/tables/TodayCustomer.vue index df463d7f..f98107af 100644 --- a/src/views/crm/message/tables/TodayCustomer.vue +++ b/src/views/crm/backlog/tables/TodayCustomer.vue @@ -1,8 +1,6 @@ - - -