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 2b704b76
authored
Jun 02, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
155c5da4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
21 deletions
src/views/GH/Renew/components/ClaimsNote/index.vue
src/views/GH/Renew/detail.vue
src/views/claims/components/material.vue
src/views/claims/components/repair.vue
src/views/claims/components/report.vue
src/views/GH/Renew/components/ClaimsNote/index.vue
View file @
2b704b7
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<div
class=
"title"
>
定损记录
</div>
<div
class=
"title"
>
定损记录
</div>
<div
class=
"list-wrap"
>
<div
class=
"list-wrap"
>
<el-timeline>
<el-timeline>
<el-timeline-item
v-for=
"(activity, index) in recordList"
:key=
"index"
:color=
"
activity.color
"
:timestamp=
"activity.createdDate"
>
<el-timeline-item
v-for=
"(activity, index) in recordList"
:key=
"index"
:color=
"
index==recordList.length-1?'#5850FF':''
"
:timestamp=
"activity.createdDate"
>
<div
class=
"inline"
>
<div
class=
"inline"
>
<div
class=
"content"
>
{{
activity
.
content
}}
</div>
<div
class=
"content"
>
{{
activity
.
content
}}
</div>
<div
v-if=
"activity.operation"
class=
"tip"
>
{{
activity
.
operation
}}
</div>
<div
v-if=
"activity.operation"
class=
"tip"
>
{{
activity
.
operation
}}
</div>
...
...
src/views/GH/Renew/detail.vue
View file @
2b704b7
<!-- 权益订单 -->
<!-- 权益订单 -->
<
template
>
<
template
>
<div>
<div>
<report
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<report
:renewDisable=
"orderStatus!=0"
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<repair
ref=
"repairRef"
@
changeObjectType=
"changeObjectType"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<repair
:renewDisable=
"orderStatus!=0"
ref=
"repairRef"
@
changeObjectType=
"changeObjectType"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<material
:isXB=
"true"
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<material
:
renewDisable=
"orderStatus!=0"
:
isXB=
"true"
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<!-- 案件说明 -->
<!-- 案件说明 -->
<caseDesc
:supplementList=
"supplementList"
></caseDesc>
<caseDesc
:supplementList=
"supplementList"
></caseDesc>
<!-- 定损记录 -->
<!-- 定损记录 -->
...
...
src/views/claims/components/material.vue
View file @
2b704b7
...
@@ -4,14 +4,14 @@
...
@@ -4,14 +4,14 @@
<div
class=
"material"
>
<div
class=
"material"
>
<div
class=
"material-item"
v-for=
"item in materialData"
:key=
"item.name"
>
<div
class=
"material-item"
v-for=
"item in materialData"
:key=
"item.name"
>
<label
:class=
"
{ require: item.label }">
{{
item
.
label
}}
</label>
<label
:class=
"
{ require: item.label }">
{{
item
.
label
}}
</label>
<el-upload
:disabled=
"pageType == 2
"
: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']"
: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=
"[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)"
>
<!--
<i
v-if=
"item.name == 'billInfo'"
slot=
"default"
class=
"el-icon-plus"
>
<!--
<i
v-if=
"item.name == 'billInfo'"
slot=
"default"
class=
"el-icon-plus"
>
<p>
上传图片
</p>
<p>
上传图片
</p>
</i>
-->
</i>
-->
<img
v-if=
"item.name === 'billInfo'"
slot=
"default"
:src=
"upload_img"
alt=
""
/>
<img
v-if=
"item.name === 'billInfo'"
slot=
"default"
:src=
"upload_img"
alt=
""
/>
<img
v-if=
"item.name === 'idCard'"
slot=
"default"
:src=
"idCard"
alt=
""
/>
<img
v-if=
"item.name === 'idCard'"
slot=
"default"
:src=
"idCard"
alt=
""
/>
<img
v-if=
"item.name === 'idCardBack'"
slot=
"default"
:src=
"idCardBack"
alt=
""
/>
<img
v-if=
"item.name === 'idCardBack'"
slot=
"default"
:src=
"idCardBack"
alt=
""
/>
<el-button
v-if=
"item.name == 'otherInfo'"
slot=
"default"
:disabled=
"pageType == 2 || item.limit == materialForm[item.name].length"
size=
"small"
class=
"el-icon-plus"
>
上传文件
</el-button>
<el-button
v-if=
"item.name == 'otherInfo'"
slot=
"default"
:disabled=
"
renewDisable ||
pageType == 2 || item.limit == materialForm[item.name].length"
size=
"small"
class=
"el-icon-plus"
>
上传文件
</el-button>
<div
slot=
"tip"
class=
"remark"
v-if=
"item.name == 'idCard'"
>
身份证人像面
</div>
<div
slot=
"tip"
class=
"remark"
v-if=
"item.name == 'idCard'"
>
身份证人像面
</div>
<div
slot=
"tip"
class=
"remark"
v-if=
"item.name == 'idCardBack'"
>
身份证国徽面
</div>
<div
slot=
"tip"
class=
"remark"
v-if=
"item.name == 'idCardBack'"
>
身份证国徽面
</div>
<div
slot=
"tip"
class=
"file-box"
v-if=
"item.name == 'otherInfo'"
>
<div
slot=
"tip"
class=
"file-box"
v-if=
"item.name == 'otherInfo'"
>
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
<img
v-if=
"imgItem.progress == 100"
class=
"download"
:src=
"download"
alt=
""
@
click=
"downloadFile(imgItem)"
/>
<img
v-if=
"imgItem.progress == 100"
class=
"download"
:src=
"download"
alt=
""
@
click=
"downloadFile(imgItem)"
/>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
<i
v-if=
"imgItem.progress == 100 && pageType != 2"
@
click=
"handleRemove(imgItem.url, item.name)"
class=
"el-icon-delete del_img"
></i>
<i
v-if=
"imgItem.progress == 100 && pageType != 2
&&!renewDisable
"
@
click=
"handleRemove(imgItem.url, item.name)"
class=
"el-icon-delete del_img"
></i>
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
</div>
</div>
...
@@ -90,7 +90,8 @@ export default {
...
@@ -90,7 +90,8 @@ export default {
type
:
Number
,
type
:
Number
,
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
},
},
isXB
:
Boolean
isXB
:
Boolean
,
renewDisable
:
Boolean
},
},
data
()
{
data
()
{
return
{
return
{
...
...
src/views/claims/components/repair.vue
View file @
2b704b7
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<p
class=
"name"
>
{{
item
.
serviceItemName
}}
</p>
<p
class=
"name"
>
{{
item
.
serviceItemName
}}
</p>
<div
class=
"price-wrap"
>
<div
class=
"price-wrap"
>
<label
for=
""
>
定损批准金额:
</label>
<label
for=
""
>
定损批准金额:
</label>
<el-input
:disabled=
"pageType == 2 "
maxlength=
"10"
@
input=
"validPrice($event, index)"
@
blur=
"changePrice($event, index)"
placeholder=
"请选择定损批准金额"
v-model=
"item.approveAmount"
></el-input>
<el-input
:disabled=
"pageType == 2
|| renewDisable
"
maxlength=
"10"
@
input=
"validPrice($event, index)"
@
blur=
"changePrice($event, index)"
placeholder=
"请选择定损批准金额"
v-model=
"item.approveAmount"
></el-input>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
</div>
</div>
<div
class=
"collecter"
>
<div
class=
"collecter"
>
<label
class=
"require"
for=
""
>
收款对象:
</label>
<label
class=
"require"
for=
""
>
收款对象:
</label>
<el-radio-group
@
change=
"changeObjectType"
:disabled=
"pageType == 2 "
v-model=
"accountForm.objectType"
>
<el-radio-group
@
change=
"changeObjectType"
:disabled=
"pageType == 2
|| renewDisable
"
v-model=
"accountForm.objectType"
>
<el-radio
:label=
"0"
>
店面
</el-radio>
<el-radio
:label=
"0"
>
店面
</el-radio>
<el-radio
:label=
"1"
>
其他
</el-radio>
<el-radio
:label=
"1"
>
其他
</el-radio>
</el-radio-group>
</el-radio-group>
...
@@ -73,6 +73,7 @@ export default {
...
@@ -73,6 +73,7 @@ export default {
type
:
Number
,
type
:
Number
,
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
},
},
renewDisable
:
Boolean
},
},
components
:
{
components
:
{
glsxCombiForm
glsxCombiForm
...
@@ -98,7 +99,7 @@ export default {
...
@@ -98,7 +99,7 @@ export default {
optionLabel
:
'confName'
,
optionLabel
:
'confName'
,
isHide
:
true
,
isHide
:
true
,
isClear
:
true
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
},
{
{
label
:
'开户行名称'
,
label
:
'开户行名称'
,
...
@@ -108,7 +109,7 @@ export default {
...
@@ -108,7 +109,7 @@ export default {
optionId
:
'code'
,
optionId
:
'code'
,
optionLabel
:
'name'
,
optionLabel
:
'name'
,
isClear
:
true
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
},
{
{
label
:
'账户名称'
,
label
:
'账户名称'
,
...
@@ -116,7 +117,7 @@ export default {
...
@@ -116,7 +117,7 @@ export default {
type
:
'input'
,
type
:
'input'
,
maxlength
:
60
,
maxlength
:
60
,
isClear
:
true
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
},
{
{
label
:
'收款账号'
,
label
:
'收款账号'
,
...
@@ -124,7 +125,7 @@ export default {
...
@@ -124,7 +125,7 @@ export default {
type
:
'input'
,
type
:
'input'
,
maxlength
:
25
,
maxlength
:
25
,
isClear
:
true
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
},
{
{
label
:
'收款账号所在省市'
,
label
:
'收款账号所在省市'
,
...
@@ -135,7 +136,7 @@ export default {
...
@@ -135,7 +136,7 @@ export default {
optionId
:
'code'
,
optionId
:
'code'
,
optionLabel
:
'name'
,
optionLabel
:
'name'
,
isClear
:
true
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
},
{
{
label
:
'收款人证件类型'
,
label
:
'收款人证件类型'
,
...
@@ -145,7 +146,7 @@ export default {
...
@@ -145,7 +146,7 @@ export default {
optionId
:
'code'
,
optionId
:
'code'
,
optionLabel
:
'name'
,
optionLabel
:
'name'
,
isClear
:
true
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
},
{
{
label
:
'收款人证件号码'
,
label
:
'收款人证件号码'
,
...
@@ -153,7 +154,7 @@ export default {
...
@@ -153,7 +154,7 @@ export default {
type
:
'input'
,
type
:
'input'
,
maxlength
:
25
,
maxlength
:
25
,
isClear
:
true
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
},
{
{
label
:
'收款人联系电话'
,
label
:
'收款人联系电话'
,
...
@@ -161,7 +162,7 @@ export default {
...
@@ -161,7 +162,7 @@ export default {
type
:
'input'
,
type
:
'input'
,
maxlength
:
15
,
maxlength
:
15
,
isClear
:
true
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
}
}
],
],
handlerForm
:
[
handlerForm
:
[
...
@@ -171,7 +172,7 @@ export default {
...
@@ -171,7 +172,7 @@ export default {
type
:
'input'
,
type
:
'input'
,
isClear
:
true
,
isClear
:
true
,
maxlength
:
100
,
maxlength
:
100
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
},
{
{
label
:
'经办人联系号码:'
,
label
:
'经办人联系号码:'
,
...
@@ -179,7 +180,7 @@ export default {
...
@@ -179,7 +180,7 @@ export default {
type
:
'input'
,
type
:
'input'
,
maxlength
:
11
,
maxlength
:
11
,
isClear
:
true
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
},
// {
// {
// label: '出险经过描述:',
// label: '出险经过描述:',
...
...
src/views/claims/components/report.vue
View file @
2b704b7
<
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)"
>
<template
v-if=
"[1, 3, 4].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>
...
@@ -45,6 +45,7 @@ export default {
...
@@ -45,6 +45,7 @@ export default {
type
:
Number
,
type
:
Number
,
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
}
,
}
,
renewDisable
:
Boolean
}
,
}
,
data
()
{
data
()
{
return
{
return
{
...
...
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