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
2a129cf6
Commit
2a129cf6
authored
Mar 04, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 家庭成员
parent
2310572c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
19 deletions
+26
-19
YHSpouseInfoContainerVC.swift
...ember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseInfoContainerVC.swift
+1
-2
YHSpousePrimaryInfoVC.swift
...yMember(家庭成员信息表)/C/Spouse(配偶)/YHSpousePrimaryInfoVC.swift
+14
-8
YHCertificateInfoController.swift
...FamilyMember(家庭成员信息表)/C/YHCertificateInfoController.swift
+1
-2
YHFamilyInitialInfo.swift
...ess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
+10
-0
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+0
-7
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseInfoContainerVC.swift
View file @
2a129cf6
...
...
@@ -94,8 +94,7 @@ class YHSpouseInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
func
createUI
()
{
guard
let
spouse
=
spouse
else
{
return
}
primaryInfoVC
.
delegate
=
self
certificateVC
.
delegate
=
self
basicInfoVC
.
delegate
=
self
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpousePrimaryInfoVC.swift
View file @
2a129cf6
...
...
@@ -355,14 +355,20 @@ extension YHSpousePrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
if
isEmptyString
(
spouse
.
nationality
)
{
return
false
}
if
isEmptyString
(
spouse
.
address
.
country
)
{
return
false
}
if
isEmptyString
(
spouse
.
address
.
details
)
{
return
false
}
if
spouse
.
isBirthOverSeas
(),
isEmptyArray
(
spouse
.
address
.
area
)
{
return
false
if
!
spouse
.
isLiveTother
()
{
// 没有与主申请人同住
if
isEmptyString
(
spouse
.
address
.
country
)
{
return
false
}
if
isEmptyString
(
spouse
.
address
.
details
)
{
return
false
}
if
spouse
.
address
.
isInChina
()
{
if
isEmptyArray
(
spouse
.
address
.
area
)
{
return
false
}
}
}
return
true
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/YHCertificateInfoController.swift
View file @
2a129cf6
...
...
@@ -208,8 +208,7 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour
[
weak
self
]
isLongTime
in
guard
let
self
=
self
else
{
return
}
if
title
.
type
==
.
chinaIdCardInfo
{
let
issueAt
=
self
.
familyMember
?
.
certificates
.
cnIdentityCard
.
issueAt
self
.
familyMember
?
.
certificates
.
cnIdentityCard
.
issueDateEndAt
=
((
isLongTime
?
YHCNIdentityCard
.
longTime
:
issueAt
)
!
)
self
.
familyMember
?
.
certificates
.
cnIdentityCard
.
issueDateEndAt
=
(
isLongTime
?
YHCNIdentityCard
.
longTime
:
""
)
loadInfo
()
save
()
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
View file @
2a129cf6
...
...
@@ -1186,6 +1186,16 @@ class YHAddress: SmartCodable {
required
init
()
{
}
// 是否在中国
func
isInChina
()
->
Bool
{
// 默认在中国
if
isEmptyString
(
country
)
{
return
true
}
if
country
.
contains
(
"中国"
)
{
return
true
}
return
false
}
}
// MARK: - YHChildStepchildClass
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
2a129cf6
...
...
@@ -50,11 +50,9 @@ class YHAllApiName {
struct
Family
{
// 获取家庭成员信息 添加家庭成员也用这个
// static let familyInfoApi = "frontend/order/information/family"
static
let
familyInfoApi
=
"infoflow/information/family"
// 删除家庭成员信息
static
let
deleteFamilyMemberApi
=
"infoflow/family/delete"
// 提交家庭成员信息
static
let
submitAllFamilyInfoApi
=
"family/submit"
}
...
...
@@ -62,19 +60,14 @@ class YHAllApiName {
struct
Education
{
// 获取教育和专业资格列表
static
let
getEducationAndQulificationInfoListApi
=
"infoflow/getEducationList"
// 获取学历详情信息
static
let
getEducationDetailInfoApi
=
"infoflow/getEducationDetail"
// 保存学历信息
static
let
saveEducationInfoApi
=
"infoflow/saveEducationData"
// 删除学历
static
let
deleteEducationInfoApi
=
"infoflow/delEducationData"
// 保存所有信息
static
let
saveAllEduAndQuaInfoApi
=
"infoflow/submitEducert"
// 搜索大学名称
static
let
searchCollegeNameApi
=
"infoflow/getSchools"
...
...
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