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
48851957
Commit
48851957
authored
Mar 07, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 家庭成员
parent
9ff29ddf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
29 deletions
+46
-29
YHFamilyInitialInfo.swift
...ess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
+45
-28
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
View file @
48851957
...
@@ -588,71 +588,88 @@ enum YHFamilyMemberType: Int {
...
@@ -588,71 +588,88 @@ enum YHFamilyMemberType: Int {
class
YHFamilyMember
:
SmartCodable
,
YHFormItemProtocol
{
class
YHFamilyMember
:
SmartCodable
,
YHFormItemProtocol
{
var
id
:
Int
=
0
var
id
:
Int
=
0
// 是否已故 1:是 0:否
var
deceased
:
Int
=
0
// 主申请人和现配偶是否拥有孩子抚养权 1:是 0:否
var
custody
:
Int
=
0
var
nationality
:
String
=
""
var
nationality
:
String
=
""
var
orderId
:
Int
=
0
var
orderId
:
Int
=
0
var
relation
:
String
=
""
var
relation
:
String
=
""
var
hasDegree
:
String
=
""
var
hasDegree
:
String
=
""
var
hasDegreeJson
:
[
YHHasDegreeJson
]
=
[]
var
hasDegreeJson
:
[
YHHasDegreeJson
]
=
[]
// 是否随行 1:是 2:否
var
follow
:
Int
=
1
var
statement
:
Int
=
0
var
statement
:
Int
=
0
var
subsetName
:
String
=
""
var
subsetName
:
String
=
""
var
subsetNamePinyin
:
YHSubsetNamePinyin
=
YHSubsetNamePinyin
()
var
subsetNamePinyin
:
YHSubsetNamePinyin
=
YHSubsetNamePinyin
()
var
birthday
:
String
=
""
var
birthday
:
String
=
""
// 是否出生国外 1:是 0:否
var
birthPlaceAboard
:
Int
=
0
var
birthPlace
:
YHAddress
=
YHAddress
()
var
birthPlace
:
YHAddress
=
YHAddress
()
var
occupation
:
String
=
""
var
occupation
:
String
=
""
var
occupationName
:
String
=
""
var
occupationName
:
String
=
""
var
operatorName
:
String
=
""
var
operatorName
:
String
=
""
// 是否办理过香港身份证
var
childHasHkId
:
YHChildStepchildClass
=
YHChildStepchildClass
()
var
hkIdentityCard
:
String
?
var
hkIdentityCard
:
String
?
// 性别 1:男 2:女
var
sex
:
Int
=
0
var
married
:
String
=
""
var
married
:
String
=
""
// 是否与主申请人同住 1:是 0:否
var
nows
:
Int
=
0
var
address
:
YHAddress
=
YHAddress
()
var
address
:
YHAddress
=
YHAddress
()
// 是否前一次婚姻子女
var
childStepchild
:
YHChildStepchildClass
=
YHChildStepchildClass
()
// // 目前是否在港
var
childInHk
:
YHChildStepchildClass
=
YHChildStepchildClass
(
has
:
"N"
)
var
countryIdentity
:
YHChildStepchildClass
=
YHChildStepchildClass
()
var
hkIdentity
:
String
=
""
var
hkIdentity
:
String
=
""
var
liveCountry
:
String
=
""
var
liveCountry
:
String
=
""
var
finishFollow
:
Int
=
0
var
finishFollow
:
Int
=
0
var
step
:
Int
=
0
var
step
:
Int
=
0
// 是否要办理港澳通行证 1:是 0:否
var
isHandled
:
Int
=
0
// notFillNumber = -1 表示还没开始填写任意数据项
var
notFillNumber
:
Int
=
-
1
var
certificates
:
YHCertificates
=
YHCertificates
()
var
certificates
:
YHCertificates
=
YHCertificates
()
var
usedName
:
String
=
""
var
usedName
:
String
=
""
var
hkIdentityOther
:
String
=
""
var
hkIdentityOther
:
String
=
""
var
isHkHandled
:
Int
=
0
var
isHkHandled
:
Int
=
0
var
isInHk
:
Int
=
0
var
isInHk
:
Int
=
0
var
surname
:
String
=
""
// 是否办理过香港身份证
var
childHasHkId
:
YHChildStepchildClass
=
YHChildStepchildClass
()
// 是否前一次婚姻子女
var
childStepchild
:
YHChildStepchildClass
=
YHChildStepchildClass
()
// 目前是否在港
var
childInHk
:
YHChildStepchildClass
=
YHChildStepchildClass
(
has
:
"N"
)
var
countryIdentity
:
YHChildStepchildClass
=
YHChildStepchildClass
()
// 是否已故 1:是 0:否
var
deceased
:
Int
=
0
// 主申请人和现配偶是否拥有孩子抚养权 1:是 0:否
var
custody
:
Int
=
0
// 是否出生国外 1:是 0:否
var
birthPlaceAboard
:
Int
=
0
// 是否与主申请人同住 1:是 0:否
var
nows
:
Int
=
0
// 是否要办理港澳通行证 1:是 0:否
var
isHandled
:
Int
=
0
// notFillNumber = -1 表示还没开始填写任意数据项
var
notFillNumber
:
Int
=
-
1
// 是否随行 1:是 2:否
var
follow
:
Int
=
1
// 是否在海外居住满1年及以上 1:是 2:否
// 是否在海外居住满1年及以上 1:是 2:否
var
isLiveOverseaYear
:
Int
=
2
var
isLiveOverseaYear
:
Int
=
2
var
surname
:
String
=
""
// 性别 1:男 2:女
var
sex
:
Int
=
1
func
checkDefaultValue
()
->
Self
{
func
checkDefaultValue
()
->
Self
{
if
hasDegree
.
isEmpty
{
if
hasDegree
.
isEmpty
{
// 默认无学位
hasDegree
=
"0"
hasDegree
=
"0"
}
}
if
childHasHkId
.
has
.
isEmpty
{
if
childHasHkId
.
has
.
isEmpty
{
// 默认未办理过香港身份证
childHasHkId
.
has
=
"N"
childHasHkId
.
has
=
"N"
}
}
if
childStepchild
.
has
.
isEmpty
{
if
childStepchild
.
has
.
isEmpty
{
// 默认不是前一次婚姻子女
childStepchild
.
has
=
"N"
childStepchild
.
has
=
"N"
}
}
if
childInHk
.
has
.
isEmpty
{
if
childInHk
.
has
.
isEmpty
{
// // 默认目前不在香港港
childInHk
.
has
=
"N"
childInHk
.
has
=
"N"
}
}
if
follow
!=
1
&&
follow
!=
2
{
// 默认随行
follow
=
1
}
if
isLiveOverseaYear
!=
1
&&
isLiveOverseaYear
!=
2
{
// 默认在海外未居住满一年以上
isLiveOverseaYear
=
2
}
if
sex
!=
1
&&
sex
!=
2
{
// 默认为男性
sex
=
1
}
return
self
return
self
}
}
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
48851957
...
@@ -54,7 +54,7 @@ class YHAllApiName {
...
@@ -54,7 +54,7 @@ class YHAllApiName {
// 删除家庭成员信息
// 删除家庭成员信息
static
let
deleteFamilyMemberApi
=
"infoflow/family/delete"
static
let
deleteFamilyMemberApi
=
"infoflow/family/delete"
// 提交家庭成员信息
// 提交家庭成员信息
static
let
submitAllFamilyInfoApi
=
"
/
infoflow/family/submit"
static
let
submitAllFamilyInfoApi
=
"infoflow/family/submit"
}
}
struct
Education
{
struct
Education
{
...
...
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