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
c2707391
Commit
c2707391
authored
Oct 22, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
银河管家消息跳转bug修复
parent
43d2a99d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
32 deletions
+60
-32
YHButlerServiceManager.swift
...s/ButlerServiceManager(银河管家)/YHButlerServiceManager.swift
+1
-2
YHServiceOrderListViewController.swift
...entService(服务中心)/C/YHServiceOrderListViewController.swift
+57
-29
YHResignConfirmInfoListViewController.swift
...irm(续签信息确认)/C/YHResignConfirmInfoListViewController.swift
+2
-1
No files found.
galaxy/galaxy/Classes/Modules/ButlerServiceManager(银河管家)/YHButlerServiceManager.swift
View file @
c2707391
...
...
@@ -98,7 +98,6 @@ class YHButlerServiceManager: NSObject {
self
.
curentPresentedVC
=
nav
UIViewController
.
current
?
.
present
(
nav
,
animated
:
true
,
completion
:
nil
)
}
else
{
sessionViewController
.
hidesBottomBarWhenPushed
=
true
navigationController
?
.
pushViewController
(
sessionViewController
)
}
}
...
...
@@ -130,7 +129,7 @@ extension YHButlerServiceManager {
do
{
if
let
jsonObject
=
try
JSONSerialization
.
jsonObject
(
with
:
data
,
options
:
[])
as?
[
String
:
Any
]
{
// 转换成功,jsonObject 是一个字典
print
(
"JSON字符串转换为字典成功:
\(
jsonObject
)
"
)
print
Log
(
"JSON字符串转换为字典成功:
\(
jsonObject
)
"
)
/*
"{\"order_id\":151824,\"type\":27}"
*/
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHServiceOrderListViewController.swift
View file @
c2707391
...
...
@@ -241,6 +241,18 @@ class YHServiceOrderListView: YHBaseViewController {
vc
.
orderId
=
orderId
vc
.
batchId
=
stepId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
101
{
//身份续签指引
gotoResignGuideVC
()
}
else
if
type
==
102
{
//我的续签方案
gotoResignMethod
(
orderID
:
orderId
,
stepID
:
stepId
)
}
else
if
type
==
103
{
//添加在港记录
gotoHKImmigrationRecordsVC
(
orderID
:
orderId
)
}
else
if
type
==
104
{
//续签证件管理
gotoResignCertificateListVC
(
orderID
:
orderId
)
}
}
}
...
...
@@ -337,6 +349,47 @@ extension YHServiceOrderListView {
// 本地没有红点记录存储则必展示红点
return
true
}
static
func
gotoResignGuideVC
()
{
if
let
param
=
YHLoginManager
.
shared
.
userModel
?
.
token
,
param
.
count
>
5
{
var
url
=
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge.html#/guide/identity"
// var url = "http://192.168.23.35:10300/" + "superAppBridge.html#/guide/identity"
url
=
url
+
"?param="
+
YHLoginManager
.
shared
.
h5Token
let
vc
=
YHH5WebViewVC
()
vc
.
navTitle
=
"身份续签指引"
vc
.
url
=
url
vc
.
isFullScreenFlag
=
false
vc
.
isNeedRefreshDataFlag
=
true
vc
.
isSupportWebviewInterBackFlag
=
true
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
static
func
gotoResignMethod
(
orderID
:
Int
,
stepID
:
Int
)
{
if
let
param
=
YHLoginManager
.
shared
.
userModel
?
.
token
,
param
.
count
>
5
{
printLog
(
param
)
var
url
=
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge.html#/report/program"
// var url = "http://192.168.23.75:10301/" + "superAppBridge.html#/report/program"
url
=
url
+
"?param="
+
YHLoginManager
.
shared
.
h5Token
+
"&batchID=
\(
stepID
)
"
+
"&order_id=
\(
orderID
)
"
let
vc
=
YHH5WebViewVC
()
vc
.
navTitle
=
"我的续签方案"
vc
.
url
=
url
vc
.
isSupportWebviewInterBackFlag
=
true
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
static
func
gotoHKImmigrationRecordsVC
(
orderID
:
Int
)
{
let
vc
=
YHHKImmigrationRecordsVC
(
orderId
:
orderID
)
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
static
func
gotoResignCertificateListVC
(
orderID
:
Int
)
{
let
vc
=
YHResignCertificateListViewController
()
vc
.
orderId
=
orderID
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
extension
YHServiceOrderListView
:
UITableViewDelegate
,
UITableViewDataSource
{
...
...
@@ -365,43 +418,18 @@ extension YHServiceOrderListView : UITableViewDelegate,UITableViewDataSource {
if
tag
==
1
{
//身份续签指引
printLog
(
"身份续签指引"
)
if
let
param
=
YHLoginManager
.
shared
.
userModel
?
.
token
,
param
.
count
>
5
{
var
url
=
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge.html#/guide/identity"
// var url = "http://192.168.23.35:10300/" + "superAppBridge.html#/guide/identity"
url
=
url
+
"?param="
+
YHLoginManager
.
shared
.
h5Token
let
vc
=
YHH5WebViewVC
()
vc
.
navTitle
=
"身份续签指引"
vc
.
url
=
url
vc
.
isFullScreenFlag
=
false
vc
.
isNeedRefreshDataFlag
=
true
vc
.
isSupportWebviewInterBackFlag
=
true
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
YHServiceOrderListView
.
gotoResignGuideVC
()
}
else
if
tag
==
2
{
//我的续签方案
printLog
(
"续签方案"
)
if
let
param
=
YHLoginManager
.
shared
.
userModel
?
.
token
,
param
.
count
>
5
{
printLog
(
param
)
var
url
=
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge.html#/report/program"
// var url = "http://192.168.23.75:10301/" + "superAppBridge.html#/report/program"
url
=
url
+
"?param="
+
YHLoginManager
.
shared
.
h5Token
+
"&batchID=
\(
stepID
)
"
+
"&order_id=
\(
orderID
)
"
let
vc
=
YHH5WebViewVC
()
vc
.
navTitle
=
"我的续签方案"
vc
.
url
=
url
vc
.
isSupportWebviewInterBackFlag
=
true
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
YHServiceOrderListView
.
gotoResignMethod
(
orderID
:
orderID
,
stepID
:
stepID
)
}
else
if
tag
==
3
{
//添加在港记录
let
vc
=
YHHKImmigrationRecordsVC
(
orderId
:
orderID
)
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
YHServiceOrderListView
.
gotoHKImmigrationRecordsVC
(
orderID
:
orderID
)
}
else
if
tag
==
4
{
//续签证件管理
let
vc
=
YHResignCertificateListViewController
()
vc
.
orderId
=
orderID
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
YHServiceOrderListView
.
gotoResignCertificateListVC
(
orderID
:
orderID
)
}
}
return
view
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignInfoConfirm(续签信息确认)/C/YHResignConfirmInfoListViewController.swift
View file @
c2707391
...
...
@@ -121,7 +121,8 @@ class YHResignConfirmInfoListViewController: YHBaseViewController {
YHHUD
.
flash
(
message
:
msg
)
return
}
self
.
navigationController
?
.
popToRootViewController
(
animated
:
true
)
self
.
navigationController
?
.
popToRootViewController
(
animated
:
false
)
YHButlerServiceManager
.
shared
.
sessionGoBack
()
goTabBarBy
(
tabType
:
.
service
)
}
}
...
...
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