mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-15 19:35:07 +08:00
wip: CRM-代办消息-修改模块为backlog
This commit is contained in:
18
src/api/crm/backlog/index.ts
Normal file
18
src/api/crm/backlog/index.ts
Normal file
@ -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 }
|
@ -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 })
|
||||
}
|
Reference in New Issue
Block a user