Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
project_progress
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 758743d9
authored
May 29, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pdf回显
1 parent
9f5a722e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
src/views/assessChecks/checkCompliance.vue
src/views/assessChecks/checkCompliance.vue
View file @
758743d
...
...
@@ -374,7 +374,7 @@ export default {
// let prefixUrl = 'pdf/web/viewer.html?file=';
// this.iframeUrl = prefixUrl+resUrl.msg;
// console.log(this.iframeUrl,'this.iframeUrl')
//
this.iframeUrl = resUrl.msg;
this
.
iframeUrl
=
resUrl
.
msg
;
// this.iframeUrl ='https://view.officeapps.live.com/op/view.aspx?src='+ resUrl.msg
});
},
...
...
@@ -382,17 +382,17 @@ export default {
console
.
log
(
"切换"
,
tab
.
name
,
this
.
urlList
);
this
.
urlList
.
forEach
(
async
(
item
)
=>
{
if
(
item
.
typeCode
==
tab
.
name
)
{
// console.log("来几次", item.typeCode);
// let prefixUrl = 'pdf/web/viewer.html?file=';
// this.iframeUrl = prefixUrl+item.url;
// console.log(this.iframeUrl,'this.iframeUrl')
let
paramsUrl
=
{
fileId
:
item
.
id
,
url
:
item
.
url
,
};
let
resUrl
=
await
presignedUrl
(
paramsUrl
);
this
.
iframeUrl
=
resUrl
.
msg
;
}
});
// this.iframeUrl=this.iframeUrl.replace('http://127.0.0.1:19090','http://192.168.50.1:19090')
// let prefixUrl = 'pdf/web/viewer.html?file=';
// this.iframeUrl= prefixUrl+this.iframeUrl
// window.open(this.iframeUrl)
console
.
log
(
this
.
iframeUrl
,
"this.iframeUrl"
);
},
change
(
id
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment