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.
59 lines
1.2 KiB
59 lines
1.2 KiB
9 months ago
|
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
|
||
|
})
|
||
|
},
|
||
|
}
|