Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 746dfc14
authored
Oct 09, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
...
1 parent
57f57b8f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
107 additions
and
55 deletions
src/views/claims/components/check/index.vue
src/views/claims/components/checkClaims/index.vue
src/views/claims/components/repair.vue
src/views/claims/components/uploadMaterial.vue
src/views/claims/components/watch/index.vue
src/views/claims/ghOrder.vue
src/views/claims/components/check/index.vue
View file @
746dfc1
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
<!-- 上传资料 -->
<!-- 上传资料 -->
<div>
<div>
<upload-material
:isDisabled=
"isDisabled"
:insuranceAttachmentConfigs
.
sync=
"insuranceAttachmentConfigs"
></upload-material>
<upload-material
:
lossTypeList
.
sync=
"lossTypeList"
:
isDisabled=
"isDisabled"
:insuranceAttachmentConfigs
.
sync=
"insuranceAttachmentConfigs"
></upload-material>
</div>
</div>
<!-- 案件补充说明 -->
<!-- 案件补充说明 -->
...
@@ -206,7 +206,8 @@ export default {
...
@@ -206,7 +206,8 @@ export default {
insuranceAttachmentConfigs
:
Array
,
insuranceAttachmentConfigs
:
Array
,
itemList
:
Array
,
itemList
:
Array
,
otherInfoData
:
Object
,
otherInfoData
:
Object
,
isDisabled
:
Boolean
isDisabled
:
Boolean
,
lossTypeList
:
Array
},
},
watch
:
{
watch
:
{
'editForm.reportDate'
(
newVal
,
oldVal
)
{
'editForm.reportDate'
(
newVal
,
oldVal
)
{
...
@@ -286,7 +287,15 @@ export default {
...
@@ -286,7 +287,15 @@ export default {
this
.
repotData
.
applyAmount
=
(
total
/
100
).
toFixed
(
2
)
this
.
repotData
.
applyAmount
=
(
total
/
100
).
toFixed
(
2
)
},
},
changeType
(
e
){
changeType
(
e
){
// this.$emit('')
// if(!e.length){
// this.$message({
// message: '至少选一个服务类型',
// type: 'error'
// })
// return
// }
this
.
lossTypeList
=
e
this
.
$emit
(
'getCurrentLoosType'
,
e
)
}
}
}
}
}
}
...
...
src/views/claims/components/checkClaims/index.vue
View file @
746dfc1
...
@@ -80,6 +80,7 @@
...
@@ -80,6 +80,7 @@
</div>
</div>
<div
v-if=
"img.exampleUrl"
class=
"img_pannel flex_cc"
>
<div
v-if=
"img.exampleUrl"
class=
"img_pannel flex_cc"
>
<el-image
:preview-src-list=
"[img.exampleUrl]"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.exampleUrl"
:fit=
"fit"
></el-image>
<el-image
:preview-src-list=
"[img.exampleUrl]"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.exampleUrl"
:fit=
"fit"
></el-image>
<div
class=
"egTag flex_cc"
>
示例
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -303,6 +304,17 @@ export default {
...
@@ -303,6 +304,17 @@ export default {
background
:
#f5f5f5
;
background
:
#f5f5f5
;
position
:
relative
;
position
:
relative
;
border-radius
:
4px
;
border-radius
:
4px
;
.egTag
{
position
:
absolute
;
right
:
8px
;
top
:
8px
;
width
:
36px
;
height
:
18px
;
color
:
#666
;
font-size
:
12px
;
border-radius
:
2px
;
background
:
#e5e5e5
;
}
}
}
}
}
</
style
>
</
style
>
src/views/claims/components/repair.vue
View file @
746dfc1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div>
<div>
<div
v-if=
"isGH"
class=
"report-components gl-form-page"
>
<div
v-if=
"isGH"
class=
"report-components gl-form-page"
>
<div
class=
"title"
>
报案信息(店面补充)
</div>
<div
class=
"title"
>
报案信息(店面补充)
</div>
<glsx-combi-form
:labelPaddingRight=
"0"
:isi
nline=
"false"
class=
"edit-form-container"
ref=
"handlerRef"
:formRules=
"accountRule"
labelWidth=
"154px"
defaultWidth=
"432px"
:formObj=
"accountForm"
:formData=
"handlerForm"
>
<glsx-combi-form
:labelPaddingRight=
"0"
:isI
nline=
"false"
class=
"edit-form-container"
ref=
"handlerRef"
:formRules=
"accountRule"
labelWidth=
"154px"
defaultWidth=
"432px"
:formObj=
"accountForm"
:formData=
"handlerForm"
>
<div
slot=
"serviceApply"
class=
"serviceApply_container"
>
<div
slot=
"serviceApply"
class=
"serviceApply_container"
>
<template
v-for=
"(item, index) in serviceItemsList"
>
<template
v-for=
"(item, index) in serviceItemsList"
>
<div
:key=
"index"
class=
"wrapper"
>
<div
:key=
"index"
class=
"wrapper"
>
...
...
src/views/claims/components/uploadMaterial.vue
View file @
746dfc1
...
@@ -25,17 +25,17 @@
...
@@ -25,17 +25,17 @@
</div>
</div>
<div
v-if=
"item.firstClassifyName.indexOf('细节') != -1"
class=
"image_container"
>
<div
v-if=
"item.firstClassifyName.indexOf('细节') != -1"
class=
"image_container"
>
<
template
v-for=
"(img, i) in insuranceAttachmentConfigs[currentIndx].secondClassifyList"
>
<
template
v-for=
"(img, i) in insuranceAttachmentConfigs[currentIndx].secondClassifyList"
>
<div
v-if=
"img.serviceItemName == item.services[currentServicesIndex]"
:key=
"i"
class=
"img_box"
>
<div
v-if=
"img.serviceItemName ==
'钥匙及车牌重置服务' && img.serviceItemName == item.services[currentServicesIndex] ? lossTypeList.includes(img.lossType) : img.serviceItemName ==
item.services[currentServicesIndex]"
:key=
"i"
class=
"img_box"
>
<div
class=
"title flex_sc"
>
<div
class=
"title flex_sc"
>
<i
v-if=
"img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 1"
class=
"el-icon-success success"
></i>
<i
v-if=
"img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 1"
class=
"el-icon-success success"
></i>
<i
v-else-if=
"img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0"
class=
"el-icon-error error"
></i>
<i
v-else-if=
"img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0"
class=
"el-icon-error error"
></i>
<div
class=
""
>
{{
img
.
secondClassifyName
}}
</div>
<div
class=
""
>
{{
img
.
secondClassifyName
}}
</div>
</div>
</div>
<div
class=
"img_pannel flex_cc"
:class=
"[
{ errBorder: img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0 }]">
<div
class=
"img_pannel flex_cc"
:class=
"[
{ errBorder: img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0 }]">
<el-image
:preview-src-list=
"[img.attachmentList[0].attachmentFile]"
v-if=
"img.attachmentList.length
&&
img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<el-image
:preview-src-list=
"[img.attachmentList[0].attachmentFile]"
v-if=
"img.attachmentList.length
&&
img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<img
v-else
:src=
"cameraUrl"
style=
"width: 40px; height: 40px"
/>
<img
v-else
:src=
"cameraUrl"
style=
"width: 40px; height: 40px"
/>
<!--
<div
v-if=
"img.attachmentList.length&&img.attachmentList[0].auditStatus == 0"
class=
"errMsg flex_cc"
>
{{
img
.
attachmentList
[
0
].
reasonForFailure
}}
</div>
-->
<!--
<div
v-if=
"img.attachmentList.length&&img.attachmentList[0].auditStatus == 0"
class=
"errMsg flex_cc"
>
{{
img
.
attachmentList
[
0
].
reasonForFailure
}}
</div>
-->
<div
v-if=
"img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0"
class=
"errMsg flex_cc"
>
<div
v-if=
"img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0"
class=
"errMsg flex_cc"
>
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
:content=
"img.attachmentList[0].reasonForFailure"
>
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
:content=
"img.attachmentList[0].reasonForFailure"
>
<div
class=
"intext"
slot=
"reference"
>
{{
img
.
attachmentList
[
0
].
reasonForFailure
}}
</div>
<div
class=
"intext"
slot=
"reference"
>
{{
img
.
attachmentList
[
0
].
reasonForFailure
}}
</div>
</el-popover>
</el-popover>
...
@@ -56,18 +56,18 @@
...
@@ -56,18 +56,18 @@
<div
v-for=
"(img, i) in insuranceAttachmentConfigs[currentIndx].secondClassifyList"
:key=
"i"
class=
"img_box"
>
<div
v-for=
"(img, i) in insuranceAttachmentConfigs[currentIndx].secondClassifyList"
:key=
"i"
class=
"img_box"
>
<div
v-if=
"img.serviceItemName"
class=
"service_title"
>
{{ img.serviceItemName }}
</div>
<div
v-if=
"img.serviceItemName"
class=
"service_title"
>
{{ img.serviceItemName }}
</div>
<div
class=
"title flex_sc"
>
<div
class=
"title flex_sc"
>
<i
v-if=
"img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 1"
class=
"el-icon-success success"
></i>
<i
v-if=
"img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 1"
class=
"el-icon-success success"
></i>
<i
v-else-if=
"img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0"
class=
"el-icon-error error"
></i>
<i
v-else-if=
"img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0"
class=
"el-icon-error error"
></i>
<div
class=
""
>
{{ img.secondClassifyName }}
</div>
<div
class=
""
>
{{ img.secondClassifyName }}
</div>
</div>
</div>
<div
class=
"img_pannel flex_cc"
:class=
"[{ errBorder: img.attachmentList.length&&
img.attachmentList[0].auditStatus == 0 }]"
>
<div
class=
"img_pannel flex_cc"
:class=
"[{ errBorder: img.attachmentList.length &&
img.attachmentList[0].auditStatus == 0 }]"
>
<el-image
:preview-src-list=
"[img.attachmentList[0].attachmentFile]"
v-if=
"img.attachmentList.length
&&
img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<el-image
:preview-src-list=
"[img.attachmentList[0].attachmentFile]"
v-if=
"img.attachmentList.length
&&
img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<img
v-else
:src=
"cameraUrl"
style=
"width: 40px; height: 40px"
/>
<img
v-else
:src=
"cameraUrl"
style=
"width: 40px; height: 40px"
/>
<!-- <div v-if="img.attachmentList.length&&img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div> -->
<!-- <div v-if="img.attachmentList.length&&img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div> -->
<div
v-if=
"img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0"
class=
"errMsg flex_cc"
>
<div
v-if=
"img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0"
class=
"errMsg flex_cc"
>
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
:content=
"img.attachmentList[0].reasonForFailure"
>
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
:content=
"img.attachmentList[0].reasonForFailure"
>
<div
class=
"intext"
slot=
"reference"
>
{{ img.attachmentList[0].reasonForFailure }}
</div>
<div
class=
"intext"
slot=
"reference"
>
{{ img.attachmentList[0].reasonForFailure }}
</div>
</el-popover>
</el-popover>
</div>
</div>
</div>
</div>
<div
v-if=
"!isDisabled"
class=
"footer_btn"
>
<div
v-if=
"!isDisabled"
class=
"footer_btn"
>
...
@@ -93,8 +93,8 @@
...
@@ -93,8 +93,8 @@
<!-- <div v-if="img.auditStatus == 0" class="errMsg flex_cc">{{ img.reasonForFailure }}</div> -->
<!-- <div v-if="img.auditStatus == 0" class="errMsg flex_cc">{{ img.reasonForFailure }}</div> -->
<div
v-if=
"img.auditStatus == 0"
class=
"errMsg flex_cc"
>
<div
v-if=
"img.auditStatus == 0"
class=
"errMsg flex_cc"
>
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
:content=
"img.reasonForFailure"
>
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
:content=
"img.reasonForFailure"
>
<div
class=
"intext"
slot=
"reference"
>
{{ img.reasonForFailure }}
</div>
<div
class=
"intext"
slot=
"reference"
>
{{ img.reasonForFailure }}
</div>
</el-popover>
</el-popover>
</div>
</div>
</div>
</div>
<div
v-if=
"!isDisabled"
class=
"footer_btn"
>
<div
v-if=
"!isDisabled"
class=
"footer_btn"
>
...
@@ -171,7 +171,8 @@ export default {
...
@@ -171,7 +171,8 @@ export default {
},
},
props
:
{
props
:
{
insuranceAttachmentConfigs
:
Array
,
insuranceAttachmentConfigs
:
Array
,
isDisabled
:
Boolean
isDisabled
:
Boolean
,
lossTypeList
:
Array
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
...
@@ -196,7 +197,15 @@ export default {
...
@@ -196,7 +197,15 @@ export default {
},
},
// type 1通过 0不通过 2 上传
// type 1通过 0不通过 2 上传
toHandlerImage
(
img
,
index
,
type
,
isOther
=
false
)
{
toHandlerImage
(
img
,
index
,
type
,
isOther
=
false
)
{
if
(
!
img
.
attachmentList
.
length
&&!
isOther
)
return
if
(
!
img
.
attachmentList
.
length
){
img
.
attachmentList
[
0
]
=
{
...
img
,
attachmentFile
:
''
,
auditStatus
:
null
,
reasonForFailure
:
''
}
}
// if (!img.attachmentList.length && !isOther) return
this
.
uploadObj
=
{
this
.
uploadObj
=
{
img
,
img
,
index
index
...
@@ -205,8 +214,7 @@ export default {
...
@@ -205,8 +214,7 @@ export default {
if
(
isOther
)
{
if
(
isOther
)
{
this
.
otherUploadIndex
=
index
this
.
otherUploadIndex
=
index
}
}
if
(
type
==
2
&&
isOther
)
{
if
(
type
==
2
)
{
this
.
otherUploadIndex
=
index
return
return
}
}
if
(
type
==
1
)
{
if
(
type
==
1
)
{
...
@@ -389,17 +397,17 @@ export default {
...
@@ -389,17 +397,17 @@ export default {
z-index
:
10
;
z-index
:
10
;
word-break
:
break-all
;
word-break
:
break-all
;
.intext
{
.intext
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
2px
;
padding
:
0
2px
;
font-size
:
12px
;
font-size
:
12px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#ffffff
;
color
:
#ffffff
;
display
:
-webkit-box
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
3
;
-webkit-line-clamp
:
3
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
}
}
}
}
}
}
.uplpad_pannel
{
.uplpad_pannel
{
...
...
src/views/claims/components/watch/index.vue
View file @
746dfc1
...
@@ -151,6 +151,7 @@
...
@@ -151,6 +151,7 @@
</div>
</div>
<div
v-if=
"img.exampleUrl"
class=
"img_pannel flex_cc"
>
<div
v-if=
"img.exampleUrl"
class=
"img_pannel flex_cc"
>
<el-image
:preview-src-list=
"[img.exampleUrl]"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.exampleUrl"
:fit=
"fit"
></el-image>
<el-image
:preview-src-list=
"[img.exampleUrl]"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.exampleUrl"
:fit=
"fit"
></el-image>
<div
class=
"egTag flex_cc"
>
示例
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/views/claims/ghOrder.vue
View file @
746dfc1
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<WatchData
:otherInfoData
.
sync=
"otherInfoData"
:images=
"insuranceAttachmentConfigs"
:images2=
"claimsAttachmentConfigs"
:itemsList
.
sync=
"itemList"
:repotData
.
sync=
"repotData"
:accountList
.
sync=
"accountList"
:watchData
.
sync=
"watchData"
></WatchData>
<WatchData
:otherInfoData
.
sync=
"otherInfoData"
:images=
"insuranceAttachmentConfigs"
:images2=
"claimsAttachmentConfigs"
:itemsList
.
sync=
"itemList"
:repotData
.
sync=
"repotData"
:accountList
.
sync=
"accountList"
:watchData
.
sync=
"watchData"
></WatchData>
</
template
>
</
template
>
<
template
v-else-if=
"pageType == 5 && routeInfo.status < 11"
>
<
template
v-else-if=
"pageType == 5 && routeInfo.status < 11"
>
<CheckData
:otherInfoData
.
sync=
"otherInfoData"
:itemList
.
sync=
"itemList"
:insuranceAttachmentConfigs
.
sync=
"insuranceAttachmentConfigs"
:repotData
.
sync=
"repotData"
></CheckData>
<CheckData
@
getCurrentLoosType=
"getLossType"
:lossTypeList
.
sync=
"lossTypeList"
:otherInfoData
.
sync=
"otherInfoData"
:itemList
.
sync=
"itemList"
:insuranceAttachmentConfigs
.
sync=
"insuranceAttachmentConfigs"
:repotData
.
sync=
"repotData"
></CheckData>
</
template
>
</
template
>
<
template
v-else-if=
"(pageType == 5 && routeInfo.status > 10) || (routeInfo.status == 2 && pageType == 6)"
>
<
template
v-else-if=
"(pageType == 5 && routeInfo.status > 10) || (routeInfo.status == 2 && pageType == 6)"
>
<div
class=
"tab_wrap"
>
<div
class=
"tab_wrap"
>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<CheckClaims
@
changeObjectType=
"changeObjectType"
:insuranceAttachmentConfigs
.
sync=
"claimsAttachmentConfigs"
:repotData
.
sync=
"repotData"
:itemsList
.
sync=
"itemList"
:accountForm
.
sync=
"accountForm"
></CheckClaims>
<CheckClaims
@
changeObjectType=
"changeObjectType"
:insuranceAttachmentConfigs
.
sync=
"claimsAttachmentConfigs"
:repotData
.
sync=
"repotData"
:itemsList
.
sync=
"itemList"
:accountForm
.
sync=
"accountForm"
></CheckClaims>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
class=
"bg"
label=
"定损信息"
name=
"second"
>
<el-tab-pane
class=
"bg"
label=
"定损信息"
name=
"second"
>
<CheckData
:isDisabled=
"true"
:otherInfoData
.
sync=
"otherInfoData"
:itemList
.
sync=
"itemList"
:insuranceAttachmentConfigs
.
sync=
"insuranceAttachmentConfigs"
:repotData
.
sync=
"repotData"
></CheckData>
<CheckData
:
lossTypeList
.
sync=
"lossTypeList"
:
isDisabled=
"true"
:otherInfoData
.
sync=
"otherInfoData"
:itemList
.
sync=
"itemList"
:insuranceAttachmentConfigs
.
sync=
"insuranceAttachmentConfigs"
:repotData
.
sync=
"repotData"
></CheckData>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
</div>
</div>
...
@@ -140,7 +140,8 @@ export default {
...
@@ -140,7 +140,8 @@ export default {
insuranceAttachmentConfigs
:
[],
insuranceAttachmentConfigs
:
[],
itemList
:
[],
itemList
:
[],
otherInfoData
:
{},
otherInfoData
:
{},
claimsAttachmentConfigs
:
[]
claimsAttachmentConfigs
:
[],
lossTypeList
:[]
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -217,6 +218,11 @@ export default {
...
@@ -217,6 +218,11 @@ export default {
}
}
if
(
item
.
firstClassifyName
.
indexOf
(
'定损细节照片'
)
!=
-
1
)
{
if
(
item
.
firstClassifyName
.
indexOf
(
'定损细节照片'
)
!=
-
1
)
{
item
.
secondClassifyList
.
forEach
(
el
=>
{
item
.
secondClassifyList
.
forEach
(
el
=>
{
if
(
el
.
secondClassifyName
.
indexOf
(
'钥匙'
)
!=-
1
&&
el
.
serviceItemCode
==
'SC0006'
){
el
.
lossType
=
'3'
}
else
if
(
el
.
secondClassifyName
.
indexOf
(
'车牌'
)
!=-
1
&&
el
.
serviceItemCode
==
'SC0006'
){
el
.
lossType
=
'4'
}
services
.
push
(
el
.
serviceItemName
)
services
.
push
(
el
.
serviceItemName
)
})
})
item
.
services
=
[...
new
Set
(
services
)]
item
.
services
=
[...
new
Set
(
services
)]
...
@@ -262,9 +268,9 @@ export default {
...
@@ -262,9 +268,9 @@ export default {
if
(
item
.
serviceItemCode
==
'SC0006'
&&
item
.
lossType
)
{
if
(
item
.
serviceItemCode
==
'SC0006'
&&
item
.
lossType
)
{
item
.
lossTypeList
=
item
.
lossType
.
split
(
','
)
item
.
lossTypeList
=
item
.
lossType
.
split
(
','
)
}
}
this
.
lossTypeList
=
item
.
lossTypeList
this
.
$set
(
item
,
'checked'
,
true
)
this
.
$set
(
item
,
'checked'
,
true
)
})
})
this
.
itemList
=
res
.
itemsList
this
.
itemList
=
res
.
itemsList
this
.
handlerWatch
(
this
.
repotData
,
1
)
this
.
handlerWatch
(
this
.
repotData
,
1
)
this
.
handlerWatch
(
res
.
bankAccountDTO
,
2
)
this
.
handlerWatch
(
res
.
bankAccountDTO
,
2
)
...
@@ -505,18 +511,19 @@ export default {
...
@@ -505,18 +511,19 @@ export default {
para
.
auditStatus
=
0
para
.
auditStatus
=
0
para
.
reasonForFailureCode
=
this
.
noPassObj
.
reason
para
.
reasonForFailureCode
=
this
.
noPassObj
.
reason
para
.
reasonForFailure
=
this
.
noPassObj
.
desc
para
.
reasonForFailure
=
this
.
noPassObj
.
desc
let
loading
=
this
.
createLoading
()
console
.
log
(
para
);
this
.
$apis
.
claims
.
checkOrderApi
(
para
).
then
(
res
=>
{
// let loading = this.createLoading()
loading
.
close
()
// this.$apis.claims.checkOrderApi(para).then(res => {
if
(
res
)
{
// loading.close()
this
.
$message
({
// if (res) {
message
:
'操作成功'
,
// this.$message({
type
:
'success'
// message: '操作成功',
})
// type: 'success'
this
.
$router
.
push
({
path
:
'/claims/ghIndex'
})
// })
}
// this.$router.push({ path: '/claims/ghIndex' })
this
.
cancleNoPass
()
// }
})
// this.cancleNoPass()
// })
},
},
cancleNoPass
()
{
cancleNoPass
()
{
this
.
showNoPassDialog
=
false
this
.
showNoPassDialog
=
false
...
@@ -591,6 +598,7 @@ export default {
...
@@ -591,6 +598,7 @@ export default {
// 图片数据处理
// 图片数据处理
hanlerImg
()
{
hanlerImg
()
{
let
imgs
=
[]
let
imgs
=
[]
let
serviceImgs
=
[]
if
(
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
)
{
if
(
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
)
{
this
.
claimsAttachmentConfigs
.
forEach
((
item
,
index
)
=>
{
this
.
claimsAttachmentConfigs
.
forEach
((
item
,
index
)
=>
{
item
.
secondClassifyList
.
forEach
(
el
=>
{
item
.
secondClassifyList
.
forEach
(
el
=>
{
...
@@ -603,13 +611,23 @@ export default {
...
@@ -603,13 +611,23 @@ export default {
}
else
{
}
else
{
this
.
insuranceAttachmentConfigs
.
forEach
((
item
,
index
)
=>
{
this
.
insuranceAttachmentConfigs
.
forEach
((
item
,
index
)
=>
{
item
.
secondClassifyList
.
forEach
(
el
=>
{
item
.
secondClassifyList
.
forEach
(
el
=>
{
el
.
attachmentList
.
forEach
(
ele
=>
{
if
(
el
.
serviceItemName
==
'钥匙及车牌重置服务'
&&
this
.
lossTypeList
.
includes
(
el
.
lossType
)){
ele
.
secondClassifyName
=
el
.
secondClassifyName
el
.
attachmentList
.
forEach
(
ele
=>
{
imgs
.
push
(
ele
)
ele
.
secondClassifyName
=
el
.
secondClassifyName
})
serviceImgs
.
push
(
ele
)
})
}
else
{
el
.
attachmentList
.
forEach
(
ele
=>
{
ele
.
secondClassifyName
=
el
.
secondClassifyName
imgs
.
push
(
ele
)
})
}
})
})
})
})
}
}
if
(
serviceImgs
.
length
){
imgs
=
[...
serviceImgs
,...
imgs
]
}
let
obj
=
{}
let
obj
=
{}
let
type
=
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
?
2
:
1
let
type
=
this
.
orderMsg
.
status
==
12
||
this
.
orderMsg
.
status
==
2
?
2
:
1
imgs
.
forEach
((
item
,
index
)
=>
{
imgs
.
forEach
((
item
,
index
)
=>
{
...
@@ -641,6 +659,10 @@ export default {
...
@@ -641,6 +659,10 @@ export default {
})
})
return
obj
return
obj
},
},
// 获取车牌钥匙选择类型
getLossType
(
e
){
this
.
lossTypeList
=
e
},
// 服务项目数据处理
// 服务项目数据处理
handlerServices
()
{
handlerServices
()
{
let
itemObj
=
{}
let
itemObj
=
{}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment