Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
Details
Activity
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
TFMOM
TF-MOM-WEB
Commits
99f0480f
Commit
99f0480f
authored
Nov 27, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实物构型管理预览bug修改
parent
b8bd2023
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.vue
...sicalConfigurationManagement/components/preview/index.vue
+3
-3
No files found.
applications/dee-mes/src/privateComponents/components/physicalConfigurationManagement/components/preview/index.vue
View file @
99f0480f
<!--
<!--
* @LastEditTime: 2024-
07-12 18:03:48
* @LastEditTime: 2024-
11-27 15:55:42
* @Description: 架次实物构型-预览
* @Description: 架次实物构型-预览
-->
-->
<
template
>
<
template
>
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
get
}
from
'@/utils/http'
import
{
downloadFile
}
from
'@/utils/http'
export
default
{
export
default
{
name
:
'Preview'
,
name
:
'Preview'
,
data
()
{
data
()
{
...
@@ -32,7 +32,7 @@ export default {
...
@@ -32,7 +32,7 @@ export default {
return
return
}
}
this
.
showTitle
=
false
this
.
showTitle
=
false
get
(
`ExtProcessPlan/createPDF?id=
${
id
}
`
).
then
((
res
)
=>
{
downloadFile
(
`/ExtProcessPlan/createPDF?id=
${
id
}
`
,
'get'
).
then
((
res
)
=>
{
const
blob
=
new
Blob
([
res
.
data
],
{
const
blob
=
new
Blob
([
res
.
data
],
{
type
:
'application/pdf'
type
:
'application/pdf'
})
})
...
...
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