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
279639eb
Commit
279639eb
authored
Feb 28, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-20250827wyz-写业务' into 'dev'
修改客户资料发布测试1 See merge request
!59
parents
db07dbd9
ee774bb8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
src/views/sign/FnaList/components/customer.vue
+10
-6
No files found.
src/views/sign/FnaList/components/customer.vue
View file @
279639eb
...
@@ -1039,10 +1039,12 @@ const handleSelectChange = child => {
...
@@ -1039,10 +1039,12 @@ const handleSelectChange = child => {
}
}
if
(
section
.
data
)
{
if
(
section
.
data
)
{
for
(
const
field
of
section
.
data
)
{
for
(
const
field
of
section
.
data
)
{
if
(
field
.
key
!==
'policyholderRel'
)
{
form
.
value
[
field
.
key
]
=
''
form
.
value
[
field
.
key
]
=
''
delete
saveKey
.
value
[
field
.
key
]
delete
saveKey
.
value
[
field
.
key
]
}
}
}
}
}
if
(
form
.
value
[
child
.
key
]
==
'MYSELF'
)
{
if
(
form
.
value
[
child
.
key
]
==
'MYSELF'
)
{
if
(
section
.
key
==
'policyholderRel'
)
{
if
(
section
.
key
==
'policyholderRel'
)
{
section
.
showMoudle
=
true
section
.
showMoudle
=
true
...
@@ -1094,7 +1096,6 @@ const setFormValue = (obj, formData, exportValue) => {
...
@@ -1094,7 +1096,6 @@ const setFormValue = (obj, formData, exportValue) => {
const
processedData
=
JSON
.
parse
(
JSON
.
stringify
(
formData
))
const
processedData
=
JSON
.
parse
(
JSON
.
stringify
(
formData
))
for
(
const
section
of
processedData
)
{
for
(
const
section
of
processedData
)
{
if
(
if
(
section
.
key
==
'apiTaxationDtoList'
&&
section
.
key
==
'apiTaxationDtoList'
&&
obj
.
apiTaxationDtoList
&&
obj
.
apiTaxationDtoList
&&
...
@@ -1180,8 +1181,6 @@ const setFormValue = (obj, formData, exportValue) => {
...
@@ -1180,8 +1181,6 @@ const setFormValue = (obj, formData, exportValue) => {
}
}
if
(
addressObj
)
{
if
(
addressObj
)
{
form
.
value
[
field
.
key
]
=
`
${
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
...
@@ -1195,7 +1194,9 @@ const setFormValue = (obj, formData, exportValue) => {
...
@@ -1195,7 +1194,9 @@ const setFormValue = (obj, formData, exportValue) => {
tempAddressList
.
push
(
addressObj
)
tempAddressList
.
push
(
addressObj
)
}
}
}
}
console
.
log
(
'===================================='
)
console
.
log
(
'form.value[field.key]'
,
field
.
key
,
form
.
value
[
field
.
key
])
console
.
log
(
'===================================='
)
break
break
case
'country'
:
case
'country'
:
form
.
value
[
field
.
key
]
=
obj
.
nationality
form
.
value
[
field
.
key
]
=
obj
.
nationality
...
@@ -1246,9 +1247,12 @@ const setFormValue = (obj, formData, exportValue) => {
...
@@ -1246,9 +1247,12 @@ const setFormValue = (obj, formData, exportValue) => {
phoneQuickList
.
value
=
removeDuplicates
(
tempPhoneList
,
'phoneString'
)
phoneQuickList
.
value
=
removeDuplicates
(
tempPhoneList
,
'phoneString'
)
addressQuickList
.
value
=
removeDuplicates
(
tempAddressList
,
'addressString'
)
addressQuickList
.
value
=
removeDuplicates
(
tempAddressList
,
'addressString'
)
if
(
addressQuickList
.
value
.
length
>
0
)
{
addressQuickList
.
value
.
forEach
(
item
=>
{
form
.
value
[
item
.
type
]
=
`
${
item
.
region
}
${
item
.
city
}
${
item
.
street
}
${
item
.
location
}
`
})
}
processedCustomerData
.
value
=
processedData
processedCustomerData
.
value
=
processedData
console
.
log
(
'form.value'
,
form
.
value
)
}
}
// 数组去重
// 数组去重
function
removeDuplicates
(
arr
,
key
)
{
function
removeDuplicates
(
arr
,
key
)
{
...
...
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