Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
43b32e61
Commit
43b32e61
authored
Jan 21, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充逻辑
parent
48cba11f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/打印订单/PrintListMgVc.swift
GeliBusinessPlatform/ViewController/打印订单/PrintListMgVc.swift
+4
-3
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
43b32e61
No preview for this file type
GeliBusinessPlatform/ViewController/打印订单/PrintListMgVc.swift
View file @
43b32e61
...
...
@@ -56,7 +56,8 @@ class PrintListMgVc: BaseViewController, PagingViewControllerDelegate,UIPrintInt
]
printUrl
(
dic
)
{
(
data
)
in
let
d
=
data
as!
printUrl_Model
let
url
=
URL
(
string
:
d
.
data
!
)
let
urlStr
=
d
.
data
?
.
addingPercentEncoding
(
withAllowedCharacters
:
.
urlQueryAllowed
)
!
let
url
=
URL
(
string
:
urlStr
!
)
let
request
=
URLRequest
.
init
(
url
:
url
!
,
cachePolicy
:
.
reloadRevalidatingCacheData
,
timeoutInterval
:
10
)
self
.
web_vc
.
wkWebView
.
load
(
request
)
HUD
.
flash
(
.
progress
)
...
...
@@ -112,7 +113,8 @@ class PrintListMgVc: BaseViewController, PagingViewControllerDelegate,UIPrintInt
}
printUrl
(
dic
)
{
(
data
)
in
let
d
=
data
as!
printUrl_Model
let
url
=
URL
(
string
:
d
.
data
!
)
let
urlStr
=
d
.
data
?
.
addingPercentEncoding
(
withAllowedCharacters
:
.
urlQueryAllowed
)
!
let
url
=
URL
(
string
:
urlStr
!
)
let
request
=
URLRequest
.
init
(
url
:
url
!
,
cachePolicy
:
.
reloadRevalidatingCacheData
,
timeoutInterval
:
10
)
self
.
web_vc
.
wkWebView
.
load
(
request
)
HUD
.
flash
(
.
progress
)
...
...
@@ -124,7 +126,6 @@ class PrintListMgVc: BaseViewController, PagingViewControllerDelegate,UIPrintInt
func
webView
(
_
webView
:
WKWebView
,
didFinish
navigation
:
WKNavigation
!
){
// Log4jMessage(message: "页面加载完成...")
print
(
"页面加载完成..."
)
HUD
.
hide
()
let
formatter
=
webView
.
viewPrintFormatter
()
...
...
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