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' } }) } }