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 8b0c20b7
authored
Aug 07, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.14.0' into 'master'
合并0804版本:V3.14.0 See merge request
!36
2 parents
b26159a8
6304d75e
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
889 additions
and
334 deletions
package-lock.json
package.json
src/api/modules/claims.js
src/config/index.js
src/views/beforeSale/editEquity.vue
src/views/claims/components/check/index.vue
src/views/claims/components/checkClaims/index.vue
src/views/claims/components/explanation.vue
src/views/claims/components/followPop/index.vue
src/views/claims/components/uploadMaterial.vue
src/views/claims/components/watch/index.vue
src/views/claims/ghIndex.vue
src/views/claims/ghOrder.vue
src/views/config/addConfig.vue
package-lock.json
View file @
8b0c20b
...
...
@@ -15,6 +15,11 @@
"js-message"
:
"1.0.7"
}
},
"@amap/amap-jsapi-loader"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/@amap/amap-jsapi-loader/-/amap-jsapi-loader-1.0.1.tgz"
,
"integrity"
:
"sha512-nPyLKt7Ow/ThHLkSvn2etQlUzqxmTVgK7bIgwdBRTg2HK5668oN7xVxkaiRe3YZEzGzfV2XgH5Jmu2T73ljejw=="
},
"@ampproject/remapping"
:
{
"version"
:
"2.2.0"
,
"resolved"
:
"https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz"
,
...
...
@@ -1873,51 +1878,6 @@
"integrity"
:
"sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A=="
,
"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"
:
{
"version"
:
"8.0.1"
,
"resolved"
:
"https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz"
,
...
...
@@ -1926,28 +1886,6 @@
"requires"
:
{
"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"
}
}
}
},
...
...
@@ -6470,14 +6408,16 @@
}
},
"glsx-components"
:
{
"version"
:
"1.5.
2
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.5.
2
.tgz"
,
"integrity"
:
"sha512-
5/LaPu0B1uT7Kzl6oyIqyFT/NXIz2w7HNstiRtHaUQN1waSrPPPtzRRwywJg6CSSL+p994NaqPRnX696NAYzK
g=="
,
"version"
:
"1.5.
7
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.5.
7
.tgz"
,
"integrity"
:
"sha512-
WEWt1Ev7uf8VgILrEr15ZHxOreqWEVEY2WRP5EmZKzYKTVF/7dQU/oI84+Xo4vSmlz7ltblaATyrwm1U1LDnH
g=="
,
"requires"
:
{
"@amap/amap-jsapi-loader"
:
"^1.0.1"
,
"core-js"
:
"^3.6.5"
,
"element-ui"
:
"^2.15.6"
,
"glsx-common"
:
"^1.4.9"
,
"vue"
:
"^2.6.11"
,
"vue-amap"
:
"^0.5.10"
,
"vuedraggable"
:
"^2.24.3"
},
"dependencies"
:
{
...
...
@@ -13060,6 +13000,21 @@
"integrity"
:
"sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA=="
,
"dev"
:
true
},
"uppercamelcase"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npmjs.org/uppercamelcase/-/uppercamelcase-1.1.0.tgz"
,
"integrity"
:
"sha512-C7YEMvhgrvTEKEEVqA7LXNID/1TvvIwYZqNIKLquS6y/MGSkRQAav9LnTTILlC1RqUM8eTVBOe1U/fnB652PRA=="
,
"requires"
:
{
"camelcase"
:
"^1.2.1"
},
"dependencies"
:
{
"camelcase"
:
{
"version"
:
"1.2.1"
,
"resolved"
:
"https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz"
,
"integrity"
:
"sha512-wzLkDa4K/mzI1OSITC+DUyjgIl/ETNHE9QvYgy6J6Jvqyyz4C0Xfd+lQhb19sX2jMpZV4IssUn0VDVmglV+s4g=="
}
}
},
"uri-js"
:
{
"version"
:
"4.4.1"
,
"resolved"
:
"https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz"
,
...
...
@@ -13243,6 +13198,14 @@
"csstype"
:
"^3.1.0"
}
},
"vue-amap"
:
{
"version"
:
"0.5.10"
,
"resolved"
:
"https://registry.npmjs.org/vue-amap/-/vue-amap-0.5.10.tgz"
,
"integrity"
:
"sha512-9ViNCev1vx32+zZ5RvF/TmUZNbwL9QrdA2/OnD2GlXMfQBkJy7D08Vb7379t6guqnopDPtWJ8K6gg72h9+4GUg=="
,
"requires"
:
{
"uppercamelcase"
:
"^1.1.0"
}
},
"vue-cli-plugin-element"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/vue-cli-plugin-element/-/vue-cli-plugin-element-1.0.1.tgz"
,
...
...
@@ -13323,6 +13286,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-quill-editor"
:
{
"version"
:
"3.0.6"
,
"resolved"
:
"https://registry.npmjs.org/vue-quill-editor/-/vue-quill-editor-3.0.6.tgz"
,
...
...
package.json
View file @
8b0c20b
...
...
@@ -13,7 +13,7 @@
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^2.1.0"
,
"glsx-components"
:
"^1.5.
2
"
,
"glsx-components"
:
"^1.5.
7
"
,
"lodash"
:
"^4.17.21"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
...
...
src/api/modules/claims.js
View file @
8b0c20b
...
...
@@ -346,6 +346,17 @@ const getMerchantApi = params => {
sign
:
true
})
}
// 获取默认商户的下级商户
const
getMerchantSubList
=
params
=>
{
params
.
method
=
'scrm.api.equity.common.default.merchant.subList'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
//广汇续保定损审核接口
const
renewalAudit
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.claims.renewal.audit'
...
...
@@ -356,5 +367,35 @@ const renewalAudit = params => {
sign
:
true
})
}
//分页查询理赔跟进人列表
const
getFollowPersonList
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.follow.person.page'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
//删除跟进人记录
const
delFollowPerson
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.follow.person.delete'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
export
default
{
renewalAudit
,
getMerchantApi
,
getMidMerchantApi
,
getBigMerchantApi
,
saveSign
,
saveClaimsCG
,
saveCG
,
cancelClaims
,
checkClaimsOrderApi
,
checkOrderApi
,
getOrderOherInfo
,
uploadImgApi
,
getGHCountApi
,
getGHPhoneImageApi
,
getGHattachmentApi
,
getGHClaimsDetailApi
,
getGHhistoryListApi
,
checkGHClaimsListApi
,
exportGHClaimsListApi
,
getGHClaimFollowsListApi
,
addGHClaimFollowsListApi
,
getGHClaimsListApi
,
getclaimsList
,
getclaimsCount
,
resubmitOrder
,
commitClaimsOrder
,
getClaimsDetail
,
exportClaimsData
,
checkContractNo
,
getDetailByWOCode
,
getBankList
,
getCityList
,
getAccountInfo
}
// 新增理赔跟进人记录
const
addFollowPerson
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.follow.person.insert'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
export
default
{
renewalAudit
,
getMerchantApi
,
getMidMerchantApi
,
getBigMerchantApi
,
saveSign
,
saveClaimsCG
,
saveCG
,
cancelClaims
,
checkClaimsOrderApi
,
checkOrderApi
,
getOrderOherInfo
,
uploadImgApi
,
getGHCountApi
,
getGHPhoneImageApi
,
getGHattachmentApi
,
getGHClaimsDetailApi
,
getGHhistoryListApi
,
checkGHClaimsListApi
,
exportGHClaimsListApi
,
getGHClaimFollowsListApi
,
addGHClaimFollowsListApi
,
getGHClaimsListApi
,
getclaimsList
,
getclaimsCount
,
resubmitOrder
,
commitClaimsOrder
,
getClaimsDetail
,
exportClaimsData
,
checkContractNo
,
getDetailByWOCode
,
getBankList
,
getCityList
,
getAccountInfo
,
getFollowPersonList
,
delFollowPerson
,
addFollowPerson
,
getMerchantSubList
}
src/config/index.js
View file @
8b0c20b
...
...
@@ -21,7 +21,8 @@ export const fetchConfig = function (common) {
// Object.assign(request, { timeout })
// return Promise.resolve(cfg)
// }
return
new
Http
({
Headers
:
{
refererurl
:
location
.
href
},
request
:
{
timeout
:
30000
}
}).
get
(
' https://oss-config.test.glsx.com.cn/mock/618f5cc91072f92988f05a26/services/config'
)
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get(' https://oss-config.test.glsx.com.cn/mock/618f5cc91072f92988f05a26/services/config')
return
new
Http
({
Headers
:
{
refererurl
:
location
.
href
},
request
:
{
timeout
:
30000
}
}).
get
(
'https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=services'
)
//return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
// return common.utils.getConfig(params)
...
...
src/views/beforeSale/editEquity.vue
View file @
8b0c20b
...
...
@@ -46,7 +46,7 @@
<!-- 自选权益 -->
<div
v-if=
"equityRadio == '1'"
class=
"auto_widget"
>
<el-checkbox-group
v-model=
"curSelectPro"
:disabled=
"disabled"
>
<el-checkbox-group
v-model=
"curSelectPro"
:disabled=
"disabled
|| dataSourceDisable
"
>
<div
v-for=
"(item, index) in productList"
:key=
"index"
class=
"product_wrapper"
>
<div
style=
"padding-left: 73px"
>
<!-- <el-checkbox @change="changeCheckBox($event, item)" :disabled="item.disabled" :label="item.packageName"></el-checkbox> -->
...
...
@@ -70,7 +70,7 @@
</div>
<div
class=
"arrt_pannel"
>
<template
v-if=
"attr.attributeType == 'input'"
>
<el-input
class=
"arrt_pannel"
:disabled=
"disabled || attr.disabled || (attr.attributeName == 'compensation_name' && compensationNameDisable)"
@
input=
"getCurChangeInput($event, item, attr, index, attrindex,1)"
v-model=
"productModal[item.idName][attr.attributeName]"
size=
"small"
:maxlength=
"attr.maxLength"
clearable
:placeholder=
"'请输入' + attr.attributeDesc"
></el-input>
<el-input
class=
"arrt_pannel"
:disabled=
"disabled || attr.disabled || (attr.attributeName == 'compensation_name' && compensationNameDisable)"
@
input=
"getCurChangeInput($event, item, attr, index, attrindex,
1)"
v-model=
"productModal[item.idName][attr.attributeName]"
size=
"small"
:maxlength=
"attr.maxLength"
clearable
:placeholder=
"'请输入' + attr.attributeDesc"
></el-input>
</
template
>
<
template
v-if=
"attr.attributeType == 'select'"
>
<el-select
class=
"arrt_pannel"
:disabled=
"disabled || attr.disabled"
size=
"small"
@
change=
"getCurChangeSelect($event, item, attr)"
v-model=
"productModal[item.idName][attr.attributeName]"
clearable
:placeholder=
"'请选择' + attr.attributeDesc"
>
...
...
@@ -112,74 +112,44 @@
<!-- 定制权益 -->
<div
v-if=
"equityRadio == '2'"
class=
"auto_widget"
>
<el-
radio-group
v-model=
"curSelectCustomPro"
:disabled=
"disabled
"
>
<el-
checkbox-group
v-model=
"curSelectCustomPro"
:disabled=
"disabled || dataSourceDisable
"
>
<div
v-for=
"(item, index) in customProductList"
:key=
"index"
class=
"product_wrapper"
>
<div
style=
"padding-left: 73px"
>
<el-radio
@
change=
"changeRaido($event, item)"
:disabled=
"item.disabled"
:label=
"item.packageName"
></el-radio>
<el-checkbox
@
change=
"changeRaido($event, item, index)"
:label=
"item.packageName"
:disabled=
"item.disabled"
>
<div>
{{ item.packageName }}
</div>
</el-checkbox>
<p
class=
"h20_title product_intro"
>
包括服务项目:{{ item.serviceItems }}
</p>
</div>
<div
v-if=
"curSelectCustomPro == item.packageName"
:key=
"indexs"
class=
"child_wrap"
>
<div
class=
"child_wrap_pannel"
v-for=
"(attr, attrindex) in item.groupAttributeList"
:key=
"attrindex"
>
<div
class=
"attr_wrapper flex_sc"
>
<div
class=
"attr_label h13_title"
>
<span
v-if=
"attr.required == 1"
style=
"color: red"
>
*
</span>
{{ attr.attributeDesc }}
</div>
<div
class=
"arrt_pannel"
>
<
template
v-if=
"attr.attributeType == 'input'"
>
<el-input
class=
"arrt_pannel"
:disabled=
"disabled || attr.disabled || (attr.attributeName == 'compensation_name' && compensationNameDisable)"
@
input=
"getCurChangeInput($event, item, attr,index, attrindex,2)"
v-model=
"productModal[item.idName][attr.attributeName]"
size=
"small"
:maxlength=
"attr.maxLength"
clearable
:placeholder=
"'请输入' + attr.attributeDesc"
></el-input>
</
template
>
<
template
v-if=
"attr.attributeType == 'select'"
>
<el-select
class=
"arrt_pannel"
:disabled=
"disabled || attr.disabled"
size=
"small"
@
change=
"getCurChangeSelect($event, item, attr)"
v-model=
"productModal[item.idName][attr.attributeName]"
clearable
:placeholder=
"'请选择' + attr.attributeDesc"
>
<el-option
v-for=
"option in attr.optionList"
:key=
"option.value"
:label=
"option.label"
:value=
"option.value"
></el-option>
</el-select>
</
template
>
<
template
v-if=
"attr.attributeType == 'datePicker'"
>
<el-date-picker
class=
"arrt_pannel"
:picker-options=
"attr.attributeName == 'additional_date' ? pickerOptions2 : pickerOptions"
:disabled=
"disabled || attr.disabled"
@
change=
"getCurChangeDate($event, item, attr)"
v-model=
"productModal[item.idName][attr.attributeName]"
size=
"small"
type=
"date"
:placeholder=
"'请选择' + attr.attributeDesc"
></el-date-picker>
</
template
>
<div
class=
"customer-form"
>
<
template
v-for=
"(ele, indexs) in curSelectCustomPro"
>
<div
v-if=
"ele == item.packageName"
:key=
"indexs"
class=
"child_wrap"
>
<div
class=
"child_wrap_pannel"
v-for=
"(attr, attrindex) in item.groupAttributeList"
:key=
"attrindex"
>
<div
class=
"attr_wrapper flex_sc"
>
<div
class=
"attr_label h13_title"
>
<span
v-if=
"attr.required == 1"
style=
"color: red"
>
*
</span>
{{
attr
.
attributeDesc
}}
</div>
<div
class=
"arrt_pannel"
>
<template
v-if=
"attr.attributeType == 'input'"
>
<el-input
class=
"arrt_pannel"
:disabled=
"disabled || attr.disabled || (attr.attributeName == 'compensation_name' && compensationNameDisable)"
@
input=
"getCurChangeInput($event, item, attr, index, attrindex, 2)"
v-model=
"productModal[item.idName][attr.attributeName]"
size=
"small"
:maxlength=
"attr.maxLength"
clearable
:placeholder=
"'请输入' + attr.attributeDesc"
></el-input>
</
template
>
<
template
v-if=
"attr.attributeType == 'select'"
>
<el-select
class=
"arrt_pannel"
:disabled=
"disabled || attr.disabled"
size=
"small"
@
change=
"getCurChangeSelect($event, item, attr)"
v-model=
"productModal[item.idName][attr.attributeName]"
clearable
:placeholder=
"'请选择' + attr.attributeDesc"
>
<el-option
v-for=
"option in attr.optionList"
:key=
"option.value"
:label=
"option.label"
:value=
"option.value"
></el-option>
</el-select>
</
template
>
<
template
v-if=
"attr.attributeType == 'datePicker'"
>
<el-date-picker
class=
"arrt_pannel"
:picker-options=
"attr.attributeName == 'additional_date' ? pickerOptions2 : pickerOptions"
:disabled=
"disabled || attr.disabled"
@
change=
"getCurChangeDate($event, item, attr)"
v-model=
"productModal[item.idName][attr.attributeName]"
size=
"small"
type=
"date"
:placeholder=
"'请选择' + attr.attributeDesc"
></el-date-picker>
</
template
>
</div>
</div>
</div>
</div>
</
div
>
</
template
>
</div>
</div>
</el-
radio
-group>
</el-
checkbox
-group>
</div>
<!-- <div v-if="equityRadio == '2'" class="auto_widget">
<glsx-combi-form class="edit-form-container" :isEdit="true" defaultWidth="320px" :formObj="editForm" :formData="editFormDataPro">
<template slot="packageCode" slot-scope="scope">
<el-radio-group class="package-code-box" v-model="editForm[scope.scope.name]" :disabled="scope.scope.isDisabled" @change="scope.scope.handleRadioChange">
<el-radio class="package-code" v-for="subItem in scope.scope.optionList" :key="subItem[scope.scope.optionId]" :label="subItem[scope.scope.optionId]">
<span class="package-title">{{ subItem[scope.scope.optionLabel] }}</span>
<div class="radio-add-block" @click.stop.prevent="e => handleCancelBubble(e)">
<p class="package-subtitle">{{ subItem.serviceItems }}</p>
<div v-if="editForm.packageCode == subItem[scope.scope.optionId]">
<glsx-combi-form class="edit-form-container" ref="editFormRefPro" :isEdit="true" defaultWidth="320px" formRef="editChildRefPro" :isBlock="isBlock" :formObj="editFormPro" :formData="subItem.editFormData" :formRules="editRulePro">
<template slot="table" slot-scope="scope">
<table class="table-style">
<tbody>
<tr>
<td v-for="(m, n) in scope.scope.attributeList" :key="n" :style="{ width: 100 / scope.scope.attributeList.length + '%' }">{{ m.attributeDesc }}</td>
</tr>
<tr v-for="(m, n) in scope.scope.tableList" :key="n">
<td v-for="(i, j) in m" :key="j" :style="{ width: 100 / scope.scope.attributeList.length + '%' }">
<el-input :disabled="i.isDisabled" :class="{ 'border-red': !editFormPro[i.name] }" placeholder="请输入" v-model="editFormPro[i.name]" :maxlength="i.maxlength">
<el-popover v-show="!editFormPro[i.name]" slot="suffix" placement="top" title="" width="90" trigger="hover" :content="i.attributeDesc + '是必填项'">
<i class="el-icon-warning color-red" slot="reference"></i>
</el-popover>
</el-input>
</td>
</tr>
</tbody>
</table>
</template>
</glsx-combi-form>
</div>
</div>
</el-radio>
</el-radio-group>
</template>
</glsx-combi-form>
</div> -->
</div>
<!-- 其他信息 -->
...
...
@@ -480,7 +450,7 @@ export default {
// }
// ],
curSelectPro
:
[],
curSelectCustomPro
:
''
,
curSelectCustomPro
:
[]
,
editProductObj
:
{},
productList
:
[],
customProductList
:
[],
...
...
@@ -489,7 +459,6 @@ export default {
crash
:
{},
stolen
:
{},
tire
:
{},
vip
:
{},
glass
:
{}
},
// 其他信息
...
...
@@ -694,7 +663,8 @@ export default {
pickerOptions2
:
{},
hotline
:
''
,
compensationNameDisable
:
false
,
errGlassName
:
''
errGlassName
:
''
,
dataSourceDisable
:
false
}
},
...
...
@@ -848,7 +818,7 @@ export default {
this
.
vaildGlassParams
()
}
else
{
this
.
errGlassName
=
''
if
(
this
.
vailIndex
!=
undefined
)
this
.
$set
(
this
.
productList
[
this
.
vailIndex
],
'disabled'
,
false
)
if
(
this
.
vailIndex
!=
undefined
)
this
.
$set
(
this
.
productList
[
this
.
vailIndex
],
'disabled'
,
false
)
if
(
this
.
vail_sale_price_index
)
this
.
$set
(
this
.
productList
[
this
.
vailIndex
].
groupAttributeList
[
this
.
vail_sale_price_index
],
'disabled'
,
false
)
}
}
else
{
...
...
@@ -857,18 +827,18 @@ export default {
}
},
// 轮胎玻璃提单参数处理
vaildGlassParams
(){
if
(
this
.
equityRadio
==
1
&&
this
.
tempAttributeList
.
length
&&
this
.
packageCodeList
.
length
&&
this
.
errGlassName
)
{
if
(
this
.
packageCodeList
.
indexOf
(
this
.
vailGlassCode
)
!=-
1
)
{
vaildGlassParams
()
{
if
(
this
.
equityRadio
==
1
&&
this
.
tempAttributeList
.
length
&&
this
.
packageCodeList
.
length
&&
this
.
errGlassName
)
{
if
(
this
.
packageCodeList
.
indexOf
(
this
.
vailGlassCode
)
!=
-
1
)
{
let
arr1
=
[]
let
arr2
=
[]
this
.
tempAttributeList
.
forEach
(
ele
=>
{
if
(
ele
.
packageCode
!=
this
.
vailGlassCode
)
{
this
.
tempAttributeList
.
forEach
(
ele
=>
{
if
(
ele
.
packageCode
!=
this
.
vailGlassCode
)
{
arr1
.
push
(
ele
)
}
})
this
.
packageCodeList
.
forEach
(
ele
=>
{
if
(
ele
!=
this
.
vailGlassCode
)
{
this
.
packageCodeList
.
forEach
(
ele
=>
{
if
(
ele
!=
this
.
vailGlassCode
)
{
arr2
.
push
(
ele
)
}
})
...
...
@@ -912,10 +882,12 @@ export default {
},
changeRaido
(
e
,
item
)
{
if
(
e
)
{
this
.
checkCodeList
=
[]
this
.
autoPackageCodeList
=
[]
//
this.checkCodeList = []
//
this.autoPackageCodeList = []
this
.
checkCodeList
.
push
(
item
.
packageCode
)
this
.
autoPackageCodeList
.
push
(
item
.
packageCode
)
this
.
checkCodeList
=
Array
.
from
(
new
Set
(
this
.
checkCodeList
))
this
.
autoPackageCodeList
=
Array
.
from
(
new
Set
(
this
.
autoPackageCodeList
))
for
(
let
key
in
this
.
productModal
[
item
.
idName
])
{
item
.
groupAttributeList
.
forEach
(
attr
=>
{
if
(
attr
.
attributeName
==
key
)
{
...
...
@@ -927,7 +899,17 @@ export default {
attributeGroup
:
'planId'
,
attributeName
:
'planId'
}
this
.
commonPart
(
this
.
productModal
[
'vip'
][
'planId'
],
item
,
customAttr
)
this
.
commonPart
(
this
.
productModal
[
`vip
${
item
.
packageCode
}
`
][
'planId'
],
item
,
customAttr
)
}
else
{
this
.
checkCodeList
=
this
.
checkCodeList
.
filter
(
t
=>
t
!=
item
.
packageCode
)
this
.
autoPackageCodeList
=
this
.
autoPackageCodeList
.
filter
(
t
=>
t
!=
item
.
packageCode
)
for
(
let
key
in
this
.
productModal
[
item
.
idName
])
{
item
.
groupAttributeList
.
forEach
(
attr
=>
{
if
(
attr
.
attributeName
==
key
)
{
this
.
commonPart
(
this
.
productModal
[
item
.
idName
][
key
],
item
,
attr
)
}
})
}
}
},
// 获取店铺信息
...
...
@@ -973,7 +955,7 @@ export default {
this
.
compensationNameDisable
=
false
},
// 自选权益产品套餐处理参数---输入框
getCurChangeInput
(
e
,
pack
,
attr
,
faIndex
,
childIndex
,
radio
)
{
getCurChangeInput
(
e
,
pack
,
attr
,
faIndex
,
childIndex
,
radio
)
{
if
(
!
e
)
{
return
}
...
...
@@ -986,7 +968,7 @@ export default {
}
}
if
(
attr
.
attributeName
==
'card'
)
{
let
_tempArr
=
radio
==
2
?
this
.
customProductList
[
faIndex
]:
this
.
productList
[
faIndex
]
let
_tempArr
=
radio
==
2
?
this
.
customProductList
[
faIndex
]
:
this
.
productList
[
faIndex
]
_tempArr
.
groupAttributeList
.
map
(
el
=>
{
if
(
el
.
attributeName
==
'service_period'
)
{
el
.
disabled
=
true
...
...
@@ -1036,10 +1018,32 @@ export default {
this
.
handleProductArrParam
(
this
.
autoAttriButeList
,
this
.
autoPackageCodeList
)
}
},
objSort
(
obj
)
{
let
newObj
=
{}
//遍历对象,并将key进行排序
Object
.
keys
(
obj
)
.
sort
()
.
map
(
key
=>
{
newObj
[
key
]
=
obj
[
key
]
})
//将排序好的数组转成字符串
return
JSON
.
stringify
(
newObj
)
},
unique
(
arr
)
{
let
set
=
new
Set
()
for
(
let
i
=
0
;
i
<
arr
.
length
;
i
++
)
{
let
str
=
this
.
objSort
(
arr
[
i
])
set
.
add
(
str
)
}
//将数组中的字符串转回对象
arr
=
[...
set
].
map
(
item
=>
{
return
JSON
.
parse
(
item
)
})
return
arr
},
// 处理数据结构对比后台所需的参数
handleProductArrParam
(
arr
,
codearr
)
{
let
newArr
=
[]
let
newArr
=
[]
,
filterList
=
[]
const
codeList
=
Array
.
from
(
new
Set
(
codearr
))
this
.
checkCodeList
=
codeList
let
blackArr
=
[]
...
...
@@ -1047,12 +1051,18 @@ export default {
blackArr
.
push
([])
}
const
newParaArr
=
[]
codeList
.
forEach
((
item
,
index
)
=>
{
let
attrStr
=
`attributes[
${
index
}
].packageCode`
let
obj
=
{
[
attrStr
]:
item
}
newArr
.
push
(
obj
)
if
(
arr
.
length
)
{
filterList
=
this
.
unique
(
arr
)
}
arr
=
filterList
arr
.
forEach
(
el
=>
{
arr
.
forEach
(
els
=>
{
if
(
el
.
packageCode
==
els
.
packageCode
){
if
(
el
.
contractNo
){
els
.
contractNo
=
el
.
contractNo
}
}
})
})
for
(
let
i
=
0
;
i
<
arr
.
length
;
i
++
)
{
for
(
let
j
=
0
;
j
<
codeList
.
length
;
j
++
)
{
...
...
@@ -1068,6 +1078,13 @@ export default {
}
}
blackArr
[
j
].
push
(
obj
)
let
attrStr
=
`attributes[
${
j
}
].packageCode`
let
contractNoStr
=
`attributes[
${
j
}
].contractNo`
let
temp
=
{
[
attrStr
]:
codeList
[
j
],
[
contractNoStr
]:
arr
[
i
].
contractNo
}
newArr
.
push
(
temp
)
}
}
}
...
...
@@ -1079,9 +1096,9 @@ export default {
let
arrt4
=
`attributes[
${
blackArr
[
i
][
j
].
index
}
].attributeDTOList[
${
j
}
].sort`
let
obj
=
{
[
arrt1
]:
blackArr
[
i
][
j
].
value
.
attributeGroup
,
[
arrt2
]:
blackArr
[
i
][
j
].
value
.
attributeName
,
[
arrt2
]:
blackArr
[
i
][
j
].
value
.
attributeName
==
'afterTireScale'
?
'tireScale'
:
blackArr
[
i
][
j
].
value
.
attributeName
,
[
arrt3
]:
this
.
priceFormat
(
blackArr
[
i
][
j
].
value
.
attributeName
,
blackArr
[
i
][
j
].
value
.
attributeValue
),
[
arrt4
]:
blackArr
[
i
][
j
].
value
.
sort
[
arrt4
]:
blackArr
[
i
][
j
].
value
.
attributeName
==
'afterTireScale'
?
1
:
blackArr
[
i
][
j
].
value
.
sort
}
newParaArr
.
push
(
obj
)
}
...
...
@@ -1094,6 +1111,7 @@ export default {
})
// console.log(this.formatProduct, '自选权益')
}
else
{
this
.
autoFormatProduct
=
{}
concactArr
.
forEach
(
item
=>
{
this
.
autoFormatProduct
=
Object
.
assign
(
this
.
autoFormatProduct
,
item
)
})
...
...
@@ -1123,33 +1141,11 @@ export default {
// 获取产品的数据
toGetProductData
(
arr
)
{
arr
.
forEach
(
item
=>
{
// if (item.packageName.includes('整车全损')) {
// item.idName = 'car'
// } else if (item.packageName.includes('轮胎')) {
// item.idName = 'tire'
// } else if (item.packageName.includes('碰撞')) {
// item.idName = 'crash'
// this.productModal[item.idName]['planId'] = item.planId
// this.productModal['vip']['planId'] = item.planId
// this.getCase(item.planId)
// } else if (item.packageName.includes('盗抢')) {
// item.idName = 'stolen'
// } else if (item.packageName.includes('尊享版')) {
// item.idName = 'vip'
// } else if (item.packageName.includes('舒享版')) {
// item.idName = 'vip'
// } else if (item.packageName.includes('优享版')) {
// item.idName = 'vip'
// } else if (item.packageType == 1) {
// item.idName = 'vip'
// } else if (item.packageName.includes('玻璃')) {
// this.vailGlassName = item.packageName // 备用
// this.vailGlassCode = item.packageCode
// item.idName = 'glass'
// }
if
(
item
.
packageType
==
1
)
{
//定制权益
item
.
idName
=
'vip'
item
.
idName
=
`vip
${
item
.
packageCode
}
`
this
.
$set
(
this
.
productModal
,
item
.
idName
,
{})
this
.
productModal
[
item
.
idName
][
'planId'
]
=
item
.
planId
}
else
{
// 自选权益
if
(
item
.
packageName
.
includes
(
'整车全损'
))
{
...
...
@@ -1159,7 +1155,6 @@ export default {
}
else
if
(
item
.
packageName
.
includes
(
'碰撞'
))
{
item
.
idName
=
'crash'
this
.
productModal
[
item
.
idName
][
'planId'
]
=
item
.
planId
this
.
productModal
[
'vip'
][
'planId'
]
=
item
.
planId
this
.
getCase
(
item
.
planId
)
}
else
if
(
item
.
packageName
.
includes
(
'盗抢'
))
{
item
.
idName
=
'stolen'
...
...
@@ -1186,31 +1181,35 @@ export default {
}
e
.
optionList
=
[...
arr
]
this
.
serviceObj
[
item
.
packageCode
]
=
item
.
servicePeriod
this
.
productModal
[
item
.
idName
][
e
.
attributeName
]
=
'1'
// this.productModal[item.idName][e.attributeName] = '1'
this
.
$set
(
this
.
productModal
[
item
.
idName
],
`
${
e
.
attributeName
}
`
,
'1'
)
}
else
if
(
e
.
attributeDesc
==
'购车类型'
)
{
e
.
optionList
=
this
.
baseData
.
buyCarTypeList
this
.
productModal
[
item
.
idName
][
e
.
attributeName
]
=
'0'
}
else
if
((
item
.
idName
==
'tire'
||
item
.
idName
==
'crash'
||
item
.
idName
==
'vip'
||
item
.
idName
==
'glass'
)
&&
e
.
attributeDesc
==
'服务期限'
)
{
// this.productModal[item.idName][e.attributeName] = '0'
this
.
$set
(
this
.
productModal
[
item
.
idName
],
`
${
e
.
attributeName
}
`
,
'0'
)
}
else
if
((
item
.
idName
==
'tire'
||
item
.
idName
==
'crash'
||
item
.
idName
==
`vip
${
item
.
packageCode
}
`
||
item
.
idName
==
'glass'
)
&&
e
.
attributeDesc
==
'服务期限'
)
{
if
(
item
.
idName
==
'tire'
||
item
.
idName
==
'crash'
)
{
e
.
optionList
=
this
.
baseData
.
servicePeriodList
}
else
{
e
.
optionList
=
this
.
baseData
.
servicePeriodList2
}
// this.productModal[item.idName][e.attributeName] = '1'
e
.
disabled
=
true
// v3.1.2--新版的定制权益-服务期限--改为1,2,3年---旧版的依然是一年
let
isOld
=
item
.
packageName
.
includes
(
'尊享版'
)
||
item
.
packageName
.
includes
(
'舒享版'
)
||
item
.
packageName
.
includes
(
'优享版'
)
if
(
item
.
idName
==
'vip'
&&
!
isOld
)
{
e
.
disabled
=
false
e
.
optionList
=
this
.
baseData
.
servicePeriodList
// v3.1.2--新版的定制权益-服务期限--改为1,2,3年---旧版的依然是一年
let
isOld
=
item
.
packageName
.
includes
(
'尊享版'
)
||
item
.
packageName
.
includes
(
'舒享版'
)
||
item
.
packageName
.
includes
(
'优享版'
)
if
(
item
.
idName
==
`vip
${
item
.
packageCode
}
`
&&
!
isOld
)
{
e
.
disabled
=
false
e
.
optionList
=
this
.
baseData
.
servicePeriodList
}
this
.
productModal
[
item
.
idName
][
e
.
attributeName
]
=
'1'
// this.productModal[item.idName][e.attributeName] = '1'
this
.
$set
(
this
.
productModal
[
item
.
idName
],
`
${
e
.
attributeName
}
`
,
'1'
)
}
else
if
(
e
.
attributeDesc
==
'生效日期'
)
{
let
nextDay
=
new
Date
().
getTime
()
+
24
*
60
*
60
*
1000
this
.
productModal
[
item
.
idName
][
e
.
attributeName
]
=
utils
.
dateFormat
(
nextDay
)
if
(
item
.
idName
==
'glass'
)
{
// this.productModal[item.idName][e.attributeName] = utils.dateFormat(nextDay)
this
.
$set
(
this
.
productModal
[
item
.
idName
],
`
${
e
.
attributeName
}
`
,
utils
.
dateFormat
(
nextDay
))
if
(
item
.
idName
==
'glass'
)
{
let
tAdd2
=
new
Date
().
getTime
()
+
24
*
60
*
60
*
1000
*
2
this
.
productModal
[
item
.
idName
][
e
.
attributeName
]
=
utils
.
dateFormat
(
tAdd2
)
// this.productModal[item.idName][e.attributeName] = utils.dateFormat(tAdd2)
this
.
$set
(
this
.
productModal
[
item
.
idName
],
`
${
e
.
attributeName
}
`
,
utils
.
dateFormat
(
tAdd2
))
e
.
disabled
=
true
}
}
...
...
@@ -1271,7 +1270,7 @@ export default {
})
},
getInfo
(
productArrData
)
{
this
.
$apis
.
beforeSale
.
getEquityApi
({
contractNo
:
this
.
routeInfo
.
contractNo
}).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
getEquityApi
({
contractNo
:
this
.
routeInfo
.
contractNo
,
repeatedFlag
:
this
.
routeInfo
.
addOrEdit
==
4
?
1
:
0
}).
then
(
res
=>
{
this
.
editForm
=
{
...
res
}
...
...
@@ -1312,6 +1311,7 @@ export default {
if
([
2
,
4
].
includes
(
this
.
routeInfo
.
addOrEdit
))
{
this
.
editForm
.
effectiveDate
=
new
Date
(
new
Date
().
setDate
(
new
Date
().
getDate
()
+
1
))
}
this
.
dataSourceDisable
=
res
.
dataSource
==
'car'
this
.
editForm
.
packageCode
&&
this
.
packageAttr
(
true
,
productArrData
,
res
)
const
spaItem
=
this
.
baseData
.
agreeList
.
find
(
item
=>
item
.
id
==
this
.
editForm
.
specialAppointId
)
if
(
spaItem
)
{
...
...
@@ -1341,93 +1341,132 @@ export default {
}
},
packageAttr
(
recovery
=
false
,
productArrData
,
detailInfo
)
{
var
targetItem
=
productArrData
.
find
(
item
=>
item
.
packageCode
==
this
.
editForm
.
packageCode
)
if
(
targetItem
.
packageType
==
1
)
{
this
.
equityRadio
=
2
this
.
curSelectCustomPro
=
targetItem
.
packageName
this
.
editForm
.
attributeList
.
forEach
(
item
=>
{
if
(
item
.
attributeName
.
includes
(
'price'
))
{
item
.
attributeValue
=
item
.
attributeValue
/
100
}
if
(
item
.
attributeName
==
'buy_car_type'
&&
item
.
attributeValue
==
1
)
{
this
.
compensationNameDisable
=
true
// 2023 7月底版本 改版
let
attrList
=
[],
packCode
=
[]
detailInfo
.
attributes
.
forEach
(
item
=>
{
let
targetItem
=
productArrData
.
find
(
k
=>
k
.
packageCode
==
item
.
packageCode
)
const
defalutAttr
=
this
.
handleDefaultValue
(
targetItem
,
item
.
attributeDTOList
)
if
(
defalutAttr
.
length
)
{
item
.
attributeDTOList
=
[...
item
.
attributeDTOList
,
...
defalutAttr
]
}
if
(
targetItem
.
packageType
==
1
)
{
this
.
equityRadio
=
2
this
.
curSelectCustomPro
.
push
(
targetItem
.
packageName
)
this
.
curSelectCustomPro
=
Array
.
from
(
new
Set
(
this
.
curSelectCustomPro
))
item
.
attributeDTOList
.
forEach
(
a
=>
{
if
(
a
.
attributeName
.
includes
(
'price'
))
{
a
.
attributeValue
=
a
.
attributeValue
/
100
}
if
(
a
.
attributeName
==
'tireScale'
&&
a
.
sort
==
1
)
{
a
.
attributeName
=
'afterTireScale'
}
if
(
a
.
attributeName
==
'buy_car_type'
&&
a
.
attributeValue
==
1
)
{
this
.
compensationNameDisable
=
true
}
this
.
productModal
[
`vip
${
item
.
packageCode
}
`
][
a
.
attributeName
]
=
a
.
attributeValue
})
if
(
this
.
routeInfo
.
addOrEdit
==
3
||
this
.
routeInfo
.
addOrEdit
==
4
)
{
this
.
leftDisable
=
true
this
.
customProductList
.
map
(
c
=>
{
c
.
disabled
=
true
c
.
groupAttributeList
.
map
(
ele
=>
{
if
(
ele
.
attributeName
==
'service_period'
&&
(
this
.
routeInfo
.
addOrEdit
>
2
))
{
ele
.
disabled
=
true
}
if
(
ele
.
attributeName
==
'card'
)
{
ele
.
disabled
=
true
}
if
(
ele
.
attributeName
==
'effective_date'
&&
this
.
routeInfo
.
addOrEdit
==
3
)
{
ele
.
disabled
=
true
}
})
return
c
})
}
this
.
productModal
.
vip
[
item
.
attributeName
]
=
item
.
attributeValue
})
if
(
this
.
routeInfo
.
addOrEdit
==
3
)
{
this
.
leftDisable
=
true
this
.
customProductList
.
map
(
item
=>
{
item
.
disabled
=
true
item
.
groupAttributeList
.
map
(
ele
=>
{
if
(
ele
.
attributeName
==
'service_period'
)
{
ele
.
disabled
=
true
}
if
(
ele
.
attributeName
==
'card'
)
{
ele
.
disabled
=
true
}
if
(
ele
.
attributeName
==
'effective_date'
)
{
ele
.
disabled
=
true
}
if
(
this
.
routeInfo
.
addOrEdit
==
2
)
{
this
.
customProductList
.
map
(
c
=>
{
c
.
disabled
=
true
c
.
groupAttributeList
.
map
(
ele
=>
{
if
(
ele
.
attributeName
==
'service_period'
&&
this
.
dataSourceDisable
)
{
ele
.
disabled
=
true
this
.
leftDisable
=
true
}
})
return
c
})
return
item
})
}
}
else
{
this
.
equityRadio
=
1
this
.
curSelectPro
=
[
targetItem
.
packageName
]
this
.
editForm
.
attributeList
.
forEach
(
item
=>
{
if
(
item
.
attributeName
.
includes
(
'price'
))
{
item
.
attributeValue
=
item
.
attributeValue
/
100
}
else
if
(
item
.
attributeName
==
'planId'
)
{
this
.
getCase
(
parseInt
(
item
.
attributeValue
))
}
if
(
item
.
attributeName
==
'buy_car_type'
&&
item
.
attributeValue
==
1
)
{
this
.
compensationNameDisable
=
true
}
else
{
this
.
equityRadio
=
1
this
.
curSelectPro
.
push
(
targetItem
.
packageName
)
this
.
curSelectPro
=
Array
.
from
(
new
Set
(
this
.
curSelectPro
))
item
.
attributeDTOList
.
forEach
(
b
=>
{
if
(
b
.
attributeName
.
includes
(
'price'
))
{
b
.
attributeValue
=
b
.
attributeValue
/
100
}
else
if
(
b
.
attributeName
==
'planId'
)
{
this
.
getCase
(
parseInt
(
b
.
attributeValue
))
}
if
(
b
.
attributeName
==
'tireScale'
&&
b
.
sort
==
1
)
{
b
.
attributeName
=
'afterTireScale'
}
if
(
b
.
attributeName
==
'buy_car_type'
&&
b
.
attributeValue
==
1
)
{
this
.
compensationNameDisable
=
true
}
this
.
productModal
[
targetItem
.
idName
][
b
.
attributeName
]
=
b
.
attributeValue
})
if
(
this
.
routeInfo
.
addOrEdit
==
3
||
this
.
routeInfo
.
addOrEdit
==
4
)
{
this
.
rightDisable
=
true
this
.
productList
.
map
(
d
=>
{
d
.
disabled
=
true
d
.
groupAttributeList
.
map
(
elee
=>
{
if
(
elee
.
attributeName
==
'service_period'
&&
(
this
.
routeInfo
.
addOrEdit
>
2
))
{
elee
.
disabled
=
true
}
if
(
elee
.
attributeName
==
'card'
)
{
elee
.
disabled
=
true
}
if
(
elee
.
attributeName
==
'effective_date'
&&
this
.
routeInfo
.
addOrEdit
==
3
)
{
elee
.
disabled
=
true
}
if
(
elee
.
attributeName
==
'buy_car_type'
&&
elee
.
attributeValue
==
1
)
{
elee
.
disabled
=
true
}
})
return
d
})
}
this
.
productModal
[
targetItem
.
idName
][
item
.
attributeName
]
=
item
.
attributeValue
})
if
(
this
.
routeInfo
.
addOrEdit
==
3
)
{
this
.
rightDisable
=
true
this
.
productList
.
map
(
item
=>
{
item
.
disabled
=
true
item
.
groupAttributeList
.
map
(
ele
=>
{
if
(
ele
.
attributeName
==
'service_period'
)
{
ele
.
disabled
=
true
}
if
(
ele
.
attributeName
==
'card'
)
{
ele
.
disabled
=
true
}
if
(
ele
.
attributeName
==
'effective_date'
)
{
ele
.
disabled
=
true
}
if
(
ele
.
attributeName
==
'buy_car_type'
&&
ele
.
attributeValue
==
1
)
{
ele
.
disabled
=
true
}
if
(
this
.
routeInfo
.
addOrEdit
==
2
)
{
this
.
productList
.
map
(
c
=>
{
c
.
disabled
=
true
c
.
groupAttributeList
.
map
(
ele
=>
{
if
(
ele
.
attributeName
==
'service_period'
&&
this
.
dataSourceDisable
)
{
ele
.
disabled
=
true
this
.
rightDisable
=
true
}
})
return
c
})
}
}
return
item
packCode
.
push
(
item
.
packageCode
)
item
.
attributeDTOList
.
forEach
(
el
=>
{
attrList
.
push
({
...
el
,
packageCode
:
item
.
packageCode
,
contractNo
:
item
.
contractNo
})
}
}
// this.packageToPrice()
// var tempObj = this.$common.utils.deepClone(this.editFormPro)
let
attrList
=
[]
detailInfo
.
attributeList
.
forEach
(
item
=>
{
attrList
.
push
({
...
item
,
packageCode
:
detailInfo
.
packageCode
})
})
if
(
this
.
equityRadio
==
1
)
{
this
.
tempAttributeList
=
attrList
this
.
packageCodeList
=
[
detailInfo
.
packageCode
]
this
.
packageCodeList
=
packCode
}
else
{
this
.
autoAttriButeList
=
attrList
this
.
autoPackageCodeList
=
[
detailInfo
.
packageCode
]
this
.
autoPackageCodeList
=
packCode
}
this
.
checkCodeList
=
[
detailInfo
.
packageCode
]
this
.
handleProductArrParam
(
attrList
,
[
detailInfo
.
packageCode
]
)
this
.
checkCodeList
=
packCode
this
.
handleProductArrParam
(
attrList
,
packCode
)
// this.editRulePro = {}
// this.editFormPro = {}
// var attrName = ''
...
...
@@ -1470,6 +1509,34 @@ export default {
this
.
$set
(
this
.
editFormPro
,
hashObj
[
item
.
attributeName
]
!=
1
?
item
.
attributeName
+
item
.
sort
:
item
.
attributeName
,
item
.
attributeValue
)
})
},
// 处理默认值赋值
handleDefaultValue
(
targetItem
,
attributeDTOList
)
{
const
currentPackageValue
=
this
.
productModal
[
targetItem
.
idName
]
const
groupAttributeList
=
targetItem
.
groupAttributeList
let
tempArr
=
[],
result
=
[]
for
(
let
key
in
currentPackageValue
)
{
for
(
let
i
=
0
;
i
<
groupAttributeList
.
length
;
i
++
)
{
if
(
key
===
groupAttributeList
[
i
].
attributeName
)
{
let
obj
=
{
attributeGroup
:
key
,
attributeName
:
key
,
attributeValue
:
currentPackageValue
[
key
],
sort
:
0
}
tempArr
.
push
(
obj
)
}
}
}
tempArr
.
forEach
(
el
=>
{
attributeDTOList
.
forEach
(
item
=>
{
if
(
item
.
attributeName
!==
el
.
attributeName
)
{
result
.
push
(
el
)
}
})
})
return
result
},
autoGenerate
(
arr1
,
arr2
)
{
const
tempList
=
arr1
.
concat
(
arr2
)
if
(
this
.
reset
)
{
...
...
@@ -1688,6 +1755,7 @@ export default {
}
this
.
submit
=
true
var
params
=
this
.
getParams
()
delete
params
.
attributes
params
.
operationType
=
0
if
(
this
.
routeInfo
.
addOrEdit
==
'2'
)
{
params
.
contractNo
=
this
.
routeInfo
.
contractNo
...
...
@@ -1705,6 +1773,10 @@ export default {
delete
params
.
sn
}
params
.
isOss
=
1
params
.
dataSource
=
this
.
editForm
.
dataSource
||
''
setTimeout
(()
=>
{
this
.
submit
=
false
},
3000
)
this
.
$apis
.
beforeSale
.
updateEquityApi
(
params
).
then
(
res
=>
{
this
.
submit
=
false
...
...
@@ -1776,6 +1848,7 @@ export default {
return
true
}
var
params
=
this
.
getParams
()
delete
params
.
attributes
params
.
operationType
=
1
if
([
2
,
3
,
4
].
includes
(
this
.
routeInfo
.
addOrEdit
))
{
if
(
this
.
routeInfo
.
addOrEdit
==
4
&&
this
.
editForm
.
orderStatus
!=
3
)
{
...
...
@@ -1841,13 +1914,12 @@ export default {
this
.
autoFormatProduct
=
{}
this
.
equityRadio
=
1
this
.
curSelectPro
=
[]
this
.
curSelectCustomPro
=
''
this
.
curSelectCustomPro
=
[]
this
.
productModal
=
{
car
:
{},
crash
:
{},
stolen
:
{},
tire
:
{},
vip
:
{},
glass
:
{}
}
this
.
customProductList
=
[]
...
...
src/views/claims/components/check/index.vue
View file @
8b0c20b
...
...
@@ -53,7 +53,7 @@
<!-- 案件补充说明 -->
<div>
<explanation
:isDisabled=
"isDisabled"
:supplementList=
"repotData.supplementList1"
></explanation>
<explanation
:isDisabled=
"isDisabled"
:supplementList=
"repotData.supplementList1"
:operatorName=
"repotData.updatedBy"
:id=
"repotData.id"
></explanation>
</div>
<!-- 其他信息 -->
...
...
src/views/claims/components/checkClaims/index.vue
View file @
8b0c20b
...
...
@@ -87,7 +87,7 @@
</div>
</div>
<div>
<explanation
:supplementList=
"repotData.supplementList2"
></explanation>
<explanation
:supplementList=
"repotData.supplementList2"
:operatorName=
"repotData.updatedBy"
:id=
"repotData.id"
></explanation>
</div>
</div>
</template>
...
...
src/views/claims/components/explanation.vue
View file @
8b0c20b
...
...
@@ -2,25 +2,73 @@
<div>
<Card
title=
"案件补充说明"
>
<div
class=
"explanation"
>
<div
class=
"explanation-list"
v-for=
"(item, idx) in supplementList"
:key=
"idx"
>
<label
class=
"label"
for=
""
>
{{
`说明${idx + 1
}
:`
}}
<
/label
>
<
el
-
input
:
disabled
=
"isCheck || isDisabled"
:
placeholder
=
"
`请输入说明${idx + 1
}
`" v-model="
item
.
content
" maxlength="
200
" type="
textarea
" :rows="
3
"></el-input>
<i class="
el
-
icon
-
delete
del
" v-if="
!
isCheck
&&
supplementList
.
length
>
1
" @click="
handleDel
(
idx
)
"></i>
<div
class=
"explanation-item"
v-for=
"(item, idx) in supplementListTemp"
:key=
"idx"
>
<div
class=
"explanation-list"
>
<label
class=
"label"
for=
""
>
{{
`说明${idx + 1
}
:`
}}
<
/label
>
<
el
-
input
:
disabled
=
"isCheck || isDisabled || item.operation == 1"
:
placeholder
=
"
`请输入说明${idx + 1
}
`" v-model="
item
.
content
" maxlength="
200
" type="
textarea
" :rows="
3
"></el-input>
<i class="
el
-
icon
-
delete
del
" v-if="
!
isCheck
&&
supplementListTemp
.
length
>
1
&&
item
.
operation
!=
1
" @click="
handleDel
(
idx
)
"></i>
<div class="
follow
-
list
" @click="
showFollow
">跟进记录</div>
</div>
<div class="
operator
"
>
<
div
>
操作人:
{{
item
.
operationUser
?
item
.
operationUser
:
'--'
}}
<
/div
>
<
div
>
操作时间:
{{
item
.
operationTime
?
item
.
operationTime
:
'--'
}}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<div v-if="
!
isCheck
&&!
isDisabled
" class="
add
-
explanation
" @click="
addExplanation
">
<
div
v
-
if
=
"!isCheck &&
!isDisabled"
class
=
"add-explanation"
@
click
=
"addExplanation"
>
<
i
class
=
"el-icon-circle-plus-outline"
><
/i
>
<
span
>
新增说明
<
/span
>
<
/div
>
<
/Card
>
<!--
跟进记录
-->
<
GLDialog
:
title
=
"followDialogTitle"
mode
=
"mid"
:
close
-
on
-
press
-
escape
=
"false"
:
close
-
on
-
click
-
modal
=
"false"
:
visible
.
sync
=
"followDialog"
bef
:
okText
=
"followOkText"
@
onOk
=
"toAddFollw"
@
onCancel
=
"closeFollow"
>
<
template
v
-
if
=
"!followEditStatus"
>
<
div
class
=
"wrap_time_line"
>
<
templatece
v
-
if
=
"!followResult"
>
<
el
-
timeline
reverse
=
"true"
>
<
el
-
timeline
-
item
:
class
=
"
[{
spec
:
!
index
}
]
" v-for="
(
item
,
index
)
in
followListData
" :key="
index
" :timestamp="
item
.
createdDate
"
>
{{
item
.
content
}}
<
/el-timeline-item
>
<
/el-timeline
>
<
/templatece
>
<
template
v
-
else
>
<
div
style
=
"margin-top: 60px; text-align: center"
>
暂无跟进记录
<
/div
>
<
/template
>
<
/div
>
<
/template
>
<
template
v
-
if
=
"followEditStatus"
>
<
div
class
=
"wrap_time_line"
>
<
div
class
=
"col"
>
<
div
class
=
"label"
>
<
span
style
=
"color: #eb4e4e"
>*<
/span
>
<
span
>
具体描述:
<
/span
>
<
/div
>
<
div
class
=
"fill"
>
<
el
-
input
maxlength
=
"200"
style
=
"width: 432px"
type
=
"textarea"
:
rows
=
"3"
placeholder
=
"请输入"
v
-
model
=
"followContent"
><
/el-input
>
<
/div
>
<
/div
>
<
/div
>
<
/template
>
<
/GLDialog
>
<
/div
>
<
/template
>
<
script
type
=
"text/ecmascript-6"
>
import
Card
from
'./card.vue'
import
*
as
dayjs
from
'dayjs'
export
default
{
name
:
'explanation'
,
data
()
{
return
{
}
return
{
followDialog
:
false
,
followListData
:
[],
followDialogTitle
:
'跟进记录'
,
followOkText
:
'新增'
,
followEditStatus
:
false
,
followContent
:
''
,
followResult
:
false
,
curentFollowInfo
:
''
,
supplementListTemp
:[{
content
:
''
}
]
}
}
,
components
:
{
Card
...
...
@@ -34,29 +82,105 @@ export default {
}
,
isCheck
:
Boolean
,
isDisabled
:
Boolean
,
operatorName
:
String
,
id
:
Number
}
,
mounted
()
{
}
,
watch
:{
supplementList
(
val
){
this
.
supplementListTemp
=
val
val
.
forEach
(
item
=>
{
item
.
operationTime
=
dayjs
(
item
.
operationTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}
)
}
}
,
mounted
()
{
}
,
methods
:
{
showFollow
()
{
this
.
followDialog
=
true
this
.
curentFollowInfo
=
{
id
:
this
.
id
,
operatorName
:
this
.
operatorName
}
this
.
followListData
=
[]
this
.
getFollowList
(
this
.
curentFollowInfo
)
}
,
closeFollow
()
{
if
(
this
.
followEditStatus
)
{
// 切换
this
.
followDialogTitle
=
'跟进记录'
this
.
followEditStatus
=
false
this
.
followOkText
=
'新增'
}
else
{
// 关闭弹窗
this
.
followDialog
=
false
this
.
curentFollowInfo
=
null
this
.
followOkText
=
'新增'
}
}
,
toAddFollw
()
{
if
(
!
this
.
followEditStatus
)
{
// 切换新增
this
.
followDialogTitle
=
'新增记录'
this
.
followOkText
=
'提交'
this
.
followEditStatus
=
true
}
else
{
// 切换查看
this
.
followDialogTitle
=
'跟进记录'
this
.
followOkText
=
'新增'
this
.
followEditStatus
=
false
this
.
createFollow
()
}
}
,
createFollow
()
{
let
para
=
{
claimsId
:
this
.
curentFollowInfo
.
id
,
content
:
this
.
followContent
,
createdBy
:
this
.
curentFollowInfo
.
operatorName
}
this
.
$apis
.
claims
.
addGHClaimFollowsListApi
(
para
).
then
(
res
=>
{
this
.
followDialogTitle
=
'跟进记录'
this
.
followOkText
=
'新增'
this
.
followEditStatus
=
false
this
.
getFollowList
(
this
.
curentFollowInfo
)
this
.
$message
({
message
:
'新增成功'
,
type
:
'success'
}
)
}
)
}
,
getFollowList
(
row
)
{
this
.
$apis
.
claims
.
getGHClaimFollowsListApi
({
claimsId
:
row
.
id
}
).
then
(
res
=>
{
res
.
forEach
(
el
=>
{
el
.
createdDate
=
dayjs
(
el
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}
)
this
.
followListData
=
res
||
[]
this
.
followResult
=
res
.
length
?
false
:
true
}
)
}
,
handleDel
(
idx
)
{
this
.
$delete
(
this
.
supplementList
,
idx
)
this
.
$delete
(
this
.
supplementList
Temp
,
idx
)
}
,
addExplanation
()
{
const
idx
=
this
.
supplementList
.
length
const
newObj
=
{
claimsId
:
this
.
supplementList
[
idx
-
1
].
claimsId
,
content
:
''
}
this
.
$set
(
this
.
supplementList
,
idx
,
newObj
)
const
idx
=
this
.
supplementList
Temp
.
length
const
newObj
=
{
claimsId
:
this
.
supplementList
Temp
[
idx
-
1
].
claimsId
,
content
:
''
}
this
.
$set
(
this
.
supplementList
Temp
,
idx
,
newObj
)
}
}
}
<
/script
>
<
style
lang
=
"scss"
scoped
>
.
explanation
{
.
explanation
-
list
{
display
:
flex
;
// align-items: center;
.
explanation
-
item
{
margin
-
bottom
:
20
px
;
&
:
last
-
child
{
margin
-
bottom
:
10
px
;
}
}
.
explanation
-
list
{
position
:
relative
;
display
:
flex
;
/deep/
.
el
-
textarea
{
width
:
580
px
;
}
...
...
@@ -80,7 +204,7 @@ export default {
}
.
add
-
explanation
{
color
:
#
5850
FF
;
color
:
#
5850
ff
;
display
:
flex
;
align
-
items
:
center
;
margin
-
left
:
154
px
;
...
...
@@ -93,4 +217,22 @@ export default {
font
-
size
:
12
px
;
}
}
.
operator
{
font
-
size
:
12
px
;
color
:
#
666666
;
display
:
flex
;
justify
-
content
:
space
-
between
;
margin
-
left
:
154
px
;
width
:
580
px
;
margin
-
top
:
4
px
;
margin
-
bottom
:
20
px
;
}
.
follow
-
list
{
font
-
size
:
14
px
;
color
:
#
5850
ff
;
bottom
:
0
;
position
:
absolute
;
left
:
742
px
;
cursor
:
pointer
;
}
<
/style
>
src/views/claims/components/followPop/index.vue
0 → 100644
View file @
8b0c20b
<
template
>
<GLDialog
:destroy-on-close=
"isdestroy"
:close-on-click-modal=
"false"
title=
"跟进人配置"
mode=
"mid"
:visible
.
sync=
"isFollowSync"
:before-close=
"handleCancel"
>
<GLTable
:hasPage=
"false"
:hasNum=
"true"
:tableData=
"followListData"
:tableParams=
"followTableParams"
>
<div
slot=
"followName"
slot-scope=
"scope"
>
<el-form
v-if=
"scope.scope.followName == ''"
>
<el-form-item
style=
"margin-bottom: 0px"
>
<el-input
v-model=
"followName"
placeholder=
"请输入"
maxlength=
"5"
></el-input>
</el-form-item>
</el-form>
<span
v-else
>
{{
scope
.
scope
.
followName
}}
</span>
</div>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"handleDelete(scope.scope, scope.index)"
>
删除
</el-button>
</div>
</GLTable>
<div
class=
"add-wrap"
@
click=
"addLine"
>
<i
class=
"el-icon-circle-plus-outline add-icon"
></i>
添加
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleSave"
>
确定
</el-button>
</span>
</GLDialog>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
isdestroy
:
true
,
followListData
:
[],
followName
:
''
,
followTableParams
:
{
listName
:
'list'
,
tableOption
:
false
,
tableColumns
:
[
{
label
:
'跟进人'
,
prop
:
'followName'
,
addHtml
:
'followName'
},
{
label
:
'操作'
,
prop
:
''
,
width
:
80
,
fixed
:
'right'
,
addHtml
:
'table-btns'
}
]
}
}
},
props
:
{
isFollowSync
:
{
type
:
Boolean
,
default
:
false
}
},
created
()
{
this
.
getFollowPersonList
()
},
methods
:
{
getFollowPersonList
()
{
this
.
$apis
.
claims
.
getFollowPersonList
({
pageSize
:
10000
,
pageNum
:
1
})
.
then
(
res
=>
{
this
.
followListData
=
res
.
list
})
},
addLine
()
{
if
(
this
.
followListData
.
length
>
0
&&
this
.
followListData
[
this
.
followListData
.
length
-
1
].
followName
==
''
)
{
return
}
this
.
followName
=
''
this
.
followListData
.
push
({
followName
:
''
})
},
handleSave
()
{
if
(
this
.
followListData
[
this
.
followListData
.
length
-
1
].
followName
==
''
&&
this
.
followName
==
''
)
{
this
.
$message
({
type
:
'error'
,
message
:
'请输入跟进人'
})
return
}
if
(
this
.
followName
)
{
this
.
$apis
.
claims
.
addFollowPerson
({
followName
:
this
.
followName
}).
then
(
res
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'添加成功!'
})
})
}
this
.
$emit
(
'handleClose'
)
},
handleCancel
()
{
// this.isFollowSync = false
this
.
$emit
(
'handleClose'
)
},
handleCalculate
()
{},
//删除
handleDelete
(
data
,
index
)
{
if
(
data
.
id
)
{
this
.
$confirm
(
'确定要删除吗, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
})
.
then
(()
=>
{
if
(
data
.
id
)
{
this
.
$apis
.
claims
.
delFollowPerson
({
id
:
data
.
id
}).
then
(
res
=>
{})
this
.
followListData
.
splice
(
index
,
1
)
}
})
.
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消删除'
})
})
}
else
{
this
.
followListData
.
splice
(
index
,
1
)
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.add-wrap
{
display
:
flex
;
align-items
:
center
;
font-size
:
12px
;
color
:
#5850ff
;
margin-top
:
10px
;
cursor
:
pointer
;
.add-icon
{
margin-right
:
6px
;
font-size
:
20px
;
color
:
#5850ff
;
}
}
</
style
>
src/views/claims/components/uploadMaterial.vue
View file @
8b0c20b
...
...
@@ -32,7 +32,7 @@
<div
class=
""
>
{{
img
.
secondClassifyName
}}
</div>
</div>
<div
class=
"img_pannel flex_cc"
:class=
"[
{ errBorder: img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0 }]">
<el-image
:preview-src-list=
"
[img.attachmentList[0].attachmentFile]
"
v-if=
"img.attachmentList.length && img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<el-image
:preview-src-list=
"
srcList
"
v-if=
"img.attachmentList.length && img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<img
v-else
:src=
"cameraUrl"
style=
"width: 40px; height: 40px"
/>
<!--
<div
v-if=
"img.attachmentList.length&&img.attachmentList[0].auditStatus == 0"
class=
"errMsg flex_cc"
>
{{
img
.
attachmentList
[
0
].
reasonForFailure
}}
</div>
-->
<div
v-if=
"img.attachmentList.length && img.attachmentList[0].auditStatus == 0"
class=
"errMsg flex_cc"
>
...
...
@@ -61,7 +61,7 @@
<div
class=
""
>
{{ img.secondClassifyName }}
</div>
</div>
<div
class=
"img_pannel flex_cc"
:class=
"[{ errBorder: img.attachmentList.length && img.attachmentList[0].auditStatus == 0 }]"
>
<el-image
:preview-src-list=
"
[img.attachmentList[0].attachmentFile]
"
v-if=
"img.attachmentList.length && img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<el-image
:preview-src-list=
"
srcList
"
v-if=
"img.attachmentList.length && img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<img
v-else
:src=
"cameraUrl"
style=
"width: 40px; height: 40px"
/>
<!-- <div v-if="img.attachmentList.length&&img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div> -->
<div
v-if=
"img.attachmentList.length && img.attachmentList[0].auditStatus == 0"
class=
"errMsg flex_cc"
>
...
...
@@ -88,7 +88,7 @@
<span>
图片{{ i + 1 }}
</span>
</div>
<div
class=
"img_pannel flex_cc"
:class=
"[{ errBorder: img.auditStatus == 0 }]"
>
<el-image
:preview-src-list=
"
[img.attachmentFile]
"
v-if=
"img.attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentFile"
:fit=
"fit"
></el-image>
<el-image
:preview-src-list=
"
srcList
"
v-if=
"img.attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentFile"
:fit=
"fit"
></el-image>
<img
v-else
:src=
"cameraUrl"
style=
"width: 40px; height: 40px"
/>
<!-- <div v-if="img.auditStatus == 0" class="errMsg flex_cc">{{ img.reasonForFailure }}</div> -->
<div
v-if=
"img.auditStatus == 0"
class=
"errMsg flex_cc"
>
...
...
@@ -161,7 +161,9 @@ export default {
}
],
currentServicesIndex
:
0
,
otherUploadIndex
:
null
otherUploadIndex
:
null
,
srcList
:[]
}
},
components
:
{
...
...
@@ -176,7 +178,20 @@ export default {
isClaims
:
Boolean
},
mounted
()
{},
watch
:{
insuranceAttachmentConfigs
(
val
){
this
.
getImgList
(
val
[
0
])
}
},
methods
:
{
getImgList
(
data
){
this
.
srcList
=
[]
data
.
secondClassifyList
.
forEach
(
item
=>
{
item
.
attachmentList
.
forEach
(
img
=>
{
this
.
srcList
.
push
(
img
.
attachmentFile
)
})
})
},
toMutiCheck
()
{
this
.
insuranceAttachmentConfigs
.
forEach
((
item
,
index
)
=>
{
item
.
secondClassifyList
.
forEach
(
child
=>
{
...
...
@@ -192,6 +207,7 @@ export default {
changeTabs
(
e
)
{
this
.
activeName
=
e
.
index
.
toString
()
this
.
currentIndx
=
e
.
index
this
.
getImgList
(
this
.
insuranceAttachmentConfigs
[
this
.
currentIndx
])
},
handleReview
()
{
this
.
$refs
.
fastReviewDialog
.
initDialog
()
...
...
src/views/claims/components/watch/index.vue
View file @
8b0c20b
...
...
@@ -94,7 +94,7 @@
<div
class=
""
>
{{
img
.
secondClassifyName
}}
</div>
</div>
<div
class=
"img_pannel flex_cc"
:class=
"[
{ errBorder: img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0 }]">
<el-image
:preview-src-list=
"
[img.attachmentList[0].attachmentFile]
"
v-if=
"img.attachmentList.length && img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<el-image
:preview-src-list=
"
srcList
"
v-if=
"img.attachmentList.length && img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<el-image
v-else
style=
"width: 216px; height: 135px; border-radius: 4px"
:preview-src-list=
"[img.exampleUrl]"
:src=
"img.exampleUrl"
:fit=
"fit"
></el-image>
<!--
<img
v-else
:src=
"cameraUrl"
style=
"width: 40px; height: 40px"
/>
-->
<div
v-if=
"img.attachmentList.length && img.attachmentList[0].auditStatus == 0"
class=
"errMsg flex_cc"
>
{{
img
.
attachmentList
[
0
].
reasonForFailure
}}
</div>
...
...
@@ -113,7 +113,7 @@
<span>
{{
img
.
secondClassifyName
}}
</span>
</div>
<div
class=
"img_pannel flex_cc"
:class=
"[
{ errBorder: img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0 }]">
<el-image
:preview-src-list=
"
[img.attachmentList[0].attachmentFile]
"
v-if=
"img.attachmentList.length && img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<el-image
:preview-src-list=
"
srcList
"
v-if=
"img.attachmentList.length && img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<el-image
v-else
style=
"width: 216px; height: 135px; border-radius: 4px"
:preview-src-list=
"[img.exampleUrl]"
:src=
"img.exampleUrl"
:fit=
"fit"
></el-image>
<!--
<img
v-else
:src=
"cameraUrl"
style=
"width: 40px; height: 40px"
/>
-->
<div
v-if=
"img.attachmentList.length && img.attachmentList[0].auditStatus == 0"
class=
"errMsg flex_cc"
>
{{
img
.
attachmentList
[
0
].
reasonForFailure
}}
</div>
...
...
@@ -159,7 +159,7 @@
</div>
<!-- 案件补充说明 -->
<div>
<explanation
:isCheck=
"true"
:supplementList=
"repotData.supplementList2"
></explanation>
<explanation
:isCheck=
"true"
:supplementList=
"repotData.supplementList2"
:operatorName=
"repotData.updatedBy"
:id=
"repotData.id"
></explanation>
</div>
</el-tab-pane>
<el-tab-pane
class=
"bg"
label=
"定损信息"
name=
"first"
>
...
...
@@ -228,7 +228,7 @@
<div
class=
""
>
{{
img
.
secondClassifyName
}}
</div>
</div>
<div
class=
"img_pannel flex_cc"
:class=
"[
{ errBorder: img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0 }]">
<el-image
:preview-src-list=
"
[img.attachmentList[0].attachmentFile]
"
v-if=
"img.attachmentList.length && img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<el-image
:preview-src-list=
"
srcList
"
v-if=
"img.attachmentList.length && img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<el-image
v-else
style=
"width: 216px; height: 135px; border-radius: 4px"
:preview-src-list=
"[img.exampleUrl]"
:src=
"img.exampleUrl"
:fit=
"fit"
></el-image>
<!--
<img
v-else
:src=
"cameraUrl"
style=
"width: 40px; height: 40px"
/>
-->
<!--
<div
v-if=
"img.attachmentList[0].auditStatus == 0"
class=
"errMsg flex_cc"
>
{{
img
.
attachmentList
[
0
].
reasonForFailure
}}
</div>
-->
...
...
@@ -252,7 +252,7 @@
<span>
{{
img
.
secondClassifyName
}}
</span>
</div>
<div
class=
"img_pannel flex_cc"
:class=
"[
{ errBorder: img.attachmentList.length
&&
img.attachmentList[0].auditStatus == 0 }]">
<el-image
:preview-src-list=
"
[img.attachmentList[0].attachmentFile]
"
v-if=
"img.attachmentList.length && img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<el-image
:preview-src-list=
"
srcList
"
v-if=
"img.attachmentList.length && img.attachmentList[0].attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentList[0].attachmentFile"
:fit=
"fit"
></el-image>
<el-image
v-else
style=
"width: 216px; height: 135px; border-radius: 4px"
:preview-src-list=
"[img.exampleUrl]"
:src=
"img.exampleUrl"
:fit=
"fit"
></el-image>
<!--
<img
v-else
:src=
"cameraUrl"
style=
"width: 40px; height: 40px"
/>
-->
<!--
<div
v-if=
"img.attachmentList[0].auditStatus == 0"
class=
"errMsg flex_cc"
>
{{
img
.
attachmentList
[
0
].
reasonForFailure
}}
</div>
-->
...
...
@@ -274,7 +274,7 @@
<span>
图片{{ i + 1 }}
</span>
</div>
<div
class=
"img_pannel flex_cc"
:class=
"[{ errBorder: img.auditStatus == 0 }]"
>
<el-image
:preview-src-list=
"
[img.attachmentFile]
"
v-if=
"img.attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentFile"
:fit=
"fit"
></el-image>
<el-image
:preview-src-list=
"
srcList
"
v-if=
"img.attachmentFile"
style=
"width: 216px; height: 135px; border-radius: 4px"
:src=
"img.attachmentFile"
:fit=
"fit"
></el-image>
<el-image
v-else
style=
"width: 216px; height: 135px; border-radius: 4px"
:preview-src-list=
"[img.exampleUrl]"
:src=
"img.exampleUrl"
:fit=
"fit"
></el-image>
<!-- <img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> -->
<!-- <div v-if="img.auditStatus == 0" class="errMsg flex_cc">{{ img.reasonForFailure }}</div> -->
...
...
@@ -292,7 +292,7 @@
</div>
<!-- 案件补充说明 -->
<div>
<explanation
:isCheck=
"true"
:supplementList=
"repotData.supplementList1"
></explanation>
<explanation
:isCheck=
"true"
:supplementList=
"repotData.supplementList1"
:operatorName=
"repotData.updatedBy"
:id=
"repotData.id"
></explanation>
</div>
<!-- 其他信息 -->
...
...
@@ -321,7 +321,8 @@ export default {
activeName
:
'0'
,
activeNameClaims
:
'0'
,
currentServicesIndex
:
0
,
activeNameTabs
:
'first'
activeNameTabs
:
'first'
,
srcList
:[]
}
},
props
:
{
...
...
@@ -334,7 +335,22 @@ export default {
otherInfoData
:
Object
,
lossTypeList
:
Array
},
mounted
()
{},
mounted
()
{
},
watch
:{
images
(
val
){
this
.
getImgList
(
val
[
0
])
},
activeNameTabs
(
val
){
if
(
val
==
'first'
){
this
.
getImgList
(
this
.
images
[
0
])
}
else
{
this
.
getImgList
(
this
.
images2
[
0
])
}
}
},
methods
:
{
selectServices
(
index
)
{
this
.
currentServicesIndex
=
index
...
...
@@ -342,10 +358,22 @@ export default {
changeTabs
(
e
)
{
this
.
activeName
=
e
.
index
.
toString
()
this
.
currentIndx
=
e
.
index
this
.
getImgList
(
this
.
images
[
this
.
currentIndx
])
},
changeTabss
(
e
)
{
this
.
activeNameClaims
=
e
.
index
.
toString
()
this
.
currentIndxClaims
=
e
.
index
this
.
getImgList
(
this
.
images2
[
this
.
currentIndxClaims
])
},
getImgList
(
data
){
this
.
srcList
=
[]
data
.
secondClassifyList
.
forEach
(
item
=>
{
item
.
attachmentList
.
forEach
(
img
=>
{
this
.
srcList
.
push
(
img
.
attachmentFile
)
})
})
}
}
}
...
...
src/views/claims/ghIndex.vue
View file @
8b0c20b
...
...
@@ -26,6 +26,7 @@
<div
class=
"table_top_line flex_scb"
>
<span>
核赔订单列表
</span>
<div
class=
"table_top_btn flex_sc"
>
<GLButton
size=
"small"
fn=
"跟进人配置"
type=
"primary"
@
click=
"handleConfig"
>
跟进人配置
</GLButton>
<GLButton
size=
"small"
fn=
"订单详情"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</GLButton>
<el-button
plain
size=
"small"
@
click=
"exportList"
>
导出
</el-button>
</div>
...
...
@@ -97,9 +98,12 @@
</div>
</div>
</GLDialog>
<!-- 跟进人配置 -->
<follow-pop
ref=
"followRef"
@
handleClose=
"handleClose"
:isFollowSync=
"isFollowSync"
v-if=
"isFollowSync"
></follow-pop>
</div>
</template>
<
script
>
import
followPop
from
'./components/followPop'
import
*
as
dayjs
from
'dayjs'
//服务状态:0-待提交国任 1-待支付 2-校验不通过 3-支付成功 4-支付失败
const
statusList
=
[
...
...
@@ -143,18 +147,18 @@ const statusList = [
confId
:
8
,
confName
:
'定损通过'
},
{
confId
:
9
,
confName
:
'待主管审核'
},
{
confId
:
10
,
confName
:
'主管审核不通过'
},
{
confId
:
11
,
confName
:
'待客户签字授权'
},
//
{
//
confId: 9,
//
confName: '待主管审核'
//
},
//
{
//
confId: 10,
//
confName: '主管审核不通过'
//
},
//
{
//
confId: 11,
//
confName: '待客户签字授权'
//
},
{
confId
:
12
,
confName
:
'待核赔'
...
...
@@ -168,10 +172,30 @@ const statusList = [
confName
:
'核赔通过'
}
]
const
describeList
=
[
{
confId
:
''
,
confName
:
'全部'
},
{
confId
:
'拒赔'
,
confName
:
'拒赔'
},
{
confId
:
'资料不清晰'
,
confName
:
'资料不清晰'
}
]
const
followList
=
[
{
confId
:
''
,
confName
:
'全部'
}
]
const
tableStatus
=
[
'待提交国任'
,
'待支付'
,
'校验不通过'
,
'支付成功'
,
'支付失败'
,
'待受理'
,
'待定损'
,
'定损不通过'
,
'定损通过'
,
'待主管审核'
,
'主管审核不通过'
,
'待客户签字授权'
,
'待核赔'
,
'核赔不通过'
,
'核赔通过'
]
const
colors
=
[
'#FDB757'
,
'#FDB757'
,
'#EB4E4E'
,
' #2CCA74'
,
'#EB4E4E'
,
'#FDB757'
,
'#FDB757'
,
'#EB4E4E'
,
' #2CCA74'
,
'#FDB757'
,
'#EB4E4E'
,
'#FDB757'
,
'#FDB757'
,
'#EB4E4E'
,
'#2CCA74'
]
// 操作对应状态
const
WATCH
=
[
5
,
7
,
13
,
8
,
9
,
10
,
11
,
1
,
3
]
// 查看
const
WATCH
=
[
5
,
7
,
13
,
8
,
9
,
10
,
11
,
1
,
3
,
4
]
// 查看
const
FOLLOW_HISTORY
=
[
5
,
6
,
12
,
7
,
13
,
8
,
9
,
10
,
11
,
2
,
1
,
3
]
//跟进记录和历史赔付
const
CHECK
=
[
6
,
12
]
// 审核
const
RE_SUMBIT
=
[
2
]
//重新提交
...
...
@@ -182,6 +206,7 @@ export default {
name
:
'index'
,
data
()
{
return
{
isFollowSync
:
false
,
signImage
:
''
,
showUpload
:
false
,
tableStatus
,
...
...
@@ -345,6 +370,15 @@ export default {
optionLabel
:
'confName'
},
{
label
:
'状态描述'
,
name
:
'statusDesc'
,
type
:
'select'
,
isClear
:
true
,
optionList
:
describeList
,
optionId
:
'confId'
,
optionLabel
:
'confName'
},
{
label
:
'门店提交时间'
,
name
:
'shopDate'
,
type
:
'datePicker'
,
...
...
@@ -357,7 +391,7 @@ export default {
type
:
'select'
,
isClear
:
true
,
optionList
:
[],
optionId
:
'
provinceMerchantId
'
,
optionId
:
'
merchantNo
'
,
optionLabel
:
'merchantName'
,
changeAttr
:
val
=>
{
this
.
getmidMerchantList
(
val
)
...
...
@@ -369,7 +403,7 @@ export default {
type
:
'select'
,
isClear
:
true
,
optionList
:
[],
optionId
:
'
cityMerchantId
'
,
optionId
:
'
merchantNo
'
,
optionLabel
:
'merchantName'
,
changeAttr
:
val
=>
{
this
.
getdMerchantList
(
val
)
...
...
@@ -381,7 +415,7 @@ export default {
type
:
'select'
,
isClear
:
true
,
optionList
:
[],
optionId
:
'merchant
Id
'
,
optionId
:
'merchant
No
'
,
optionLabel
:
'merchantName'
},
{
...
...
@@ -390,6 +424,15 @@ export default {
type
:
'datePicker'
,
pickerOptions
:
'beforeRangePickerOptions'
,
isClear
:
true
},
{
label
:
'跟进人'
,
name
:
'followPersonId'
,
type
:
'select'
,
isClear
:
true
,
optionList
:
followList
,
optionId
:
'id'
,
optionLabel
:
'followName'
}
],
tableParams
:
{
...
...
@@ -508,6 +551,15 @@ export default {
return
cellValue
.
paymentAmount
||
'-'
}
},
{
label
:
'跟进人'
,
prop
:
'followName'
,
width
:
100
,
formatter
:
cellValue
=>
{
return
cellValue
.
followName
||
'-'
}
},
{
label
:
'操作人'
,
prop
:
'operatorName'
,
...
...
@@ -598,29 +650,49 @@ export default {
colors
}
},
components
:
{
followPop
},
created
()
{
this
.
getClaimsCount
()
this
.
getMerchantData
()
this
.
getFollowPersonList
()
},
mounted
()
{},
methods
:
{
getFollowPersonList
()
{
this
.
$apis
.
claims
.
getFollowPersonList
({
pageSize
:
10000
,
pageNum
:
1
})
.
then
(
res
=>
{
this
.
searchFormData
[
8
].
optionList
=
[{
followName
:
'全部'
,
id
:
''
}].
concat
(
res
.
list
)
||
[]
})
},
//跟进人配置
handleConfig
()
{
this
.
isFollowSync
=
true
},
handleClose
()
{
this
.
isFollowSync
=
false
},
// 获取当前登录人的商户层级
getMerchantData
()
{
this
.
$apis
.
claims
.
get
BigMerchantApi
({}).
then
(
res
=>
{
this
.
searchFormData
[
3
].
optionList
=
res
||
[]
this
.
$apis
.
claims
.
get
MerchantSubList
({}).
then
(
res
=>
{
this
.
searchFormData
[
4
].
optionList
=
res
||
[]
})
},
getmidMerchantList
(
provinceMerchantId
)
{
this
.
$apis
.
claims
.
getM
idMerchantApi
({
provinceMerchantId
}).
then
(
res
=>
{
this
.
searchFormData
[
4
].
optionList
=
res
||
[]
this
.
searchFormData
[
4
].
isHide
=
false
this
.
$apis
.
claims
.
getM
erchantSubList
({
accountLevel
:
3
,
merchantId
:
provinceMerchantId
}).
then
(
res
=>
{
this
.
searchFormData
[
5
].
optionList
=
res
||
[]
this
.
searchFormData
[
5
].
isHide
=
false
})
},
getdMerchantList
(
cityMerchantId
)
{
this
.
$apis
.
claims
.
getMerchant
Api
({
cityMerchantId
}).
then
(
res
=>
{
this
.
searchFormData
[
5
].
optionList
=
res
||
[]
this
.
searchFormData
[
5
].
isHide
=
false
this
.
$apis
.
claims
.
getMerchant
SubList
({
accountLevel
:
4
,
merchantId
:
cityMerchantId
}).
then
(
res
=>
{
this
.
searchFormData
[
6
].
optionList
=
res
||
[]
this
.
searchFormData
[
6
].
isHide
=
false
})
},
showFollow
(
row
)
{
...
...
src/views/claims/ghOrder.vue
View file @
8b0c20b
...
...
@@ -200,7 +200,8 @@ export default {
attachments1
:
res
.
attachments1
,
attachments2
:
res
.
attachments2
,
attachments3
:
res
.
attachments3
,
claimsAttachmentConfigs2
:
res
.
claimsAttachmentConfigs2
claimsAttachmentConfigs2
:
res
.
claimsAttachmentConfigs2
,
updatedBy
:
res
.
updatedBy
}
// 图片list
...
...
@@ -573,11 +574,13 @@ export default {
let
claimsId
=
`supplementList2[
${
index
}
].claimsId`
let
content
=
`supplementList2[
${
index
}
].content`
let
suppType
=
`supplementList2[
${
index
}
].suppType`
let
operation
=
`supplementList2[
${
index
}
].operation`
let
temp
=
{
[
idx
]:
item
.
id
,
[
claimsId
]:
this
.
orderMsg
.
id
,
[
content
]:
item
.
content
,
[
suppType
]:
item
.
suppType
[
suppType
]:
item
.
suppType
,
[
operation
]:
1
}
Object
.
assign
(
obj
,
temp
)
})
...
...
@@ -587,11 +590,13 @@ export default {
let
claimsId
=
`supplementList1[
${
index
}
].claimsId`
let
content
=
`supplementList1[
${
index
}
].content`
let
suppType
=
`supplementList1[
${
index
}
].suppType`
let
operation
=
`supplementList1[
${
index
}
].operation`
let
temp
=
{
[
idx
]:
item
.
id
,
[
claimsId
]:
this
.
orderMsg
.
id
,
[
content
]:
item
.
content
,
[
suppType
]:
item
.
suppType
[
suppType
]:
item
.
suppType
,
[
operation
]:
1
}
Object
.
assign
(
obj
,
temp
)
})
...
...
@@ -863,4 +868,4 @@ export default {
align-items
:
center
;
margin
:
16px
0
20px
0
;
}
</
style
>
\ No newline at end of file
</
style
>
src/views/config/addConfig.vue
View file @
8b0c20b
...
...
@@ -103,6 +103,7 @@
<el-row
slot
>
<el-form
:model=
"searchForm"
ref=
"relate"
:inline=
"true"
label-width=
"90px"
class=
"configDialog"
>
<el-form-item>
<el-input
placeholder=
"请输入内容"
v-model=
"searchForm.selectInput"
class=
"input-with-select"
size=
"small"
>
<el-select
v-model=
"searchForm.select"
slot=
"prepend"
placeholder=
"请选择"
>
<el-option
label=
"商户名称"
value=
"1"
></el-option>
...
...
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