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
6427f0eb
Commit
6427f0eb
authored
Dec 24, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 高才
parent
63661cc2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletion
+30
-1
YHGCCertificateInfoController.swift
...rtificates(证书上传和证书信息)/YHGCCertificateInfoController.swift
+23
-0
YHGCChildBasicInfoVC.swift
...FamilyMember(家庭成员)/C/Child(子女)/YHGCChildBasicInfoVC.swift
+7
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员)/C/Certificates(证书上传和证书信息)/YHGCCertificateInfoController.swift
View file @
6427f0eb
...
...
@@ -162,6 +162,18 @@ class YHGCCertificateInfoController: YHBaseViewController, YHFamilyMemberProtol
let
showPassport
=
a
.
showPassport
let
isPassportMust
=
a
.
isPassportMust
if
familyMember
.
nationality
.
contains
(
"中国"
)
{
var
isChinaIdCardMust
=
true
let
title1
=
YHFormTitleItem
(
type
:
.
chinaIdCardInfo
)
let
item10
=
YHFormDetailItem
(
type
:
.
chinaIdentityCardNumber
,
isNeed
:
isChinaIdCardMust
,
value
:
familyMember
.
certificates
.
cnIdentityCard
.
number
,
tips
:
"请输入证件号码"
.
local
)
let
item11
=
YHFormDetailItem
(
type
:
.
certificateSignPlace
,
isNeed
:
isChinaIdCardMust
,
value
:
familyMember
.
certificates
.
cnIdentityCard
.
issueAt
,
tips
:
"请输入签发地"
.
local
)
let
item12
=
YHFormDetailItem
(
type
:
.
certificateSignDate
,
isNeed
:
isChinaIdCardMust
,
value
:
familyMember
.
certificates
.
cnIdentityCard
.
issueDateStartAt
,
tips
:
"请选择签发日期"
.
local
)
let
item13
=
YHFormDetailItem
(
type
:
.
certificateValidDate
,
isNeed
:
isChinaIdCardMust
,
value
:
familyMember
.
certificates
.
cnIdentityCard
.
issueDateEndAt
,
tips
:
"请选择届满日期"
.
local
)
let
arr1
:[
YHFormItemProtocol
]
=
[
title1
,
item10
,
item11
,
item12
,
item13
]
items
.
append
(
arr1
)
}
if
showHK
{
// 显示港澳通行证
let
title1
=
YHFormTitleItem
(
type
:
.
hkAndMacaoPassport
)
let
item10
=
YHFormDetailItem
(
type
:
.
traverlPassportNumber
,
isNeed
:
isHKMust
,
value
:
familyMember
.
certificates
.
hkMacaoPass
.
number
,
tips
:
"请输入证件号码"
.
local
)
...
...
@@ -542,6 +554,17 @@ extension YHGCCertificateInfoController : UITableViewDelegate, UITableViewDataSo
let
showPassport
=
a
.
showPassport
let
isPassportMust
=
a
.
isPassportMust
if
familyMember
.
nationality
.
contains
(
"中国"
)
{
if
familyMember
.
certificates
.
cnIdentityCard
.
number
.
count
<=
0
||
familyMember
.
certificates
.
cnIdentityCard
.
issueAt
.
count
<=
0
||
familyMember
.
certificates
.
cnIdentityCard
.
issueDateStartAt
.
count
<=
0
||
familyMember
.
certificates
.
cnIdentityCard
.
issueDateEndAt
.
count
<=
0
{
return
false
}
}
if
showHK
,
isHKMust
{
if
familyMember
.
certificates
.
hkMacaoPass
.
number
.
count
<=
0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员)/C/Child(子女)/YHGCChildBasicInfoVC.swift
View file @
6427f0eb
...
...
@@ -69,24 +69,30 @@ class YHGCChildBasicInfoVC: YHBaseViewController, YHFamilyMemberProtol {
// 子女信息
let
title0
=
YHFormTitleItem
(
type
:
.
childInfo
)
let
item00
=
YHFormDetailItem
(
type
:
.
childName
)
item00
.
value
=
child
.
subsetName
item00
.
tips
=
"请输入子女姓名"
.
local
let
item01
=
YHFormDetailItem
(
type
:
.
everName
,
isNeed
:
false
)
item01
.
value
=
child
.
usedName
let
item02
=
YHFormDetailItem
(
type
:
.
befourMarryFirstName
,
isNeed
:
false
)
item02
.
value
=
child
.
surname
let
item03
=
YHFormDetailItem
(
type
:
.
gender
)
item03
.
value
=
child
.
sexName
()
item03
.
tips
=
"请选择性别"
.
local
let
item04
=
YHFormDetailItem
(
type
:
.
marriageState
)
item04
.
value
=
child
.
married
item04
.
tips
=
"请选择婚姻状况"
.
local
let
item06
=
YHFormDetailItem
(
type
:
.
birthNation
)
item06
.
value
=
String
(
child
.
isBirthOverSeas
())
item06
.
tips
=
"请选择出生国家/地区"
.
local
let
item07
=
YHFormDetailItem
(
type
:
.
birthCity
)
let
item07
=
YHFormDetailItem
(
type
:
.
birthCity
)
if
child
.
isBirthOverSeas
()
{
item07
.
value
=
child
.
birthPlace
.
foreign
item07
.
tips
=
"请输入出生城市"
.
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