Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-platform
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
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
sample-form-platform
Commits
d9bb8b96
Commit
d9bb8b96
authored
Feb 15, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改图片显示
parent
b5207976
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
sample-form-manager-ui/admin/src/pages/software/librarymanage/modal/PreviewMaterals.vue
...rc/pages/software/librarymanage/modal/PreviewMaterals.vue
+3
-2
sample-form-manager-ui/admin/src/pages/software/materials/modal/PreviewMaterials.vue
...n/src/pages/software/materials/modal/PreviewMaterials.vue
+2
-1
No files found.
sample-form-manager-ui/admin/src/pages/software/librarymanage/modal/PreviewMaterals.vue
View file @
d9bb8b96
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
</p>
</p>
</div>
</div>
<div
class=
"preview-box"
>
<div
class=
"preview-box"
>
<img
class=
"sample-sheet-img"
:src=
"api + materialsPreview"
/>
<img
class=
"sample-sheet-img"
:src=
"api
2
+ materialsPreview"
/>
</div>
</div>
</div>
</div>
<div
slot=
"footer"
class=
"tac"
>
<div
slot=
"footer"
class=
"tac"
>
...
@@ -56,6 +56,7 @@ export default {
...
@@ -56,6 +56,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
api
:
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/
"
,
api
:
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/
"
,
api2
:
process
.
env
.
VUE_APP_API_IMG_URL
,
loading
:
false
,
loading
:
false
,
};
};
},
},
...
@@ -68,7 +69,7 @@ export default {
...
@@ -68,7 +69,7 @@ export default {
papertype
:
"
A4
"
,
papertype
:
"
A4
"
,
printername
:
""
,
// 打印机名称 为空则为默认打印机
printername
:
""
,
// 打印机名称 为空则为默认打印机
printertype
:
"
url
"
,
// base64 ,normal,url
printertype
:
"
url
"
,
// base64 ,normal,url
url
:
this
.
api
+
info
.
samplePath
,
// url
url
:
this
.
api
2
+
info
.
samplePath
,
// url
success
:
(
res
)
=>
{
success
:
(
res
)
=>
{
if
(
res
&&
res
.
code
==
"
00000
"
)
{
if
(
res
&&
res
.
code
==
"
00000
"
)
{
_this
.
$message
.
success
(
"
打印成功
"
);
_this
.
$message
.
success
(
"
打印成功
"
);
...
...
sample-form-manager-ui/admin/src/pages/software/materials/modal/PreviewMaterials.vue
View file @
d9bb8b96
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
</div>
</div>
<!-- 样表 -->
<!-- 样表 -->
<div
class=
"sample-sheet flex1"
>
<div
class=
"sample-sheet flex1"
>
<img
class=
"sample-sheet-img"
:src=
"api + materialsPreview"
/>
<img
class=
"sample-sheet-img"
:src=
"api
2
+ materialsPreview"
/>
</div>
</div>
</div>
</div>
<!--
<div
class=
"right"
>
-->
<!--
<div
class=
"right"
>
-->
...
@@ -57,6 +57,7 @@ export default {
...
@@ -57,6 +57,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
api
:
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/
"
,
api
:
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/
"
,
api2
:
process
.
env
.
VUE_APP_API_IMG_URL
,
val
:
""
,
val
:
""
,
};
};
},
},
...
...
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