Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hg-smart
Commits
cf22c4b2
Commit
cf22c4b2
authored
Nov 01, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.fixBug:下载文件时自定义文件名
parent
ca864c64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
HGWD001C1.js
src/main/webapp/HG/WD/HGWD001C1.js
+2
-1
No files found.
src/main/webapp/HG/WD/HGWD001C1.js
View file @
cf22c4b2
...
@@ -27,7 +27,8 @@ let singleDownload = function (row) {
...
@@ -27,7 +27,8 @@ let singleDownload = function (row) {
EiCommunicator
.
send
(
"HGWD001C"
,
"add"
,
inInfo
,
{
EiCommunicator
.
send
(
"HGWD001C"
,
"add"
,
inInfo
,
{
onSuccess
(
res
)
{
onSuccess
(
res
)
{
if
(
res
.
status
>
-
1
)
{
if
(
res
.
status
>
-
1
)
{
window
.
open
(
res
.
extAttr
.
url
,
'_blank'
);
let
url
=
res
.
extAttr
.
url
+
"?filename="
+
row
[
'docName'
];
window
.
open
(
url
,
'_blank'
);
}
else
{
}
else
{
message
(
res
.
msg
);
message
(
res
.
msg
);
}
}
...
...
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