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
1f776d04
Commit
1f776d04
authored
Jan 27, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 父母信息
parent
c6215907
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
106 additions
and
64 deletions
+106
-64
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-4
YHCertificateViewController.swift
...cess(流程)/FamilyMember/C/YHCertificateViewController.swift
+0
-2
YHFamilyMemberFormVC.swift
...viceProcess(流程)/FamilyMember/C/YHFamilyMemberFormVC.swift
+30
-1
YHParentInfoVC.swift
...心)/ServiceProcess(流程)/FamilyMember/C/YHParentInfoVC.swift
+45
-38
YHSpouseBasicInfoVC.swift
...rviceProcess(流程)/FamilyMember/C/YHSpouseBasicInfoVC.swift
+2
-0
YHSpouseInitialInfoVC.swift
...iceProcess(流程)/FamilyMember/C/YHSpouseInitialInfoVC.swift
+11
-11
YHFamilyInitialInfo.swift
...rviceProcess(流程)/FamilyMember/M/YHFamilyInitialInfo.swift
+14
-8
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
1f776d04
...
...
@@ -24,7 +24,7 @@
042FBBBD2B63519C00F9DE23
/* YHFormItemSelectSheetCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
042FBBBC2B63519C00F9DE23
/* YHFormItemSelectSheetCell.swift */
;
};
042FBBBF2B639F0300F9DE23
/* YHSpouseBasicInfoVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
042FBBBE2B639F0300F9DE23
/* YHSpouseBasicInfoVC.swift */
;
};
042FBBC12B63B21700F9DE23
/* YHFormItemDegreeInfoCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
042FBBC02B63B21700F9DE23
/* YHFormItemDegreeInfoCell.swift */
;
};
042FBBC32B63DA4C00F9DE23
/* YHParent
ViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
042FBBC22B63DA4C00F9DE23
/* YHParentViewController
.swift */
;
};
042FBBC32B63DA4C00F9DE23
/* YHParent
InfoVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
042FBBC22B63DA4C00F9DE23
/* YHParentInfoVC
.swift */
;
};
0468D4202B49320900CFB916
/* YHVerificationCodeLoginController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D41F2B49320900CFB916
/* YHVerificationCodeLoginController.swift */
;
};
0468D4222B493A5E00CFB916
/* YHPhoneMessageView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D4212B493A5E00CFB916
/* YHPhoneMessageView.swift */
;
};
0468D4242B494BEA00CFB916
/* YHCodeResultViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0468D4232B494BEA00CFB916
/* YHCodeResultViewController.swift */
;
};
...
...
@@ -186,7 +186,7 @@
042FBBBC2B63519C00F9DE23
/* YHFormItemSelectSheetCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFormItemSelectSheetCell.swift
;
sourceTree
=
"<group>"
;
};
042FBBBE2B639F0300F9DE23
/* YHSpouseBasicInfoVC.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSpouseBasicInfoVC.swift
;
sourceTree
=
"<group>"
;
};
042FBBC02B63B21700F9DE23
/* YHFormItemDegreeInfoCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFormItemDegreeInfoCell.swift
;
sourceTree
=
"<group>"
;
};
042FBBC22B63DA4C00F9DE23
/* YHParent
ViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHParentViewController
.swift
;
sourceTree
=
"<group>"
;
};
042FBBC22B63DA4C00F9DE23
/* YHParent
InfoVC.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHParentInfoVC
.swift
;
sourceTree
=
"<group>"
;
};
0468D41F2B49320900CFB916
/* YHVerificationCodeLoginController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHVerificationCodeLoginController.swift
;
sourceTree
=
"<group>"
;
};
0468D4212B493A5E00CFB916
/* YHPhoneMessageView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPhoneMessageView.swift
;
sourceTree
=
"<group>"
;
};
0468D4232B494BEA00CFB916
/* YHCodeResultViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCodeResultViewController.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -375,7 +375,7 @@
041B52D52B5F899E007EBCEB
/* YHSpouseInitialInfoVC.swift */
,
042FBBBA2B62806D00F9DE23
/* YHCertificateViewController.swift */
,
042FBBBE2B639F0300F9DE23
/* YHSpouseBasicInfoVC.swift */
,
042FBBC22B63DA4C00F9DE23
/* YHParent
ViewController
.swift */
,
042FBBC22B63DA4C00F9DE23
/* YHParent
InfoVC
.swift */
,
);
path
=
C
;
sourceTree
=
"<group>"
;
...
...
@@ -1138,7 +1138,7 @@
A5C5B3102B57677300A7C5D1
/* YHGestureTableView.swift in Sources */
,
A5ACE9312B4564F7002C94D2
/* YHPersonalCenterCell.swift in Sources */
,
A5ACE9532B4564F7002C94D2
/* YHBaseViewController.swift in Sources */
,
042FBBC32B63DA4C00F9DE23
/* YHParent
ViewController
.swift in Sources */
,
042FBBC32B63DA4C00F9DE23
/* YHParent
InfoVC
.swift in Sources */
,
A5ACE9392B4564F7002C94D2
/* UIDevice+Extension.swift in Sources */
,
041B52912B5E67F3007EBCEB
/* YHFormItemEnterDetailCell.swift in Sources */
,
A5ACE9422B4564F7002C94D2
/* AppDelegate+Extension.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHCertificateViewController.swift
View file @
1f776d04
...
...
@@ -179,8 +179,6 @@ extension YHCertificateViewController : UITableViewDelegate, UITableViewDataSour
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
let
vc
=
YHSpouseBasicInfoVC
()
self
.
navigationController
?
.
pushViewController
(
vc
)
}
func
createCorner
(
cell
:
UITableViewCell
,
arr
:
Array
<
Any
>
,
indexPath
:
IndexPath
)
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHFamilyMemberFormVC.swift
View file @
1f776d04
...
...
@@ -628,10 +628,39 @@ extension YHFamilyMemberFormVC : UITableViewDelegate, UITableViewDataSource {
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
let
spouse
=
familyMemberInfo
?
.
spouse
{
let
arr
=
items
[
indexPath
.
section
]
let
item
:
YHFormItemProtocol
=
arr
[
indexPath
.
row
]
// 标题
if
item
is
YHFormTitleItem
{
return
}
// 新增子女兄妹
if
item
is
YHFormAddItem
{
let
detailItem
=
item
as!
YHFormAddItem
if
detailItem
.
type
==
.
addChild
{
}
else
if
detailItem
.
type
==
.
addBrother
{
}
return
}
// 父母
if
item
is
YHParent
{
let
parent
=
item
as!
YHParent
let
vc
=
YHParentInfoVC
()
vc
.
parentInfo
=
parent
self
.
navigationController
?
.
pushViewController
(
vc
)
return
}
// 配偶
if
item
is
YHSpouse
{
let
spouse
=
item
as!
YHSpouse
let
vc
=
YHSpouseInitialInfoVC
()
vc
.
spouse
=
spouse
self
.
navigationController
?
.
pushViewController
(
vc
)
return
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHParent
ViewController
.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHParent
InfoVC
.swift
View file @
1f776d04
...
...
@@ -8,7 +8,7 @@
import
UIKit
class
YHParent
ViewController
:
YHBaseViewController
{
class
YHParent
InfoVC
:
YHBaseViewController
{
var
parentInfo
:
YHParent
?
...
...
@@ -55,39 +55,57 @@ class YHParentViewController: YHBaseViewController {
make
.
left
.
equalToSuperview
()
.
offset
(
16
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
16
)
}
loadBasicInfo
()
}
func
loadBasicInfo
()
{
let
title0
=
YHFormTitleItem
(
type
:
.
spouseInfo
)
let
item01
=
YHFormDetailItem
(
type
:
.
everName
)
let
item02
=
YHFormDetailItem
(
type
:
.
befourMarryFirstName
)
let
item03
=
YHFormDetailItem
(
type
:
.
birthday
)
let
item04
=
YHFormDetailItem
(
type
:
.
birthNation
)
let
item05
=
YHFormDetailItem
(
type
:
.
birthCity
)
let
arr0
:[
YHFormItemProtocol
]
=
[
title0
,
item01
,
item02
,
item03
,
item04
,
item05
]
guard
let
parentInfo
=
parentInfo
else
{
return
}
items
.
removeAll
()
let
title1
=
YHFormTitleItem
(
type
:
.
occupationInfo
)
let
item10
=
YHFormDetailItem
(
type
:
.
occupation
)
let
item11
=
YHFormDetailItem
(
type
:
.
occupationName
)
let
arr1
:[
YHFormItemProtocol
]
=
[
title1
,
item10
,
item11
]
// 父母亲信息
var
arr0
=
[
YHFormItemProtocol
]()
if
parentInfo
.
sex
==
1
{
// 父亲
let
title0
:
YHFormItemProtocol
=
YHFormTitleItem
(
type
:
.
fatherInfo
)
let
item00
:
YHFormItemProtocol
=
YHFormDetailItem
(
type
:
.
fatherName
)
arr0
.
append
(
contentsOf
:
[
title0
,
item00
])
}
else
{
// 母亲
let
title0
:
YHFormItemProtocol
=
YHFormTitleItem
(
type
:
.
motherInfo
)
let
item00
:
YHFormItemProtocol
=
YHFormDetailItem
(
type
:
.
motherName
)
arr0
.
append
(
contentsOf
:
[
title0
,
item00
])
}
let
item01
:
YHFormItemProtocol
=
YHFormDetailItem
(
type
:
.
birthday
)
let
item02
:
YHFormItemProtocol
=
YHFormDetailItem
(
type
:
.
birthNation
)
let
item03
:
YHFormItemProtocol
=
YHFormDetailItem
(
type
:
.
birthCity
)
arr0
.
append
(
contentsOf
:
[
item01
,
item02
,
item03
])
let
title2
=
YHFormTitleItem
(
type
:
.
degreeInfo
)
let
item20
=
YHFormDetailItem
(
type
:
.
ownDegree
)
if
parentInfo
.
deceased
!=
1
{
// 健在
let
item04
:
YHFormItemProtocol
=
YHFormDetailItem
(
type
:
.
marriageState
)
arr0
.
append
(
item04
)
}
let
item21
=
YHFormDetailItem
(
type
:
.
degreeDetailInfo
)
let
item22
=
YHFormDetailItem
(
type
:
.
degreeDetailInfo
)
// 职业信息
let
title1
:
YHFormItemProtocol
=
YHFormTitleItem
(
type
:
.
occupationInfo
)
let
item10
:
YHFormItemProtocol
=
YHFormDetailItem
(
type
:
.
occupation
)
let
arr1
:[
YHFormItemProtocol
]
=
[
title1
,
item10
]
let
item23
=
YHFormAddItem
(
type
:
.
addDegree
)
let
arr2
:[
YHFormItemProtocol
]
=
[
title2
,
item20
,
item21
,
item22
,
item23
]
// 居住信息
let
title2
:
YHFormItemProtocol
=
YHFormTitleItem
(
type
:
.
liveInfo
)
let
item20
:
YHFormItemProtocol
=
YHFormDetailItem
(
type
:
.
liveNationOrArea
)
let
arr2
:[
YHFormItemProtocol
]
=
[
title2
,
item20
]
let
title3
=
YHFormTitleItem
(
type
:
.
hkIdentityCardInfo
)
let
item30
=
YHFormDetailItem
(
type
:
.
isHaveHkIdentityCard
)
let
item31
=
YHFormDetailItem
(
type
:
.
hkIdentityCardNumber
)
// 香港身份证
let
title3
:
YHFormItemProtocol
=
YHFormTitleItem
(
type
:
.
hkIdentityCardInfo
)
let
item30
:
YHFormItemProtocol
=
YHFormDetailItem
(
type
:
.
isHaveHkIdentityCard
)
let
item31
:
YHFormItemProtocol
=
YHFormDetailItem
(
type
:
.
hkIdentityCardNumber
)
let
arr3
:[
YHFormItemProtocol
]
=
[
title3
,
item30
,
item31
]
items
.
append
(
contentsOf
:
[
arr0
,
arr1
,
arr2
,
arr3
])
tableView
.
reloadData
()
}
func
getCellType
(
_
item
:
Any
)
->
HKFormItemCellType
{
...
...
@@ -95,46 +113,35 @@ class YHParentViewController: YHBaseViewController {
return
.
title
}
if
item
is
YHFormAddItem
{
return
.
addItem
}
if
item
is
YHFormDetailItem
{
let
detailItem
=
item
as!
YHFormDetailItem
if
detailItem
.
type
==
.
spouseName
||
detailItem
.
type
==
.
everName
||
detailItem
.
type
==
.
befourMarryFirstName
||
detailItem
.
type
==
.
occupationName
if
detailItem
.
type
==
.
fatherName
||
detailItem
.
type
==
.
motherName
||
detailItem
.
type
==
.
nationOrArea
||
detailItem
.
type
==
.
hkIdentityCardNumber
{
return
.
inputText
}
if
detailItem
.
type
==
.
birthday
||
detailItem
.
type
==
.
birthCity
||
detailItem
.
type
==
.
marriageState
||
detailItem
.
type
==
.
occupation
||
detailItem
.
type
==
.
stayHKDate
||
detailItem
.
type
==
.
roleInHK
||
detailItem
.
type
==
.
ownDegree
||
detailItem
.
type
==
.
liveNationOrArea
{
return
.
selectSheet
}
if
detailItem
.
type
==
.
birthNation
||
detailItem
.
type
==
.
isNowInHK
||
detailItem
.
type
==
.
isHaveHkIdentityCard
{
return
.
twoChoice
}
if
detailItem
.
type
==
.
degreeDetailInfo
{
return
.
degreeDetailInfo
}
}
return
.
defaultType
}
}
extension
YHParent
ViewController
:
UITableViewDelegate
,
UITableViewDataSource
{
extension
YHParent
InfoVC
:
UITableViewDelegate
,
UITableViewDataSource
{
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
return
items
.
count
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHSpouseBasicInfoVC.swift
View file @
1f776d04
...
...
@@ -259,6 +259,8 @@ extension YHSpouseBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
let
vc
=
YHParentInfoVC
()
self
.
navigationController
?
.
pushViewController
(
vc
)
}
func
createCorner
(
cell
:
UITableViewCell
,
arr
:
Array
<
Any
>
,
indexPath
:
IndexPath
)
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHSpouseInitialInfoVC.swift
View file @
1f776d04
...
...
@@ -80,7 +80,7 @@ class YHSpouseInitialInfoVC: YHBaseViewController {
// 随行
let
title0
=
YHFormTitleItem
(
type
:
.
accompany
)
let
item0
=
YHFormDetailItem
(
type
:
.
accompany
)
let
item0
=
YHFormDetailItem
(
type
:
.
isAccompanyToHK
)
item0
.
isAccompany
=
(
spouse
.
follow
==
1
)
let
arr0
:[
YHFormItemProtocol
]
=
[
title0
,
item0
]
items
.
append
(
arr0
)
...
...
@@ -96,14 +96,14 @@ class YHSpouseInitialInfoVC: YHBaseViewController {
let
title2
=
YHFormTitleItem
(
type
:
.
liveInfo
)
let
item20
=
YHFormDetailItem
(
type
:
.
isLiveTother
)
item20
.
isLiveTogether
=
(
spouse
.
finishFollow
==
1
)
let
item21
=
YHFormDetailItem
(
type
:
.
liveContry
)
let
item21
=
YHFormDetailItem
(
type
:
.
nationOrArea
)
let
item22
=
YHFormDetailItem
(
type
:
.
liveCity
)
let
item23
=
YHFormDetailItem
(
type
:
.
detailAddress
)
let
arr2
:[
YHFormItemProtocol
]
=
[
title2
,
item20
,
item21
,
item22
,
item23
]
// 港澳通信证
let
title3
=
YHFormTitleItem
(
type
:
.
getHKPassport
)
let
item30
=
YHFormDetailItem
(
type
:
.
hkPassp
ort
)
let
item30
=
YHFormDetailItem
(
type
:
.
isHandleHKPassP
ort
)
item30
.
isHandleHkPassport
=
(
spouse
.
isHandled
==
1
)
let
arr3
:[
YHFormItemProtocol
]
=
[
title3
,
item30
]
items
.
append
(
contentsOf
:[
arr1
,
arr2
,
arr3
])
...
...
@@ -187,20 +187,20 @@ extension YHSpouseInitialInfoVC : UITableViewDelegate, UITableViewDataSource {
let
detailItem
=
item
as!
YHFormDetailItem
if
detailItem
.
type
==
.
accompany
||
detailItem
.
type
==
.
hkPassp
ort
||
detailItem
.
type
==
.
isLiveTother
{
if
detailItem
.
type
==
.
isAccompanyToHK
||
detailItem
.
type
==
.
isHandleHKPassP
ort
||
detailItem
.
type
==
.
isLiveTother
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemDoubleChoiceCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFormItemDoubleChoiceCell
cell
.
title
=
detailItem
.
getTitle
()
let
answers
=
[
YHFormChoiceItem
(
title
:
"是"
.
local
,
isSelect
:
true
),
YHFormChoiceItem
(
title
:
"否"
.
local
,
isSelect
:
false
)]
cell
.
answerArr
=
answers
if
detailItem
.
type
==
.
accompany
{
if
detailItem
.
type
==
.
isAccompanyToHK
{
let
answers
=
[
YHFormChoiceItem
(
title
:
"是"
.
local
,
isSelect
:
detailItem
.
isAccompany
),
YHFormChoiceItem
(
title
:
"否"
.
local
,
isSelect
:
!
detailItem
.
isAccompany
)]
cell
.
answerArr
=
answers
}
else
if
detailItem
.
type
==
.
hkPassp
ort
{
}
else
if
detailItem
.
type
==
.
isHandleHKPassP
ort
{
let
answers
=
[
YHFormChoiceItem
(
title
:
"是"
.
local
,
isSelect
:
detailItem
.
isHandleHkPassport
),
YHFormChoiceItem
(
title
:
"否"
.
local
,
isSelect
:
!
detailItem
.
isHandleHkPassport
)]
...
...
@@ -218,12 +218,12 @@ extension YHSpouseInitialInfoVC : UITableViewDelegate, UITableViewDataSource {
let
selectItem
:
YHFormChoiceItem
=
arr
[
selectIndex
]
if
detailItem
.
type
==
.
accompany
{
// 是否随行
if
detailItem
.
type
==
.
isAccompanyToHK
{
// 是否随行
let
follow
=
(
selectItem
.
title
==
"是"
.
local
?
1
:
0
)
self
?
.
spouse
?
.
follow
=
follow
self
?
.
loadSponseInfo
()
}
else
if
detailItem
.
type
==
.
hkPassp
ort
{
// 是否办理港澳通行证
}
else
if
detailItem
.
type
==
.
isHandleHKPassP
ort
{
// 是否办理港澳通行证
let
handlePassport
=
(
selectItem
.
title
==
"是"
.
local
?
1
:
0
)
self
?
.
spouse
?
.
isHandled
=
handlePassport
self
?
.
loadSponseInfo
()
...
...
@@ -236,7 +236,7 @@ extension YHSpouseInitialInfoVC : UITableViewDelegate, UITableViewDataSource {
}
return
cell
}
else
if
detailItem
.
type
==
.
country
||
detailItem
.
type
==
.
liveContry
||
detailItem
.
type
==
.
liveCity
||
detailItem
.
type
==
.
detailAddress
{
}
else
if
detailItem
.
type
==
.
country
||
detailItem
.
type
==
.
nationOrArea
||
detailItem
.
type
==
.
liveCity
||
detailItem
.
type
==
.
detailAddress
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemEnterDetailCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFormItemEnterDetailCell
cell
.
isMust
=
detailItem
.
isNeed
...
...
@@ -277,8 +277,8 @@ extension YHSpouseInitialInfoVC : UITableViewDelegate, UITableViewDataSource {
if
item
is
YHFormDetailItem
{
let
detailItem
=
item
as!
YHFormDetailItem
if
detailItem
.
type
==
.
isLiveTother
||
detailItem
.
type
==
.
accompany
||
detailItem
.
type
==
.
hkPassp
ort
detailItem
.
type
==
.
isAccompanyToHK
||
detailItem
.
type
==
.
isHandleHKPassP
ort
{
return
UITableView
.
automaticDimension
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/M/YHFamilyInitialInfo.swift
View file @
1f776d04
...
...
@@ -62,13 +62,19 @@ enum YHFormAddItemType:Int {
// 表单具体条目类型
enum
YHFormDetailItemType
:
Int
{
case
accompany
=
1
// 是否随行至香港
case
isAccompanyToHK
=
1
case
country
=
2
// 是否与主申请人同住
case
isLiveTother
=
3
case
liveContry
=
4
// 国家/地区
case
nationOrArea
=
4
// 现居住城市
case
liveCity
=
5
// 详细地址
case
detailAddress
=
6
case
hkPassport
=
7
// 是否办理
case
isHandleHKPassPort
=
7
// 证件类别
case
cetificateType
=
8
...
...
@@ -119,7 +125,7 @@ enum YHFormDetailItemType:Int {
// 婚姻状况
case
marriageState
=
30
// 现居住国家/地区
case
liveNation
=
31
case
liveNation
OrArea
=
31
}
...
...
@@ -272,19 +278,19 @@ class YHFormDetailItem : YHFormItemProtocol {
func
getTitle
()
->
String
{
switch
type
{
case
.
accompany
:
case
.
isAccompanyToHK
:
return
"是否随行至香港"
.
local
case
.
country
:
return
String
(
format
:
"%@/%@"
,
"国家"
.
local
,
"地区"
.
local
)
case
.
isLiveTother
:
return
"是否与主申请人同住"
.
local
case
.
liveContry
:
case
.
nationOrArea
:
return
String
(
format
:
"%@/%@"
,
"国家"
.
local
,
"地区"
.
local
)
case
.
liveCity
:
return
String
(
format
:
"%@/%@"
,
"国家"
.
local
,
"地区"
.
local
)
case
.
detailAddress
:
return
"详细地址"
.
local
case
.
hkPassp
ort
:
case
.
isHandleHKPassP
ort
:
return
"是否办理"
.
local
// 证件类别
case
.
cetificateType
:
...
...
@@ -351,7 +357,7 @@ class YHFormDetailItem : YHFormItemProtocol {
return
"母亲姓名"
.
local
case
.
marriageState
:
return
"婚姻状况"
.
local
case
.
liveNation
:
case
.
liveNation
OrArea
:
return
"现居住国家/地区"
.
local
}
}
...
...
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