Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
ff1a74cb
Commit
ff1a74cb
authored
Jun 24, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 配偶和子女 相关字段bug
parent
e44d2a67
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
YHChildInfoContainerVC.swift
...yMember(家庭成员信息表)/C/Child(子女)/YHChildInfoContainerVC.swift
+1
-7
YHSpouseInfoContainerVC.swift
...ember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseInfoContainerVC.swift
+1
-7
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Child(子女)/YHChildInfoContainerVC.swift
View file @
ff1a74cb
...
@@ -256,13 +256,7 @@ extension YHChildInfoContainerVC {
...
@@ -256,13 +256,7 @@ extension YHChildInfoContainerVC {
func
saveInfo
(
isSubmit
:
Bool
,
isShowSubmitMsg
:
Bool
,
isShowLoading
:
Bool
,
callBack
:((
Bool
)
->
Void
)?)
{
func
saveInfo
(
isSubmit
:
Bool
,
isShowSubmitMsg
:
Bool
,
isShowLoading
:
Bool
,
callBack
:((
Bool
)
->
Void
)?)
{
guard
let
child
=
child
else
{
return
}
guard
let
child
=
child
else
{
return
}
//【WARNING】此处空数组是为了适配CRM后台 当area为[]且address其他属性为空,adress在CRM存储值为{}
if
child
.
address
.
area
.
count
<=
0
{
child
.
address
.
area
=
[
""
]
}
if
child
.
birthPlace
.
area
.
count
<=
0
{
child
.
birthPlace
.
area
=
[
""
]
}
guard
let
info
=
child
.
toDictionary
()
else
{
return
}
guard
let
info
=
child
.
toDictionary
()
else
{
return
}
let
dict
:[
String
:
Any
]
=
[
"order_id"
:
child
.
orderId
,
let
dict
:[
String
:
Any
]
=
[
"order_id"
:
child
.
orderId
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseInfoContainerVC.swift
View file @
ff1a74cb
...
@@ -209,13 +209,7 @@ extension YHSpouseInfoContainerVC {
...
@@ -209,13 +209,7 @@ extension YHSpouseInfoContainerVC {
func
saveInfo
(
isSubmit
:
Bool
,
isShowSubmitMsg
:
Bool
,
isLoading
:
Bool
,
callBack
:((
Bool
)
->
Void
)?)
{
func
saveInfo
(
isSubmit
:
Bool
,
isShowSubmitMsg
:
Bool
,
isLoading
:
Bool
,
callBack
:((
Bool
)
->
Void
)?)
{
guard
let
spouse
=
spouse
else
{
return
}
guard
let
spouse
=
spouse
else
{
return
}
//【WARNING】此处空数组是为了适配CRM后台 当area为[]且address其他属性为空,adress在CRM存储值为{}
if
spouse
.
address
.
area
.
count
<=
0
{
spouse
.
address
.
area
=
[
""
]
}
if
spouse
.
birthPlace
.
area
.
count
<=
0
{
spouse
.
birthPlace
.
area
=
[
""
]
}
guard
let
info
=
spouse
.
toDictionary
()
else
{
return
}
guard
let
info
=
spouse
.
toDictionary
()
else
{
return
}
let
dict
:[
String
:
Any
]
=
[
"order_id"
:
orderId
,
let
dict
:[
String
:
Any
]
=
[
"order_id"
:
orderId
,
...
...
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