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.
55 lines
1.2 KiB
55 lines
1.2 KiB
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'
|
|
})
|
|
},
|
|
getPcAppendix: function(data) {
|
|
return request({
|
|
url: '/oms/v1/crmfile/getPcAppendix',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
},
|
|
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/' + data.sid,
|
|
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'
|
|
}
|
|
})
|
|
}
|
|
}
|
|
|