Commit 66066c63 by zhangquan

车位联调

1 parent 75b8885f
import { http } from '@/main'
// http 对应的域名http://ismv.branch.glsx.com.cn
const URL = '/rop-scrm-clue/router'
// 送修列表
const getSendRepairListApi = params => {
params.method = 'clue.api.collision.info.listCollisionInfoByPage'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
const exportSendRepairListApi = params => {
params.method = 'clue.api.collision.info.exportCollisionInfo'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
const setNoticeApi = params => {
params.method = 'clue.api.collision.config.addOrUpdatePushConfig'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
const URL = '/rop-scrm-marketing/router'
// 车位列表
const getParkingSpaceListApi = params => {
params.method = 'marketing.api.charge.parkingSpace.page'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
const getNoticeDetailApi = params => {
params.method = 'clue.api.collision.config.getDetail'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
// 获取小区列表
const getMerchantListApi = params => {
params.method = 'marketing.api.charge.parkingSpace.getMerchantList'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
const getCollisionDetailApi = params => {
params.method = 'clue.api.collision.info.getDetail'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
const exportParkingSpaceListApi = params => {
params.method = 'marketing.api.charge.parkingSpace.page.export'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
const setFollowInfoApi = params => {
params.method = 'clue.api.collision.info.follow'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
const addParkingSpaceApi = params => {
params.method = 'marketing.api.charge.parkingSpace.create'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
const getDeviceListApi = params => {
params.method = 'clue.api.collision.customer.device.list'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
const getRadarListApi = params => {
params.method = 'marketing.api.charge.radar.page'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
const exportDeviceListApi = params => {
params.method = 'clue.api.collision.customer.device.list.export'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
const importDeviceInfoApi = params => {
params.method = 'clue.api.collision.device.import'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
const editDeviceInfoApi = params => {
params.method = 'clue.api.collision.customer.device.edit'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
const getDeviceDetailApi = params => {
params.method = 'clue.api.collision.customer.device.detail'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
const uploadFileApi = params => {
params.method = `scrm.api.equity.service.claims.code.batchGenerateCodeByExcel`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
noSignAttr: ['file']
})
}
const getCarBrandListApi = params => {
params.method = 'scrm.api.carlife.common.getOnlyCarBrandList'
return http({
url: '/rop-scrm-carlife/router',
method: 'post',
data: params,
sign: true
})
const delParkingSpaceApi = params => {
params.method = 'marketing.api.charge.parkingSpace.delete'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
const getVehicleSeriesListApi = params => {
params.method = 'scrm.api.carlife.common.getCarSeriesList'
return http({
url: '/rop-scrm-carlife/router',
method: 'post',
data: params,
sign: true
})
const updateParkingSpaceApi = params => {
params.method = 'marketing.api.charge.parkingSpace.update'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
const getCarTypeListApi = params => {
params.method = 'scrm.api.carlife.common.getCarTypeList'
return http({
url: '/rop-scrm-carlife/router',
method: 'post',
data: params,
sign: true
})
const saveParkingSpacePicApi = params => {
params.method = 'marketing.api.charge.parkingSpace.uploadImages'
return http({
url: URL,
method: 'post',
data: params,
sign: true
})
}
export default {
getSendRepairListApi,
exportSendRepairListApi,
setNoticeApi,
getNoticeDetailApi,
getCollisionDetailApi,
setFollowInfoApi,
getDeviceListApi,
exportDeviceListApi,
importDeviceInfoApi,
editDeviceInfoApi,
getDeviceDetailApi,
uploadFileApi,
getCarBrandListApi,
getVehicleSeriesListApi,
getCarTypeListApi
getParkingSpaceListApi,
getMerchantListApi,
exportParkingSpaceListApi,
addParkingSpaceApi,
getRadarListApi,
delParkingSpaceApi,
updateParkingSpaceApi,
saveParkingSpacePicApi
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!