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
6659c2ae
Commit
6659c2ae
authored
Aug 22, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 赴港
parent
202ea1b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
YHCertificateAppointViewController.swift
...cate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
+8
-1
YHActivateHKVisaCell.swift
...AppointCertificate(3 赴港办证预约)/V/YHActivateHKVisaCell.swift
+5
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
View file @
6659c2ae
...
...
@@ -30,7 +30,7 @@ class YHCertificateAppointViewController: YHBaseViewController {
var
isNeedGoHK
:
Int
=
2
// 0不需要 1需要赴港 2没有选择
// 有没有预约人员
var
reservationToHK
:
Int
=
0
// 0没有预约 1已经预約
// 申请人是否统一赴港激活签证
// 申请人是否统一赴港激活签证
本地记录的开关
var
isAllMembersGo
:
Bool
=
true
// 默认一起去
lazy
var
tableView
:
UITableView
=
{
...
...
@@ -234,6 +234,13 @@ extension YHCertificateAppointViewController: UITableViewDelegate, UITableViewDa
if
item
.
type
==
.
activeVisa
{
// 赴港激活签证
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHActivateHKVisaCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHActivateHKVisaCell
cell
.
isAllGo
=
self
.
isAllMembersGo
cell
.
selectBlock
=
{
[
weak
self
]
isAllGo
in
guard
let
self
=
self
else
{
return
}
self
.
isAllMembersGo
=
isAllGo
self
.
updateData
()
}
return
cell
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHActivateHKVisaCell.swift
View file @
6659c2ae
...
...
@@ -14,13 +14,14 @@ class YHActivateHKVisaCell: UITableViewCell {
static
let
cellReuseIdentifier
=
"YHActivateHKVisaCell"
// 此处index 是按钮从左到右由0开始
var
selectIndex
=
-
1
{
var
isAllGo
:
Bool
=
true
{
didSet
{
var
selectIndex
=
isAllGo
?
0
:
1
optionView
.
selectIndex
=
selectIndex
}
}
var
selectBlock
:((
Int
)
->
())?
var
selectBlock
:((
_
isAllGo
:
Bool
)
->
())?
lazy
var
whiteContentView
:
UIView
=
{
let
view
=
UIView
()
...
...
@@ -52,7 +53,8 @@ class YHActivateHKVisaCell: UITableViewCell {
view
.
selectBlock
=
{
[
weak
self
]
index
in
guard
let
self
=
self
else
{
return
}
self
.
selectBlock
?(
index
)
let
isAllGo
=
index
==
0
?
true
:
false
self
.
selectBlock
?(
isAllGo
)
}
return
view
}()
...
...
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