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
e2c6f87d
Commit
e2c6f87d
authored
Sep 03, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 消息
parent
10f4cb5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
7 deletions
+41
-7
YHMessageDetailListVC.swift
...Classes/Modules/Message(消息)/C/YHMessageDetailListVC.swift
+39
-7
YHMsgListModel.swift
...galaxy/Classes/Modules/Message(消息)/M/YHMsgListModel.swift
+2
-0
No files found.
galaxy/galaxy/Classes/Modules/Message(消息)/C/YHMessageDetailListVC.swift
View file @
e2c6f87d
...
@@ -269,15 +269,47 @@ extension YHMessageDetailListVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -269,15 +269,47 @@ extension YHMessageDetailListVC: UITableViewDelegate, UITableViewDataSource {
self
.
navigationController
?
.
popToRootViewController
(
animated
:
false
)
self
.
navigationController
?
.
popToRootViewController
(
animated
:
false
)
goTabBarBy
(
tabType
:
.
service
)
goTabBarBy
(
tabType
:
.
service
)
}
else
if
self
.
type
==
YHMessageType
.
identityApproved
.
rawValue
{
// 身份获批
}
else
if
(
self
.
type
==
YHMessageType
.
identityApproved
.
rawValue
||
self
.
navigationController
?
.
popToRootViewController
(
animated
:
false
)
self
.
type
==
YHMessageType
.
goToHK
.
rawValue
)
goTabBarBy
(
tabType
:
.
service
)
}
else
if
self
.
type
==
YHMessageType
.
goToHK
.
rawValue
{
// 赴港办证
}
else
if
self
.
type
==
YHMessageType
.
renewal
.
rawValue
{
// 身份续签
{
// 身份获批 或 赴港办证
let
orderId
=
Int
(
item
.
orderId
)
??
0
if
item
.
redirectPage
==
"add_dependent"
{
// 新增受养人
let
vc
=
YHAddAdoptersViewController
()
vc
.
orderId
=
orderId
navigationController
?
.
pushViewController
(
vc
)
}
else
if
item
.
redirectPage
==
"principal_approval_success"
{
// 原则批获批成功
let
vc
=
YHPrincipleApprovedWaitSubmitVC
()
vc
.
orderId
=
orderId
navigationController
?
.
pushViewController
(
vc
)
}
else
if
item
.
redirectPage
==
"pay_electronic_visa"
{
// 电子签证缴费
let
vc
=
YHVisaPaymentVC
()
vc
.
orderID
=
orderId
navigationController
?
.
pushViewController
(
vc
)
}
else
if
item
.
redirectPage
==
"prepare_travel_certificate"
{
// 旅行证件准备
let
vc
=
YHTravelDocsPreparationListViewController
()
vc
.
orderId
=
orderId
navigationController
?
.
pushViewController
(
vc
)
}
else
if
item
.
redirectPage
==
"upload_pass_certificate"
{
// 上传过关证件
let
vc
=
YHUploadCertificateVC
()
vc
.
orderId
=
orderId
navigationController
?
.
pushViewController
(
vc
)
}
else
if
item
.
redirectPage
==
"appoint_for_id_card"
{
// 赴港办证预约
let
vc
=
YHCertificateAppointViewController
()
vc
.
orderId
=
orderId
navigationController
?
.
pushViewController
(
vc
)
}
else
if
self
.
type
==
YHMessageType
.
renewal
.
rawValue
{
// 身份续签
}
else
{
// 其余条件进入服务页
self
.
navigationController
?
.
popToRootViewController
(
animated
:
false
)
goTabBarBy
(
tabType
:
.
service
)
}
}
}
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Message(消息)/M/YHMsgListModel.swift
View file @
e2c6f87d
...
@@ -104,6 +104,7 @@ class YHDetailMessageModel: SmartCodable {
...
@@ -104,6 +104,7 @@ class YHDetailMessageModel: SmartCodable {
var
isRead
:
Bool
=
false
var
isRead
:
Bool
=
false
var
orderId
:
String
=
""
var
orderId
:
String
=
""
var
url
:
String
=
""
var
url
:
String
=
""
var
redirectPage
:
String
=
""
required
init
()
{
required
init
()
{
...
@@ -113,5 +114,6 @@ class YHDetailMessageModel: SmartCodable {
...
@@ -113,5 +114,6 @@ class YHDetailMessageModel: SmartCodable {
case
id
,
title
,
content
,
time
,
url
case
id
,
title
,
content
,
time
,
url
case
isRead
=
"is_read"
case
isRead
=
"is_read"
case
orderId
=
"order_id"
case
orderId
=
"order_id"
case
redirectPage
=
"redirect_page"
}
}
}
}
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