Commit 0c13ed41 by zhangxw

联调修改

1 parent 986e7063
<template> <template>
<div> <div>
<!-- 待受理/定损不通过 -->
<div v-if="[32, 35].includes(curRouteInfo.status)">
<damage :isDetailPage="false" :disabled="curRouteInfo.pageType == 1" :curRouteInfo="curRouteInfo"></damage> <damage :isDetailPage="false" :disabled="curRouteInfo.pageType == 1" :curRouteInfo="curRouteInfo"></damage>
</div>
<!-- 定损通过/核赔不通过 -->
<div v-else>
<el-tabs class="tabs" v-model="activeName">
<el-tab-pane v-for="item in tabs" :key="item.id" :label="item.name" :name="item.id">
</el-tab-pane>
</el-tabs>
<div v-show="activeName=='damage'">
<damage :curRouteInfo="curRouteInfo" disabled></damage>
</div>
<div v-show="activeName=='writeOff'">
<write-off :curRouteInfo="curRouteInfo" :disabled="curRouteInfo.pageType==1"></write-off>
</div>
</div>
<qrCode :bottom="320" phone="400 6123 886" phoneTitle="定损及核赔服务咨询" :codeUrl="qrcodUrl"></qrCode> <qrCode :bottom="320" phone="400 6123 886" phoneTitle="定损及核赔服务咨询" :codeUrl="qrcodUrl"></qrCode>
</div> </div>
</template> </template>
<script type="text/ecmascript-6"> <script type="text/ecmascript-6">
import qrCode from '@/components/qr-code' import qrCode from '@/components/qr-code'
import damage from './damage' import damage from './damage'
import writeOff from './writeOff'
export default { export default {
name: 'addDamege', name: 'addDamege',
data() { data() {
return { return {
activeName: 'writeOff', activeName: 'writeOff',
curRouteInfo: {} curRouteInfo:{},
tabs:[
{
id:'writeOff',
name: '核赔信息'
},{
id:'damage',
name: '定损信息'
}
]
} }
}, },
components: { components: {
damage, damage,
writeOff,
qrCode qrCode
}, },
created() { created() {
......
...@@ -694,7 +694,7 @@ export default { ...@@ -694,7 +694,7 @@ export default {
// if ((item.preStatus == 6 && item.status == 31) || item.status == 5 || item.status == 6 || item.status == 7 || item.status == 29 || item.status == 30 || item.status == 999) { // if ((item.preStatus == 6 && item.status == 31) || item.status == 5 || item.status == 6 || item.status == 7 || item.status == 29 || item.status == 30 || item.status == 999) {
this.$router.push({ this.$router.push({
// 待受理/定损不通过进入addDamage页面 核赔不通过进入addWriteOff页面 // 待受理/定损不通过进入addDamage页面 核赔不通过进入addWriteOff页面
path: [32, 35].includes(item.status) ? `/beforeSale/writeOff/addDamage/${params}/` : `/beforeSale/writeOff/addWriteOff/${params}/`, path: `/beforeSale/writeOff/addDamage/${params}/`,
// 待受理/定损通过 上传资料 面包屑title定损不通过/核赔不通过 重新提交 // 待受理/定损通过 上传资料 面包屑title定损不通过/核赔不通过 重新提交
query: { $title: [32, 34].includes(item.status) ? '上传资料' : '重新提交' } query: { $title: [32, 34].includes(item.status) ? '上传资料' : '重新提交' }
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!