53 lines
1.0 KiB
JavaScript
53 lines
1.0 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
export default {
|
|
// list
|
|
customerRelationSite(data) {
|
|
return request({
|
|
url: '/oil-user/oilCustomerChannelRelation/customerRelationSite',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
|
|
// 油站渠道
|
|
getSiteChannelList(data) {
|
|
return request({
|
|
url: '/oil-site/oilSiteChannel/getSiteChannelList',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
// 权限
|
|
getSiteCloudRoles() {
|
|
return request({
|
|
url: '/oil-user/sysRole/getSiteCloudRoles',
|
|
method: 'get'
|
|
})
|
|
},
|
|
// 修改
|
|
updateCustomerRelationSite(data) {
|
|
return request({
|
|
url: '/oil-user/oilCustomerChannelRelation/updateCustomerRelationSite',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
// 新增
|
|
saveCustomerRelationSite(data) {
|
|
return request({
|
|
url: '/oil-user/oilCustomerChannelRelation/saveCustomerRelationSite',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
// 删除
|
|
removeCustomerRelationSite(data) {
|
|
return request({
|
|
url: '/oil-user/oilCustomerChannelRelation/removeCustomerRelationSite',
|
|
method: 'post',
|
|
data
|
|
})
|
|
},
|
|
}
|