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
6451fbea
Commit
6451fbea
authored
Aug 23, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 赴港选择
parent
9ebbd822
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
13 deletions
+25
-13
YHCertificateAppointViewController.swift
...cate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
+18
-9
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+7
-4
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
View file @
6451fbea
...
...
@@ -505,7 +505,7 @@ extension YHCertificateAppointViewController {
let
nextGroupIndex
=
groupLevel
+
1
if
0
<=
nextGroupIndex
,
nextGroupIndex
<
items2
.
count
{
for
i
in
nextGroupIndex
..<
items2
.
count
{
let
item
=
items2
[
nextGroupIndex
]
let
item
=
items2
[
i
]
if
var
members
=
item
.
model
?
.
arr
{
// 下几批的组员中都要删除该人
members
=
members
.
filter
{
$0
.
id
!=
currentMember
.
id
}
...
...
@@ -513,20 +513,29 @@ extension YHCertificateAppointViewController {
}
}
}
// 检测下几层有无空数组,有则删除该批
if
0
<=
nextGroupIndex
,
nextGroupIndex
<
items2
.
count
{
for
i
in
nextGroupIndex
..<
items2
.
count
{
let
item
=
items2
[
nextGroupIndex
]
if
var
members
=
item
.
model
?
.
arr
,
members
.
count
==
0
{
}
// 无论是选中还是反选 检测下面所有批次有无全未选数组,有则删除该批
let
nextGroupIndex
=
groupLevel
+
1
if
0
<=
nextGroupIndex
,
nextGroupIndex
<
items2
.
count
{
var
i
=
nextGroupIndex
while
i
<
items2
.
count
{
let
item
=
items2
[
i
]
if
let
members
=
item
.
model
?
.
arr
{
let
a
=
members
.
filter
{
return
$0
.
isSelected
==
true
}
// 数组中全未选
if
a
.
count
<=
0
{
items2
.
remove
(
at
:
i
)
}
else
{
i
+=
1
}
}
}
}
refreshData
()
}
}
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
6451fbea
...
...
@@ -346,10 +346,13 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
return
}
let
vc
=
YHCertificateAppointViewController
()
vc
.
orderId
=
151085
self
.
navigationController
?
.
pushViewController
(
vc
)
return
if
true
{
let
vc
=
YHCertificateAppointViewController
()
vc
.
orderId
=
151085
self
.
navigationController
?
.
pushViewController
(
vc
)
return
}
let
item
:
PersonalModuleItem
=
items
[
indexPath
.
row
]
switch
item
.
type
{
...
...
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