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
179ab6af
Commit
179ab6af
authored
Oct 22, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 预约
parent
8f7bab59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
3 deletions
+24
-3
YHResignAppointScheduleListViewController.swift
...在港递交预约)/C/YHResignAppointScheduleListViewController.swift
+24
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointScheduleListViewController.swift
View file @
179ab6af
...
...
@@ -123,10 +123,21 @@ class YHResignAppointScheduleListViewController: YHBaseViewController {
self
.
navigationController
?
.
pushViewController
(
vc
)
}
@objc
func
didGuideBtnClicked
()
{
func
firstShowGuideSheetView
()
{
let
key
=
"resignGuideLine_watch_
\(
renewalId
)
"
let
key
=
"resignGuideLine_is_first_watch_
\(
renewalId
)
"
if
let
isHaveFirstShow
=
UserDefaults
.
standard
.
value
(
forKey
:
key
)
as?
Bool
,
isHaveFirstShow
==
true
{
}
else
{
showGuideSheetView
()
UserDefaults
.
standard
.
set
(
true
,
forKey
:
key
)
UserDefaults
.
standard
.
synchronize
()
}
}
func
showGuideSheetView
()
{
let
key
=
"resignGuideLine_watch_
\(
renewalId
)
"
let
view
=
YHResignAppointGuideLineView
.
sheetView
()
if
let
isWatched
=
UserDefaults
.
standard
.
value
(
forKey
:
key
)
as?
Bool
,
isWatched
==
true
{
view
.
ischeckBeforeFlag
=
true
...
...
@@ -141,6 +152,10 @@ class YHResignAppointScheduleListViewController: YHBaseViewController {
view
.
show
()
}
@objc
func
didGuideBtnClicked
()
{
self
.
showGuideSheetView
()
}
// 更新底部下一步按钮点击状态
func
updateBottomBtnAndMotifyBtnStatus
()
{
// 至少有一个行程已确认在港
...
...
@@ -168,7 +183,12 @@ class YHResignAppointScheduleListViewController: YHBaseViewController {
alert
.
show
()
}
else
if
status
==
.
canConfirmHK
{
// 可点击确认在港
requestConfirmInHK
(
model
)
let
alertView
=
YHResignAppointedScheduleRiskTipsView
.
alertView
()
alertView
.
confirmBlock
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
self
.
requestConfirmInHK
(
model
)
}
}
}
...
...
@@ -345,6 +365,7 @@ class YHResignAppointScheduleListViewController: YHBaseViewController {
self
.
scheduleArr
.
append
(
contentsOf
:
self
.
viewModel
.
scheduleInfoList
.
renewal_List
)
self
.
tableView
.
reloadData
()
self
.
updateBottomBtnAndMotifyBtnStatus
()
self
.
firstShowGuideSheetView
()
}
}
}
...
...
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