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
221317a8
Commit
221317a8
authored
May 10, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间选择器细节修改
parent
09a505f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
YHCertificateInfoController.swift
...Certificates(证书上传和证书信息)/YHCertificateInfoController.swift
+4
-1
YHDatePickView.swift
...)/MainApplicantInformation(主申请人信息)/V/YHDatePickView.swift
+13
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Certificates(证书上传和证书信息)/YHCertificateInfoController.swift
View file @
221317a8
...
...
@@ -337,14 +337,17 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour
detailItem
.
type
==
.
certificateSignDate
{
// 届满日期 签发日期
var
title
=
""
var
lastIsTaday
=
false
if
detailItem
.
type
==
.
certificateValidDate
{
title
=
"选择届满日期"
lastIsTaday
=
false
}
else
if
detailItem
.
type
==
.
certificateSignDate
{
title
=
"选择签发日期"
lastIsTaday
=
true
}
self
.
view
?
.
endEditing
(
true
)
YHDatePickView
.
show
(
type
:
.
yyyymmdd
,
title
:
title
,
lastIsTaday
:
true
)
{
YHDatePickView
.
show
(
type
:
.
yyyymmdd
,
title
:
title
,
lastIsTaday
:
lastIsTaday
)
{
[
weak
self
]
dateStr
in
print
(
dateStr
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/V/YHDatePickView.swift
View file @
221317a8
...
...
@@ -42,13 +42,24 @@ class YHDatePickView: UIView {
pickerView
.
selectRow
(
self
.
currentDateCom
.
month
!
-
1
,
inComponent
:
1
,
animated
:
true
)
pickerView
.
selectRow
(
self
.
currentDateCom
.
day
!
-
1
,
inComponent
:
2
,
animated
:
true
)
case
.
yyyymm
:
pickerView
.
selectRow
(
self
.
currentDateCom
.
month
!
-
1
,
inComponent
:
1
,
animated
:
true
)
pickerView
.
selectRow
(
0
,
inComponent
:
0
,
animated
:
true
)
pickerView
.
selectRow
(
self
.
currentDateCom
.
month
!
-
1
,
inComponent
:
1
,
animated
:
true
)
case
.
yyyy
:
pickerView
.
selectRow
(
0
,
inComponent
:
0
,
animated
:
true
)
}
}
else
{
pickerView
.
selectRow
(
100
,
inComponent
:
0
,
animated
:
true
)
guard
let
type
=
type
else
{
return
}
switch
type
{
case
.
yyyymmdd
:
pickerView
.
selectRow
(
100
,
inComponent
:
0
,
animated
:
true
)
pickerView
.
selectRow
(
self
.
currentDateCom
.
month
!
-
1
,
inComponent
:
1
,
animated
:
true
)
pickerView
.
selectRow
(
self
.
currentDateCom
.
day
!
-
1
,
inComponent
:
2
,
animated
:
true
)
case
.
yyyymm
:
pickerView
.
selectRow
(
100
,
inComponent
:
0
,
animated
:
true
)
pickerView
.
selectRow
(
self
.
currentDateCom
.
month
!
-
1
,
inComponent
:
1
,
animated
:
true
)
case
.
yyyy
:
pickerView
.
selectRow
(
100
,
inComponent
:
0
,
animated
:
true
)
}
}
}
}
...
...
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