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 101a3f67
authored
Mar 27, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.26.0' into 'master'
上线合并 See merge request
!55
2 parents
79f56e26
14fc4973
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
87 additions
and
38 deletions
src/views/beforeSale/editEquity.vue
src/views/claims/components/check/index.vue
src/views/claims/components/checkClaims/index.vue
src/views/claims/components/repair.vue
src/views/claims/ghIndex.vue
src/views/claims/index.vue
src/views/claims/order.vue
src/views/beforeSale/editEquity.vue
View file @
101a3f6
...
...
@@ -153,7 +153,7 @@
<div
v-for=
"(item, index) in customProductList"
:key=
"index"
class=
"product_wrapper"
>
<div
style=
"padding-left: 73px"
>
<el-checkbox
@
change=
"changeRaido($event, item, index)"
:label=
"item.packageName"
:disabled=
"item.disabled"
>
<div>
{{ item.packageName }}
</div>
<div>
{{ item.pa
rentName ? item.packageName + '-' + item.parentName : item.pa
ckageName }}
</div>
</el-checkbox>
<p
class=
"h20_title product_intro"
>
包括服务项目:{{ item.serviceItems }}
</p>
</div>
...
...
@@ -1279,6 +1279,10 @@ export default {
packageCode
:
pack
.
packageCode
,
printType
:
pack
.
printType
}
if
(
pack
.
parentId
&&
pack
.
parentName
)
{
temp
.
parentId
=
pack
.
parentId
temp
.
parentName
=
pack
.
parentName
}
this
.
productModal
[
pack
.
idName
]
=
{
...
temp
,
...
orgin
,
...
...
@@ -1373,11 +1377,17 @@ export default {
let
attrStr
=
`attributes[
${
j
}
].packageCode`
let
contractNoStr
=
`attributes[
${
j
}
].contractNo`
let
printType
=
`attributes[
${
j
}
].printType`
let
parentId
=
`attributes[
${
j
}
].parentId`
let
parentName
=
`attributes[
${
j
}
].parentName`
let
temp
=
{
[
attrStr
]:
codeList
[
j
],
[
contractNoStr
]:
arr
[
i
].
contractNo
,
[
printType
]:
arr
[
i
].
printType
}
if
(
arr
[
i
].
parentName
)
{
temp
[
parentId
]
=
arr
[
i
].
parentId
temp
[
parentName
]
=
arr
[
i
].
parentName
}
newArr
.
push
(
temp
)
}
}
...
...
@@ -1673,6 +1683,10 @@ export default {
params
.
tireFlag
=
1
}
this
.
$apis
.
beforeSale
.
getNewPackageListApi
(
params
).
then
(
res
=>
{
//新增的时候过滤已下架副套餐的产品
if
(
this
.
routeInfo
.
addOrEdit
==
1
)
{
res
=
res
?.
filter
(
item
=>
item
.
shelfStatus
!==
0
)
||
[]
}
this
.
allProdList
=
res
||
[]
res
.
forEach
((
item
,
index
)
=>
{
let
obj
=
null
...
...
@@ -1730,6 +1744,11 @@ export default {
packCode
=
[]
detailInfo
.
attributes
.
forEach
(
item
=>
{
let
targetItem
=
productArrData
.
find
(
k
=>
k
.
packageCode
==
item
.
packageCode
)
//编辑时,把详情里面的副套餐parentId覆盖without产品列表里的parentId
if
(
targetItem
&&
item
.
parentId
)
{
targetItem
.
parentId
=
item
.
parentId
targetItem
.
parentName
=
item
.
parentName
}
const
defalutAttr
=
this
.
handleDefaultValue
(
targetItem
,
item
.
attributeDTOList
)
if
(
defalutAttr
.
length
)
{
item
.
attributeDTOList
=
this
.
handlerAttrSetValue
(
this
.
unique
(
defalutAttr
),
item
.
attributeDTOList
)
...
...
src/views/claims/components/check/index.vue
View file @
101a3f6
...
...
@@ -284,7 +284,10 @@ export default {
if
(
Number
(
e
.
target
.
value
)
<
minPrice
)
{
this
.
$set
(
this
.
itemList
[
id
],
key
,
1
)
}
const
maxPrice
=
200000
let
maxPrice
=
200000
if
(
key
==
'lossAssessmentAmount'
)
{
maxPrice
=
2000000
}
if
(
Number
(
e
.
target
.
value
)
>
maxPrice
)
{
this
.
$set
(
this
.
itemList
[
id
],
key
,
maxPrice
)
}
...
...
src/views/claims/components/checkClaims/index.vue
View file @
101a3f6
...
...
@@ -335,7 +335,10 @@ export default {
if
(
Number
(
e
.
target
.
value
)
<
minPrice
)
{
this
.
$set
(
this
.
itemsList
[
id
],
type
,
1
)
}
const
maxPrice
=
200000
let
maxPrice
=
200000
if
(
type
==
'lossAssessmentAmount'
)
{
maxPrice
=
2000000
}
if
(
Number
(
e
.
target
.
value
)
>
maxPrice
)
{
this
.
$set
(
this
.
itemsList
[
id
],
type
,
maxPrice
)
}
...
...
src/views/claims/components/repair.vue
View file @
101a3f6
...
...
@@ -29,6 +29,10 @@
<label
class=
"label"
for=
""
>
定损批准金额:
</label>
<el-input
:disabled=
"pageType == 2 || renewDisable"
maxlength=
"10"
@
input=
"validPrice($event, index, 'approveAmount')"
@
blur=
"changePrice($event, index, 'approveAmount')"
placeholder=
"请输入"
v-model=
"item.approveAmount"
></el-input>
</div>
<div
v-if=
"!isGH && !isXB"
class=
"price-wrap"
>
<label
class=
"label"
for=
""
>
申请金额:
</label>
<el-input
:disabled=
"pageType == 2 || renewDisable || !item.approveAmount"
maxlength=
"10"
@
input=
"validPrice($event, index, 'customerApplyAmount')"
@
blur=
"changePrice($event, index, 'customerApplyAmount')"
placeholder=
"请输入"
v-model=
"item.customerApplyAmount"
></el-input>
</div>
<div
v-if=
"!isXB && item.lossAssessmentFlag"
class=
"price-wrap"
>
<label
class=
"label"
for=
""
>
保险公司定损金额:
</label>
<el-input
:disabled=
"pageType == 2 || renewDisable || !item.approveAmount"
maxlength=
"10"
@
input=
"validPrice($event, index, 'lossAssessmentAmount')"
@
blur=
"changePrice($event, index, 'lossAssessmentAmount')"
placeholder=
"请输入"
v-model=
"item.lossAssessmentAmount"
></el-input>
...
...
@@ -337,7 +341,10 @@ export default {
if
(
Number
(
e
.
target
.
value
)
<
minPrice
)
{
this
.
$set
(
this
.
serviceItemsList
[
id
],
key
,
1
)
}
const
maxPrice
=
2000000
let
maxPrice
=
200000
if
(
key
==
'lossAssessmentAmount'
)
{
maxPrice
=
2000000
}
if
(
Number
(
e
.
target
.
value
)
>
maxPrice
)
{
this
.
$set
(
this
.
serviceItemsList
[
id
],
key
,
maxPrice
)
}
...
...
src/views/claims/ghIndex.vue
View file @
101a3f6
...
...
@@ -229,7 +229,7 @@ const followList = [
const
tableStatus
=
[
'待提交国任'
,
'待支付'
,
'校验不通过'
,
'支付成功'
,
'支付失败'
,
'待受理'
,
'待定损'
,
'定损不通过'
,
'定损通过'
,
'待主管审核'
,
'主管审核不通过'
,
'待客户签字授权'
,
'待核赔'
,
'核赔不通过'
,
'核赔通过'
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
'待运营经理审核'
,
'运营经理审核通过'
,
'运营经理审核不通过'
,
'已失效'
,
'已删除'
,
'已结束案件'
]
const
colors
=
[
'#FDB757'
,
'#FDB757'
,
'#EB4E4E'
,
' #2CCA74'
,
'#EB4E4E'
,
'#FDB757'
,
'#FDB757'
,
'#EB4E4E'
,
' #2CCA74'
,
'#FDB757'
,
'#EB4E4E'
,
'#FDB757'
,
'#FDB757'
,
'#EB4E4E'
,
'#2CCA74'
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
'#FDB757'
,
'#2CCA74'
,
'#EB4E4E'
,
'#999'
,
'#999'
,
'#999'
]
// 操作对应状态
const
WATCH
=
[
5
,
7
,
13
,
8
,
9
,
10
,
11
,
1
,
3
,
4
,
26
,
27
,
28
,
29
,
30
,
31
]
// 查看
const
WATCH
=
[
5
,
7
,
13
,
8
,
9
,
10
,
11
,
1
2
,
14
,
1
,
3
,
4
,
26
,
27
,
28
,
29
,
30
,
31
]
// 查看
const
FOLLOW_HISTORY
=
[
5
,
6
,
12
,
7
,
13
,
8
,
9
,
10
,
11
,
2
,
1
,
3
]
//跟进记录和历史赔付
const
CHECK
=
[
6
]
// 定损审核
const
CHECK_HP
=
[
12
]
// 核赔审核
...
...
@@ -363,7 +363,7 @@ export default {
}
},
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
return
'查看'
},
...
...
src/views/claims/index.vue
View file @
101a3f6
...
...
@@ -111,12 +111,12 @@ export default {
}
},
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
return
'查看'
},
condition
:
row
=>
{
return
[
1
,
3
,
4
,
21
,
24
].
includes
(
row
.
scope
.
status
)
return
row
.
scope
.
status
!=
19
},
attrs
:
{
type
:
'text'
,
...
...
@@ -411,10 +411,10 @@ export default {
mounted
()
{
// this.handleUploadBefore()
},
beforeDestroy
(){
const
{
pageNum
,
pageSize
}
=
this
.
$refs
?.
equityRef
?.
page
||
{}
const
djPageInfo
=
{
...
this
.
searchForm
,
pageNum
,
pageSize
}
window
.
sessionStorage
.
setItem
(
'djPageInfo'
,
JSON
.
stringify
(
djPageInfo
))
beforeDestroy
()
{
const
{
pageNum
,
pageSize
}
=
this
.
$refs
?.
equityRef
?.
page
||
{}
const
djPageInfo
=
{
...
this
.
searchForm
,
pageNum
,
pageSize
}
window
.
sessionStorage
.
setItem
(
'djPageInfo'
,
JSON
.
stringify
(
djPageInfo
))
},
methods
:
{
getClaimsCount
()
{
...
...
@@ -430,9 +430,9 @@ export default {
},
batchAudit
()
{
const
data
=
this
.
$refs
.
equityRef
?.
mutiSelectArr
?.[
this
.
tableParams
.
mutiSelectName
]
||
[]
if
(
!
data
?.
length
)
return
this
.
$message
.
error
(
'请选择需要审批的记录'
)
const
_target
=
data
.
find
(
item
=>
item
.
status
!=
21
&
item
.
status
!=
23
)
//批量操作只操作 待审核 和 待运营经理审核
if
(
_target
)
return
this
.
$message
.
error
(
'请选择待审核的记录'
)
if
(
!
data
?.
length
)
return
this
.
$message
.
error
(
'请选择需要审批的记录'
)
const
_target
=
data
.
find
(
item
=>
(
item
.
status
!=
21
)
&
(
item
.
status
!=
23
))
//批量操作只操作 待审核 和 待运营经理审核
if
(
_target
)
return
this
.
$message
.
error
(
'请选择待审核的记录'
)
const
parmas
=
{
idList
:
data
.
map
(
item
=>
item
.
id
)
}
...
...
@@ -442,14 +442,17 @@ export default {
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.3)'
})
this
.
$apis
.
claims
.
batchPassApi
(
parmas
).
then
(
res
=>
{
if
(
res
)
{
this
.
$message
.
success
(
'操作成功'
)
this
.
handleOkFn
()
}
}).
finally
(
end
=>
{
loading
.
close
()
})
this
.
$apis
.
claims
.
batchPassApi
(
parmas
)
.
then
(
res
=>
{
if
(
res
)
{
this
.
$message
.
success
(
'操作成功'
)
this
.
handleOkFn
()
}
})
.
finally
(
end
=>
{
loading
.
close
()
})
},
// 1.新增 2.查看 3.重新提交 4.去处理 5.运营经理审核 6 核赔审核
handleEdit
(
editNo
,
row
)
{
...
...
@@ -483,17 +486,17 @@ export default {
beforeSearchFn
()
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
searchParams
=
{
...
this
.
getParams
()
}
const
{
pageNum
,
pageSize
}
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'djPageInfo'
)
||
'{}'
)
if
(
pageNum
&&
pageSize
)
{
const
{
pageNum
,
pageSize
}
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'djPageInfo'
)
||
'{}'
)
if
(
pageNum
&&
pageSize
)
{
this
.
searchParams
.
pageNum
=
pageNum
this
.
searchParams
.
pageSize
=
pageSize
}
resolve
()
})
},
setTableFinishFun
(){
const
{
pageNum
,
pageSize
}
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'djPageInfo'
)
||
'{}'
)
if
(
pageNum
&&
pageSize
)
{
setTableFinishFun
()
{
const
{
pageNum
,
pageSize
}
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'djPageInfo'
)
||
'{}'
)
if
(
pageNum
&&
pageSize
)
{
this
.
$refs
.
equityRef
.
page
.
pageNum
=
pageNum
this
.
$refs
.
equityRef
.
page
.
pageSize
=
pageSize
this
.
$forceUpdate
()
...
...
@@ -503,10 +506,10 @@ export default {
getParams
()
{
const
sessionInfo
=
window
.
sessionStorage
.
getItem
(
'djPageInfo'
)
const
searchForm
=
JSON
.
parse
(
sessionInfo
||
'{}'
)
if
(
sessionInfo
)
{
if
(
sessionInfo
)
{
delete
searchForm
.
pageNum
delete
searchForm
.
pageSize
this
.
searchForm
=
{
...
this
.
searchForm
,
...
searchForm
}
this
.
searchForm
=
{
...
this
.
searchForm
,
...
searchForm
}
}
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
if
(
Array
.
isArray
(
params
.
commitDate
)
&&
params
.
commitDate
.
length
>
0
)
{
...
...
src/views/claims/order.vue
View file @
101a3f6
...
...
@@ -257,15 +257,18 @@ export default {
params
.
reimbursementCountiesCode
=
params
.
reimbursementAddress
[
2
]
}
params
.
approveAmounts
=
''
let
tagetObj
=
{}
let
lossAssessmentTarget
=
{}
let
tagetObj
=
{},
lossAssessmentTarget
=
{},
customesPriceObj
=
{}
this
.
serviceItemsList
.
forEach
(
item
=>
{
tagetObj
[
item
.
serviceItemCode
]
=
item
.
approveAmount
customesPriceObj
[
item
.
serviceItemCode
]
=
item
.
customerApplyAmount
if
(
item
.
lossAssessmentFlag
)
{
lossAssessmentTarget
[
item
.
serviceItemCode
]
=
item
.
lossAssessmentAmount
}
})
params
.
approveAmounts
=
JSON
.
stringify
(
tagetObj
)
params
.
customerApplyAmounts
=
JSON
.
stringify
(
customesPriceObj
)
params
.
lossAssessmentAmounts
=
JSON
.
stringify
(
lossAssessmentTarget
)
delete
params
.
reimbursementAddress
params
.
fileList
=
[]
...
...
@@ -502,17 +505,21 @@ export default {
})
})
if
(
!
valid
)
return
valid
let
requirePrice
=
true
let
lossAssTipItem
=
null
let
approItem
=
null
let
requirePrice
=
true
,
lossAssTipItem
=
null
,
approItem
=
null
,
custPriTag
=
null
this
.
serviceItemsList
.
forEach
(
item
=>
{
if
(
item
.
approveAmount
>
0
)
{
requirePrice
=
false
}
if
(
item
.
approveAmount
>
0
&&
!
item
.
customerApplyAmount
)
{
custPriTag
=
item
}
if
(
item
.
approveAmount
&&
item
.
lossAssessmentFlag
&&
!
item
.
lossAssessmentAmount
)
{
lossAssTipItem
=
item
}
if
(
!
item
.
approveAmount
&&
item
.
lossAssessmentFlag
&&
item
.
lossAssessmentAmount
)
{
if
(
!
item
.
approveAmount
&&
((
item
.
lossAssessmentFlag
&&
item
.
lossAssessmentAmount
)
||
item
.
customerApplyAmount
)
)
{
approItem
=
item
}
})
...
...
@@ -520,6 +527,10 @@ export default {
this
.
$message
.
error
(
'至少输入一项服务的定损批准金额'
)
return
false
}
if
(
custPriTag
)
{
this
.
$message
.
error
(
`请输入
${
custPriTag
.
serviceItemName
}
的申请金额`
)
return
false
}
if
(
approItem
)
{
this
.
$message
.
error
(
`请输入
${
approItem
.
serviceItemName
}
的定损批准金额`
)
return
false
...
...
@@ -572,15 +583,18 @@ export default {
params
.
reimbursementCountiesCode
=
params
.
reimbursementAddress
[
2
]
}
params
.
approveAmounts
=
''
let
tagetObj
=
{}
let
lossAssessmentTarget
=
{}
let
tagetObj
=
{},
lossAssessmentTarget
=
{},
customesPriceObj
=
{}
this
.
serviceItemsList
.
forEach
(
item
=>
{
tagetObj
[
item
.
serviceItemCode
]
=
item
.
approveAmount
customesPriceObj
[
item
.
serviceItemCode
]
=
item
.
customerApplyAmount
if
(
item
.
lossAssessmentFlag
)
{
lossAssessmentTarget
[
item
.
serviceItemCode
]
=
item
.
lossAssessmentAmount
}
})
params
.
approveAmounts
=
JSON
.
stringify
(
tagetObj
)
params
.
customerApplyAmounts
=
JSON
.
stringify
(
customesPriceObj
)
params
.
lossAssessmentAmounts
=
JSON
.
stringify
(
lossAssessmentTarget
)
delete
params
.
reimbursementAddress
params
.
fileList
=
[]
...
...
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