You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.5 KiB
58 lines
1.5 KiB
import request from '@/utils/request'
|
|
|
|
// USER_CODE_BEGIN -- zhjw_follow_up_logs
|
|
/**
|
|
* 获取跟进管理列表
|
|
* @param params
|
|
* @returns
|
|
*/
|
|
export function getFollowUpLogsList(params: Record<string, any>) {
|
|
return request.get(`zhjw/follow_up_logs`, {params})
|
|
}
|
|
|
|
/**
|
|
* 获取跟进管理详情
|
|
* @param id 跟进管理id
|
|
* @returns
|
|
*/
|
|
export function getFollowUpLogsInfo(id: number) {
|
|
return request.get(`zhjw/follow_up_logs/${id}`);
|
|
}
|
|
|
|
/**
|
|
* 添加跟进管理
|
|
* @param params
|
|
* @returns
|
|
*/
|
|
export function addFollowUpLogs(params: Record<string, any>) {
|
|
return request.post('zhjw/follow_up_logs', params, { showErrorMessage: true, showSuccessMessage: true })
|
|
}
|
|
|
|
/**
|
|
* 编辑跟进管理
|
|
* @param id
|
|
* @param params
|
|
* @returns
|
|
*/
|
|
export function editFollowUpLogs(params: Record<string, any>) {
|
|
return request.put(`zhjw/follow_up_logs/${params.id}`, params, { showErrorMessage: true, showSuccessMessage: true })
|
|
}
|
|
|
|
/**
|
|
* 删除跟进管理
|
|
* @param id
|
|
* @returns
|
|
*/
|
|
export function deleteFollowUpLogs(id: number) {
|
|
return request.delete(`zhjw/follow_up_logs/${id}`, { showErrorMessage: true, showSuccessMessage: true })
|
|
}
|
|
|
|
export function getWithSalesList(params: Record<string,any>){
|
|
return request.get('zhjw/sales_all', {params})
|
|
}export function getWithStaffList(params: Record<string,any>){
|
|
return request.get('zhjw/staff_all', {params})
|
|
}export function getWithStaffList(params: Record<string,any>){
|
|
return request.get('zhjw/staff_all', {params})
|
|
}
|
|
|
|
// USER_CODE_END -- zhjw_follow_up_logs
|
|
|