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 46a2c70d
authored
Sep 06, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复
1 parent
bea03aa8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
74 additions
and
30 deletions
src/views/claims/index.vue
src/views/djClaims/components/check/index.vue
src/views/djClaims/components/report.vue
src/views/djClaims/djOrder.vue
src/views/claims/index.vue
View file @
46a2c70
...
...
@@ -115,7 +115,7 @@ export default {
orderCount
:
{},
buttonList
:
[
{
type
:
'
el-b
utton'
,
type
:
'
GLB
utton'
,
name
:
row
=>
{
return
'定损审核'
},
...
...
@@ -136,7 +136,7 @@ export default {
return
'去处理'
},
condition
:
row
=>
{
return
[
0
,
19
,
22
,
25
].
includes
(
row
.
scope
.
status
)
return
[
0
,
19
].
includes
(
row
.
scope
.
status
)
||
([
22
,
25
].
includes
(
row
.
scope
.
status
)
&&
row
.
scope
.
source
!=
3
)
},
attrs
:
{
type
:
'text'
,
...
...
@@ -152,7 +152,11 @@ export default {
return
'查看'
},
condition
:
row
=>
{
return
row
.
scope
.
status
!=
19
&&
row
.
scope
.
status
!=
33
const
{
status
,
source
}
=
row
.
scope
if
(
status
==
2
)
{
return
source
!=
3
}
return
!
[
19
,
33
].
includes
(
status
)
},
attrs
:
{
type
:
'text'
,
...
...
src/views/djClaims/components/check/index.vue
View file @
46a2c70
...
...
@@ -123,6 +123,18 @@ export default {
}
},
{
label
:
'出险时间(内部)'
,
name
:
'internalReimbursementDate'
,
type
:
'limitDatePicker'
,
dateType
:
'datetime'
,
customPickerOptions
:
{
disabledDate
(
date
)
{
return
date
>
new
Date
()
},
selectableRange
:
''
}
},
{
label
:
'报案日期'
,
name
:
'reportDate'
,
type
:
'limitDatePicker'
,
...
...
src/views/djClaims/components/report.vue
View file @
46a2c70
<
template
>
<div
class=
"report-components gl-form-page"
>
<div
class=
"title"
>
报案信息(客户提交)
</div>
<template
v-if=
"[1, 3, 4,
5,6].includes(pageType)&&
!renewDisable"
>
<template
v-if=
"[1, 3, 4,
5, 6].includes(pageType) &&
!renewDisable"
>
<glsxCombiForm
:regionData=
"regionData"
class=
"edit-form-container"
ref=
"editFormRefReport"
labelWidth=
"154px"
defaultWidth=
"432px"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<div
v-if=
"pageType == 1"
style=
"display: inline-block"
slot=
"syncBtn"
>
<el-button
style=
"margin: 0 12px"
type=
"primary"
@
click=
"toSearchOrderDetail"
>
同步
</el-button>
...
...
@@ -17,10 +17,10 @@
<
div
:
key
=
"index"
class
=
"line_widget flex_sc"
>
<
div
class
=
"label"
>
<
span
class
=
"required"
>*<
/span
>
<
span
class
=
"text"
>
{{
item
.
label
}}
<
/span
>
<
span
class
=
"text"
>
{{
item
.
label
}}
<
/span
>
<
span
class
=
"text"
>
:
<
/span
>
<
/div
>
<
div
class
=
"value"
>
{{
item
.
value
}}
<
/div
>
<
div
class
=
"value"
>
{{
item
.
value
}}
<
/div
>
<
/div
>
<
/template
>
<
/div
>
...
...
@@ -45,7 +45,7 @@ export default {
type
:
Number
,
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
}
,
renewDisable
:
Boolean
renewDisable
:
Boolean
}
,
data
()
{
return
{
...
...
@@ -72,6 +72,7 @@ export default {
trigger
:
'change'
}
],
internalReimbursementDate
:
[{
required
:
true
,
message
:
'请选择出险时间(内部)'
,
trigger
:
'change'
}
],
reporterName
:
[{
required
:
true
,
message
:
'请输入报案人'
,
trigger
:
'change'
}
],
reporterPhone
:
[
{
...
...
@@ -100,9 +101,9 @@ export default {
mounted
()
{
this
.
diffKeyHandle
(
this
.
isGH
)
let
_this
=
this
setTimeout
(()
=>
{
setTimeout
(()
=>
{
_this
.
handlerDetail
()
}
,
500
)
}
,
500
)
}
,
watch
:
{
'editForm.reportDate'
(
newVal
,
oldVal
)
{
...
...
@@ -137,11 +138,15 @@ export default {
value
:
this
.
editForm
.
reimbursementDate
}
,
{
label
:
'出险时间(内部)'
,
value
:
this
.
editForm
.
internalReimbursementDate
}
,
{
label
:
'出险地点'
,
value
:
this
.
editForm
.
reimbursementAddr
}
]
console
.
log
(
this
.
editDetail
);
console
.
log
(
this
.
editDetail
)
}
,
//*************** */
getCityList
()
{
...
...
@@ -193,6 +198,18 @@ export default {
}
}
,
{
label
:
'出险时间(内部)'
,
name
:
'internalReimbursementDate'
,
type
:
'limitDatePicker'
,
dateType
:
'datetime'
,
customPickerOptions
:
{
disabledDate
(
date
)
{
return
date
>
new
Date
()
}
,
selectableRange
:
''
}
}
,
{
label
:
'报案日期'
,
name
:
'reportDate'
,
type
:
'limitDatePicker'
,
...
...
@@ -281,6 +298,18 @@ export default {
}
}
,
{
label
:
'出险时间(内部)'
,
name
:
'internalReimbursementDate'
,
type
:
'limitDatePicker'
,
dateType
:
'datetime'
,
customPickerOptions
:
{
disabledDate
(
date
)
{
return
date
>
new
Date
()
}
,
selectableRange
:
''
}
}
,
{
label
:
'报案日期'
,
name
:
'reportDate'
,
type
:
'limitDatePicker'
,
...
...
@@ -374,6 +403,7 @@ export default {
}
}
/deep/
#
reportDate
,
/deep/
#
internalReimbursementDate
,
/deep/
#
reimbursementDate
{
.
el
-
date
-
editor
{
.
el
-
input__inner
{
...
...
@@ -394,7 +424,7 @@ export default {
background
:
#
f9f9f9
;
margin
-
bottom
:
20
px
;
}
.
wrap
{
.
wrap
{
flex
-
wrap
:
wrap
;
}
.
line_widget
{
...
...
src/views/djClaims/djOrder.vue
View file @
46a2c70
...
...
@@ -96,6 +96,7 @@ export default {
reporterPhone
:
''
,
reportDate
:
''
,
reimbursementDate
:
''
,
internalReimbursementDate
:
''
,
reimbursementAddr
:
''
,
handlerName
:
''
,
handlerPhone
:
''
,
...
...
@@ -200,6 +201,7 @@ export default {
reporterPhone
:
res
.
reporterPhone
,
reportDate
:
dayjs
(
res
.
reportDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
),
reimbursementDate
:
dayjs
(
res
.
reimbursementDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
),
internalReimbursementDate
:
dayjs
(
res
.
internalReimbursementDate
||
res
.
reimbursementDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
),
reimbursementAddr
:
res
.
reimbursementAddr
,
handlerName
:
res
.
handlerName
,
handlerPhone
:
res
.
handlerPhone
,
...
...
@@ -243,9 +245,9 @@ export default {
}
if
(
item
.
firstClassifyName
.
indexOf
(
'定损细节照片'
)
!=
-
1
)
{
item
.
secondClassifyList
.
forEach
(
el
=>
{
if
(
el
.
secondClassifyName
.
indexOf
(
'钥匙'
)
!=
-
1
&&
el
.
serviceItem
Code
==
'SC0006'
)
{
if
(
el
.
secondClassifyName
.
indexOf
(
'钥匙'
)
!=
-
1
&&
el
.
serviceItem
Type
==
4
)
{
el
.
lossType
=
'3'
}
else
if
(
el
.
secondClassifyName
.
indexOf
(
'车牌'
)
!=
-
1
&&
el
.
serviceItem
Code
==
'SC0006'
)
{
}
else
if
(
el
.
secondClassifyName
.
indexOf
(
'车牌'
)
!=
-
1
&&
el
.
serviceItem
Type
==
4
)
{
el
.
lossType
=
'4'
}
services
.
push
(
el
.
serviceItemName
)
...
...
@@ -267,25 +269,14 @@ export default {
}
if
(
item
.
firstClassifyName
.
indexOf
(
'核赔细节照'
)
!=
-
1
)
{
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'
if
(
el
.
serviceItemType
==
4
)
{
let
lossType
=
res
.
itemsList
?.[
0
]
?
res
.
itemsList
[
0
].
lossType
:
3
el
.
lossType
=
lossType
}
services
.
push
(
el
.
serviceItemName
)
})
item
.
services
=
[...
new
Set
(
services
)]
}
// else {
// item.secondClassifyList.forEach(el => {
// if (!el.attachmentList.length) {
// el.attachmentList.forEach(ele => {
// ;(ele.auditStatus = null), (ele.attachmentFile = '')
// ele.reasonForFailure = ''
// })
// }
// })
// }
})
this
.
insuranceAttachmentConfigs
=
res
.
insuranceAttachmentConfigs
this
.
claimsAttachmentConfigs
=
res
.
claimsAttachmentConfigs
...
...
@@ -303,7 +294,7 @@ export default {
if
(
item
.
serviceItemType
==
2
)
{
item
.
damageType
=
item
?.
damageType
?
item
.
damageType
.
split
(
','
).
map
(
ele
=>
Number
(
ele
))
:
[]
}
if
(
item
.
serviceItem
Code
==
'SC0006'
&&
item
.
lossType
)
{
if
(
item
.
serviceItem
Type
==
4
&&
item
.
lossType
)
{
item
.
lossTypeList
=
item
.
lossType
.
split
(
','
)
this
.
lossTypeList
=
item
.
lossTypeList
}
...
...
@@ -349,6 +340,10 @@ export default {
value
:
obj
.
reimbursementDate
},
{
name
:
'出险时间(内部):'
,
value
:
obj
.
internalReimbursementDate
},
{
name
:
'出险地点:'
,
value
:
obj
.
reimbursementProvinceName
+
obj
.
reimbursementCityName
+
obj
.
reimbursementCountiesName
+
obj
.
reimbursementAddr
}
...
...
@@ -466,7 +461,8 @@ export default {
item
.
secondClassifyList
.
forEach
(
child
=>
{
child
.
attachmentList
.
forEach
(
last
=>
{
if
(
!
last
.
auditStatus
)
{
if
(
child
.
serviceItemCode
!=
'SC0006'
||
(
child
.
lossType
&&
this
.
lossTypeList
.
includes
(
child
.
lossType
)))
{
if
(
child
.
serviceItemType
!=
4
||
(
child
.
lossType
&&
this
.
lossTypeList
.
includes
(
child
.
lossType
)))
{
console
.
log
(
child
)
pass
=
false
}
// 判断auditStatus没通过就报错,但是钥匙及车牌重置服务会因为勾选才显示,存在没通过的
...
...
@@ -631,6 +627,7 @@ export default {
reporterPhone
:
this
.
repotData
.
reporterPhone
,
reportDate
:
this
.
repotData
.
reportDate
?
dayjs
(
this
.
repotData
.
reportDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
reimbursementDate
:
this
.
repotData
.
reimbursementDate
?
dayjs
(
this
.
repotData
.
reimbursementDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
internalReimbursementDate
:
this
.
repotData
.
internalReimbursementDate
?
dayjs
(
this
.
repotData
.
internalReimbursementDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
handlerName
:
this
.
repotData
.
handlerName
,
handlerPhone
:
this
.
repotData
.
handlerPhone
,
reimbursementCountiesCode
:
this
.
repotData
.
reimbursementCountiesCode
,
...
...
@@ -807,7 +804,7 @@ export default {
[
retrofits
]:
this
.
handlePrice
(
item
.
retrofits
),
[
scooterFare
]:
this
.
handlePrice
(
item
.
scooterFare
),
[
claimsId
]:
this
.
orderMsg
.
id
,
[
lossType
]:
item
.
serviceItem
Code
==
'SC0006'
?
item
.
lossTypeList
.
join
(
','
)
:
item
.
lossType
,
[
lossType
]:
item
.
serviceItem
Type
==
4
?
item
.
lossTypeList
.
join
(
','
)
:
item
.
lossType
,
[
damageType
]
:
item
.
serviceItemType
==
2
&&
item
?.
damageType
?.
length
?
item
.
damageType
.
join
(
','
)
:
''
}
Object
.
assign
(
itemObj
,
temp
)
...
...
@@ -834,6 +831,7 @@ export default {
reporterPhone
:
this
.
repotData
.
reporterPhone
,
reportDate
:
this
.
repotData
.
reportDate
?
dayjs
(
this
.
repotData
.
reportDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
reimbursementDate
:
this
.
repotData
.
reimbursementDate
?
dayjs
(
this
.
repotData
.
reimbursementDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
internalReimbursementDate
:
this
.
repotData
.
internalReimbursementDate
?
dayjs
(
this
.
repotData
.
internalReimbursementDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
handlerName
:
this
.
repotData
.
handlerName
,
handlerPhone
:
this
.
repotData
.
handlerPhone
,
reimbursementCountiesCode
:
this
.
repotData
.
reimbursementCountiesCode
,
...
...
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