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 243fc6a0
authored
Mar 18, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 功能
1 parent
b8d1a111
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
src/views/beforeSale/writeOff/damage.vue
src/views/claims/index.vue
src/views/beforeSale/writeOff/damage.vue
View file @
243fc6a
...
...
@@ -374,6 +374,7 @@ export default {
this
.
getCityList
()
if
(
this
.
curRouteInfo
.
pageType
!=
6
)
{
this
.
batchListSearch
.
writeOffCode
=
this
.
curRouteInfo
.
writeOffCode
this
.
batchListSearch
.
id
=
this
.
curRouteInfo
.
id
this
.
getDetail
()
}
},
...
...
@@ -599,7 +600,7 @@ export default {
})
},
getDetail
()
{
const
{
writeOffCode
}
=
this
.
batchListSearch
const
{
id
}
=
this
.
batchListSearch
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'加载中'
,
...
...
@@ -607,7 +608,7 @@ export default {
background
:
'rgba(0, 0, 0, 0.5)'
,
customClass
:
'loadingClass'
})
this
.
$apis
.
beforeSale
.
getClaimsDetail
({
id
:
writeOffCode
}).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
getClaimsDetail
({
id
}).
then
(
res
=>
{
console
.
log
(
res
,
'getClaimsDetail'
)
if
(
res
.
code
==
'0'
)
{
this
.
handleData
(
res
)
...
...
@@ -780,6 +781,7 @@ export default {
if
(
type
==
1
&&
auditStatus
===
0
&&
this
.
curRouteInfo
.
status
==
7
)
{
errorTarget
=
'errorFile'
}
console
.
log
(
auditStatus
,
'auditStatus'
)
attachments1
.
push
({
id
,
claimsId
:
claimsId
||
this
.
resData
.
id
,
secondClassifyName
,
attachmentFile
,
attachmentType
,
attachmentCode
,
classifyId
,
attachmentName
,
auditStatus
,
reasonForFailure
,
auditBy
})
}
else
if
(
type
==
1
&&
ele
.
isRequire
==
1
)
{
if
(
ele
.
serviceItemCode
==
'SC0006'
)
{
...
...
@@ -802,6 +804,7 @@ export default {
if
(
type
==
1
&&
errorTarget
)
return
{
error
:
'errorTip'
,
tip
:
`请上传
${
errorTarget
.
firstClassifyName
}
中的
${
errorTarget
.
secondClassifyName
}
`
}
const
params
=
{
id
:
this
.
resData
.
id
,
status
:
this
.
resData
.
status
,
operation
:
type
,
applyAmount
:
parseInt
(
this
.
totalPrice
*
100
),
...
customObj
,
...
...
@@ -837,7 +840,7 @@ export default {
type
:
'success'
})
this
.
$router
.
push
({
path
:
'/
beforeSale
/index'
path
:
'/
claims
/index'
})
}
else
{
this
.
gotoValidView
(
'writeOff'
)
...
...
@@ -870,7 +873,7 @@ export default {
},
handleCancel
()
{
this
.
$router
.
push
({
path
:
'/
beforeSale
/index'
path
:
'/
claims
/index'
})
}
}
...
...
src/views/claims/index.vue
View file @
243fc6a
...
...
@@ -630,7 +630,8 @@ export default {
status
:
item
.
status
}
if
(
type
!=
6
)
{
urlParam
.
writeOffCode
=
item
.
writeOffCode
||
item
.
id
urlParam
.
writeOffCode
=
item
.
writeOffCode
urlParam
.
id
=
item
.
id
}
const
params
=
encodeURIComponent
(
JSON
.
stringify
(
urlParam
))
// 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) {
...
...
@@ -649,7 +650,7 @@ export default {
// 1.新增 2.查看 3.重新提交 4.去处理 5.运营经理审核 6 核赔审核
handleEdit
(
editNo
,
row
)
{
const
title
=
this
.
jumpTitle
(
editNo
)
if
(
row
&&
row
.
source
==
3
)
{
if
(
row
&&
(
row
.
source
==
3
||
row
.
source
==
4
)
)
{
const
params
=
{
editNo
,
isGH
:
true
,
...
...
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