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
a2380090
Commit
a2380090
authored
Mar 05, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 家庭成员
parent
7c7bc5c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
9 deletions
+23
-9
YHFamilyMemberInfoVC.swift
...ss(流程)/FamilyMember(家庭成员信息表)/C/YHFamilyMemberInfoVC.swift
+23
-9
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/YHFamilyMemberInfoVC.swift
View file @
a2380090
...
...
@@ -368,17 +368,30 @@ extension YHFamilyMemberInfoVC : UITableViewDelegate, UITableViewDataSource {
cell
.
detailLabel
.
text
=
"还未开始填写"
.
local
}
if
detailItem
.
relationType
==
.
child
||
detailItem
.
relationType
==
.
brother
{
if
detailItem
.
subsetName
==
nil
||
detailItem
.
subsetName
==
""
{
// 姓名为空
if
detailItem
.
relationType
==
.
child
{
cell
.
title
=
String
(
format
:
"子女%d"
.
local
,
indexPath
.
row
)
}
else
if
detailItem
.
relationType
==
.
brother
{
cell
.
title
=
String
(
format
:
"兄弟姐妹%d"
.
local
,
indexPath
.
row
)
}
}
else
{
cell
.
title
=
detailItem
.
subsetName
if
isEmptyString
(
detailItem
.
subsetName
)
{
// 姓名为空
if
detailItem
.
relationType
==
.
child
{
cell
.
title
=
String
(
format
:
"子女%d"
.
local
,
indexPath
.
row
)
}
else
if
detailItem
.
relationType
==
.
brother
{
cell
.
title
=
String
(
format
:
"兄弟姐妹%d"
.
local
,
indexPath
.
row
)
}
}
else
{
var
name
=
""
if
detailItem
.
relationType
==
.
father
{
name
=
"父亲"
}
else
if
detailItem
.
relationType
==
.
mother
{
name
=
"母亲"
}
else
if
detailItem
.
relationType
==
.
spouse
{
name
=
"配偶"
}
else
if
detailItem
.
relationType
==
.
child
{
name
=
"子女"
}
else
if
detailItem
.
relationType
==
.
brother
{
name
=
"兄弟姐妹"
}
name
+=
"-"
name
+=
detailItem
.
subsetName
cell
.
title
=
name
}
cell
.
isShowDeleteBtn
=
false
cell
.
deleteBlock
=
nil
if
detailItem
.
relationType
==
.
child
||
detailItem
.
relationType
==
.
brother
{
...
...
@@ -462,6 +475,7 @@ extension YHFamilyMemberInfoVC : UITableViewDelegate, UITableViewDataSource {
if
formItem
.
type
==
.
addChild
||
formItem
.
type
==
.
addBrother
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemAddCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFormItemAddCell
cell
.
title
=
formItem
.
getTitle
()
cell
.
clickBlock
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
if
formItem
.
type
==
.
addBrother
{
...
...
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