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
6587484e
Commit
6587484e
authored
Mar 02, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
证件类型多位加bug修复发布生产
parent
e0c3f04c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
17 deletions
+66
-17
src/views/sign/FnaList/components/customer.vue
+31
-17
src/views/sign/appointment/appointmentEdit.vue
+35
-0
No files found.
src/views/sign/FnaList/components/customer.vue
View file @
6587484e
...
...
@@ -1148,9 +1148,6 @@ const setFormValue = (obj, formData, exportValue) => {
obj
.
apiCertificateDtoList
.
length
>
0
)
{
obj
.
apiCertificateDtoList
.
forEach
(
item
=>
{
// if (item.certificateStartDate) {
// item.certificateValidityPeriod = [item.certificateStartDate, item.certificateEndDate]
// }
if
(
item
.
isPermanent
||
item
.
isPermanent
==
0
)
{
item
.
isPermanent
=
String
(
item
.
isPermanent
)
}
...
...
@@ -1233,9 +1230,7 @@ const setFormValue = (obj, formData, exportValue) => {
tempAddressList
.
push
(
addressObj
)
}
}
console
.
log
(
'===================================='
)
console
.
log
(
'form.value[field.key]'
,
field
.
key
,
form
.
value
[
field
.
key
])
console
.
log
(
'===================================='
)
break
case
'country'
:
form
.
value
[
field
.
key
]
=
obj
.
nationality
...
...
@@ -1538,9 +1533,7 @@ const handleFormValues = source => {
resolve
(
errorFields
.
value
.
length
==
0
?
submitObj
:
null
)
}
else
{
errorFields
.
value
=
getInvalidFields
(
fields
)
console
.
log
(
'===================================='
)
console
.
log
(
'222222'
,
errorFields
.
value
)
console
.
log
(
'===================================='
)
if
(
errorFields
.
value
.
length
>
0
)
{
proxy
.
$message
.
error
(
errorFields
.
value
[
0
].
message
)
}
...
...
@@ -1600,7 +1593,8 @@ watch(
(
newVal
,
oldVal
)
=>
{
editStatus
.
value
=
false
customerRightRef
.
value
=
null
if
(
newVal
===
'customer'
||
newVal
===
'policyholder'
||
newVal
===
'insurantInfo'
)
{
// || newVal === 'policyholder' || newVal === 'insurantInfo'
if
(
newVal
===
'customer'
)
{
processFormData
()
// 因为客户资料里的编辑状态是单独控制的
if
(
props
.
tabSource
==
'customer'
&&
props
.
customerBizId
)
{
...
...
@@ -1608,15 +1602,35 @@ watch(
}
else
if
(
props
.
tabSource
==
'customer'
&&
!
props
.
customerBizId
)
{
editStatus
.
value
=
false
}
if
(
newVal
===
'policyholder'
||
newVal
===
'insurantInfo'
)
{
editStatus
.
value
=
props
.
fatherEditStatus
}
//
if (newVal === 'policyholder' || newVal === 'insurantInfo') {
//
editStatus.value = props.fatherEditStatus
//
}
}
// 切换tab要保存各自的表单值
if
(
oldVal
==
'policyholder'
)
{
policyholderForm
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
value
))
}
else
if
(
oldVal
==
'insurantInfo'
)
{
insuredForm
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
value
))
// if (oldVal == 'policyholder') {
// policyholderForm.value = JSON.parse(JSON.stringify(form.value))
// } else if (oldVal == 'insurantInfo') {
// insuredForm.value = JSON.parse(JSON.stringify(form.value))
// }
if
(
newVal
===
'policyholder'
)
{
editStatus
.
value
=
props
.
fatherEditStatus
if
(
JSON
.
stringify
(
policyholderForm
.
value
)
!=
'{}'
)
{
form
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
policyholderForm
.
value
))
processedCustomerData
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
tempPolicyholderDom
.
value
))
return
}
else
{
processFormData
()
}
}
else
if
(
newVal
===
'insurantInfo'
)
{
editStatus
.
value
=
props
.
fatherEditStatus
if
(
JSON
.
stringify
(
insuredForm
.
value
)
!=
'{}'
)
{
form
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
insuredForm
.
value
))
processedCustomerData
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
tempInsurantDom
.
value
))
return
}
else
{
processFormData
()
}
}
}
)
...
...
src/views/sign/appointment/appointmentEdit.vue
View file @
6587484e
...
...
@@ -886,6 +886,40 @@ const getDictsData = async () => {
dictStore
.
setSignPeopleList
(
response7
.
data
.
records
)
}
}
// 获取下拉框所需要得数据
const
getDictsLabelData
=
async
()
=>
{
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'
,
'csf_ap_policy_transfer'
,
'wj_question_first_category'
,
'wj_question_second_category'
,
'csf_ap_status'
,
'md_bank'
,
'oss_data_type'
,
'oss_data_person'
])
}
// Tab切换前的验证
const
beforeTabLeave
=
async
(
activeTabName
,
oldTabName
)
=>
{
foldInsurantInfo
.
value
=
false
...
...
@@ -1094,6 +1128,7 @@ if (route.query.appointmentNo && route.query.source == 'appointmentList') {
processInfo
.
value
=
route
.
query
idsObj
.
value
.
appointmentBizId
=
route
.
query
.
appointmentBizId
getDictsData
()
// getDictsLabelData()
setTimeout
(()
=>
{
// 请求预约单聚合详情
getAppointmentInfo
(
idsObj
.
value
.
appointmentBizId
,
true
)
...
...
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