Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
张凯
2 years ago
Commit
0168348a1e48637b9f527cf595e43933607e991b
1 parent
714cfc7a
chore:巡检结果查看优化
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/inspectionResultIndex.js
hg-monitor-web-base/src/main/resources/static/src/controller/inspectionResultIndex.js
View file @
0168348
...
...
@@ -258,7 +258,18 @@ layui.define(['table', 'form', 'laydate', 'admin', 'layer', 'laytpl', 'common',
url
:
domainName
+
'/api-web/inspectiontask/getPdfPath?batchNo='
+
batchNo
}).
done
(
function
(
response
)
{
if
(
"success"
==
response
.
msg
)
{
window
.
open
(
"/src/lib/extend/pdfjs/web/viewer.html?test="
+
encodeURIComponent
(
response
.
pdfPath
));
let
win
=
window
.
top
;
if
(
win
)
{
window
.
top
.
postMessage
({
type
:
"previewFile"
,
message
:
{
params
:
{
url
:
response
.
pdfPath
}
}
},
'*'
)
}
// window.open("/src/lib/extend/pdfjs/web/viewer.html?test=" + encodeURIComponent(response.pdfPath));
}
})
}
...
...
Please
register
or
login
to post a comment