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
512f3af1
Commit
512f3af1
authored
Aug 22, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 赴港
parent
4b0f09f8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
18 deletions
+21
-18
YHCertificateAppointViewController.swift
...cate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
+14
-9
YHGrabingNumberListCell.swift
...ointCertificate(3 赴港办证预约)/V/YHGrabingNumberListCell.swift
+2
-2
YHGrabingNumberListView.swift
...ointCertificate(3 赴港办证预约)/V/YHGrabingNumberListView.swift
+5
-7
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
View file @
512f3af1
...
@@ -91,12 +91,14 @@ class YHCertificateAppointViewController: YHBaseViewController {
...
@@ -91,12 +91,14 @@ class YHCertificateAppointViewController: YHBaseViewController {
sections
.
removeAll
()
sections
.
removeAll
()
items1
.
removeAll
()
items1
.
removeAll
()
items2
.
removeAll
()
// *赴港办证
// *赴港办证
let
item1
=
YHAppointItem
(
type
:
.
goHKMakeCertificate
)
let
item1
=
YHAppointItem
(
type
:
.
goHKMakeCertificate
)
items1
.
append
(
item1
)
items1
.
append
(
item1
)
if
self
.
isNeedGoHK
!=
1
{
// 是否赴港办证没有选择是
if
self
.
isNeedGoHK
!=
1
{
// 是否赴港办证没有选择是
self
.
tableView
.
reload
Data
()
refresh
Data
()
return
return
}
}
// 赴港办证选择了是
// 赴港办证选择了是
...
@@ -117,10 +119,12 @@ class YHCertificateAppointViewController: YHBaseViewController {
...
@@ -117,10 +119,12 @@ class YHCertificateAppointViewController: YHBaseViewController {
items1
.
append
(
item4
)
items1
.
append
(
item4
)
if
self
.
isAllMembersGo
{
// 申请人统一赴港激活签证
if
self
.
isAllMembersGo
{
// 申请人统一赴港激活签证
let
item5
=
YHAppointItem
(
type
:
.
confirmGoHKInfo
)
items2
.
append
(
item4
)
}
else
{
// 申请人不是统一赴港激活签证
}
else
{
// 申请人不是统一赴港激活签证
let
item6
=
YHAppointItem
(
type
:
.
confirmGoHKInfo
)
items2
.
append
(
item6
)
}
}
}
else
{
// 有预约过的人员
}
else
{
// 有预约过的人员
...
@@ -134,16 +138,19 @@ class YHCertificateAppointViewController: YHBaseViewController {
...
@@ -134,16 +138,19 @@ class YHCertificateAppointViewController: YHBaseViewController {
// 赴港办理抢号中批次
// 赴港办理抢号中批次
if
self
.
waitList
.
count
>
0
{
if
self
.
waitList
.
count
>
0
{
let
item6
=
YHAppointItem
(
type
:
.
grabingNumberBatch
)
let
item6
=
YHAppointItem
(
type
:
.
grabingNumberBatch
)
items
1
.
append
(
item6
)
items
2
.
append
(
item6
)
}
}
// 赴港办理已抢号批次
// 赴港办理已抢号批次
if
self
.
successList
.
count
>
0
{
if
self
.
successList
.
count
>
0
{
let
item
6
=
YHAppointItem
(
type
:
.
haveGrabedNumberBatch
)
let
item
7
=
YHAppointItem
(
type
:
.
haveGrabedNumberBatch
)
items
1
.
append
(
item6
)
items
2
.
append
(
item7
)
}
}
}
}
refreshData
()
}
func
refreshData
()
{
if
items1
.
count
>
0
{
if
items1
.
count
>
0
{
sections
.
append
(
items1
)
sections
.
append
(
items1
)
}
}
...
@@ -327,10 +334,8 @@ extension YHCertificateAppointViewController {
...
@@ -327,10 +334,8 @@ extension YHCertificateAppointViewController {
}
}
func
requetAppointMembers
(
completion
:(()
->
())?)
{
func
requetAppointMembers
(
completion
:(()
->
())?)
{
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
viewModel
.
getGoHKFamilyMembers
(
orderId
:
orderId
)
{
viewModel
.
getGoHKFamilyMembers
(
orderId
:
orderId
)
{
[
weak
self
]
success
,
error
in
[
weak
self
]
success
,
error
in
YHHUD
.
hide
()
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
let
users
=
self
.
viewModel
.
hkUsers
let
users
=
self
.
viewModel
.
hkUsers
noNeedAppointMembers
.
removeAll
()
noNeedAppointMembers
.
removeAll
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHGrabingNumberListCell.swift
View file @
512f3af1
...
@@ -15,9 +15,9 @@ class YHGrabingNumberListCell: UITableViewCell {
...
@@ -15,9 +15,9 @@ class YHGrabingNumberListCell: UITableViewCell {
var
listArr
:
[
YHAppointMemberGroupModel
]
=
[]
{
var
listArr
:
[
YHAppointMemberGroupModel
]
=
[]
{
didSet
{
didSet
{
listContainView
.
removeSubviews
()
listContainView
.
removeSubviews
()
var
lastView
:
YH
HaveGrabbedNumberInfo
View
?
=
nil
var
lastView
:
YH
GrabingNumberList
View
?
=
nil
for
(
index
,
group
)
in
listArr
.
enumerated
()
{
for
(
index
,
group
)
in
listArr
.
enumerated
()
{
let
listView
=
YH
HaveGrabbedNumberInfo
View
(
frame
:
.
zero
)
let
listView
=
YH
GrabingNumberList
View
(
frame
:
.
zero
)
let
chineseNum
=
convertNumberToChineseText
(
index
+
1
)
let
chineseNum
=
convertNumberToChineseText
(
index
+
1
)
listView
.
titleLabel
.
text
=
"第
\(
chineseNum
)
批"
listView
.
titleLabel
.
text
=
"第
\(
chineseNum
)
批"
listView
.
membersLabel
.
text
=
"成员:
\(
group
.
getMemberNames
()
)
"
listView
.
membersLabel
.
text
=
"成员:
\(
group
.
getMemberNames
()
)
"
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHGrabingNumberListView.swift
View file @
512f3af1
...
@@ -60,12 +60,12 @@ class YHGrabingNumberListView: UIView {
...
@@ -60,12 +60,12 @@ class YHGrabingNumberListView: UIView {
return
view
return
view
}()
}()
lazy
var
intentionInfoView
:
UI
View
=
{
lazy
var
intentionInfoView
:
YHGrabNumberInfo
View
=
{
let
view
=
YHGrabNumberInfoView
(
frame
:
.
zero
)
let
view
=
YHGrabNumberInfoView
(
frame
:
.
zero
)
view
.
titleLabel
.
text
=
"意向信息"
view
.
titleLabel
.
text
=
"意向信息"
let
items
=
[
YHGrabItem
(
type
:
.
info
,
title
:
"期望赴港时间:"
,
detail
:
"
2023-07-17 ~ 2023-08-22
"
),
let
items
=
[
YHGrabItem
(
type
:
.
info
,
title
:
"期望赴港时间:"
,
detail
:
""
),
YHGrabItem
(
type
:
.
info
,
title
:
"期望香港办证点:"
,
detail
:
"
屯门办事处(屯门)
"
),
YHGrabItem
(
type
:
.
info
,
title
:
"期望香港办证点:"
,
detail
:
""
),
YHGrabItem
(
type
:
.
files
,
title
:
"抢号反馈回执:"
,
detail
:
""
,
files
:
[
""
,
""
,
""
,
""
,
""
]
),]
YHGrabItem
(
type
:
.
files
,
title
:
"抢号反馈回执:"
,
detail
:
""
),]
view
.
updateItems
(
items
)
view
.
updateItems
(
items
)
return
view
return
view
}()
}()
...
@@ -118,14 +118,12 @@ class YHGrabingNumberListView: UIView {
...
@@ -118,14 +118,12 @@ class YHGrabingNumberListView: UIView {
grabInfoView
.
snp
.
makeConstraints
{
make
in
grabInfoView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
equalToSuperview
()
make
.
left
.
right
.
equalToSuperview
()
make
.
top
.
equalTo
(
membersLabel
.
snp
.
bottom
)
.
offset
(
16
)
make
.
top
.
equalTo
(
membersLabel
.
snp
.
bottom
)
.
offset
(
16
)
// make.height.equalTo(166)
}
}
intentionInfoView
.
snp
.
makeConstraints
{
make
in
intentionInfoView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
equalToSuperview
()
make
.
left
.
right
.
equalToSuperview
()
make
.
top
.
equalTo
(
grabInfoView
.
snp
.
bottom
)
.
offset
(
16
)
make
.
top
.
equalTo
(
grabInfoView
.
snp
.
bottom
)
.
offset
(
16
)
// make.height.equalTo(130)
make
.
bottom
.
equalTo
(
0
)
make
.
bottom
.
equalTo
(
-
16
)
}
}
}
}
}
}
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