Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
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
李苏
sgaqgl-vue
Commits
ceb6441a
Commit
ceb6441a
authored
Feb 03, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
img自适应宽高比,pdf缩放
parent
fb03287d
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
70 additions
and
28 deletions
+70
-28
index.vue
src/views/basicData/operationDcManagement/index.vue
+12
-5
index.vue
src/views/basicData/securityDocumentManagement/index.vue
+12
-5
index.vue
src/views/contingency/contingencyManager/index.vue
+12
-5
index.vue
src/views/daily/nros/index.vue
+12
-5
index.vue
src/views/outsourcingDirector/approve/index.vue
+10
-3
index.vue
src/views/outsourcingDirector/declare/index.vue
+12
-5
No files found.
src/views/basicData/operationDcManagement/index.vue
View file @
ceb6441a
...
...
@@ -6,10 +6,17 @@
:visible
.
sync=
"show"
width=
"100%"
>
<div
ref=
'show'
v-if=
"show"
style=
"height: 85vh;width: 100%"
>
<div
ref=
'show'
v-if=
"show"
style=
"height: 85vh;width: 100%;position: relative;"
>
<div
style=
'transform:scale(0.36);height: 85vh;width: 100%;'
>
<pdf
ref=
"show"
v-if=
"showType=='pdf'"
v-for=
"i in numPages"
:key=
"i"
:src=
"url"
:page=
"i"
></pdf>
</div>
<!--
<iframe
v-if=
"showType=='pdf'"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
></iframe>
-->
<img
v-if=
"['gif','jpg','jpeg','png','bmp'].indexOf(showType)!=-1"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
>
<img
v-if=
"['gif','jpg','jpeg','png','bmp'].indexOf(showType)!=-1"
:src=
"url"
style=
"max-height: 100%;position: absolute;
left: 50%;
top: 50%;;
transform: translate(-50%,-50%);
"
border=
"0"
>
</div>
</el-dialog>
<div
id=
'bzzywdfileAdd'
style=
"display: none;"
>
...
...
src/views/basicData/securityDocumentManagement/index.vue
View file @
ceb6441a
...
...
@@ -6,10 +6,17 @@
:visible
.
sync=
"show"
width=
"100%"
>
<div
ref=
'show'
v-if=
"show"
style=
"height: 85vh;width: 100%"
>
<div
ref=
'show'
v-if=
"show"
style=
"height: 85vh;width: 100%;position: relative;"
>
<div
style=
'transform:scale(0.36);height: 85vh;width: 100%;'
>
<pdf
ref=
"show"
v-if=
"showType=='pdf'"
v-for=
"i in numPages"
:key=
"i"
:src=
"url"
:page=
"i"
></pdf>
</div>
<!--
<iframe
v-if=
"showType=='pdf'"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
></iframe>
-->
<img
v-if=
"['gif','jpg','jpeg','png','bmp'].indexOf(showType)!=-1"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
>
<img
v-if=
"['gif','jpg','jpeg','png','bmp'].indexOf(showType)!=-1"
:src=
"url"
style=
"max-height: 100%;position: absolute;
left: 50%;
top: 50%;;
transform: translate(-50%,-50%);
"
border=
"0"
>
</div>
</el-dialog>
<div
id=
'aqwdfileAdd'
style=
"display: none;"
>
...
...
src/views/contingency/contingencyManager/index.vue
View file @
ceb6441a
...
...
@@ -6,10 +6,17 @@
:visible
.
sync=
"show"
width=
"100%"
>
<div
v-if=
"show"
style=
"height: 85vh;width: 100%
"
>
<!--
<iframe
v-if=
"showType=='pdf'"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
></iframe>
--
>
<div
ref=
'show'
v-if=
"show"
style=
"height: 85vh;width: 100%;position: relative;
"
>
<div
style=
'transform:scale(0.36);height: 85vh;width: 100%;'
>
<pdf
ref=
"show"
v-if=
"showType=='pdf'"
v-for=
"i in numPages"
:key=
"i"
:src=
"url"
:page=
"i"
></pdf>
<img
v-if=
"['gif','jpg','jpeg','png','bmp'].indexOf(showType)!=-1"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
>
</div>
<!--
<iframe
v-if=
"showType=='pdf'"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
></iframe>
-->
<img
v-if=
"['gif','jpg','jpeg','png','bmp'].indexOf(showType)!=-1"
:src=
"url"
style=
"max-height: 100%;position: absolute;
left: 50%;
top: 50%;;
transform: translate(-50%,-50%);
"
border=
"0"
>
</div>
</el-dialog>
<div
id=
'approvefileAdd'
style=
"display: none;"
>
...
...
src/views/daily/nros/index.vue
View file @
ceb6441a
...
...
@@ -6,10 +6,17 @@
:visible
.
sync=
"show"
width=
"100%"
>
<div
ref=
"show"
v-if=
"show"
style=
"height: 85vh;width: 100%"
>
<div
ref=
'show'
v-if=
"show"
style=
"height: 85vh;width: 100%;position: relative;"
>
<div
style=
'transform:scale(0.36);height: 85vh;width: 100%;'
>
<pdf
ref=
"show"
v-if=
"showType=='pdf'"
v-for=
"i in numPages"
:key=
"i"
:src=
"url"
:page=
"i"
></pdf>
</div>
<!--
<iframe
v-if=
"showType=='pdf'"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
></iframe>
-->
<img
v-if=
"['gif','jpg','jpeg','png','bmp'].indexOf(showType)!=-1"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
>
<img
v-if=
"['gif','jpg','jpeg','png','bmp'].indexOf(showType)!=-1"
:src=
"url"
style=
"max-height: 100%;position: absolute;
left: 50%;
top: 50%;;
transform: translate(-50%,-50%);
"
border=
"0"
>
</div>
</el-dialog>
<div
id=
'approvefileAdd'
style=
"display: none;"
>
...
...
src/views/outsourcingDirector/approve/index.vue
View file @
ceb6441a
...
...
@@ -6,10 +6,17 @@
:visible
.
sync=
"show"
width=
"100%"
>
<div
ref=
'show'
v-if=
"show"
style=
"height: 85vh;width: 100%"
>
<div
ref=
'show'
v-if=
"show"
style=
"height: 85vh;width: 100%;position: relative;"
>
<div
style=
'transform:scale(0.36);height: 85vh;width: 100%;'
>
<pdf
ref=
"show"
v-if=
"showType=='pdf'"
v-for=
"i in numPages"
:key=
"i"
:src=
"url"
:page=
"i"
></pdf>
</div>
<!--
<iframe
v-if=
"showType=='pdf'"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
></iframe>
-->
<img
v-if=
"['gif','jpg','jpeg','png','bmp'].indexOf(showType)!=-1"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
>
<img
v-if=
"['gif','jpg','jpeg','png','bmp'].indexOf(showType)!=-1"
:src=
"url"
style=
"max-height: 100%;position: absolute;
left: 50%;
top: 50%;;
transform: translate(-50%,-50%);
"
border=
"0"
>
</div>
</el-dialog>
<div
id=
'approvefileAdd'
style=
"display: none;"
>
...
...
src/views/outsourcingDirector/declare/index.vue
View file @
ceb6441a
...
...
@@ -7,10 +7,17 @@
width=
"100%"
>
<div
v-if=
"show"
style=
"height: 85vh;width: 100%
"
>
<!--
<iframe
v-if=
"showType=='pdf'"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
></iframe>
--
>
<div
ref=
'show'
v-if=
"show"
style=
"height: 85vh;width: 100%;position: relative;
"
>
<div
style=
'transform:scale(0.36);height: 85vh;width: 100%;'
>
<pdf
ref=
"show"
v-if=
"showType=='pdf'"
v-for=
"i in numPages"
:key=
"i"
:src=
"url"
:page=
"i"
></pdf>
<img
v-if=
"['gif','jpg','jpeg','png','bmp'].indexOf(showType)!=-1"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
>
</div>
<!--
<iframe
v-if=
"showType=='pdf'"
:src=
"url"
width=
"100%"
height=
"100%"
border=
"0"
></iframe>
-->
<img
v-if=
"['gif','jpg','jpeg','png','bmp'].indexOf(showType)!=-1"
:src=
"url"
style=
"max-height: 100%;position: absolute;
left: 50%;
top: 50%;;
transform: translate(-50%,-50%);
"
border=
"0"
>
</div>
</el-dialog>
<div
id=
'approvefileAdd'
style=
"display: none;"
>
...
...
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