Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yuzhenWang
yd-csf-front
Commits
231d894f
Commit
231d894f
authored
Jan 30, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导入发布测试
parent
b3265ee8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
245 additions
and
88 deletions
+245
-88
src/api/common.js
+8
-0
src/formJson/customer.js
+4
-4
src/formJson/productPlan.js
+0
-0
src/views/sign/FnaList/components/customer.vue
+48
-12
src/views/sign/FnaList/edit.vue
+103
-59
src/views/sign/appointment/appointmentEdit.vue
+0
-0
src/views/sign/appointment/components/appointmentInfo.vue
+0
-0
src/views/sign/appointment/components/beneficiaryInfo.vue
+13
-7
src/views/sign/appointment/components/productPlan.vue
+54
-3
src/views/sign/appointment/components/secondHolderInfo.vue
+15
-3
No files found.
src/api/common.js
View file @
231d894f
...
@@ -213,3 +213,11 @@ export function downloadCompressedFile(data) {
...
@@ -213,3 +213,11 @@ export function downloadCompressedFile(data) {
method
:
'post'
method
:
'post'
})
})
}
}
// 获取保险对账公司列表
export
function
insuranceReconciliationCompany
(
data
)
{
return
request
({
url
:
'/insurance/base/api/insuranceReconciliationCompany/page'
,
data
:
data
,
method
:
'post'
})
}
src/formJson/customer.js
View file @
231d894f
...
@@ -202,7 +202,7 @@ const customer = [
...
@@ -202,7 +202,7 @@ const customer = [
label
:
'婚姻状况'
,
label
:
'婚姻状况'
,
key
:
'maritalStatus'
,
key
:
'maritalStatus'
,
domType
:
'Select'
,
domType
:
'Select'
,
required
:
tru
e
,
required
:
fals
e
,
disabled
:
false
,
disabled
:
false
,
placeholder
:
'请选择'
,
placeholder
:
'请选择'
,
dictType
:
'csf_marriage'
,
dictType
:
'csf_marriage'
,
...
@@ -216,7 +216,7 @@ const customer = [
...
@@ -216,7 +216,7 @@ const customer = [
label
:
'教育程度'
,
label
:
'教育程度'
,
key
:
'educationLevel'
,
key
:
'educationLevel'
,
domType
:
'Select'
,
domType
:
'Select'
,
required
:
tru
e
,
required
:
fals
e
,
disabled
:
false
,
disabled
:
false
,
placeholder
:
'请选择'
,
placeholder
:
'请选择'
,
dictType
:
'csf_education'
,
dictType
:
'csf_education'
,
...
@@ -230,7 +230,7 @@ const customer = [
...
@@ -230,7 +230,7 @@ const customer = [
label
:
'是否退休'
,
label
:
'是否退休'
,
key
:
'isRetirement'
,
key
:
'isRetirement'
,
domType
:
'Select'
,
domType
:
'Select'
,
required
:
tru
e
,
required
:
fals
e
,
disabled
:
false
,
disabled
:
false
,
placeholder
:
'请选择'
,
placeholder
:
'请选择'
,
dictType
:
'sys_no_yes'
,
dictType
:
'sys_no_yes'
,
...
@@ -434,7 +434,7 @@ const customer = [
...
@@ -434,7 +434,7 @@ const customer = [
key
:
'certificateAddress'
,
key
:
'certificateAddress'
,
domType
:
'Input'
,
domType
:
'Input'
,
inputType
:
'text'
,
inputType
:
'text'
,
required
:
tru
e
,
required
:
fals
e
,
maxLength
:
20
,
maxLength
:
20
,
disabled
:
false
,
disabled
:
false
,
placeholder
:
'请输入'
,
placeholder
:
'请输入'
,
...
...
src/formJson/productPlan.js
View file @
231d894f
This diff is collapsed.
Click to expand it.
src/views/sign/FnaList/components/customer.vue
View file @
231d894f
...
@@ -353,7 +353,8 @@ const props = defineProps({
...
@@ -353,7 +353,8 @@ const props = defineProps({
tabSource
:
{
type
:
String
,
default
:
''
},
tabSource
:
{
type
:
String
,
default
:
''
},
idsObj
:
{
type
:
Object
,
default
:
()
=>
({})
},
//引用这个组件的页面来源,用于逻辑判断
idsObj
:
{
type
:
Object
,
default
:
()
=>
({})
},
//引用这个组件的页面来源,用于逻辑判断
apiPolicyholderInfoDto
:
{
type
:
Object
,
default
:
()
=>
({})
},
//投保人编辑状态详情
apiPolicyholderInfoDto
:
{
type
:
Object
,
default
:
()
=>
({})
},
//投保人编辑状态详情
apiInsurantInfoDto
:
{
type
:
Object
,
default
:
()
=>
({})
}
//受保人编辑状态详情
apiInsurantInfoDto
:
{
type
:
Object
,
default
:
()
=>
({})
},
//受保人编辑状态详情
isExportAppointment
:
{
type
:
Boolean
,
default
:
false
}
//是否导入
})
})
const
emit
=
defineEmits
([
'handleSuccess'
])
const
emit
=
defineEmits
([
'handleSuccess'
])
const
{
proxy
}
=
getCurrentInstance
()
const
{
proxy
}
=
getCurrentInstance
()
...
@@ -692,7 +693,17 @@ const processFormData = async () => {
...
@@ -692,7 +693,17 @@ const processFormData = async () => {
}
else
if
(
props
.
activeName
!==
'insurantInfo'
&&
section
.
key
==
'policyholderRel'
)
{
}
else
if
(
props
.
activeName
!==
'insurantInfo'
&&
section
.
key
==
'policyholderRel'
)
{
section
.
showMoudle
=
false
section
.
showMoudle
=
false
}
}
if
(
props
.
activeName
==
'insurantInfo'
)
{
if
(
form
.
value
[
'policyholderRel'
]
&&
form
.
value
[
'policyholderRel'
]
==
'MYSELF'
)
{
if
(
section
.
key
==
'policyholderRel'
)
{
section
.
showMoudle
=
true
}
else
{
section
.
showMoudle
=
false
}
}
else
{
section
.
showMoudle
=
true
}
}
if
(
section
.
data
)
{
if
(
section
.
data
)
{
for
(
const
field
of
section
.
data
)
{
for
(
const
field
of
section
.
data
)
{
if
(
field
.
dictType
)
{
if
(
field
.
dictType
)
{
...
@@ -731,7 +742,8 @@ const processFormData = async () => {
...
@@ -731,7 +742,8 @@ const processFormData = async () => {
}
else
if
(
}
else
if
(
props
.
customerBizId
&&
props
.
customerBizId
&&
(
props
.
tabSource
==
'policyholder'
||
props
.
tabSource
==
'insurantInfo'
)
&&
(
props
.
tabSource
==
'policyholder'
||
props
.
tabSource
==
'insurantInfo'
)
&&
!
props
.
idsObj
.
appointmentBizId
!
props
.
idsObj
.
appointmentBizId
&&
!
props
.
isExportAppointment
)
{
)
{
//是投保人/受保人但是新增预约 需要引用客户资料的值
//是投保人/受保人但是新增预约 需要引用客户资料的值
getCustomerInfo
(
props
.
customerBizId
,
processedData
)
getCustomerInfo
(
props
.
customerBizId
,
processedData
)
...
@@ -742,6 +754,9 @@ const processFormData = async () => {
...
@@ -742,6 +754,9 @@ const processFormData = async () => {
// 投保人回显值
// 投保人回显值
setFormValue
(
props
.
apiInsurantInfoDto
,
processedData
)
setFormValue
(
props
.
apiInsurantInfoDto
,
processedData
)
}
else
{
}
else
{
if
(
props
.
tabSource
==
'customer'
)
{
form
.
value
.
smokingStatus
=
'0'
}
processedCustomerData
.
value
=
oldCustomerData
.
value
=
processedData
processedCustomerData
.
value
=
oldCustomerData
.
value
=
processedData
}
}
}
}
...
@@ -1031,9 +1046,8 @@ const setFormValue = (obj, formData, exportValue) => {
...
@@ -1031,9 +1046,8 @@ const setFormValue = (obj, formData, exportValue) => {
}
}
if
(
addressObj
)
{
if
(
addressObj
)
{
form
.
value
[
form
.
value
[
field
.
key
]
=
field
.
key
`
${
addressObj
.
region
}
${
addressObj
.
city
}
${
addressObj
.
street
}
${
addressObj
.
location
}
`
]
=
`
${
addressObj
.
region
}
${
addressObj
.
city
}
${
addressObj
.
street
}
${
addressObj
.
location
}
`
addressObj
.
addressString
=
`
${
addressObj
.
region
}${
addressObj
.
city
}${
addressObj
.
street
}${
addressObj
.
location
}
`
addressObj
.
addressString
=
`
${
addressObj
.
region
}${
addressObj
.
city
}${
addressObj
.
street
}${
addressObj
.
location
}
`
addressObj
.
objType
=
field
.
drawerType
addressObj
.
objType
=
field
.
drawerType
saveKey
.
value
[
field
.
key
]
=
addressObj
saveKey
.
value
[
field
.
key
]
=
addressObj
...
@@ -1176,6 +1190,8 @@ const handleFormValues = source => {
...
@@ -1176,6 +1190,8 @@ const handleFormValues = source => {
}
else
{
}
else
{
submitObj
=
{
...
form
.
value
}
submitObj
=
{
...
form
.
value
}
}
}
console
.
log
(
'投保人form'
,
submitObj
)
let
processedData
=
JSON
.
parse
(
JSON
.
stringify
(
processedCustomerData
.
value
))
let
processedData
=
JSON
.
parse
(
JSON
.
stringify
(
processedCustomerData
.
value
))
return
new
Promise
(
async
resolve
=>
{
return
new
Promise
(
async
resolve
=>
{
// 如果没有点击受保人这个tab页就进行填写提醒,
// 如果没有点击受保人这个tab页就进行填写提醒,
...
@@ -1190,11 +1206,6 @@ const handleFormValues = source => {
...
@@ -1190,11 +1206,6 @@ const handleFormValues = source => {
if
(
processedData
.
length
>
0
)
{
if
(
processedData
.
length
>
0
)
{
customerFormRef
.
value
.
validate
((
valid
,
fields
)
=>
{
customerFormRef
.
value
.
validate
((
valid
,
fields
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
source
==
'insuredInfoRef'
)
{
console
.
log
(
'===================================='
)
console
.
log
(
'submitObj'
,
form
.
value
[
'policyholderRel'
])
console
.
log
(
'===================================='
)
}
let
addressList
=
[]
let
addressList
=
[]
if
(
submitObj
[
'birthday'
])
{
if
(
submitObj
[
'birthday'
])
{
if
(
source
==
'insuredInfoRef'
||
source
==
'policyHolderInfoRef'
)
{
if
(
source
==
'insuredInfoRef'
||
source
==
'policyHolderInfoRef'
)
{
...
@@ -1289,9 +1300,13 @@ const handleFormValues = source => {
...
@@ -1289,9 +1300,13 @@ const handleFormValues = source => {
resolve
(
errorFields
.
value
.
length
==
0
?
submitObj
:
null
)
resolve
(
errorFields
.
value
.
length
==
0
?
submitObj
:
null
)
}
else
{
}
else
{
errorFields
.
value
=
getInvalidFields
(
fields
)
errorFields
.
value
=
getInvalidFields
(
fields
)
console
.
log
(
'===================================='
)
console
.
log
(
'222222'
,
errorFields
.
value
)
console
.
log
(
'===================================='
)
if
(
errorFields
.
value
.
length
>
0
)
{
if
(
errorFields
.
value
.
length
>
0
)
{
proxy
.
$message
.
error
(
errorFields
.
value
[
0
].
message
)
proxy
.
$message
.
error
(
errorFields
.
value
[
0
].
message
)
}
}
resolve
(
undefined
)
resolve
(
undefined
)
}
}
})
})
...
@@ -1306,6 +1321,8 @@ const handleFormValues = source => {
...
@@ -1306,6 +1321,8 @@ const handleFormValues = source => {
}
else
{
}
else
{
// 新增状态
// 新增状态
// 因为这两个在同一个大提交里,所以要判断是哪个提交,方便这两个都有自己独立的提交验证
// 因为这两个在同一个大提交里,所以要判断是哪个提交,方便这两个都有自己独立的提交验证
console
.
log
(
'走这里了'
)
resolve
(
undefined
)
resolve
(
undefined
)
}
}
}
}
...
@@ -1330,6 +1347,8 @@ watch(
...
@@ -1330,6 +1347,8 @@ watch(
}
else
if
(
props
.
activeName
==
'insurantInfo'
)
{
}
else
if
(
props
.
activeName
==
'insurantInfo'
)
{
insuredForm
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
newVal
))
insuredForm
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
newVal
))
}
}
console
.
log
(
'form值变化policyholderForm'
,
policyholderForm
.
value
)
console
.
log
(
'form值变化insuredForm'
,
insuredForm
.
value
)
},
},
{
immediate
:
true
,
deep
:
true
}
{
immediate
:
true
,
deep
:
true
}
)
)
...
@@ -1364,11 +1383,28 @@ watch(
...
@@ -1364,11 +1383,28 @@ watch(
editStatus
.
value
=
newVal
editStatus
.
value
=
newVal
}
}
)
)
//导入预约单成功后,要重新渲染页面回显值
watch
(
()
=>
props
.
isExportAppointment
,
newVal
=>
{
console
.
log
(
'导入发生变化'
,
newVal
)
if
(
newVal
)
{
if
(
props
.
tabSource
==
'policyholder'
)
{
// 投保人回显值
setFormValue
(
props
.
apiPolicyholderInfoDto
,
processedCustomerData
.
value
)
}
else
if
(
props
.
tabSource
==
'insurantInfo'
)
{
// 受保人回显值
setFormValue
(
props
.
apiInsurantInfoDto
,
processedCustomerData
.
value
)
}
}
}
)
// 暴露给父组件
// 暴露给父组件
defineExpose
({
defineExpose
({
handleFormValues
,
handleFormValues
,
handleEditStatus
,
handleEditStatus
,
get
RawForm
:
()
=>
JSON
.
parse
(
JSON
.
stringify
(
f
orm
.
value
))
get
InsuredForm
:
()
=>
JSON
.
parse
(
JSON
.
stringify
(
insuredF
orm
.
value
))
})
})
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
src/views/sign/FnaList/edit.vue
View file @
231d894f
...
@@ -10,69 +10,114 @@
...
@@ -10,69 +10,114 @@
<div
class=
"status"
>
{{
processInfo
.
status
||
'--'
}}
</div>
<div
class=
"status"
>
{{
processInfo
.
status
||
'--'
}}
</div>
<div
class=
"time"
>
<div
class=
"time"
>
<span
class=
"iconfont icon-yanqiweiwancheng"
></span>
<span
class=
"iconfont icon-yanqiweiwancheng"
></span>
<span>
{{
parseTime
(
processInfo
.
createTime
)
}}
由
{{
<span
>
{{
parseTime
(
processInfo
.
createTime
)
}}
由
{{
processInfo
.
customerName
||
'--'
processInfo
.
customerName
||
'--'
}}
创建
</span>
}}
创建
</span
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"tabsBox"
>
<div
class=
"tabsBox"
>
<el-tabs
v-model=
"activeName"
class=
"demo-tabs"
:before-leave=
"beforeTabLeave"
ref=
"tabPaneRef"
>
<el-tabs
<el-tab-pane
v-for=
"(tab, tIndex) in tabsList"
:key=
"tab.name"
:label=
"tab.label"
:name=
"tab.name"
>
v-model=
"activeName"
class=
"demo-tabs"
:before-leave=
"beforeTabLeave"
ref=
"tabPaneRef"
>
<el-tab-pane
v-for=
"(tab, tIndex) in tabsList"
:key=
"tab.name"
:label=
"tab.label"
:name=
"tab.name"
>
<!-- 注意tabPaneBox这个类名与子组件的锚点定位相关,不能轻易改动 -->
<!-- 注意tabPaneBox这个类名与子组件的锚点定位相关,不能轻易改动 -->
<div
:class=
"
{ tabPaneBox: activeName !== 'appointment' }">
<div
:class=
"
{ tabPaneBox: activeName !== 'appointment' }">
<div
v-if=
"tab.name === 'overview'"
class=
"overviewBox"
>
<div
v-if=
"tab.name === 'overview'"
class=
"overviewBox"
>
<div
class=
"oneItem"
v-for=
"item in tabsList.filter(item => item.id !== -1 && item.status)"
<div
:key=
"item.id"
@
click=
"handleStep(item)"
>
class=
"oneItem"
<div
class=
"circle"
:class=
"
{
v-for=
"item in tabsList.filter(item => item.id !== -1 && item.status)"
:key=
"item.id"
@
click=
"handleStep(item)"
>
<div
class=
"circle"
:class=
"
{
finfishCircle: item.status == '1',
finfishCircle: item.status == '1',
unFinishCircle: item.status == '0'
unFinishCircle: item.status == '0'
}">
}"
>
<el-icon
v-if=
"item.status == '1'"
>
<el-icon
v-if=
"item.status == '1'"
>
<Check
/>
<Check
/>
</el-icon>
</el-icon>
<span
v-else
>
{{
item
.
id
}}
</span>
<span
v-else
>
{{
item
.
id
}}
</span>
</div>
</div>
<div
class=
"title"
:class=
"
{
<div
class=
"title"
:class=
"
{
finfishTitle: item.status == '1',
finfishTitle: item.status == '1',
unFinishTitle: item.status == '0'
unFinishTitle: item.status == '0'
}">
}"
>
{{
item
.
label
}}
{{
item
.
label
}}
</div>
</div>
<div
class=
"status"
:class=
"
{
<div
class=
"status"
:class=
"
{
finfishStatus: item.status == '1',
finfishStatus: item.status == '1',
unFinishStatus: item.status == '0'
unFinishStatus: item.status == '0'
}">
}"
>
{{
item
.
status
==
'1'
?
'已完成'
:
'未完成'
}}
{{
item
.
status
==
'1'
?
'已完成'
:
'未完成'
}}
</div>
</div>
<div
class=
"operation"
>
<div
class=
"operation"
>
<el-icon
class=
"editIcon"
v-if=
"item.status == '0'"
>
<el-icon
class=
"editIcon"
v-if=
"item.status == '0'"
>
<EditPen
/>
<EditPen
/>
</el-icon>
</el-icon>
<div
:class=
"
{
<div
:class=
"
{
finfishOperation: item.status == '1',
finfishOperation: item.status == '1',
unFinishOperation: item.status == '0'
unFinishOperation: item.status == '0'
}">
}"
>
{{
item
.
status
==
'1'
?
'点击查看详情'
:
'去填写'
}}
{{
item
.
status
==
'1'
?
'点击查看详情'
:
'去填写'
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<Customer
v-if=
"tab.name === 'customer'"
:activeName=
"activeName"
<Customer
:customerBizId=
"processInfo.customerBizId"
@
handleSuccess=
"handleSuccess"
v-if=
"tab.name === 'customer'"
:tabIndex=
"tabsList.findIndex(t => t.name === 'customer')"
anchorContainer=
".tabPaneBox"
:activeName=
"activeName"
tabSource=
"customer"
/>
:customerBizId=
"processInfo.customerBizId"
@
handleSuccess=
"handleSuccess"
:tabIndex=
"tabsList.findIndex(t => t.name === 'customer')"
anchorContainer=
".tabPaneBox"
tabSource=
"customer"
/>
<div
v-if=
"tab.name === 'fnaform'"
>
<div
v-if=
"tab.name === 'fnaform'"
>
<FanForm
:activeName=
"activeName"
:fnaFormBizId=
"processInfo.fnaFormBizId"
<FanForm
:customerBizId=
"processInfo.customerBizId"
:dictTypeLists=
"dictTypeLists"
:customerInfo=
"customerInfo"
:activeName=
"activeName"
@
handleSuccess=
"handleSuccess"
:tabIndex=
"tabsList.findIndex(t => t.name === 'fnaform')"
:fnaFormBizId=
"processInfo.fnaFormBizId"
anchorContainer=
".tabPaneBox"
tabSource=
"fnaform"
/>
:customerBizId=
"processInfo.customerBizId"
:dictTypeLists=
"dictTypeLists"
:customerInfo=
"customerInfo"
@
handleSuccess=
"handleSuccess"
:tabIndex=
"tabsList.findIndex(t => t.name === 'fnaform')"
anchorContainer=
".tabPaneBox"
tabSource=
"fnaform"
/>
</div>
</div>
<div
v-if=
"tab.name === 'appointment'"
>
<div
v-if=
"tab.name === 'appointment'"
>
<AppointmentEdit
:embed=
"true"
editStatus=
"add"
:tabName=
"activeName"
:processDetail=
"processInfo"
<AppointmentEdit
@
handleSuccess=
"handleSuccess"
source=
"fnaList"
/>
:embed=
"true"
editStatus=
"add"
:tabName=
"activeName"
:processDetail=
"processInfo"
@
handleSuccess=
"handleSuccess"
source=
"fnaList"
/>
</div>
</div>
<div
v-if=
"tab.name === 'newpolicy'"
>
关联新单内容
</div>
<div
v-if=
"tab.name === 'newpolicy'"
>
关联新单内容
</div>
</div>
</div>
...
@@ -165,6 +210,40 @@ const tabsList = ref([
...
@@ -165,6 +210,40 @@ const tabsList = ref([
const
{
csf_fna_status
}
=
proxy
.
useDict
(
'csf_fna_status'
)
const
{
csf_fna_status
}
=
proxy
.
useDict
(
'csf_fna_status'
)
// 获取各个流程所需要得字典数据
// 获取各个流程所需要得字典数据
const
getDictsData
=
async
()
=>
{
const
getDictsData
=
async
()
=>
{
// 请求每个流程中所涉及到的字典值数据,如果缓存中有,则不再请求
if
(
dictStore
.
dictTypeLists
.
length
==
0
)
{
proxy
.
useDictLists
([
'csf_employment'
,
'sys_no_yes'
,
'bx_currency_type'
,
'csf_liquid_asset_type'
,
'csf_premium_funding_source'
,
'csf_customer_type'
,
'csf_customer_title'
,
'sys_gender'
,
'csf_marriage'
,
'csf_education'
,
'csf_id_type'
,
'csf_ap_apply_type'
,
'csf_ap_meeting_point'
,
'csf_ap_first_issue'
,
'csf_ap_dividend'
,
'csf_ap_frequency'
,
'csf_ap_rel'
,
'csf_ap_registration'
,
'csf_ap_exercise'
,
'csf_ap_risk'
,
'csf_ap_movie'
,
'csf_ap_game'
,
'wj_question_first_category'
,
'wj_question_second_category'
,
'csf_ap_policy_transfer'
,
'md_bank'
,
'csf_property_type'
,
'oss_data_type'
,
'oss_data_person'
])
}
// 获取租户用户列表
// 获取租户用户列表
const
params1
=
{
const
params1
=
{
tenantBizId
:
userStore
.
projectInfo
.
tenantBizId
,
tenantBizId
:
userStore
.
projectInfo
.
tenantBizId
,
...
@@ -298,41 +377,6 @@ const getDictsData = async () => {
...
@@ -298,41 +377,6 @@ const getDictsData = async () => {
})
})
dictStore
.
setAllInsuranceCompanyList
(
response9
.
data
.
records
)
dictStore
.
setAllInsuranceCompanyList
(
response9
.
data
.
records
)
}
}
// 请求每个流程中所涉及到的字典值数据,如果缓存中有,则不再请求
if
(
dictStore
.
dictTypeLists
.
length
==
0
)
{
proxy
.
useDictLists
([
'csf_employment'
,
'sys_no_yes'
,
'bx_currency_type'
,
'csf_liquid_asset_type'
,
'csf_premium_funding_source'
,
'csf_customer_type'
,
'csf_customer_title'
,
'sys_gender'
,
'csf_marriage'
,
'csf_education'
,
'csf_id_type'
,
'csf_ap_apply_type'
,
'csf_ap_meeting_point'
,
'csf_ap_first_issue'
,
'csf_ap_dividend'
,
'csf_ap_frequency'
,
'csf_ap_rel'
,
'csf_ap_registration'
,
'csf_ap_exercise'
,
'csf_ap_risk'
,
'csf_ap_movie'
,
'csf_ap_game'
,
'wj_question_first_category'
,
'wj_question_second_category'
,
'csf_ap_policy_transfer'
,
'md_bank'
,
'csf_property_type'
,
'oss_data_type'
,
'oss_data_person'
])
}
}
}
// 更新流程
// 更新流程
...
...
src/views/sign/appointment/appointmentEdit.vue
View file @
231d894f
This diff is collapsed.
Click to expand it.
src/views/sign/appointment/components/appointmentInfo.vue
View file @
231d894f
This diff is collapsed.
Click to expand it.
src/views/sign/appointment/components/beneficiaryInfo.vue
View file @
231d894f
<
template
>
<
template
>
<div
style=
"padding-top: 10px"
>
<div
style=
"padding-top: 10px"
>
<div
ref=
"beneficiaryRef"
>
<div
ref=
"beneficiaryRef"
>
<CommonForm
:showAnchor=
"false"
>
<CommonForm
:showAnchor=
"false"
>
...
@@ -277,6 +276,7 @@ const props = defineProps({
...
@@ -277,6 +276,7 @@ const props = defineProps({
anchorContainer
:
{
type
:
String
,
default
:
''
},
//锚点滚动容器
anchorContainer
:
{
type
:
String
,
default
:
''
},
//锚点滚动容器
editStatus
:
{
type
:
Boolean
,
default
:
true
},
//编辑状态
editStatus
:
{
type
:
Boolean
,
default
:
true
},
//编辑状态
affixOffset
:
{
type
:
Number
},
affixOffset
:
{
type
:
Number
},
isExportAppointment
:
{
type
:
Boolean
,
default
:
false
},
//是否导入
tabIndex
:
{
type
:
[
String
,
Number
],
default
:
''
}
//tab索引
tabIndex
:
{
type
:
[
String
,
Number
],
default
:
''
}
//tab索引
})
})
const
emit
=
defineEmits
([
'handleSuccessEdit'
,
'policyEditSuccess'
])
const
emit
=
defineEmits
([
'handleSuccessEdit'
,
'policyEditSuccess'
])
...
@@ -589,7 +589,7 @@ const processFormData = async obj => {
...
@@ -589,7 +589,7 @@ const processFormData = async obj => {
}
}
}
}
}
}
if
(
props
.
idsObj
.
appointmentBizId
)
{
if
(
props
.
idsObj
.
appointmentBizId
)
{
setFormValue
(
processedData
)
setFormValue
(
processedData
)
}
else
{
}
else
{
processedBeneficiaryData
.
value
=
oldAppointmentData
.
value
=
processedData
processedBeneficiaryData
.
value
=
oldAppointmentData
.
value
=
processedData
...
@@ -681,9 +681,8 @@ const confirmDrawer = info => {
...
@@ -681,9 +681,8 @@ const confirmDrawer = info => {
newObj
.
type
=
drawerInfo
.
value
.
key
newObj
.
type
=
drawerInfo
.
value
.
key
newObj
.
id
=
drawerInfo
.
value
.
id
newObj
.
id
=
drawerInfo
.
value
.
id
newObj
.
drawerType
=
drawerInfo
.
value
.
drawerType
newObj
.
drawerType
=
drawerInfo
.
value
.
drawerType
form
.
value
.
apiBeneficiaryInfoDtoList
[
drawerInfo
.
value
.
l1
][
form
.
value
.
apiBeneficiaryInfoDtoList
[
drawerInfo
.
value
.
l1
][
drawerInfo
.
value
.
key
]
=
drawerInfo
.
value
.
key
`
${
newObj
.
region
}
${
newObj
.
city
}
${
newObj
.
street
}
${
newObj
.
location
}
`
]
=
`
${
newObj
.
region
}
${
newObj
.
city
}
${
newObj
.
street
}
${
newObj
.
location
}
`
newObj
.
addressString
=
`
${
newObj
.
region
}
${
newObj
.
city
}
${
newObj
.
street
}
${
newObj
.
location
}
`
newObj
.
addressString
=
`
${
newObj
.
region
}
${
newObj
.
city
}
${
newObj
.
street
}
${
newObj
.
location
}
`
// 检查数组中是否已存在相同ID的地址
// 检查数组中是否已存在相同ID的地址
...
@@ -858,7 +857,6 @@ const setFormValue = processedData => {
...
@@ -858,7 +857,6 @@ const setFormValue = processedData => {
}
}
}
}
processedBeneficiaryData
.
value
=
oldDom
processedBeneficiaryData
.
value
=
oldDom
console
.
log
(
'受益人表单'
,
form
.
value
)
console
.
log
(
'dom'
,
processedBeneficiaryData
.
value
)
console
.
log
(
'dom'
,
processedBeneficiaryData
.
value
)
}
}
// 获取校验失败的字段信息
// 获取校验失败的字段信息
...
@@ -954,7 +952,15 @@ watch(
...
@@ -954,7 +952,15 @@ watch(
}
}
}
}
)
)
//导入预约单成功后,要重新渲染页面回显值
watch
(
()
=>
props
.
isExportAppointment
,
newVal
=>
{
if
(
newVal
)
{
setFormValue
(
processedBeneficiaryData
.
value
)
}
}
)
// 暴露给父组件
// 暴露给父组件
defineExpose
({
defineExpose
({
handleFormValues
,
handleFormValues
,
...
...
src/views/sign/appointment/components/productPlan.vue
View file @
231d894f
...
@@ -249,7 +249,8 @@ import {
...
@@ -249,7 +249,8 @@ import {
getAdditionalProductList
,
getAdditionalProductList
,
secondAdditonalList
,
secondAdditonalList
,
getInsuranceCategory
,
getInsuranceCategory
,
getInsuranceCompany
getInsuranceCompany
,
insuranceReconciliationCompany
}
from
'@/api/common'
}
from
'@/api/common'
import
{
editProductPlanInfo
,
delAdditional
}
from
'@/api/sign/appointment'
import
{
editProductPlanInfo
,
delAdditional
}
from
'@/api/sign/appointment'
import
{
updatePolicyProduct
,
delPolicyAdditional
}
from
'@/api/sign/underwritingMain'
import
{
updatePolicyProduct
,
delPolicyAdditional
}
from
'@/api/sign/underwritingMain'
...
@@ -272,6 +273,7 @@ const props = defineProps({
...
@@ -272,6 +273,7 @@ const props = defineProps({
fatherTabName
:
{
type
:
String
,
default
:
''
},
//一级tab名称
fatherTabName
:
{
type
:
String
,
default
:
''
},
//一级tab名称
anchorContainer
:
{
type
:
String
,
default
:
''
},
//锚点滚动容器
anchorContainer
:
{
type
:
String
,
default
:
''
},
//锚点滚动容器
editStatus
:
{
type
:
Boolean
,
default
:
true
},
//编辑状态
editStatus
:
{
type
:
Boolean
,
default
:
true
},
//编辑状态
isExportAppointment
:
{
type
:
Boolean
,
default
:
false
},
//是否导入
tabIndex
:
{
type
:
[
String
,
Number
],
default
:
''
}
//tab索引
tabIndex
:
{
type
:
[
String
,
Number
],
default
:
''
}
//tab索引
})
})
const
emit
=
defineEmits
([
'handleSuccessEdit'
,
'policyEditSuccess'
])
const
emit
=
defineEmits
([
'handleSuccessEdit'
,
'policyEditSuccess'
])
...
@@ -475,6 +477,14 @@ const handleSearchSelectChange = (father, key) => {
...
@@ -475,6 +477,14 @@ const handleSearchSelectChange = (father, key) => {
}
}
})
})
}
}
if
(
key
==
'reconciliationCompanyName'
)
{
searchOptions
.
value
[
'reconciliationCompanyName'
].
forEach
(
item
=>
{
if
(
form
.
value
[
father
.
key
][
key
]
==
item
.
value
)
{
form
.
value
[
father
.
key
][
key
]
=
item
.
label
form
.
value
[
father
.
key
].
reconciliationCompanyId
=
item
.
value
}
})
}
}
}
// 下拉框搜索方法
// 下拉框搜索方法
// 搜索方法
// 搜索方法
...
@@ -553,7 +563,7 @@ const searchSelectList = async (query, fieldKey) => {
...
@@ -553,7 +563,7 @@ const searchSelectList = async (query, fieldKey) => {
showCancel
:
'0'
,
showCancel
:
'0'
,
title
:
'填写提示'
title
:
'填写提示'
})
})
// row.insuranceType = ''
return
return
}
}
const
params1
=
{
const
params1
=
{
...
@@ -572,6 +582,23 @@ const searchSelectList = async (query, fieldKey) => {
...
@@ -572,6 +582,23 @@ const searchSelectList = async (query, fieldKey) => {
})
})
searchOptions
.
value
[
fieldKey
]
=
response1
.
data
.
records
searchOptions
.
value
[
fieldKey
]
=
response1
.
data
.
records
}
}
}
else
if
(
fieldKey
==
'reconciliationCompanyName'
)
{
const
params1
=
{
pageNo
:
1
,
pageSize
:
10
,
name
:
query
.
trim
()
}
const
response1
=
await
insuranceReconciliationCompany
(
params1
)
if
(
response1
.
code
==
200
)
{
response1
.
data
.
records
=
response1
.
data
.
records
.
map
(
item
=>
{
return
{
...
item
,
label
:
item
.
name
,
value
:
item
.
reconciliationCompanyBizId
}
})
searchOptions
.
value
[
fieldKey
]
=
response1
.
data
.
records
}
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
`
${
fieldKey
}
搜索失败`
,
error
)
console
.
error
(
`
${
fieldKey
}
搜索失败`
,
error
)
...
@@ -735,6 +762,15 @@ const handleSelectChange = (father, child) => {
...
@@ -735,6 +762,15 @@ const handleSelectChange = (father, child) => {
}
}
break
break
case
'isPrepay'
:
// 选是,展示日期
if
(
form
.
value
[
father
.
key
][
child
.
key
]
==
'1'
)
{
resetShow
(
'prepaymentPeriod'
,
true
)
}
else
{
resetShow
(
'prepaymentPeriod'
,
false
)
}
break
default
:
default
:
break
break
...
@@ -805,6 +841,13 @@ const setFormValue = (obj, formData) => {
...
@@ -805,6 +841,13 @@ const setFormValue = (obj, formData) => {
)
{
)
{
filed
.
show
=
true
filed
.
show
=
true
}
}
if
(
filed
.
key
==
'prepaymentPeriod'
&&
obj
.
apiProductPlanMainInfoDto
.
isPrepay
&&
obj
.
apiProductPlanMainInfoDto
.
isPrepay
==
'1'
)
{
filed
.
show
=
true
}
}
}
// 为附加险增加dom
// 为附加险增加dom
if
(
if
(
...
@@ -939,7 +982,15 @@ watch(
...
@@ -939,7 +982,15 @@ watch(
}
}
}
}
)
)
//导入预约单成功后,要重新渲染页面回显值
watch
(
()
=>
props
.
isExportAppointment
,
newVal
=>
{
if
(
newVal
)
{
setFormValue
(
props
.
apiProductPlanInfoDto
,
processedProductData
.
value
)
}
}
)
// 暴露给父组件
// 暴露给父组件
defineExpose
({
defineExpose
({
handleSubmitForm
,
handleSubmitForm
,
...
...
src/views/sign/appointment/components/secondHolderInfo.vue
View file @
231d894f
...
@@ -246,7 +246,8 @@ const props = defineProps({
...
@@ -246,7 +246,8 @@ const props = defineProps({
anchorContainer
:
{
type
:
String
,
default
:
''
},
//锚点滚动容器
anchorContainer
:
{
type
:
String
,
default
:
''
},
//锚点滚动容器
editStatus
:
{
type
:
Boolean
,
default
:
false
},
//编辑状态
editStatus
:
{
type
:
Boolean
,
default
:
false
},
//编辑状态
affixOffset
:
{
type
:
Number
},
affixOffset
:
{
type
:
Number
},
tabIndex
:
{
type
:
[
String
,
Number
],
default
:
''
}
//tab索引
tabIndex
:
{
type
:
[
String
,
Number
],
default
:
''
},
//tab索引
isExportAppointment
:
{
type
:
Boolean
,
default
:
false
}
//是否导入
})
})
const
emit
=
defineEmits
([
'handleSuccessEdit'
,
'policyEditSuccess'
])
const
emit
=
defineEmits
([
'handleSuccessEdit'
,
'policyEditSuccess'
])
...
@@ -757,7 +758,6 @@ watch(
...
@@ -757,7 +758,6 @@ watch(
exportValue
:
null
,
exportValue
:
null
,
detailInfo
:
props
.
apiSecondHolderInfoDto
detailInfo
:
props
.
apiSecondHolderInfoDto
})
})
console
.
log
(
' props.apiSecondHolderInfoDto'
,
props
.
apiSecondHolderInfoDto
)
}
else
{
}
else
{
processFormData
({
processFormData
({
domdata
:
secondHolderDomData
,
domdata
:
secondHolderDomData
,
...
@@ -769,7 +769,19 @@ watch(
...
@@ -769,7 +769,19 @@ watch(
}
}
}
}
)
)
//导入预约单成功后,要重新渲染页面回显值
watch
(
()
=>
props
.
isExportAppointment
,
newVal
=>
{
if
(
newVal
)
{
processFormData
({
domdata
:
secondHolderDomData
,
exportValue
:
null
,
detailInfo
:
props
.
apiSecondHolderInfoDto
})
}
}
)
// 暴露给父组件
// 暴露给父组件
defineExpose
({
defineExpose
({
handleFormValues
,
handleFormValues
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment