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 8eee08cd
authored
Sep 16, 2022
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
核赔开发
1 parent
c5ee25e8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
293 additions
and
144 deletions
package-lock.json
src/assets/css/public.scss
src/views/claims/components/fastReview.vue
src/views/claims/components/imgList.vue
src/views/claims/components/uploadMaterial.vue
src/views/claims/ghOrder.vue
package-lock.json
View file @
8eee08c
...
@@ -1873,51 +1873,6 @@
...
@@ -1873,51 +1873,6 @@
"integrity"
:
"sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A=="
,
"integrity"
:
"sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A=="
,
"dev"
:
true
"dev"
:
true
},
},
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
,
"optional"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"ssri"
:
{
"ssri"
:
{
"version"
:
"8.0.1"
,
"version"
:
"8.0.1"
,
"resolved"
:
"https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz"
,
"resolved"
:
"https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz"
,
...
@@ -1926,28 +1881,6 @@
...
@@ -1926,28 +1881,6 @@
"requires"
:
{
"requires"
:
{
"minipass"
:
"^3.1.1"
"minipass"
:
"^3.1.1"
}
}
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
}
}
}
}
}
},
},
...
@@ -13251,6 +13184,75 @@
...
@@ -13251,6 +13184,75 @@
}
}
}
}
},
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
,
"optional"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
}
}
},
"vue-router"
:
{
"vue-router"
:
{
"version"
:
"3.5.4"
,
"version"
:
"3.5.4"
,
"resolved"
:
"https://registry.npmjs.org/vue-router/-/vue-router-3.5.4.tgz"
,
"resolved"
:
"https://registry.npmjs.org/vue-router/-/vue-router-3.5.4.tgz"
,
...
...
src/assets/css/public.scss
View file @
8eee08c
...
@@ -368,3 +368,9 @@
...
@@ -368,3 +368,9 @@
.el-message.msgHierarchy
{
.el-message.msgHierarchy
{
z-index
:
5000
!
important
;
z-index
:
5000
!
important
;
}
}
.el-popover.imgPopper
{
.el-form-item
{
margin
:
0
!
important
;
}
}
src/views/claims/components/fastReview.vue
View file @
8eee08c
...
@@ -4,10 +4,10 @@
...
@@ -4,10 +4,10 @@
<div
class=
"filter-wrap"
>
<div
class=
"filter-wrap"
>
<div
class=
"filter-btn"
>
<div
class=
"filter-btn"
>
<span>
筛选
</span>
<span>
筛选
</span>
<i
class=
"gl-icon-filter filter-icon"
@
click=
"showFilter = !showFilter"
></i>
<i
class=
"gl-icon-filter filter-icon"
@
click
.
stop
=
"showFilter = !showFilter"
></i>
<div
v-
if=
"showFilter
"
class=
"tree-wrap"
>
<div
v-
show=
"showFilter"
ref=
"closetree
"
class=
"tree-wrap"
>
<div
class=
"filter-tree"
>
<div
class=
"filter-tree"
>
<el-tree
:data=
"data"
show-checkbox
node-key=
"id"
:default-expanded-keys=
"[2, 3]"
:default-checked-keys=
"[5]"
:props=
"defaultProps"
></el-tree>
<el-tree
@
check-change=
"checkChange"
:data=
"data"
show-checkbox
node-key=
"id"
:default-expanded-keys=
"[2, 3]"
:default-checked-keys=
"[5]"
:props=
"defaultProps"
></el-tree>
</div>
</div>
<div
class=
"filter-all"
>
<div
class=
"filter-all"
>
<el-checkbox
v-model=
"checked"
>
全选
</el-checkbox>
<el-checkbox
v-model=
"checked"
>
全选
</el-checkbox>
...
@@ -19,12 +19,15 @@
...
@@ -19,12 +19,15 @@
</div>
</div>
</div>
</div>
<div
class=
"pic-list"
>
<div
class=
"pic-list"
>
<div
class=
"pic-item"
v-for=
"(item, index) in
i
mgList"
:key=
"index"
>
<div
class=
"pic-item"
v-for=
"(item, index) in
filterI
mgList"
:key=
"index"
>
<
div
@
click=
"changeCurImg(index)"
:class=
"['pic',
{ passed: item.status == 1 }]
">
<
span
class=
"title
"
>
<
img
:src=
"item.url"
alt=
""
/
>
<
div
class=
"name"
>
{{
item
.
name
}}
</div
>
<i
v-if=
"item.status == 1"
class=
"el-icon-success success"
></i>
<i
v-if=
"item.status == 1"
class=
"el-icon-success success"
></i>
<i
v-if=
"item.status == 0"
class=
"el-icon-error error"
></i>
</span>
<div
@
click=
"changeCurImg(index)"
:class=
"['pic',
{ cur: curImg.idx == index }]">
<img
:src=
"item.url"
alt=
""
/>
</div>
</div>
<span
class=
"title"
>
{{
item
.
name
}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -39,10 +42,15 @@
...
@@ -39,10 +42,15 @@
</div>
</div>
</div>
</div>
<div
class=
"pass-btn"
>
<div
class=
"pass-btn"
>
<el-button
type=
"text"
@
click=
"changeLeaf('pre')"
>
上一张
</el-button>
<!--
<el-button
type=
"text"
@
click=
"changeLeaf('pre')"
>
上一张
</el-button>
-->
<el-button
type=
"text"
@
click=
"pass(1)"
>
通过
</el-button>
<el-button
type=
"text"
@
click=
"handleApproval(1)"
>
通过
</el-button>
<el-button
type=
"text"
@
click=
"pass(2)"
>
不通过
</el-button>
<el-popover
class=
"popover"
popper-class=
"imgPopper"
placement=
"top"
width=
"314"
trigger=
"click"
>
<el-button
type=
"text"
@
click=
"changeLeaf('next')"
>
下一张
</el-button>
<div>
<glsx-combi-form
ref=
"imgPassRef"
:isInline=
"false"
:formRules=
"imgPassRule"
labelWidth=
"90px"
defaultWidth=
"184px"
:formObj=
"imgPassObj"
:formData=
"imgPassForm"
></glsx-combi-form>
</div>
<el-button
slot=
"reference"
type=
"text"
@
click=
"handleApproval(2)"
>
不通过
</el-button>
</el-popover>
<!--
<el-button
type=
"text"
@
click=
"changeLeaf('next')"
>
下一张
</el-button>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -50,19 +58,37 @@
...
@@ -50,19 +58,37 @@
</GLDialog>
</GLDialog>
</
template
>
</
template
>
<
script
type=
"text/ecmascript-6"
>
<
script
type=
"text/ecmascript-6"
>
import
glsxCombiForm
from
'@/components/glsx-combi-form'
export
default
{
export
default
{
name
:
'fastReview'
,
name
:
'fastReview'
,
components
:{
glsxCombiForm
},
data
()
{
data
()
{
return
{
return
{
checked
:
true
,
checked
:
true
,
showFilter
:
false
,
showFilter
:
false
,
imgPassObj
:
{
desc
:
''
},
imgPassForm
:[
{
label
:
'具体描述'
,
name
:
'desc'
,
type
:
'input'
,
inputType
:
'textarea'
,
rows
:
3
,
isClear
:
true
},
],
curImg
:{
curImg
:{
},
},
filterImgList
:
[],
imgList
:[
imgList
:[
{
{
url
:
'http://qcimg01.glsx.com.cn:7060/group1/M00/02/30/wKgD3mMigU6AQWekAAAxdFwhNU8306.png'
,
url
:
'http://qcimg01.glsx.com.cn:7060/group1/M00/02/30/wKgD3mMigU6AQWekAAAxdFwhNU8306.png'
,
name
:
'基础资料:身份证'
,
name
:
'基础资料:身份证
身份证身份证身份证
'
,
status
:
1
status
:
1
},
},
{
{
...
@@ -100,10 +126,10 @@ export default {
...
@@ -100,10 +126,10 @@ export default {
label
:
'审核状态'
,
label
:
'审核状态'
,
children
:
[{
children
:
[{
id
:
7
,
id
:
7
,
label
:
'
二级 3-1
'
label
:
'
通过
'
},
{
},
{
id
:
8
,
id
:
8
,
label
:
'
二级 3-2
'
label
:
'
未通过
'
}]
}]
}],
}],
}
}
...
@@ -115,24 +141,42 @@ export default {
...
@@ -115,24 +141,42 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
filterImgList
=
[...
this
.
imgList
]
this
.
changeCurImg
(
0
)
this
.
changeCurImg
(
0
)
document
.
addEventListener
(
'click'
,(
e
)
=>
{
if
(
!
this
.
$refs
[
'closetree'
]?.
contains
(
e
.
target
)){
this
.
showFilter
=
false
;
}
})
},
},
methods
:{
methods
:{
changeLeaf
(
type
){
//
changeLeaf(type){
let
idx
=
this
.
curImg
.
idx
//
let idx = this.curImg.idx
if
((
type
==
'pre'
&&
this
.
curImg
.
idx
==
0
)
||
(
type
==
'next'
&&
idx
==
this
.
imgList
.
length
-
1
)){
//
if((type == 'pre' && this.curImg.idx==0) || (type == 'next' && idx==this.imgList.length-1)){
return
this
.
$message
({
//
return this.$message({
message
:
`
${
type
==
'next'
?
'当时是最后一张图片'
:
'当时
是第一张图片'
}
`
,
// message: `${type == 'next' ? '当前是最后一张图片':'当前
是第一张图片'}`,
type
:
'warning'
,
//
type: 'warning',
customClass
:
'msgHierarchy'
//
customClass: 'msgHierarchy'
});
//
});
}
//
}
this
.
curImg
=
type
==
'next'
?
this
.
imgList
[
idx
+
1
]
:
this
.
imgList
[
idx
-
1
]
//
this.curImg =type == 'next' ? this.imgList[idx+1] : this.imgList[idx-1]
this
.
curImg
.
idx
=
type
==
'next'
?
idx
+
1
:
idx
-
1
//
this.curImg.idx =type == 'next' ? idx + 1 : idx - 1
},
//
},
changeCurImg
(
index
){
changeCurImg
(
index
){
this
.
curImg
=
this
.
imgList
[
index
]
if
(
index
>
this
.
filterImgList
.
length
-
1
||
index
<
0
)
return
this
.
curImg
=
this
.
filterImgList
[
index
]
this
.
curImg
.
idx
=
index
this
.
curImg
.
idx
=
index
},
handleApproval
(){
const
idx
=
this
.
curImg
.
idx
this
.
filterImgList
[
idx
].
status
=
1
this
.
changeCurImg
(
idx
+
1
)
},
checkChange
(){
const
list
=
this
.
imgList
.
filter
(
item
=>
{
})
this
.
filterImgList
=
[...
this
.
imgList
]
}
}
}
}
}
}
...
@@ -174,6 +218,9 @@ export default {
...
@@ -174,6 +218,9 @@ export default {
.filter-tree
{
.filter-tree
{
height
:
208px
;
height
:
208px
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
&::-webkit-scrollbar
{
width
:
4px
;
}
/
deep
/
.el-tree-node__content
>
label
.el-checkbox
{
/
deep
/
.el-tree-node__content
>
label
.el-checkbox
{
margin-right
:
3px
;
margin-right
:
3px
;
}
}
...
@@ -208,34 +255,46 @@ export default {
...
@@ -208,34 +255,46 @@ export default {
.pic-list
{
.pic-list
{
flex
:
1
;
flex
:
1
;
background
:
#ececec
;
background
:
#ececec
;
padding
:
16px
;
padding
:
1
0px
1
6px
;
overflow-y
:
auto
;
overflow-y
:
auto
;
&::-webkit-scrollbar
-track
{
&::-webkit-scrollbar
{
width
:
5
px
;
width
:
2
px
;
}
}
.pic-item
{
.pic-item
{
text-align
:
center
;
font-size
:
14px
;
font-size
:
14px
;
margin-bottom
:
12px
;
margin-bottom
:
12px
;
.title
{
height
:
28px
;
line-height
:
28px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
.name
{
width
:
130px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
.success
{
color
:
#2cca74
;
}
.error
{
color
:
#eb4e4e
;
}
}
.pic
{
.pic
{
width
:
100%
;
width
:
100%
;
margin-bottom
:
8px
;
position
:
relative
;
position
:
relative
;
width
:
150px
;
width
:
150px
;
height
:
95px
;
height
:
95px
;
cursor
:
pointer
;
cursor
:
pointer
;
border
:
1px
solid
transparent
;
img
{
img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
}
}
.success
{
color
:
#5850ff
;
position
:
absolute
;
right
:
8px
;
top
:
8px
;
}
}
}
.
passed
{
.
cur
{
border
:
1px
solid
#5850ff
;
border
:
1px
solid
#5850ff
;
}
}
}
}
...
@@ -288,8 +347,11 @@ export default {
...
@@ -288,8 +347,11 @@ export default {
margin-top
:
16px
;
margin-top
:
16px
;
display
:
flex
;
display
:
flex
;
height
:
20px
;
height
:
20px
;
padding
:
0
80px
;
justify-content
:
center
;
justify-content
:
space-around
;
.popover
{
line-height
:
20px
;
margin-left
:
20px
;
}
}
}
}
}
}
}
...
...
src/views/claims/components/imgList.vue
View file @
8eee08c
...
@@ -7,9 +7,6 @@
...
@@ -7,9 +7,6 @@
<i
v-if=
"imgItem.status == 1"
class=
"el-icon-success success"
></i>
<i
v-if=
"imgItem.status == 1"
class=
"el-icon-success success"
></i>
<i
v-if=
"imgItem.status == 2"
class=
"el-icon-error error"
></i>
<i
v-if=
"imgItem.status == 2"
class=
"el-icon-error error"
></i>
<span>
{{
imgItem
.
title
}}
</span>
<span>
{{
imgItem
.
title
}}
</span>
<!--
<el-popover
v-if=
"imgItem.tip"
placement=
"top-start"
width=
"200"
trigger=
"hover"
:content=
"imgItem.tip"
>
<i
class=
"el-icon-question question"
slot=
"reference"
></i>
</el-popover>
-->
<el-tooltip
v-if=
"imgItem.tip"
class=
"item"
effect=
"dark"
:content=
"imgItem.tip"
placement=
"top"
>
<el-tooltip
v-if=
"imgItem.tip"
class=
"item"
effect=
"dark"
:content=
"imgItem.tip"
placement=
"top"
>
<i
v-if=
"imgItem.tip"
class=
"el-icon-question question"
></i>
<i
v-if=
"imgItem.tip"
class=
"el-icon-question question"
></i>
</el-tooltip>
</el-tooltip>
...
@@ -144,7 +141,8 @@ export default {
...
@@ -144,7 +141,8 @@ export default {
width
:
100%
;
width
:
100%
;
background
:
rgba
(
255
,
82
,
87
,
0.7
);
background
:
rgba
(
255
,
82
,
87
,
0.7
);
position
:
absolute
;
position
:
absolute
;
top
:
90px
;
height
:
54px
;
line-height
:
16px
;
bottom
:
0
;
bottom
:
0
;
border-radius
:
0
0
4px
4px
;
border-radius
:
0
0
4px
4px
;
z-index
:
10
;
z-index
:
10
;
...
@@ -158,7 +156,7 @@ export default {
...
@@ -158,7 +156,7 @@ export default {
display
:
-webkit-box
;
display
:
-webkit-box
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
-webkit-line-clamp
:
3
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.need-img
,
.need-img
,
...
...
src/views/claims/components/uploadMaterial.vue
View file @
8eee08c
<
template
>
<
template
>
<div
class=
""
>
<div
class=
""
>
<Card
title=
"上传图片"
>
<Card
title=
"上传图片"
>
<div
slot=
"right"
class=
"fast-review"
@
click
.
stop=
"transportPic"
>
快速审核
</div>
<el-button
type=
"text"
slot=
"right"
@
click
.
stop=
"handleReview"
>
快速审核
</el-button>
<el-tabs
class=
"tabs"
v-model=
"activeName"
>
<div
style=
"position:relative;"
>
<el-tab-pane
v-for=
"item in tabs"
:key=
"item.name"
:label=
"item.label"
:name=
"item.name"
>
<el-button
type=
"text"
class=
"mutiReview"
@
click
.
stop=
"handleReview"
>
批量审核
</el-button>
<img-list
:list=
"baseImgObj"
>
<el-tabs
class=
"tabs"
v-model=
"activeName"
>
<div
slot=
"footer"
>
<el-tab-pane
v-for=
"item in tabs"
:key=
"item.name"
:label=
"item.label"
:name=
"item.name"
>
<div
class=
"pass-btn"
>
<img-list
:list=
"baseImgObj"
>
<el-button
type=
"text"
size=
"small"
>
通过
</el-button>
<div
slot=
"footer"
>
<el-button
type=
"text"
size=
"small"
>
不通过
</el-button>
<div
class=
"pass-btn"
>
<el-button
type=
"text"
size=
"small"
>
上传
</el-button>
<el-button
type=
"text"
size=
"small"
>
通过
</el-button>
<el-button
type=
"text"
size=
"small"
>
不通过
</el-button>
<el-button
type=
"text"
size=
"small"
>
上传
</el-button>
</div>
</div>
</div>
</
div
>
</
img-list
>
</
img-list
>
</
el-tab-pane
>
</el-tab
-pane
>
</el-tab
s
>
</
el-tabs
>
</
div
>
</Card>
</Card>
<fast-review
:visibility=
"showFastReviewDialog"
></fast-review>
</div>
</div>
</
template
>
</
template
>
<
script
type=
"text/ecmascript-6"
>
<
script
type=
"text/ecmascript-6"
>
...
@@ -24,6 +28,7 @@ import write_off from '@/assets/logo.png'
...
@@ -24,6 +28,7 @@ import write_off from '@/assets/logo.png'
import
url
from
'@/assets/images/idCard.png'
import
url
from
'@/assets/images/idCard.png'
import
imgList
from
'./imgList'
import
imgList
from
'./imgList'
import
Card
from
'./card.vue'
import
Card
from
'./card.vue'
import
fastReview
from
'./fastReview'
const
tabs
=
[
const
tabs
=
[
{
{
label
:
'基础资料'
,
label
:
'基础资料'
,
...
@@ -87,26 +92,31 @@ export default {
...
@@ -87,26 +92,31 @@ export default {
write_off
,
write_off
,
tabs
,
tabs
,
baseImgObj
,
baseImgObj
,
activeName
:
'base'
activeName
:
'base'
,
showFastReviewDialog
:
false
,
}
}
},
},
components
:
{
components
:
{
imgList
,
imgList
,
Card
Card
,
fastReview
},
},
mounted
()
{
mounted
()
{
},
},
methods
:
{
methods
:
{
handleReview
(){
this
.
showFastReviewDialog
=
true
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.
fast-r
eview
{
.
mutiR
eview
{
font-size
:
14px
;
position
:
absolute
;
color
:
#5850ff
;
right
:
0
;
cursor
:
pointer
;
top
:
14px
;
font-weight
:
400
;
z-index
:
2
;
}
}
/
deep
/
.el-tabs
{
/
deep
/
.el-tabs
{
.
el-tabs__nav-wrap
::
after
{
.
el-tabs__nav-wrap
::
after
{
...
...
src/views/claims/ghOrder.vue
View file @
8eee08c
...
@@ -38,16 +38,33 @@
...
@@ -38,16 +38,33 @@
<!-- 其他信息 -->
<!-- 其他信息 -->
<other-info></other-info>
<other-info></other-info>
<GLDialog
class=
"gl-form-page gl-form-min"
title=
"审核不通过"
mode=
"mid"
v-if=
"showNoPassDialog"
:visible
.
sync=
"showNoPassDialog"
@
onOk=
"submitForm(2)"
@
onCancel=
"cancelDialog(2)"
>
<GLDialog
class=
"gl-form-page gl-form-min"
title=
"审核不通过"
mode=
"mid"
v-if=
"showReviewDialog"
:visible
.
sync=
"showReviewDialog"
>
<glsx-combi-form
ref=
"noPassRef"
:isInline=
"false"
:formRules=
"noPassRule"
labelWidth=
"154px"
defaultWidth=
"284px"
:formObj=
"noPassObj"
:formData=
"noPassForm"
></glsx-combi-form>
<glsx-combi-form
ref=
"noPassRef"
:isInline=
"false"
:formRules=
"noPassRule"
labelWidth=
"154px"
defaultWidth=
"432px"
:formObj=
"noPassObj"
:formData=
"noPassForm"
></glsx-combi-form>
</GLDialog>
<GLDialog
class=
"gl-form-page gl-form-min"
title=
"审核通过,请输入批准金额"
mode=
"mid"
v-if=
"showPassedDialog"
:visible
.
sync=
"showPassedDialog"
@
onOk=
"submitForm(1)"
@
onCancel=
"cancelDialog(1)"
>
<div
class=
"passed-wrap"
>
<div
class=
"passed-item"
v-for=
"(item, index) in testServiceList"
:key=
"index"
>
<span
class=
"name"
>
{{
item
.
serviceItemName
}}
</span>
<div
class=
"set-price"
>
<li>
<label
for=
""
>
预计损失金额/元:
</label>
<el-input
size=
"small"
maxlength=
"10"
placeholder=
"请选择定损批准金额"
v-model=
"item.approveAmount"
></el-input>
</li>
<li>
<label
for=
""
>
定损批准金额/元:
</label>
<el-input
size=
"small"
maxlength=
"10"
placeholder=
"请选择定损批准金额"
v-model=
"item.approveAmount"
></el-input>
</li>
</div>
</div>
</div>
</GLDialog>
</GLDialog>
<fast-review
:visibility=
"showFastReviewDialog"
></fast-review>
<qrCode
:bottom=
"320"
phone=
"400 6123 886"
phoneTitle=
"定损及核赔服务咨询"
:codeUrl=
"qrcodUrl"
></qrCode>
<qrCode
:bottom=
"320"
phone=
"400 6123 886"
phoneTitle=
"定损及核赔服务咨询"
:codeUrl=
"qrcodUrl"
></qrCode>
<div
class=
"btn-box"
>
<div
class=
"btn-box"
>
<el-button
type=
"primary"
@
click=
"handleSave"
>
提交
</el-button>
<el-button
plain
class=
"btn-three"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"default"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
plain
class=
"btn-three"
@
click=
"handleCancel"
>
保存
</el-button>
<el-button
plain
@
click=
"handleVerify(2)"
>
不通过
</el-button>
<el-button
type=
"primary"
@
click=
"handleVerify(1)"
>
通过
</el-button>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -58,7 +75,6 @@ import uploadMaterial from './components/uploadMaterial'
...
@@ -58,7 +75,6 @@ import uploadMaterial from './components/uploadMaterial'
import
otherInfo
from
'./components/otherInfo.vue'
import
otherInfo
from
'./components/otherInfo.vue'
import
explanation
from
'./components/explanation'
import
explanation
from
'./components/explanation'
import
Card
from
'./components/card.vue'
import
Card
from
'./components/card.vue'
import
fastReview
from
'./components/fastReview'
import
util
from
'@/util/util'
import
util
from
'@/util/util'
const
phoneReg
=
/^
(
13
[
0-9
]
|15
[
0-9
]
|16
[
0-9
]
|17
[
0-9
]
|18
[
0-9
]
|19
[
0-9
]
|14
[
0-9
])[
0-9
]{8}
$/
const
phoneReg
=
/^
(
13
[
0-9
]
|15
[
0-9
]
|16
[
0-9
]
|17
[
0-9
]
|18
[
0-9
]
|19
[
0-9
]
|14
[
0-9
])[
0-9
]{8}
$/
const
testServiceList
=
[
const
testServiceList
=
[
...
@@ -102,14 +118,13 @@ export default {
...
@@ -102,14 +118,13 @@ export default {
uploadMaterial
,
uploadMaterial
,
otherInfo
,
otherInfo
,
explanation
,
explanation
,
fastReview
,
Card
Card
},
},
data
()
{
data
()
{
return
{
return
{
testServiceList
,
testServiceList
,
show
Review
Dialog
:
false
,
show
NoPass
Dialog
:
false
,
show
FastReviewDialog
:
tru
e
,
show
PassedDialog
:
fals
e
,
noPassObj
:{
noPassObj
:{
reason
:
''
,
reason
:
''
,
desc
:
''
desc
:
''
...
@@ -326,7 +341,27 @@ export default {
...
@@ -326,7 +341,27 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/beforeSale/index'
path
:
'/beforeSale/index'
})
})
}
},
handleVerify
(
val
){
// val == 1 通过 ,2 不通过
if
(
val
==
1
){
this
.
showPassedDialog
=
true
}
else
{
this
.
showNoPassDialog
=
true
}
},
submitForm
(
val
){
// val == 1 通过 ,2 不通过
this
.
cancelDialog
(
val
)
},
cancelDialog
(
val
){
// val == 1 通过 ,2 不通过
if
(
val
==
1
){
this
.
showPassedDialog
=
false
}
else
{
this
.
showNoPassDialog
=
false
}
},
}
}
}
}
</
script
>
</
script
>
...
@@ -421,6 +456,42 @@ export default {
...
@@ -421,6 +456,42 @@ export default {
margin
:
16px
0
20px
0
;
margin
:
16px
0
20px
0
;
}
}
}
}
.passed-wrap
{
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
color
:
#333333
;
.passed-item
{
margin-bottom
:
20px
;
&:last-child
{
margin-bottom
:
0
;
}
.name
{
font-size
:
14px
;
}
.set-price
{
background
:
#f9f9f9
;
padding
:
20px
;
list-style
:
none
;
margin-top
:
10px
;
li
{
margin-bottom
:
20px
;
display
:
flex
;
align-items
:
center
;
&:last-child
{
margin-bottom
:
0
;
}
label
{
width
:
154px
;
display
:
inline-block
;
text-align
:
right
;
}
}
.el-input
{
width
:
284px
;
margin-right
:
60px
;
}
}
}
}
.required
::before
{
.required
::before
{
content
:
'*'
;
content
:
'*'
;
color
:
#f56c6c
;
color
:
#f56c6c
;
...
...
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