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
9ae3746e
Commit
9ae3746e
authored
Oct 22, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 续签信息确认
parent
c2707391
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
YHResignFamilyInfoListCell.swift
...ignInfoConfirm(续签信息确认)/V/YHResignFamilyInfoListCell.swift
+14
-0
YHResignInfoConfirmIViewModel.swift
...nfoConfirm(续签信息确认)/VM/YHResignInfoConfirmIViewModel.swift
+1
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignInfoConfirm(续签信息确认)/V/YHResignFamilyInfoListCell.swift
View file @
9ae3746e
...
...
@@ -58,6 +58,7 @@ class YHResignFamilyInfoItem {
var
options
:[
YHResignFamilyInfoOption
]
=
[]
var
isEditMode
:
Bool
=
false
var
isShowPreviousInfo
:
Bool
=
false
var
valueIndex
:
Int
=
-
1
var
tips
:
String
{
get
{
...
...
@@ -71,6 +72,16 @@ class YHResignFamilyInfoItem {
if
self
.
id
==
.
hongKongId
,
!
self
.
value
.
isHKIdentityCardNumber
()
{
return
"请输入正确的香港身份证号"
}
if
self
.
id
==
.
marriage
{
if
let
marriageOptions
=
YHSheetPickerView
.
dataSource
[
.
marriage1
]
{
let
options
=
marriageOptions
.
map
{
return
"
\(
$0
.
index
)
"
}
if
!
options
.
contains
(
"
\(
self
.
valueIndex
)
"
)
{
return
"请选择婚姻状况"
}
}
}
return
""
}
...
...
@@ -105,6 +116,9 @@ class YHResignFamilyInfoItem {
}
else
if
self
.
id
==
.
hongkongAddress
{
return
"请输入香港住址"
}
else
if
self
.
id
==
.
marriage
{
return
"请选择婚姻状况"
}
return
""
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignInfoConfirm(续签信息确认)/VM/YHResignInfoConfirmIViewModel.swift
View file @
9ae3746e
...
...
@@ -207,6 +207,7 @@ extension YHResignInfoConfirmViewModel {
previousValue
:
model
.
getHistoryMarriageState
(),
isEditMode
:
isEditMode
,
isShowPreviousInfo
:
!
isEditMode
&&
!
model
.
getHistoryMarriageState
()
.
isEmpty
)
marriageInfo
.
valueIndex
=
Int
(
model
.
married
)
??
-
1
resultArr
.
append
(
marriageInfo
)
// 申报国籍
...
...
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