更新
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export default {
|
||||
// list
|
||||
enterpriseUserQueryByPage(data) {
|
||||
return request({
|
||||
url: '/oil-user/oilCustomerCompanyRelation/enterpriseUserQueryByPage',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
|
||||
// 公司
|
||||
companyGetByPage(data) {
|
||||
return request({
|
||||
url: '/oil-user/oilCompanyInfo/getLikeByName',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
// 权限
|
||||
getByRoleType() {
|
||||
return request({
|
||||
// 此处参数传空 获取所有权限
|
||||
url: `/oil-user/sysRole/getByRoleType/XOIL_COMS/`,
|
||||
method: 'get',
|
||||
})
|
||||
},
|
||||
// 新增
|
||||
enterpriseUserSave(data) {
|
||||
return request({
|
||||
url: '/oil-user/oilCustomerCompanyRelation/enterpriseUserSave',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
// 修改
|
||||
userPermissionUpdate(data) {
|
||||
return request({
|
||||
url: '/oil-user/oilCustomerCompanyRelation/userPermissionUpdate',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
// 详情
|
||||
getByUserId(id) {
|
||||
return request({
|
||||
url: `/oil-user/oilCustomerCompanyRelation/getByUserId/${id}`,
|
||||
method: 'get',
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// 油站渠道
|
||||
getSiteChannelList(data) {
|
||||
return request({
|
||||
url: '/oil-site/oilSiteChannel/getSiteChannelList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
// 权限
|
||||
getSiteCloudRoles() {
|
||||
return request({
|
||||
url: '/oil-user/sysRole/getSiteCloudRoles',
|
||||
method: 'get'
|
||||
})
|
||||
},
|
||||
|
||||
// 新增
|
||||
saveCustomerRelationSite(data) {
|
||||
return request({
|
||||
url: '/oil-user/oilCustomerChannelRelation/saveCustomerRelationSite',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user