Commit 838d965c by zhangquan

车位信息代码上传

1 parent c7e0c84b
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 getNoticeDetailApi = params => {
params.method = 'clue.api.collision.config.getDetail'
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 setFollowInfoApi = params => {
params.method = 'clue.api.collision.info.follow'
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 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 getVehicleSeriesListApi = params => {
params.method = 'scrm.api.carlife.common.getCarSeriesList'
return http({
url: '/rop-scrm-carlife/router',
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
})
}
export default {
getSendRepairListApi,
exportSendRepairListApi,
setNoticeApi,
getNoticeDetailApi,
getCollisionDetailApi,
setFollowInfoApi,
getDeviceListApi,
exportDeviceListApi,
importDeviceInfoApi,
editDeviceInfoApi,
getDeviceDetailApi,
uploadFileApi,
getCarBrandListApi,
getVehicleSeriesListApi,
getCarTypeListApi
}
const PHONE_MAX_NUM = 5
const FOLLOW_STATUS = [
{
label: '未回访',
value: 0
},
{
label: '已回访',
value: 1
}
]
const FOLLOW_RESULT = [
{
label: '真实事故',
value: 0
},
{
label: '非真实事故',
value: 1
},
{
label: '无法处理',
value: 2
}
]
const SN_TYPE = [
{
label: 'OBD',
value: 1
},
{
label: '记录仪',
value: 6
},
{
label: '云导航',
value: 2
},
{
label: 'GPS',
value: 8
},
{
label: '智能蓝牙耳机车充',
value: 12501
}
]
const CHANGE_DEVICE = [
{
label: '保修更换-免费更换',
value: 0
},
{
label: '维修更换',
value: 1
},
{
label: '购买',
value: 2
}
]
export {PHONE_MAX_NUM, FOLLOW_STATUS, FOLLOW_RESULT, SN_TYPE, CHANGE_DEVICE}
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!