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 17759ee2
authored
Apr 30, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.52.0-0429' into 'master'
上线合并 See merge request
!87
2 parents
f9e0add3
b74c9667
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
39 deletions
src/util/gradeData.js
src/views/claims/components/watch/index.vue
src/views/claims/ghIndex.vue
src/views/djClaims/components/watch/index.vue
src/views/serviceConfig/components/ServicesTable/index.vue
src/util/gradeData.js
View file @
17759ee
import
NP
from
'number-precision'
import
NP
from
'number-precision'
const
gradeObj
=
{
const
gradeObj
=
{
gradeConfigList
:
[
gradeConfigList
:
[
{
//
{
servicePeriod
:
''
,
//
servicePeriod: '',
maxPrice
:
'15'
,
//
maxPrice: '15',
minPrice
:
'0'
,
//
minPrice: '0',
computeFlag
:
0
,
//
computeFlag: 0,
priceCoefficient
:
''
,
//
priceCoefficient: '',
standardShelfCost
:
''
,
//
standardShelfCost: '',
standardSalesCost
:
''
,
//
standardSalesCost: '',
shelfCost
:
''
,
//
shelfCost: '',
salesCost
:
''
,
//
salesCost: '',
childSalePeriodData
:
[]
//
childSalePeriodData: []
},
//
},
{
//
{
servicePeriod
:
''
,
//
servicePeriod: '',
maxPrice
:
'30'
,
//
maxPrice: '30',
minPrice
:
'15'
,
//
minPrice: '15',
computeFlag
:
0
,
//
computeFlag: 0,
priceCoefficient
:
''
,
//
priceCoefficient: '',
standardShelfCost
:
''
,
//
standardShelfCost: '',
standardSalesCost
:
''
,
//
standardSalesCost: '',
shelfCost
:
''
,
//
shelfCost: '',
salesCost
:
''
,
//
salesCost: '',
childSalePeriodData
:
[]
//
childSalePeriodData: []
},
//
},
{
//
{
servicePeriod
:
''
,
//
servicePeriod: '',
maxPrice
:
'200
'
,
// maxPrice: '
',
minPrice
:
'30
'
,
// minPrice: '
',
computeFlag
:
0
,
//
computeFlag: 0,
priceCoefficient
:
''
,
//
priceCoefficient: '',
standardShelfCost
:
''
,
//
standardShelfCost: '',
standardSalesCost
:
''
,
//
standardSalesCost: '',
shelfCost
:
''
,
//
shelfCost: '',
salesCost
:
''
,
//
salesCost: '',
childSalePeriodData
:
[]
// childSalePeriodData: [],
}
//
}
],
],
salePeriodData
:
[],
salePeriodData
:
[],
serviceGrade
:
'A'
,
serviceGrade
:
'A'
,
...
@@ -132,5 +132,6 @@ export const handleGradeData = (dataFromApi, salePeriodList = []) => {
...
@@ -132,5 +132,6 @@ export const handleGradeData = (dataFromApi, salePeriodList = []) => {
})
})
arr
.
push
(
_gradeObj
)
arr
.
push
(
_gradeObj
)
})
})
console
.
log
(
arr
,
'==='
)
return
arr
return
arr
}
}
src/views/claims/components/watch/index.vue
View file @
17759ee
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<template>
<template>
<div
class=
"tab_wrap"
>
<div
class=
"tab_wrap"
>
<el-tabs
v-model=
"activeNameTabs"
>
<el-tabs
v-model=
"activeNameTabs"
>
<el-tab-pane
v-if=
"[1, 12, 13, 14, 2, 3, 4, 0, 10, 11, 8, 9, 7, 26, 27, 28].includes(repotData.status) || (repotData.status == 31 && repotData.preStatus != 6)"
class=
"bg"
label=
"核赔信息"
name=
"second"
>
<el-tab-pane
v-if=
"[1, 12, 13, 14, 2, 3, 4, 0, 10, 11, 8, 9, 7, 26, 27, 28
, 36, 37, 38, 39
].includes(repotData.status) || (repotData.status == 31 && repotData.preStatus != 6)"
class=
"bg"
label=
"核赔信息"
name=
"second"
>
<div
class=
"widget"
>
<div
class=
"widget"
>
<div
class=
"title"
>
维修信息
</div>
<div
class=
"title"
>
维修信息
</div>
<div
class=
"content pad20"
>
<div
class=
"content pad20"
>
...
...
src/views/claims/ghIndex.vue
View file @
17759ee
...
@@ -245,7 +245,7 @@ const followList = [
...
@@ -245,7 +245,7 @@ const followList = [
const
tableStatus
=
[
'待提交国任'
,
'待支付'
,
'校验不通过'
,
'支付成功'
,
'支付失败'
,
'待受理'
,
'待定损'
,
'定损不通过'
,
'定损通过'
,
'待主管审核'
,
'主管审核不通过'
,
'待客户签字授权'
,
'待核赔'
,
'核赔不通过'
,
'核赔通过'
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
'待运营经理审核'
,
'运营经理审核通过'
,
'运营经理审核不通过'
,
'已失效'
,
'已删除'
,
'已结束案件'
,
''
,
''
,
''
,
''
,
'待发送资金'
,
'已发资金'
,
'资金退票'
,
'资金红冲'
]
// 36:"待发送资金" 37:"已发资金" 38:"资金退票" 39:"资金红冲"
const
tableStatus
=
[
'待提交国任'
,
'待支付'
,
'校验不通过'
,
'支付成功'
,
'支付失败'
,
'待受理'
,
'待定损'
,
'定损不通过'
,
'定损通过'
,
'待主管审核'
,
'主管审核不通过'
,
'待客户签字授权'
,
'待核赔'
,
'核赔不通过'
,
'核赔通过'
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
'待运营经理审核'
,
'运营经理审核通过'
,
'运营经理审核不通过'
,
'已失效'
,
'已删除'
,
'已结束案件'
,
''
,
''
,
''
,
''
,
'待发送资金'
,
'已发资金'
,
'资金退票'
,
'资金红冲'
]
// 36:"待发送资金" 37:"已发资金" 38:"资金退票" 39:"资金红冲"
const
colors
=
[
'#FDB757'
,
'#FDB757'
,
'#EB4E4E'
,
' #2CCA74'
,
'#EB4E4E'
,
'#FDB757'
,
'#FDB757'
,
'#EB4E4E'
,
' #2CCA74'
,
'#FDB757'
,
'#EB4E4E'
,
'#FDB757'
,
'#FDB757'
,
'#EB4E4E'
,
'#2CCA74'
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
'#FDB757'
,
'#2CCA74'
,
'#EB4E4E'
,
'#999'
,
'#999'
,
'#999'
,
''
,
''
,
''
,
''
,
'#FDB757'
,
'#2CCA74'
,
'#C6C6C6'
,
'#EB4E4E'
]
const
colors
=
[
'#FDB757'
,
'#FDB757'
,
'#EB4E4E'
,
' #2CCA74'
,
'#EB4E4E'
,
'#FDB757'
,
'#FDB757'
,
'#EB4E4E'
,
' #2CCA74'
,
'#FDB757'
,
'#EB4E4E'
,
'#FDB757'
,
'#FDB757'
,
'#EB4E4E'
,
'#2CCA74'
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
''
,
'#FDB757'
,
'#2CCA74'
,
'#EB4E4E'
,
'#999'
,
'#999'
,
'#999'
,
''
,
''
,
''
,
''
,
'#FDB757'
,
'#2CCA74'
,
'#C6C6C6'
,
'#EB4E4E'
]
// 操作对应状态
// 操作对应状态
const
WATCH
=
[
5
,
7
,
13
,
8
,
9
,
10
,
11
,
12
,
14
,
1
,
3
,
4
,
26
,
27
,
28
,
29
,
30
,
31
]
// 查看
const
WATCH
=
[
5
,
7
,
13
,
8
,
9
,
10
,
11
,
12
,
14
,
1
,
3
,
4
,
26
,
27
,
28
,
29
,
30
,
31
,
36
,
37
,
38
,
39
]
// 查看
const
FOLLOW_HISTORY
=
[
5
,
6
,
12
,
7
,
13
,
8
,
9
,
10
,
11
,
2
,
1
,
3
]
//跟进记录和历史赔付
const
FOLLOW_HISTORY
=
[
5
,
6
,
12
,
7
,
13
,
8
,
9
,
10
,
11
,
2
,
1
,
3
]
//跟进记录和历史赔付
const
CHECK
=
[
6
]
// 定损审核
const
CHECK
=
[
6
]
// 定损审核
const
CHECK_HP
=
[
12
]
// 核赔审核
const
CHECK_HP
=
[
12
]
// 核赔审核
...
...
src/views/djClaims/components/watch/index.vue
View file @
17759ee
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<template>
<template>
<div
class=
"tab_wrap"
>
<div
class=
"tab_wrap"
>
<el-tabs
v-model=
"activeNameTabs"
>
<el-tabs
v-model=
"activeNameTabs"
>
<el-tab-pane
v-if=
"[19, 21, 22, 23, 25, 1, 3].includes(repotData.status)"
class=
"bg"
label=
"核赔信息"
name=
"second"
>
<el-tab-pane
v-if=
"[19, 21, 22, 23, 25, 1, 3
, 36, 37, 38, 39
].includes(repotData.status)"
class=
"bg"
label=
"核赔信息"
name=
"second"
>
<div
class=
"widget"
>
<div
class=
"widget"
>
<div
class=
"title"
>
维修信息
</div>
<div
class=
"title"
>
维修信息
</div>
<div
class=
"content pad20"
>
<div
class=
"content pad20"
>
...
...
src/views/serviceConfig/components/ServicesTable/index.vue
View file @
17759ee
...
@@ -147,6 +147,7 @@ export default {
...
@@ -147,6 +147,7 @@ export default {
methods
:
{
methods
:
{
changePrice
(
value
,
item
,
key
)
{
changePrice
(
value
,
item
,
key
)
{
const
decimal
=
[
'standardShelfCost'
,
'standardSalesCost'
,
'minPrice'
,
'maxPrice'
].
includes
(
key
)
?
2
:
16
const
decimal
=
[
'standardShelfCost'
,
'standardSalesCost'
,
'minPrice'
,
'maxPrice'
].
includes
(
key
)
?
2
:
16
const
maxNum
=
[
'minPrice'
,
'maxPrice'
].
includes
(
key
)
?
200
:
null
item
[
key
]
=
value
item
[
key
]
=
value
?
value
?
value
.
replace
(
/^0
\d
/g
,
'0'
)
.
replace
(
/^0
\d
/g
,
'0'
)
...
@@ -158,6 +159,15 @@ export default {
...
@@ -158,6 +159,15 @@ export default {
.
replace
(
/
\.
/g
,
''
)
.
replace
(
/
\.
/g
,
''
)
.
replace
(
'$#$'
,
'.'
)
.
replace
(
'$#$'
,
'.'
)
.
replace
(
new
RegExp
(
`^(\\-)*(\\d+)\\.(\\d{
${
decimal
}
}).*`
,
'g'
),
'$1$2.$3'
)
.
replace
(
new
RegExp
(
`^(\\-)*(\\d+)\\.(\\d{
${
decimal
}
}).*`
,
'g'
),
'$1$2.$3'
)
.
replace
(
new
RegExp
(
`^(-?\\d+(?:\\.\\d{0,
${
decimal
}
})?).*`
),
(
match
)
=>
{
if
(
maxNum
!==
null
)
{
const
num
=
parseFloat
(
match
)
if
(
num
>
maxNum
)
{
return
maxNum
.
toString
()
}
}
return
match
})
:
''
:
''
},
},
changeComputeFlag
(
e
,
item
)
{
changeComputeFlag
(
e
,
item
)
{
...
...
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