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
9a350d11
Commit
9a350d11
authored
Feb 05, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 子女信息
parent
028d8c27
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
8 deletions
+39
-8
YHChildBasicInfoVC.swift
...erviceProcess(流程)/FamilyMember/C/YHChildBasicInfoVC.swift
+0
-0
YHSpouseBasicInfoVC.swift
...rviceProcess(流程)/FamilyMember/C/YHSpouseBasicInfoVC.swift
+9
-7
YHFamilyInitialInfo.swift
...rviceProcess(流程)/FamilyMember/M/YHFamilyInitialInfo.swift
+30
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHChildBasicInfoVC.swift
View file @
9a350d11
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHSpouseBasicInfoVC.swift
View file @
9a350d11
...
@@ -118,14 +118,16 @@ class YHSpouseBasicInfoVC: YHBaseViewController {
...
@@ -118,14 +118,16 @@ class YHSpouseBasicInfoVC: YHBaseViewController {
let
item10
=
YHFormDetailItem
(
type
:
.
occupation
)
let
item10
=
YHFormDetailItem
(
type
:
.
occupation
)
item10
.
value
=
spouse
.
occupation
item10
.
value
=
spouse
.
occupation
item10
.
placeHolder
=
"请输入"
.
local
item10
.
placeHolder
=
"请输入"
.
local
var
arr1
:[
YHFormItemProtocol
]
=
[
title1
,
item10
]
let
item11
=
YHFormDetailItem
(
type
:
.
occupationName
)
item11
.
value
=
spouse
.
occupationName
item11
.
placeHolder
=
"请输入"
.
local
let
arr1
:[
YHFormItemProtocol
]
=
[
title1
,
item10
,
item11
]
// 职业信息
if
spouse
.
isNowHaveJob
()
{
let
item11
=
YHFormDetailItem
(
type
:
.
occupationName
)
item11
.
value
=
spouse
.
occupationName
item11
.
placeHolder
=
"请输入"
.
local
arr1
.
append
(
item11
)
}
// 学位信息
let
title2
=
YHFormTitleItem
(
type
:
.
degreeInfo
)
let
title2
=
YHFormTitleItem
(
type
:
.
degreeInfo
)
let
item20
=
YHFormDetailItem
(
type
:
.
ownDegree
)
let
item20
=
YHFormDetailItem
(
type
:
.
ownDegree
)
item20
.
placeHolder
=
"请选择"
.
local
item20
.
placeHolder
=
"请选择"
.
local
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/M/YHFamilyInitialInfo.swift
View file @
9a350d11
...
@@ -523,7 +523,7 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
...
@@ -523,7 +523,7 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
var
operatorAme
:
SmartAny
?
var
operatorAme
:
SmartAny
?
// 香港身份证号
// 香港身份证号
var
hkIdentityCard
:
String
?
var
hkIdentityCard
:
String
?
// 性别
// 性别
男:1 女:2
var
sex
:
Int
=
0
var
sex
:
Int
=
0
// 婚姻状况
// 婚姻状况
var
married
:
String
?
var
married
:
String
?
...
@@ -534,6 +534,7 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
...
@@ -534,6 +534,7 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
// 香港身份证信息
// 香港身份证信息
var
childHasHkId
:
YHChildStepchildClass
?
var
childHasHkId
:
YHChildStepchildClass
?
// 是否前次婚姻子女
var
childStepchild
:
YHChildStepchildClass
?
var
childStepchild
:
YHChildStepchildClass
?
// 在港信息
// 在港信息
var
childInHk
:
YHChildStepchildClass
?
var
childInHk
:
YHChildStepchildClass
?
...
@@ -721,6 +722,34 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
...
@@ -721,6 +722,34 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
self
.
custody
=
val
?
1
:
0
self
.
custody
=
val
?
1
:
0
}
}
// 是否是男性
func
isMale
()
->
Bool
{
return
self
.
sex
==
1
}
func
setMale
(
_
val
:
Bool
)
{
self
.
sex
=
(
val
?
1
:
2
)
}
func
sexName
()
->
String
?
{
if
self
.
sex
==
1
{
return
"男"
.
local
}
else
if
self
.
sex
==
2
{
return
"女"
.
local
}
return
""
}
// 是否前一次婚姻子女
func
isPreviousMarriageChild
()
->
Bool
{
return
self
.
childStepchild
?
.
has
==
"Y"
}
func
setPreviousMarriageChild
(
_
val
:
Bool
)
{
self
.
childStepchild
?
.
has
=
(
val
?
"Y"
:
"N"
)
}
var
relationType
:
YHFamilyMemberType
{
var
relationType
:
YHFamilyMemberType
{
if
relation
==
"1"
{
if
relation
==
"1"
{
...
...
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