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.
46 lines
996 B
46 lines
996 B
11 months ago
|
import request from '@/utils/request'
|
||
|
|
||
|
export default {
|
||
|
// 查询分页列表
|
||
|
listPage: function(params) {
|
||
|
return request({
|
||
|
url: '/oms/v1/crmvisit/pagerList',
|
||
|
method: 'post',
|
||
|
data: params,
|
||
|
headers: { 'Content-Type': 'application/json' }
|
||
|
})
|
||
|
},
|
||
|
fetchBySid: function(data) {
|
||
|
return request({
|
||
|
url: '/oms/v1/crmvisit/fetchSid/' + data,
|
||
|
method: 'get'
|
||
|
})
|
||
|
},
|
||
|
save: function(data) {
|
||
|
return request({
|
||
|
url: '/oms/v1/crmvisit/save',
|
||
|
method: 'post',
|
||
|
data: data,
|
||
|
headers: { 'Content-Type': 'application/json' }
|
||
|
})
|
||
|
},
|
||
|
update: function(data) {
|
||
|
return request({
|
||
|
url: '/oms/v1/crmvisit/update',
|
||
|
method: 'post',
|
||
|
data: data,
|
||
|
headers: { 'Content-Type': 'application/json' }
|
||
|
})
|
||
|
},
|
||
|
del: function(data) {
|
||
|
return request({
|
||
|
url: '/oms/v1/crmvisit/del',
|
||
|
method: 'DELETE',
|
||
|
data: data,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json'
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
}
|