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.
41 lines
962 B
41 lines
962 B
2 years ago
|
import request from '@/utils/request'
|
||
|
const service_name = "oil-user"
|
||
|
const group_name = "sysCustomerInfo"
|
||
|
export default {
|
||
|
saveNewDriver (data) {
|
||
|
return request({
|
||
|
url: `/${service_name}/${group_name}/saveNewDriver`,
|
||
|
method: 'post',
|
||
|
data:data
|
||
|
})
|
||
|
},
|
||
|
saveOilCard (data) {
|
||
|
return request({
|
||
|
url: `/oil-finance/oilCustomerCompanyAccount/saveOilCard`,
|
||
|
method: 'post',
|
||
|
data:data
|
||
|
})
|
||
|
},
|
||
|
updateDriver (data) {
|
||
|
return request({
|
||
|
url: `/${service_name}/${group_name}/updateDriver`,
|
||
|
method: 'post',
|
||
|
data:data
|
||
|
})
|
||
|
},
|
||
|
updateCustomerInfo (data) {
|
||
|
return request({
|
||
|
url: `/${service_name}/${group_name}/updateCustomerInfo `,
|
||
|
method: 'post',
|
||
|
data:data
|
||
|
})
|
||
|
},
|
||
|
getDriverSelectionList (data) {
|
||
|
return request({
|
||
|
url: `/${service_name}/${group_name}/getDriverSelectionList `,
|
||
|
method: 'post',
|
||
|
data:data
|
||
|
})
|
||
|
}
|
||
|
}
|