25 lines
698 B
JavaScript
25 lines
698 B
JavaScript
|
|
import request from 'utils/axios.js'
|
||
|
|
// table
|
||
|
|
const getByPage = params => {
|
||
|
|
return request.postJson('/oil-refinery/xoilRefineryAccountRecord/getByPage', params)
|
||
|
|
}
|
||
|
|
// 炼厂名称
|
||
|
|
const getLikeByName = (params = {}) => {
|
||
|
|
return request.postJson('/oil-refinery/xoilRefineryAccountRecord/getLikeByNameOrId', params)
|
||
|
|
}
|
||
|
|
// 炼厂账户名称
|
||
|
|
const getLikeRefineryAccount = (params = {}) => {
|
||
|
|
return request.postJson('/oil-refinery/xoilRefineryAccountRecord/getLikeRefineryAccount', params)
|
||
|
|
}
|
||
|
|
// 详情
|
||
|
|
const getById = query => {
|
||
|
|
return request.get(`oil-refinery/xoilRefineryAccountRecord/getById/${query}`)
|
||
|
|
}
|
||
|
|
|
||
|
|
export default {
|
||
|
|
getByPage,
|
||
|
|
getLikeByName,
|
||
|
|
getLikeRefineryAccount,
|
||
|
|
getById
|
||
|
|
}
|