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