Skip to content

Commit 038f3d6

Browse files
YunaiVgitee-org
authored andcommitted
!335 crm联系人review修改
Merge pull request !335 from zyna/master
2 parents 8aa17b6 + 46a8755 commit 038f3d6

File tree

6 files changed

+170
-327
lines changed

6 files changed

+170
-327
lines changed

src/api/crm/contact/index.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* @Author: zyna
33
* @Date: 2023-11-05 13:34:41
4-
* @LastEditTime: 2023-11-11 16:20:19
4+
* @LastEditTime: 2023-11-26 20:47:04
55
* @FilePath: \yudao-ui-admin-vue3\src\api\crm\contact\index.ts
66
* @Description:
77
*/
@@ -22,13 +22,15 @@ export interface ContactVO {
2222
id: number
2323
parentId: number
2424
qq: number
25-
webchat: string
25+
wechat: string
2626
sex: number
27-
policyMakers: boolean
27+
master: boolean
2828
creatorName: string
2929
updateTime?: Date
3030
createTime?: Date
31-
customerName: string
31+
customerName: string,
32+
areaName: string,
33+
ownerUserName: string
3234
}
3335

3436
// 查询crm联系人列表
@@ -60,6 +62,6 @@ export const deleteContact = async (id: number) => {
6062
export const exportContact = async (params) => {
6163
return await request.download({ url: `/crm/contact/export-excel`, params })
6264
}
63-
export const simpleAlllist = async () => {
64-
return await request.get({ url: `/crm/contact/simpleAlllist` })
65+
export const simpleAllList = async () => {
66+
return await request.get({ url: `/crm/contact/simple-all-list` })
6567
}

src/api/crm/customer/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,7 @@ export const deleteCustomer = async (id: number) => {
6262
export const exportCustomer = async (params) => {
6363
return await request.download({ url: `/crm/customer/export-excel`, params })
6464
}
65+
//客户列表
66+
export const queryAllList = async () => {
67+
return await request.get({ url: `/crm/customer/query-all-list` })
68+
}

0 commit comments

Comments
 (0)