在星链oms添加功能
1.充值功能-对应运营管理系统中企业充值预处理功能 3.查询油价功能-对应运营管理系统中油价管理功能 4.公司管理-客户管理 开户维护银行信息功能
This commit is contained in:
59
api/companyManagement.js
Normal file
59
api/companyManagement.js
Normal file
@@ -0,0 +1,59 @@
|
||||
import request from '@/utils/request'
|
||||
export default {
|
||||
getByPage(data) {
|
||||
return request({
|
||||
url: `/oil-user/oilCompanyInfo/getByPage`,
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
},
|
||||
getLikeByNameMainCompany(data) {
|
||||
return request({
|
||||
url: `/oil-user/oilCompanyInfo/getLikeByNameMainCompany`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
getCompanyNames(name) {
|
||||
return request({
|
||||
url: `/oil-user/oilCompanyInfo/getCompanyNames/${name}`,
|
||||
method: 'get'
|
||||
})
|
||||
},
|
||||
updateBatchEnable(data) {
|
||||
// 批量修改启用禁用状态
|
||||
return request({
|
||||
url: `/oil-user/oilCompanyInfo/updateBatchEnable`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
openShareDistribute(data) {
|
||||
// 联动分油启用禁用
|
||||
return request({
|
||||
url: `/oil-user/oilCompanyInfo/openShareDistribute`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
getByCompanyId(companyId) {
|
||||
return request({
|
||||
url: `/oil-finance/oilCompanyBankCard/getByCompanyId/${companyId}`,
|
||||
method: 'get'
|
||||
})
|
||||
},
|
||||
findAllByName(name) { // 开户行名称查询
|
||||
return request({
|
||||
url: `/oil-site/sysSheet/findAllByName`,
|
||||
method: 'get',
|
||||
params: name
|
||||
})
|
||||
},
|
||||
saveBatchCompanyRelationBank(data) {
|
||||
return request({
|
||||
url: `/oil-finance/oilCompanyBankCard/saveBatchCompanyRelationBank`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user