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 1906f260
authored
May 30, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
续保
1 parent
f3d2548c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
26 deletions
src/views/GH/Renew/components/CaseDesc/caseDesc.vue
src/views/GH/Renew/detail.vue
src/views/GH/Renew/renew.vue
src/views/GH/Renew/components/CaseDesc/caseDesc.vue
View file @
1906f26
...
...
@@ -3,16 +3,18 @@
<div
class=
"caseDesc-components"
>
<div
class=
"title"
>
案件补充说明
</div>
<div
class=
"list-wrap"
>
<div
class=
"cell"
>
<div
class=
"widget"
>
<div
class=
"label"
>
案件说明:
</div>
<div
class=
"content"
>
哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒
</div>
<template
v-for=
"(item,index) in supplementList"
>
<div
:key=
"index"
class=
"cell"
>
<div
class=
"widget"
>
<div
class=
"label"
>
案件说明:
</div>
<div
class=
"content"
>
{{
item
.
content
}}
</div>
</div>
<div
class=
"widget"
>
<div
class=
"label"
>
提交时间:
</div>
<div
class=
"content"
>
{{
item
.
createdDate
}}
</div>
</div>
</div>
<div
class=
"widget"
>
<div
class=
"label"
>
提交时间:
</div>
<div
class=
"content"
>
2023-05-16 15:12:30
</div>
</div>
</div>
</
template
>
</div>
</div>
</div>
...
...
@@ -21,7 +23,9 @@
<
script
type=
"text/ecmascript-6"
>
export
default
{
name
:
'caseDesc'
,
props
:
{},
props
:
{
supplementList
:
Array
},
components
:
{},
data
()
{
return
{}
...
...
@@ -53,6 +57,7 @@ export default {
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
margin-bottom
:
16px
;
.widget
{
display
:
flex
;
.label
{
...
...
src/views/GH/Renew/detail.vue
View file @
1906f26
...
...
@@ -4,7 +4,7 @@
<report
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<repair
ref=
"repairRef"
@
changeObjectType=
"changeObjectType"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<material
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<caseDesc></caseDesc>
<caseDesc
:supplementList=
"supplementList"
></caseDesc>
<claimsNote></claimsNote>
<div
class=
"page-btm-btn"
v-if=
"pageType == 0"
>
<el-button
type=
"primary"
@
click=
"confirmSubmit(1)"
>
提交
</el-button>
...
...
@@ -16,11 +16,12 @@
</div>
<GLDialog
class=
"gl-form-page gl-form-min"
title=
"定损通过"
mode=
"mid"
:visible
.
sync=
"showPassedDialog"
@
onOk=
"comfirmPass"
@
onCancel=
"canclePass"
>
<div
class=
"passed-wrap"
>
<div
class=
"set-price"
>
<div
v-for=
"(item,index) in serviceItemsList"
:key=
"index"
class=
"set-price"
>
<li>
<label
for=
""
>
批准金额/元:
</label>
<el-input
size=
"small"
maxlength=
"10"
placeholder=
"请输入定损批准金额"
v-model=
"approveAmounts"
></el-input>
<el-input
size=
"small"
maxlength=
"10"
placeholder=
"请输入定损批准金额"
v-model=
"approveAmounts
Input[index]
"
></el-input>
</li>
<div
class=
"tips"
>
门店申请金额:
{{
item
.
applyAmount
||
0
}}
元
</div>
</div>
</div>
</GLDialog>
...
...
@@ -123,7 +124,12 @@ export default {
isClear
:
true
,
maxlength
:
200
}
]
],
supplementList
:[],
approveAmountsInput
:{
0
:
''
,
1
:
''
}
}
},
created
()
{
...
...
@@ -166,7 +172,7 @@ export default {
},
//详情
getDetailById
()
{
this
.
$apis
.
claims
.
getClaimsDetail
({
id
:
this
.
routeInfo
.
orderId
,
needDetail
:
true
}).
then
(
res
=>
{
this
.
$apis
.
claims
.
getClaimsDetail
({
id
:
this
.
routeInfo
.
orderId
,
needDetail
:
true
}).
then
(
res
=>
{
// 以下是report数据
for
(
let
key
in
this
.
editForm
)
{
this
.
editForm
[
key
]
=
res
[
key
]
...
...
@@ -189,7 +195,7 @@ export default {
res
.
files
.
forEach
(
item
=>
{
let
obj
=
{
url
:
item
.
fileUrl
,
fileType
:
item
.
fileType
,
name
:
item
.
fileName
,
progress
:
100
}
if
(
item
.
fileCode
==
'1'
)
{
if
(
item
.
fileName
.
indexOf
(
'&front&_'
)
===
0
)
{
if
(
this
.
materialForm
.
idCard
.
length
===
0
)
{
this
.
materialForm
.
idCard
.
push
(
obj
)
}
else
{
this
.
materialForm
.
idCardBack
.
push
(
obj
)
...
...
@@ -200,6 +206,10 @@ export default {
this
.
materialForm
.
otherInfo
.
push
(
obj
)
}
})
res
.
supplementList
.
forEach
(
el
=>
{
el
.
createdDate
=
util
.
dateFormat
(
el
.
createdDate
,
'YYYY-MM-DD HH:mm:ss'
)
})
this
.
supplementList
=
res
.
supplementList
||
[]
})
},
// 新增的时候,输入合同号,带出信息
...
...
@@ -363,13 +373,14 @@ export default {
// 定损审核通过
comfirmPass
()
{
console
.
log
(
this
.
accountForm
,
this
.
saveObj
)
const
sc
=
[
'SC0002'
,
'SC0003'
,
'SC0005'
,
'SC0006'
,
'SC0007'
,
'SC0008'
,
'SC0011'
],
console
.
log
(
this
.
serviceItemsList
)
const
sc
=
[
'SC0019'
,
'SC0023'
],
sc_obg
=
{}
for
(
let
i
=
0
;
i
<
sc
.
length
;
i
++
)
{
sc_obg
[
sc
[
i
]
]
=
this
.
approveAmounts
for
(
let
i
=
0
;
i
<
this
.
serviceItemsList
.
length
;
i
++
)
{
sc_obg
[
this
.
serviceItemsList
[
i
].
serviceItemCode
]
=
this
.
approveAmounts
}
this
.
$apis
.
claims
.
renewalAudit
({
...
this
.
editForm
,
operation
:
4
,
id
:
this
.
routeInfo
.
orderId
,
...
this
.
accountForm
,
approveAmounts
:
JSON
.
stringify
(
sc_obg
)
}).
then
(
res
=>
{})
this
.
canclePass
()
this
.
toBackList
()
},
canclePass
()
{
this
.
showPassedDialog
=
false
...
...
@@ -378,7 +389,11 @@ export default {
comfirmNoPass
()
{},
cancleNoPass
()
{
this
.
showNoPassDialog
=
false
}
},
// 返回上一页
toBackList
()
{
this
.
$router
.
push
({
path
:
'/GH/Renew/renew'
})
},
}
}
</
script
>
...
...
@@ -419,5 +434,11 @@ export default {
margin-right
:
60px
;
}
}
.tips
{
font-weight
:
400
;
font-size
:
14px
;
color
:
#999999
;
margin-left
:
154px
;
}
}
</
style
>
src/views/GH/Renew/renew.vue
View file @
1906f26
...
...
@@ -56,15 +56,19 @@ const statusList = [
confName
:
'支付失败'
},
{
confId
:
6
,
confId
:
14
,
confName
:
'草稿'
},
{
confId
:
15
,
confName
:
'待定损'
},
{
confId
:
7
,
confId
:
16
,
confName
:
'定损不通过'
},
{
confId
:
8
,
confId
:
17
,
confName
:
'定损通过'
}
]
...
...
@@ -80,7 +84,7 @@ export default {
return
'去处理'
},
condition
:
row
=>
{
return
[
15
].
includes
(
row
.
scope
.
status
)
return
[
0
,
15
,
14
].
includes
(
row
.
scope
.
status
)
},
attrs
:
{
type
:
'text'
,
...
...
@@ -96,7 +100,7 @@ export default {
return
'查看'
},
condition
:
row
=>
{
return
[
1
,
3
,
4
,
7
,
8
].
includes
(
row
.
scope
.
status
)
return
[
1
,
3
,
4
,
16
,
17
].
includes
(
row
.
scope
.
status
)
},
attrs
:
{
type
:
'text'
,
...
...
@@ -187,6 +191,14 @@ export default {
return
cellValue
.
reporterName
||
'-'
}
},
{
label
:
'车牌号'
,
prop
:
'vehicleLicensePlate'
,
width
:
160
,
formatter
:
cellValue
=>
{
return
cellValue
.
vehicleLicensePlate
||
'-'
}
},
{
label
:
'合同号'
,
prop
:
'contractNo'
,
...
...
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