Merge branch 'master' of http://121.196.213.68:3000/caoliancun/wx_oms
This commit is contained in:
33
api/OilSiteOilsPrice.js
Normal file
33
api/OilSiteOilsPrice.js
Normal file
@@ -0,0 +1,33 @@
|
||||
import request from '@/utils/request'
|
||||
export default {
|
||||
getByPage(data) {
|
||||
return request({
|
||||
url: `/oil-site/oilSiteOilsPrice/getPage`,
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
},
|
||||
getSimpleOilSiteInfo(oilSiteInfo) {
|
||||
// 油站名称查询
|
||||
return request({
|
||||
url: `/oil-site/oilSiteInfo/getSimpleOilSiteInfo`,
|
||||
method: 'post',
|
||||
data: oilSiteInfo
|
||||
})
|
||||
},
|
||||
getSiteChannelList(oilSiteChannel) { // 根据三方渠道油站名称查询对应的三方渠道油站
|
||||
return request({
|
||||
url: `/oil-site/oilSiteChannel/getSiteChannelList`,
|
||||
method: 'post',
|
||||
data: oilSiteChannel
|
||||
})
|
||||
},
|
||||
update(oilSiteOilsPrice) {
|
||||
// 更新
|
||||
return request({
|
||||
url: `/oil-site/oilSiteOilsPrice/update`,
|
||||
method: 'put',
|
||||
data: oilSiteOilsPrice
|
||||
})
|
||||
},
|
||||
}
|
||||
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
|
||||
})
|
||||
},
|
||||
}
|
||||
38
api/enterpriseRecharge.js
Normal file
38
api/enterpriseRecharge.js
Normal file
@@ -0,0 +1,38 @@
|
||||
import request from '@/utils/request'
|
||||
export default {
|
||||
getByPage(data) {
|
||||
return request({
|
||||
url: `/oil-finance/oilCompanyRechargePretreatment/getByPage`,
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
},
|
||||
getCompanyTrading(data) {
|
||||
console.log(data,'getCompanyTrading')
|
||||
return request({
|
||||
url: `/oil-finance/oilCompanyAccountReverse/getCompanyTrading`,
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
},
|
||||
findDetail(id) {
|
||||
return request({
|
||||
url: `/oil-finance/oilCompanyRechargePretreatment/findDetail?id=${id}`,
|
||||
method: 'get'
|
||||
})
|
||||
},
|
||||
handleRejection(rejectRemark) { // 预处理驳回
|
||||
return request({
|
||||
url: `/oil-finance/oilCompanyRechargePretreatment/handleRejection`,
|
||||
method: 'post',
|
||||
data:rejectRemark
|
||||
})
|
||||
},
|
||||
savePreprocessing(data) { // 预处理提交
|
||||
return request({
|
||||
url: `/oil-finance/oilCompanyRechargePretreatment/savePreprocessing`,
|
||||
method: 'post',
|
||||
data :data
|
||||
})
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user