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
5180c745
Commit
5180c745
authored
Sep 23, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跳转 QMAS
parent
a435f822
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
7 deletions
+26
-7
YHResignDocumentDetailViewController.swift
...ment(续签文书管理)/C/YHResignDocumentDetailViewController.swift
+26
-7
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignDocumentManagement(续签文书管理)/C/YHResignDocumentDetailViewController.swift
View file @
5180c745
...
@@ -270,13 +270,32 @@ extension YHResignDocumentDetailViewController {
...
@@ -270,13 +270,32 @@ extension YHResignDocumentDetailViewController {
guard
let
self
=
self
else
{
guard
let
self
=
self
else
{
return
return
}
}
let
vc
=
YHH5WebViewVC
()
// let vc = YHH5WebViewVC()
vc
.
navTitle
=
self
.
name
// vc.navTitle = self.name
// TODO: - Alex等链接下来再赋值
// // TODO: - Alex等链接下来再赋值
//vc.url = url
// //vc.url = url
vc
.
isFullScreenFlag
=
false
// vc.isFullScreenFlag = false
self
.
navigationController
?
.
pushViewController
(
vc
)
// self.navigationController?.pushViewController(vc)
printLog
(
"###infoConfirmationEvent"
)
// printLog("###infoConfirmationEvent")
printLog
(
"跳转QMAS"
)
if
let
param
=
YHLoginManager
.
shared
.
userModel
?
.
token
,
param
.
count
>
5
{
printLog
(
param
)
var
token
:
String
=
param
var
url
=
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge.html#/guide/qmas"
let
addtionString
=
String
.
randomAlphaNumericStringT
(
6
)
//随机6个字母或者数字
let
indexToInsert
=
token
.
index
(
token
.
startIndex
,
offsetBy
:
6
)
//插入位置,这里以第六个字符后面为例
token
.
insert
(
contentsOf
:
addtionString
,
at
:
indexToInsert
)
//https://test-hkdiy-h5.galaxy-immi.com/superAppBridge.html#/guide/qmas?token=xx&doc_id=xx
url
=
url
+
"?param="
+
token
+
"&doc_id=
\(
model
.
docId
)
"
let
vc
=
YHH5WebViewVC
()
vc
.
navTitle
=
""
vc
.
url
=
url
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
}
switch
docType
{
switch
docType
{
...
...
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