zhangwencui
2 天以前 ac135a715d43b83f685365dbb68a8205ca019338
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// 客户拜访相关接口
import request from '@/utils/request'
 
// 客户拜访签到
export function clientVisitSignIn(data) {
    return request({
        url: '/customerVisits/add',
        method: 'post',
        data: data
    })
}
// 客户拜访签到
export function clientVisitUpdate(data) {
    return request({
        url: '/customerVisits/update',
        method: 'post',
        data: data
    })
}
 
// 获取拜访记录列表
export function getVisitRecords(query) {
    return request({
        url: '/customerVisits/listPage',
        method: 'get',
        params: query
    })
}
 
// 删除客户档案
export function delCustomer(ids) {
    return request({
        url: '/customerVisits/'+ids,
        method: 'delete',
    })
}