Commit 9c251f64 by 杨北旺

12

1 parent 4a353af8
......@@ -59,9 +59,10 @@ const actions = {
dispatch('registerHttp')
state.showWindow = true
},
registerHttp({}, sessionId = '') {
// window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: sessionId } })
window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: 'scrm-base-0581fbbb-8e21-40ad-b7a8-1a3f6e3b8f55-rop' } })
registerHttp({}) {
const sessionId = getParams('sessionId')
window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: sessionId } })
// window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: 'scrm-base-f9688caa-36ac-4795-8b91-d38e17c7ccc3-rop' } })
}
}
const getParams = name => {
......
......@@ -68,505 +68,6 @@ export default {
return {
imageBase: '',
list: [],
// list: [
// {
// title: '基本资料',
// content: [
// {
// name: '身份证照片',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传身份证人像面',
// icon: 'claims_icon_1.png'
// },
// {
// prop: 'reverse',
// url: '',
// label: '上传身份证国徽面',
// icon: 'claims_icon_2.png'
// }
// ]
// },
// {
// name: '驾驶证',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传驾驶证',
// icon: 'claims_icon_3.png'
// }
// ]
// },
// {
// name: '行驶证',
// tip: '正本及副证年审合格页面出险时车辆在年审有效期内',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传行驶证',
// icon: 'claims_icon_3.png'
// }
// ]
// },
// {
// name: '人车合照',
// tip: '须清晰体现车牌、车辆全貌',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传人车合照',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '前挡车架号',
// tip: '车架号清晰可见',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传前挡车架号',
// icon: 'claims_icon_4.png'
// }
// ]
// }
// ],
// spectical: true
// },
// {
// title: '定损细节资料',
// content: [
// {
// name: '商业险保单',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传商业险保单',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '购车发票(原件)',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传购车发票(原件)',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '全损协议(原件)',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传全损协议(原件)',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '车险赔付凭证',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传车险赔付凭证',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '购置税完税凭证',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传购置税完税凭证',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '登记费票据(原件)',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传登记费票据(原件)',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '加装设备凭证',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传加装设备凭证',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '火灾事故认定书',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传火灾事故认定书',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '车辆维修估损单',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传车辆维修估损单',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '仪表台公里数照片',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传仪表台公里数照片',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '车辆受损轮胎方位的整车45度角照片',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传45度角照片',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '受损轮胎品牌及驾驶证副页照片',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传品牌及驾驶证副页照片',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '受损轮胎规格',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传受损轮胎规格',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '上传临牌反面照片',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '受损轮胎花纹',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传受损轮胎花纹',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '上传临牌照片',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '轮胎受损部位特写照',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传轮胎受损部位特写照',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '上传临牌照片',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '受损轮胎DOT号',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传轮胎受损轮胎DOT号',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '上传批次号',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '维修估损单/接车单',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传维修估损单',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '上传接车单',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '损坏部位特写照片',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传损坏部位特写照片',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '修复后照片',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传修复后照片',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '定损单',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传定损单',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '钥匙',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '丢失情况说明',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '丢失钥匙的解绑',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '注销凭证',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '更换前后钥匙已匹配数量截图',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '系统钥匙匹配截图',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '系统EPC价格截图',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '新钥匙实物照',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '维修估损单',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '接车单',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '车牌',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '丢失情况说明',
// icon: 'claims_icon_4.png'
// },
// {
// prop: 'positive',
// url: '',
// label: '车管所收费凭证',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '车辆施工过程照片(拆装、磨底)',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '车辆施工过程照片',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '代步车协议',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '代步车协议',
// icon: 'claims_icon_4.png'
// }
// ]
// }
// ],
// spectical: true
// },
// {
// title: '现场照片',
// content: [
// {
// name: '车头外观45度照片',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传车头外观45度照片',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '事故现场照片',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传事故现场照片',
// icon: 'claims_icon_4.png'
// }
// ]
// },
// {
// name: '损失部位照片',
// tip: '',
// images: [
// {
// prop: 'positive',
// url: '',
// label: '上传损失部位照片',
// icon: 'claims_icon_4.png'
// }
// ]
// }
// ],
// spectical: true
// },
// {
// title: '其他资料',
// content: [],
// spectical: false
// }
// ],
currentIndex: 0,
size: '102px'
}
......@@ -580,10 +81,14 @@ export default {
methods: {
// 获取附件列表
getList() {
const {contractNo,writeOffCode,damage} = window.vm.$route.query
let para = {
contractNo: '496557746246918144',
writeOffCode:'12274722'
contractNo,
writeOffCode,
type:damage
}
if(!contractNo)return
if(!writeOffCode)return
this.showLoading()
upload.claimsClassifyApi(para).then(res => {
this.hideLoading()
......
......@@ -54,7 +54,6 @@ module.exports = {
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router hash 模式使用
publicPath: IS_PROD ? './' : '/h5/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: '/dj-scrm-wx-work-main-bw/', // 署应用包时的基本 URL。 vue-router history模式使用
// publicPath: './', // 署应用包时的基本 URL。 vue-router history模式使用
outputDir: 'dist', // 生产环境构建文件的目录
assetsDir: 'static', // outputDir的静态资源(js、css、img、fonts)目录
lintOnSave: !IS_PROD,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!