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
7928b369
Commit
7928b369
authored
Aug 24, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 预约
parent
42ddd5a9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
11 deletions
+18
-11
YHServiceOrderListViewController.swift
...entService(服务中心)/C/YHServiceOrderListViewController.swift
+4
-0
YHCertificateAppointViewController.swift
...cate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
+14
-11
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHServiceOrderListViewController.swift
View file @
7928b369
...
@@ -258,6 +258,10 @@ extension YHServiceOrderListView : UITableViewDelegate,UITableViewDataSource {
...
@@ -258,6 +258,10 @@ extension YHServiceOrderListView : UITableViewDelegate,UITableViewDataSource {
navigationController
?
.
pushViewController
(
vc
)
navigationController
?
.
pushViewController
(
vc
)
}
else
if
model
.
type
==
24
{
}
else
if
model
.
type
==
24
{
//赴港时间预约
//赴港时间预约
let
vc
=
YHCertificateAppointViewController
()
vc
.
orderId
=
orderID
self
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
model
.
type
==
25
{
}
else
if
model
.
type
==
25
{
//赴港行程指引
//赴港行程指引
}
else
if
model
.
type
==
26
{
}
else
if
model
.
type
==
26
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
View file @
7928b369
...
@@ -132,7 +132,7 @@ class YHCertificateAppointViewController: YHBaseViewController {
...
@@ -132,7 +132,7 @@ class YHCertificateAppointViewController: YHBaseViewController {
requestData
()
requestData
()
}
}
func
requestData
()
{
func
requestData
(
completion
:(()
->
())?
=
nil
)
{
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
self
.
requetIsGoToHK
{
// 请求是否赴港办证选项和是否已预约过
self
.
requetIsGoToHK
{
// 请求是否赴港办证选项和是否已预约过
self
.
requetAppointMembers
{
// 请求赴港办证人员名单
self
.
requetAppointMembers
{
// 请求赴港办证人员名单
...
@@ -141,10 +141,12 @@ class YHCertificateAppointViewController: YHBaseViewController {
...
@@ -141,10 +141,12 @@ class YHCertificateAppointViewController: YHBaseViewController {
self
.
requestAppointResultList
{
// 请求预约结果
self
.
requestAppointResultList
{
// 请求预约结果
YHHUD
.
hide
()
YHHUD
.
hide
()
self
.
updateData
()
self
.
updateData
()
completion
?()
}
}
}
else
{
// 没有预约过
}
else
{
// 没有预约过
YHHUD
.
hide
()
YHHUD
.
hide
()
self
.
updateData
()
self
.
updateData
()
completion
?()
}
}
}
}
}
}
...
@@ -468,13 +470,6 @@ extension YHCertificateAppointViewController: UITableViewDelegate, UITableViewDa
...
@@ -468,13 +470,6 @@ extension YHCertificateAppointViewController: UITableViewDelegate, UITableViewDa
return
UITableView
.
automaticDimension
return
UITableView
.
automaticDimension
}
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
0
<=
indexPath
.
section
&&
indexPath
.
section
<
items1
.
count
{
self
.
saveHkexpectServicOp
()
//for test hjl
}
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
CGFloat
{
private
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
0.01
return
0.01
}
}
...
@@ -556,7 +551,7 @@ extension YHCertificateAppointViewController {
...
@@ -556,7 +551,7 @@ extension YHCertificateAppointViewController {
extension
YHCertificateAppointViewController
{
extension
YHCertificateAppointViewController
{
//预约成功后调用
//预约成功后调用
func
s
aveHkexpectServicOp
()
{
func
s
howSelectHKServiceAlertView
()
{
if
self
.
orderId
>
0
{
if
self
.
orderId
>
0
{
let
key
=
"hkExpectService_
\(
self
.
orderId
)
"
let
key
=
"hkExpectService_
\(
self
.
orderId
)
"
...
@@ -566,7 +561,10 @@ extension YHCertificateAppointViewController {
...
@@ -566,7 +561,10 @@ extension YHCertificateAppointViewController {
}
}
}
}
self
.
viewModel
.
getServicelist
{
success
,
error
in
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
self
.
viewModel
.
getServicelist
{
success
,
error
in
YHHUD
.
hide
()
let
view
=
YHServiceSelectAlertView
.
alertView
()
let
view
=
YHServiceSelectAlertView
.
alertView
()
view
.
items
=
self
.
viewModel
.
serviceArr
view
.
items
=
self
.
viewModel
.
serviceArr
view
.
confirmBlock
=
{
view
.
confirmBlock
=
{
...
@@ -723,6 +721,9 @@ extension YHCertificateAppointViewController {
...
@@ -723,6 +721,9 @@ extension YHCertificateAppointViewController {
}
else
if
self
.
bottomStatus
==
.
nextStepToPay
{
}
else
if
self
.
bottomStatus
==
.
nextStepToPay
{
// 下一步去缴费
// 下一步去缴费
let
vc
=
YHVisaPaymentVC
()
vc
.
orderID
=
orderId
navigationController
?
.
pushViewController
(
vc
)
}
}
}
}
...
@@ -804,7 +805,9 @@ extension YHCertificateAppointViewController {
...
@@ -804,7 +805,9 @@ extension YHCertificateAppointViewController {
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
success
{
if
success
{
YHHUD
.
flash
(
message
:
"提交成功"
)
YHHUD
.
flash
(
message
:
"提交成功"
)
self
.
requestData
()
self
.
requestData
{
self
.
showSelectHKServiceAlertView
()
}
return
return
}
}
let
msg
=
error
?
.
errorMsg
??
""
let
msg
=
error
?
.
errorMsg
??
""
...
...
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