Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dwsproject
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
0
Merge Requests
0
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
dws
dwsproject
Commits
e020ac35
Commit
e020ac35
authored
Mar 20, 2025
by
夏超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 玖姿功能
parent
411429af
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
12 deletions
+1
-12
jzjx_project/static/src/html/view/zdy_gdbg.html
+1
-12
No files found.
jzjx_project/static/src/html/view/zdy_gdbg.html
View file @
e020ac35
...
@@ -1926,18 +1926,7 @@ list[item.field_index] = that.default_process_id
...
@@ -1926,18 +1926,7 @@ list[item.field_index] = that.default_process_id
// 下载工艺文件
// 下载工艺文件
downloadUrl
()
{
downloadUrl
()
{
this
.
document_list
.
forEach
(
item
=>
{
this
.
document_list
.
forEach
(
item
=>
{
let
webulr
=
item
.
data
+
'&download=true'
window
.
open
(
item
.
data
+
'&download=true'
)
fetch
(
webulr
)
.
then
((
res
)
=>
res
.
blob
())
.
then
((
blob
)
=>
{
const
a
=
document
.
createElement
(
"a"
);
const
objUrl
=
URL
.
createObjectURL
(
blob
);
a
.
download
=
item
.
name
;
a
.
href
=
objUrl
;
a
.
click
();
window
.
URL
.
revokeObjectURL
(
objUrl
);
a
.
remove
();
})
})
})
},
},
...
...
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