Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
32527e15
Commit
32527e15
authored
Sep 28, 2025
by
wuqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载素材展示修改
parent
64fc6101
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
src/views/order/podCN/FastProduction.vue
+8
-1
No files found.
src/views/order/podCN/FastProduction.vue
View file @
32527e15
...
...
@@ -420,7 +420,14 @@ const download = async () => {
try
{
const
res
=
await
downloadMaterialApi
([
id
])
if
(
res
.
code
!==
200
)
return
window
.
open
(
filePath
+
res
.
message
)
// window.open(filePath + res.message)
const
a
=
document
.
createElement
(
'a'
)
a
.
href
=
filePath
+
res
.
message
a
.
download
=
res
.
message
a
.
target
=
'_blank'
document
.
body
.
appendChild
(
a
)
a
.
click
()
document
.
body
.
removeChild
(
a
)
}
catch
(
e
)
{
console
.
error
(
e
)
}
...
...
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