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 3099f631
authored
Jun 06, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.11.0' of
http://192.168.3.233:8090/saas/scrm-micro-presale
into v3.11.0
2 parents
43fc0e45
8712c549
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
src/views/GH/Renew/detail.vue
src/views/claims/components/material.vue
src/views/GH/Renew/detail.vue
View file @
3099f63
...
...
@@ -200,17 +200,18 @@ export default {
// 以下是文件数据
res
.
files
.
forEach
(
item
=>
{
let
obj
=
{
url
:
item
.
fileUrl
,
fileType
:
item
.
fileType
,
name
:
item
.
fileName
,
progress
:
100
,
mark
:
item
.
mark
,
fileCode
:
item
.
fileCode
}
if
(
item
.
fileCode
==
'1'
)
{
if
(
item
.
fileCode
==
'1'
&&
item
.
fileUrl
)
{
if
(
this
.
materialForm
.
idCard
.
length
===
0
)
{
this
.
materialForm
.
idCard
.
push
(
obj
)
}
else
{
this
.
materialForm
.
idCardBack
.
push
(
obj
)
}
}
else
if
(
item
.
fileCode
==
'31'
)
{
}
else
if
(
item
.
fileCode
==
'31'
&&
item
.
fileUrl
)
{
this
.
materialForm
.
billInfo
.
push
(
obj
)
}
else
if
(
item
.
fileCode
==
'4'
)
{
}
else
if
(
item
.
fileCode
==
'4'
&&
item
.
fileUrl
)
{
this
.
materialForm
.
otherInfo
.
push
(
obj
)
}
console
.
log
(
this
.
materialForm
);
})
// 案件说明
res
.
supplementList
.
forEach
(
el
=>
{
...
...
src/views/claims/components/material.vue
View file @
3099f63
...
...
@@ -4,7 +4,7 @@
<div
class=
"material"
>
<div
class=
"material-item"
v-for=
"item in materialData"
:key=
"item.name"
>
<label
:class=
"
{ require: item.label }">
{{
item
.
label
}}
</label>
<el-upload
:disabled=
"pageType == 2 || renewDisable"
:id=
"item.name"
:ref=
"item.name + 'Ref'"
:file-list=
"materialForm[item.name]"
:list-type=
"item.listType ? item.listType : 'picture-card'"
:class=
"[
renewDisable || pageType == 2 || item.limit == materialForm[item.name].length ? 'hidePlusBtn' : '', 'upload-item'
]"
:limit=
"item.limit"
action=
"#"
:before-upload=
"e => beforeAvatarUpload(e, item.name)"
:on-preview=
"handlePictureCardPreview"
:on-remove=
"e => handleRemove(e, item.name)"
:http-request=
"e => httpRequest(e, item.name)"
>
<el-upload
:disabled=
"pageType == 2 || renewDisable"
:id=
"item.name"
:ref=
"item.name + 'Ref'"
:file-list=
"materialForm[item.name]"
:list-type=
"item.listType ? item.listType : 'picture-card'"
:class=
"[
pageType == 2 || item.limit == materialForm[item.name].length ? 'hidePlusBtn' : '', 'upload-item',
{'renewDisable':renewDisable
&&
!materialForm[item.name].length}
]" :limit="item.limit" action="#" :before-upload="e => beforeAvatarUpload(e, item.name)" :on-preview="handlePictureCardPreview" :on-remove="e => handleRemove(e, item.name)" :http-request="e => httpRequest(e, item.name)">
<!--
<i
v-if=
"item.name == 'billInfo'"
slot=
"default"
class=
"el-icon-plus"
>
<p>
上传图片
</p>
</i>
-->
...
...
@@ -136,7 +136,8 @@ export default {
vin
:
'车架号VIN照片'
,
carAndPeople
:
'45°车头角度全车照片及人车合照'
,
vehicleDamage
:
'车辆受损细节照片'
,
InsuranceLossStatement
:
'保险定损单'
InsuranceLossStatement
:
'保险定损单'
,
repiare
:
'维修单'
}
}
},
...
...
@@ -257,6 +258,12 @@ export default {
display
:
none
;
}
}
/
deep
/
.renewDisable
{
.el-upload--picture-card
{
display
:
block
;
cursor
:
not-allowed
;
}
}
//
上传闪屏问题
/
deep
/
.el-upload-list__item.is-ready
{
...
...
@@ -463,7 +470,7 @@ export default {
.xuBao
{
margin-top
:
22px
;
width
:
522px
;
height
:
242
px
;
min-height
:
24
px
;
}
}
.material-item
:last-child
{
...
...
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