diff --git a/src/api/crm/contact/index.ts b/src/api/crm/contact/index.ts index e980d361..de4710e8 100644 --- a/src/api/crm/contact/index.ts +++ b/src/api/crm/contact/index.ts @@ -1,10 +1,3 @@ -/* - * @Author: zyna - * @Date: 2023-11-05 13:34:41 - * @LastEditTime: 2023-11-26 20:47:04 - * @FilePath: \yudao-ui-admin-vue3\src\api\crm\contact\index.ts - * @Description: - */ import request from '@/config/axios' export interface ContactVO { @@ -28,8 +21,8 @@ export interface ContactVO { creatorName: string updateTime?: Date createTime?: Date - customerName: string, - areaName: string, + customerName: string + areaName: string ownerUserName: string } @@ -62,6 +55,7 @@ export const deleteContact = async (id: number) => { export const exportContact = async (params) => { return await request.download({ url: `/crm/contact/export-excel`, params }) } + export const simpleAllList = async () => { return await request.get({ url: `/crm/contact/simple-all-list` }) } diff --git a/src/api/crm/customer/index.ts b/src/api/crm/customer/index.ts index 30d8981a..5ef43950 100644 --- a/src/api/crm/customer/index.ts +++ b/src/api/crm/customer/index.ts @@ -62,7 +62,8 @@ export const deleteCustomer = async (id: number) => { export const exportCustomer = async (params) => { return await request.download({ url: `/crm/customer/export-excel`, params }) } -//客户列表 + +// 客户列表 export const queryAllList = async () => { return await request.get({ url: `/crm/customer/query-all-list` }) -} \ No newline at end of file +} diff --git a/src/views/crm/contact/ContactForm.vue b/src/views/crm/contact/ContactForm.vue index 288539fc..a71c44ae 100644 --- a/src/views/crm/contact/ContactForm.vue +++ b/src/views/crm/contact/ContactForm.vue @@ -1,6 +1,12 @@