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.
100 lines
2.1 KiB
100 lines
2.1 KiB
2 years ago
|
import request from '@/utils/request'
|
||
|
const service_name = "oil-user"
|
||
|
const group_name = "sysCustomerInfo"
|
||
|
export default {
|
||
|
getByPages(data) {
|
||
|
return request({
|
||
|
url: `/${service_name}/${group_name}/getByPages`,
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
},
|
||
|
liekQuery(data) {
|
||
|
return request({
|
||
|
url: `/${service_name}/sysCustomerInfo/liekQuery/${data}`,
|
||
|
method: 'get'
|
||
|
})
|
||
|
},
|
||
|
getByPagesApp(data) {
|
||
|
return request({
|
||
|
url: `/${service_name}/sysCustomerInfo/getByPagesApp`,
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
},
|
||
|
getByPage(data) {
|
||
|
return request({
|
||
|
url: `/${service_name}/oilCompanyInfo/getByPage`,
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
},
|
||
|
getCompanyNames(name) {
|
||
|
return request({
|
||
|
url: `/${service_name}/oilCompanyInfo/getCompanyNames/${name}`,
|
||
|
method: 'get'
|
||
|
})
|
||
|
},
|
||
|
getdirverDetails(id) {
|
||
|
return request({
|
||
|
url: `/${service_name}/${group_name}/getCustomerInfo/${id}`,
|
||
|
method: 'get'
|
||
|
})
|
||
|
},
|
||
|
updateCustomerEnable(data) {
|
||
|
return request({
|
||
|
url: `/${service_name}/${group_name}/updateCustomerEnable`,
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
},
|
||
|
dirverAccount(customerId) {
|
||
|
return request({
|
||
|
url: `/oil-finance/oilCustomerAccount/getByCustomerId/${customerId}`,
|
||
|
method: 'get',
|
||
|
})
|
||
|
},
|
||
|
getByPageOms(data) {
|
||
|
return request({
|
||
|
url: `oil-finance/oilCompanyDistributeReverse/getByPageOms`,
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
},
|
||
|
fylist(id) {
|
||
|
console.log('qingqiu1', id)
|
||
|
return request({
|
||
|
url: `/oil-user/oilCompanyInfo/getCompanyListById/${id}`,
|
||
|
method: 'get'
|
||
|
})
|
||
|
},
|
||
|
findAllByField(data) {
|
||
|
return request({
|
||
|
url: `/oil-user/oilCompanyInfo/findAllByField`,
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
},
|
||
|
getDriverSelectionListByCompanyId(data) {
|
||
|
return request({
|
||
|
url: `/oil-user/sysCustomerInfo/getDriverSelectionListByCompanyId`,
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
},
|
||
|
findThreeDataByIds(data) {
|
||
|
return request({
|
||
|
url: `/oil-user/oilCompanyInfo/findThreeDataByIds`,
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
},
|
||
|
findPage(data) {
|
||
|
return request({
|
||
|
url: `/oil-user/oilSiteInfo/findPage`,
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
}
|