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 7fb4e918
authored
Sep 11, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
跳转标题
1 parent
97cba01b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
9 deletions
src/views/claims/components/report.vue
src/views/claims/index.vue
src/views/claims/components/report.vue
View file @
7fb4e91
<
template
>
<
template
>
<div
class=
"report-components gl-form-page"
>
<div
class=
"report-components gl-form-page"
>
<div
class=
"title"
>
报案信息(客户提交)
</div>
<div
class=
"title"
>
报案信息(客户提交)
</div>
<template
v-if=
"[1, 3, 4].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"
>
<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"
>
<div
v-if=
"pageType == 1"
style=
"display: inline-block"
slot=
"syncBtn"
>
<el-button
style=
"margin: 0 12px"
type=
"primary"
@
click=
"toSearchOrderDetail"
>
同步
</el-button>
<el-button
style=
"margin: 0 12px"
type=
"primary"
@
click=
"toSearchOrderDetail"
>
同步
</el-button>
...
...
src/views/claims/index.vue
View file @
7fb4e91
...
@@ -78,7 +78,7 @@ const statusList = [
...
@@ -78,7 +78,7 @@ const statusList = [
{
{
confId
:
25
,
confId
:
25
,
confName
:
'核赔不通过'
confName
:
'核赔不通过'
}
,
}
]
]
export
default
{
export
default
{
name
:
'index'
,
name
:
'index'
,
...
@@ -92,7 +92,7 @@ export default {
...
@@ -92,7 +92,7 @@ export default {
return
'去处理'
return
'去处理'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
[
0
,
19
,
22
,
25
].
includes
(
row
.
scope
.
status
)
return
[
0
,
19
,
22
,
25
].
includes
(
row
.
scope
.
status
)
},
},
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
return
'查看'
return
'查看'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
[
1
,
3
,
4
,
21
,
24
].
includes
(
row
.
scope
.
status
)
return
[
1
,
3
,
4
,
21
,
24
].
includes
(
row
.
scope
.
status
)
},
},
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
...
@@ -147,7 +147,7 @@ export default {
...
@@ -147,7 +147,7 @@ export default {
fn
:
'运营经理审核'
fn
:
'运营经理审核'
},
},
listeners
:
{
listeners
:
{
click
:
row
=>
this
.
handleEdit
(
4
,
row
.
scope
)
click
:
row
=>
this
.
handleEdit
(
5
,
row
.
scope
)
}
}
},
},
{
{
...
@@ -163,7 +163,7 @@ export default {
...
@@ -163,7 +163,7 @@ export default {
fn
:
'核赔审核'
fn
:
'核赔审核'
},
},
listeners
:
{
listeners
:
{
click
:
row
=>
this
.
handleEdit
(
4
,
row
.
scope
)
click
:
row
=>
this
.
handleEdit
(
6
,
row
.
scope
)
}
}
}
}
],
],
...
@@ -318,7 +318,7 @@ export default {
...
@@ -318,7 +318,7 @@ export default {
},
},
{
{
label
:
'操作'
,
label
:
'操作'
,
width
:
200
,
width
:
200
,
prop
:
''
,
prop
:
''
,
fixed
:
'right'
,
fixed
:
'right'
,
addHtml
:
'table-btns'
addHtml
:
'table-btns'
...
@@ -346,7 +346,7 @@ export default {
...
@@ -346,7 +346,7 @@ export default {
this
.
showGh
=
href
.
indexOf
(
'cgacar'
)
!=
-
1
this
.
showGh
=
href
.
indexOf
(
'cgacar'
)
!=
-
1
if
(
!
this
.
showGh
)
this
.
searchFormData
[
0
].
placeholder
=
'请输入客户名 | 合同号 | 报案号'
if
(
!
this
.
showGh
)
this
.
searchFormData
[
0
].
placeholder
=
'请输入客户名 | 合同号 | 报案号'
},
},
// 1.新增 2.查看 3.重新提交 4.去处理
// 1.新增 2.查看 3.重新提交 4.去处理
5.运营经理审核 6 核赔审核
handleEdit
(
editNo
,
row
)
{
handleEdit
(
editNo
,
row
)
{
let
urlParam
=
{
let
urlParam
=
{
editNo
,
editNo
,
...
@@ -360,7 +360,8 @@ export default {
...
@@ -360,7 +360,8 @@ export default {
urlParam
.
contractNo
=
editNo
==
1
?
''
:
row
.
writeOffCode
urlParam
.
contractNo
=
editNo
==
1
?
''
:
row
.
writeOffCode
}
}
const
temp
=
encodeURIComponent
(
JSON
.
stringify
(
urlParam
))
const
temp
=
encodeURIComponent
(
JSON
.
stringify
(
urlParam
))
this
.
$router
.
push
({
path
:
'/claims/order/'
+
temp
})
const
title
=
this
.
jumpTitle
(
editNo
)
this
.
$router
.
push
({
path
:
'/claims/order/'
+
temp
,
query
:
{
$title
:
title
}
})
},
},
handleOkFn
()
{
handleOkFn
()
{
this
.
getParams
()
this
.
getParams
()
...
@@ -402,6 +403,35 @@ export default {
...
@@ -402,6 +403,35 @@ export default {
document
.
body
.
appendChild
(
a
)
document
.
body
.
appendChild
(
a
)
a
.
click
()
a
.
click
()
})
})
},
// 页面跳转标题判断
//1.新增 2.查看 3.重新提交 4.去处理 5.运营经理审核 6 核赔审核
jumpTitle
(
addOrEdit
)
{
let
title
=
'详情'
switch
(
addOrEdit
)
{
case
1
:
title
=
'新增核赔'
break
case
2
:
title
=
'查看'
break
case
3
:
title
=
'重新提交'
break
case
4
:
title
=
'去处理'
break
case
5
:
title
=
'运营经理审核'
break
case
6
:
title
=
'核赔审核'
break
default
:
title
=
'详情'
break
}
return
title
}
}
}
}
}
}
...
...
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