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.
54 lines
1.4 KiB
54 lines
1.4 KiB
import request from '@/utils/request'
|
|
|
|
// USER_CODE_BEGIN -- zhjw_follow_up_reminders
|
|
/**
|
|
* 获取跟进提醒管理列表
|
|
* @param params
|
|
* @returns
|
|
*/
|
|
export function getFollowUpRemindersList(params: Record<string, any>) {
|
|
return request.get(`zhjw/follow_up_reminders`, {params})
|
|
}
|
|
|
|
/**
|
|
* 获取跟进提醒管理详情
|
|
* @param id 跟进提醒管理id
|
|
* @returns
|
|
*/
|
|
export function getFollowUpRemindersInfo(id: number) {
|
|
return request.get(`zhjw/follow_up_reminders/${id}`);
|
|
}
|
|
|
|
/**
|
|
* 添加跟进提醒管理
|
|
* @param params
|
|
* @returns
|
|
*/
|
|
export function addFollowUpReminders(params: Record<string, any>) {
|
|
return request.post('zhjw/follow_up_reminders', params, { showErrorMessage: true, showSuccessMessage: true })
|
|
}
|
|
|
|
/**
|
|
* 编辑跟进提醒管理
|
|
* @param id
|
|
* @param params
|
|
* @returns
|
|
*/
|
|
export function editFollowUpReminders(params: Record<string, any>) {
|
|
return request.put(`zhjw/follow_up_reminders/${params.id}`, params, { showErrorMessage: true, showSuccessMessage: true })
|
|
}
|
|
|
|
/**
|
|
* 删除跟进提醒管理
|
|
* @param id
|
|
* @returns
|
|
*/
|
|
export function deleteFollowUpReminders(id: number) {
|
|
return request.delete(`zhjw/follow_up_reminders/${id}`, { showErrorMessage: true, showSuccessMessage: true })
|
|
}
|
|
|
|
export function getWithFollowUpLogsList(params: Record<string,any>){
|
|
return request.get('zhjw/follow_up_logs_all', {params})
|
|
}
|
|
|
|
// USER_CODE_END -- zhjw_follow_up_reminders
|
|
|