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
c2375805
Commit
c2375805
authored
Mar 06, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 家庭成员
parent
02441494
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
9 deletions
+40
-9
YHChildBasicInfoVC.swift
...amilyMember(家庭成员信息表)/C/Child(子女)/YHChildBasicInfoVC.swift
+8
-2
YHChildPrimaryInfoVC.swift
...ilyMember(家庭成员信息表)/C/Child(子女)/YHChildPrimaryInfoVC.swift
+10
-2
YHSpouseBasicInfoVC.swift
...ilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseBasicInfoVC.swift
+7
-1
YHFamilyInitialInfo.swift
...ess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
+7
-2
YHFamilyMemberViewModel.swift
...流程)/FamilyMember(家庭成员信息表)/M/YHFamilyMemberViewModel.swift
+8
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Child(子女)/YHChildBasicInfoVC.swift
View file @
c2375805
...
...
@@ -429,7 +429,13 @@ extension YHChildBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
let
detailItem
=
item
as!
YHFormDetailItem
if
detailItem
.
type
==
.
birthday
||
detailItem
.
type
==
.
stayHKDate
{
// 出生日期/获准滞留至
YHDatePickView
.
show
(
type
:
.
yyyymmdd
)
{
[
weak
self
]
date
in
var
title
=
""
if
detailItem
.
type
==
.
birthday
{
title
=
"选择出生日期"
}
else
if
detailItem
.
type
==
.
stayHKDate
{
title
=
"选择逗留日期"
}
YHDatePickView
.
show
(
type
:
.
yyyymmdd
,
title
:
title
)
{
[
weak
self
]
date
in
guard
let
self
=
self
else
{
return
}
if
detailItem
.
type
==
.
birthday
{
...
...
@@ -437,7 +443,7 @@ extension YHChildBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
}
else
if
detailItem
.
type
==
.
stayHKDate
{
self
.
child
?
.
childInHk
.
info
=
date
}
self
.
loadInfo
()
loadInfo
()
save
()
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Child(子女)/YHChildPrimaryInfoVC.swift
View file @
c2375805
...
...
@@ -220,8 +220,7 @@ extension YHChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
}
if
detailItem
.
type
==
.
isAccompanyToHK
,
let
child
=
child
,
child
.
is18YearsOld
()
{
// 是否随行至香港
// 年满18岁不能随行
select
=
false
// 年满18岁不能随行 随行按钮不可编辑固定为否
cell
.
isCanEdit
=
isFollowCanEdit
}
...
...
@@ -364,6 +363,7 @@ extension YHChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
}
self
.
loadInfo
()
save
()
}
self
.
navigationController
?
.
pushViewController
(
vc
)
...
...
@@ -383,6 +383,7 @@ extension YHChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
}
self
.
child
?
.
address
.
area
=
citys
self
.
loadInfo
()
save
()
}
self
.
present
(
vc
,
animated
:
true
)
...
...
@@ -397,8 +398,15 @@ extension YHChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
guard
let
child
=
child
else
{
return
}
child
.
birthday
=
date
isFollowCanEdit
=
!
child
.
is18YearsOld
()
if
child
.
is18YearsOld
()
{
child
.
setFollow
(
false
)
}
if
let
delegate
=
delegate
,
delegate
.
responds
(
to
:
#selector(
YHSpouseInfoVCProtocol.updateStepView
)
)
{
delegate
.
updateStepView
()
}
}
self
.
loadInfo
()
save
()
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseBasicInfoVC.swift
View file @
c2375805
...
...
@@ -617,7 +617,13 @@ extension YHSpouseBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
let
detailItem
=
item
as!
YHFormDetailItem
if
detailItem
.
type
==
.
birthday
||
detailItem
.
type
==
.
stayHKDate
{
// 出生日期/获准滞留至
YHDatePickView
.
show
(
type
:
.
yyyymmdd
)
{
[
weak
self
]
date
in
var
title
=
""
if
detailItem
.
type
==
.
birthday
{
title
=
"选择出生日期"
}
else
if
detailItem
.
type
==
.
stayHKDate
{
title
=
"选择逗留日期"
}
YHDatePickView
.
show
(
type
:
.
yyyymmdd
,
title
:
title
)
{
[
weak
self
]
date
in
guard
let
self
=
self
else
{
return
}
if
detailItem
.
type
==
.
birthday
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
View file @
c2375805
...
...
@@ -890,7 +890,7 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
var
relation
:
String
=
""
var
hasDegree
:
String
=
""
var
hasDegreeJson
:
[
YHHasDegreeJson
]
=
[]
var
follow
:
Int
=
0
var
follow
:
Int
=
1
var
statement
:
Int
=
0
var
subsetName
:
String
=
""
var
subsetNamePinyin
:
YHSubsetNamePinyin
=
YHSubsetNamePinyin
()
...
...
@@ -1258,11 +1258,16 @@ class YHAddress: SmartCodable {
class
YHChildStepchildClass
:
SmartCodable
{
var
has
:
String
=
""
var
info
:
String
=
""
var
number
:
String
=
""
var
year
:
String
=
""
var
month
:
String
=
""
// 龙哥所加字段
var
number
:
String
=
""
enum
CodingKeys
:
String
,
CodingKey
{
case
has
=
"has"
case
info
=
"info"
case
year
=
"year"
case
month
=
"month"
case
number
=
"number"
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyMemberViewModel.swift
View file @
c2375805
...
...
@@ -66,7 +66,10 @@ class YHFamilyMemberViewModel {
mainModel
.
subsetName
=
model
.
name
}
if
model
.
birth
.
count
!=
0
{
mainModel
.
birthday
=
model
.
birth
.
toTimeString
()
if
mainModel
.
relationType
!=
.
child
{
// 孩子生日设置大于18岁后必须设置为不能随行 导致证件上传和证件信息页面隐藏 会产生异常
mainModel
.
birthday
=
model
.
birth
.
toTimeString
()
}
}
if
model
.
gender
.
count
!=
0
{
if
model
.
gender
==
"女"
{
...
...
@@ -95,7 +98,10 @@ class YHFamilyMemberViewModel {
mainModel
.
subsetName
=
model
.
name
}
if
model
.
birth
.
count
!=
0
{
mainModel
.
birthday
=
model
.
birth
.
toTimeString
()
if
mainModel
.
relationType
!=
.
child
{
// 孩子生日设置大于18岁后必须设置为不能随行 导致证件上传和证件信息页面隐藏 会产生异常
mainModel
.
birthday
=
model
.
birth
.
toTimeString
()
}
}
if
model
.
gender
.
count
!=
0
{
if
model
.
gender
==
"女"
{
...
...
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