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 f963a757
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
b8b06187
4a86f1fc
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
26 deletions
src/views/GH/Renew/components/ClaimsNote/index.vue
src/views/GH/Renew/detail.vue
src/views/GH/Renew/renew.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 @
f963a75
...
...
@@ -12,7 +12,7 @@
<div
class=
"title"
>
定损记录
</div>
<div
class=
"list-wrap"
>
<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=
"content"
>
{{
activity
.
content
}}
</div>
<div
v-if=
"activity.operation"
class=
"tip"
>
{{
activity
.
operation
}}
</div>
...
...
src/views/GH/Renew/detail.vue
View file @
f963a75
<!-- 权益订单 -->
<
template
>
<div>
<report
@
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>
<material
:isXB=
"true"
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<report
:key=
"comKey"
:renewDisable=
"orderStatus!=0"
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<repair
:renewDisable=
"orderStatus!=0"
ref=
"repairRef"
@
changeObjectType=
"changeObjectType"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<material
:
renewDisable=
"orderStatus!=0"
:
isXB=
"true"
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<!-- 案件说明 -->
<caseDesc
:supplementList=
"supplementList"
></caseDesc>
<!-- 定损记录 -->
...
...
@@ -227,6 +227,7 @@ export default {
item
.
operation
=
obj_o
[
item
.
operation
]
})
this
.
recordList
=
recordList
this
.
comKey
=
new
Date
()
})
},
// 新增的时候,输入合同号,带出信息
...
...
@@ -428,7 +429,7 @@ export default {
toSubmitGuoRen
()
{
let
approveAmounts
=
{}
this
.
serviceItemsList
.
forEach
(
el
=>
{
Object
.
assign
(
approveAmounts
,
{
[
el
.
serviceItemCode
]:
el
.
app
ly
Amount
})
Object
.
assign
(
approveAmounts
,
{
[
el
.
serviceItemCode
]:
el
.
app
rove
Amount
})
})
let
files
=
[]
for
(
let
i
in
this
.
materialForm
)
{
...
...
@@ -470,8 +471,8 @@ export default {
}
else
if
(
checkPlan
.
indexOf
(
'.'
)
>=
0
)
{
checkPlan
=
checkPlan
.
replace
(
/^
()
*
(\d
+
)\.(\d\d)
.*$/
,
'$1$2.$3'
)
// 只能输入两个小数
}
console
.
log
(
checkPlan
)
this
.
$set
(
this
.
serviceItemsList
[
id
],
'approveAmount'
,
checkPlan
)
this
.
approveAmountsInput
[
id
]
=
checkPlan
}
}
}
...
...
src/views/GH/Renew/renew.vue
View file @
f963a75
...
...
@@ -84,7 +84,7 @@ export default {
return
'去处理'
},
condition
:
row
=>
{
return
[
15
,
14
,
0
].
includes
(
row
.
scope
.
status
)
return
[
15
,
0
].
includes
(
row
.
scope
.
status
)
},
attrs
:
{
type
:
'text'
,
...
...
@@ -100,7 +100,7 @@ export default {
return
'查看'
},
condition
:
row
=>
{
return
[
1
,
3
,
4
,
17
,
2
].
includes
(
row
.
scope
.
status
)
return
[
1
,
3
,
4
,
17
,
2
,
14
].
includes
(
row
.
scope
.
status
)
},
attrs
:
{
type
:
'text'
,
...
...
@@ -341,7 +341,8 @@ export default {
this
.
searchForm
=
{
searchText
:
''
,
status
:
''
,
commitDate
:
''
commitDate
:
''
,
equitySource
:
1
}
this
.
getTableData
()
},
...
...
src/views/claims/components/material.vue
View file @
f963a75
...
...
@@ -4,14 +4,14 @@
<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
"
: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"
>
<p>
上传图片
</p>
</i>
-->
<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 === '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 == 'idCardBack'"
>
身份证国徽面
</div>
<div
slot=
"tip"
class=
"file-box"
v-if=
"item.name == 'otherInfo'"
>
...
...
@@ -58,7 +58,7 @@
<img
v-if=
"imgItem.progress == 100"
class=
"download"
:src=
"download"
alt=
""
@
click=
"downloadFile(imgItem)"
/>
</el-tooltip>
<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>
</
template
>
</div>
...
...
@@ -90,7 +90,8 @@ export default {
type
:
Number
,
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
},
isXB
:
Boolean
isXB
:
Boolean
,
renewDisable
:
Boolean
},
data
()
{
return
{
...
...
src/views/claims/components/repair.vue
View file @
f963a75
...
...
@@ -27,7 +27,7 @@
<p
class=
"name"
>
{{
item
.
serviceItemName
}}
</p>
<div
class=
"price-wrap"
>
<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>
</
template
>
...
...
@@ -46,7 +46,7 @@
</div>
<div
class=
"collecter"
>
<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=
"1"
>
其他
</el-radio>
</el-radio-group>
...
...
@@ -73,6 +73,7 @@ export default {
type
:
Number
,
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
},
renewDisable
:
Boolean
},
components
:
{
glsxCombiForm
...
...
@@ -98,7 +99,7 @@ export default {
optionLabel
:
'confName'
,
isHide
:
true
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
{
label
:
'开户行名称'
,
...
...
@@ -108,7 +109,7 @@ export default {
optionId
:
'code'
,
optionLabel
:
'name'
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
{
label
:
'账户名称'
,
...
...
@@ -116,7 +117,7 @@ export default {
type
:
'input'
,
maxlength
:
60
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
{
label
:
'收款账号'
,
...
...
@@ -124,7 +125,7 @@ export default {
type
:
'input'
,
maxlength
:
25
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
{
label
:
'收款账号所在省市'
,
...
...
@@ -135,7 +136,7 @@ export default {
optionId
:
'code'
,
optionLabel
:
'name'
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
{
label
:
'收款人证件类型'
,
...
...
@@ -145,7 +146,7 @@ export default {
optionId
:
'code'
,
optionLabel
:
'name'
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
{
label
:
'收款人证件号码'
,
...
...
@@ -153,7 +154,7 @@ export default {
type
:
'input'
,
maxlength
:
25
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
{
label
:
'收款人联系电话'
,
...
...
@@ -161,7 +162,7 @@ export default {
type
:
'input'
,
maxlength
:
15
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
}
],
handlerForm
:
[
...
...
@@ -171,7 +172,7 @@ export default {
type
:
'input'
,
isClear
:
true
,
maxlength
:
100
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
{
label
:
'经办人联系号码:'
,
...
...
@@ -179,7 +180,7 @@ export default {
type
:
'input'
,
maxlength
:
11
,
isClear
:
true
,
isDisabled
:
this
.
pageType
==
2
isDisabled
:
this
.
pageType
==
2
||
this
.
renewDisable
},
// {
// label: '出险经过描述:',
...
...
src/views/claims/components/report.vue
View file @
f963a75
<
template
>
<div
class=
"report-components gl-form-page"
>
<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"
>
<div
v-if=
"pageType == 1"
style=
"display: inline-block"
slot=
"syncBtn"
>
<el-button
style=
"margin: 0 12px"
type=
"primary"
@
click=
"toSearchOrderDetail"
>
同步
</el-button>
...
...
@@ -45,6 +45,7 @@ export default {
type
:
Number
,
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
}
,
renewDisable
:
Boolean
}
,
data
()
{
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