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
7d179daf
Commit
7d179daf
authored
Oct 23, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.调整文件下载,改为直接通过链接下载
parent
827df551
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
19 deletions
+2
-19
HGWD001.js
src/main/webapp/HG/WD/HGWD001.js
+0
-18
HGWD001C1.js
src/main/webapp/HG/WD/HGWD001C1.js
+2
-1
No files found.
src/main/webapp/HG/WD/HGWD001.js
View file @
7d179daf
...
@@ -1054,21 +1054,3 @@ let isProjectManager = function (parentId) {
...
@@ -1054,21 +1054,3 @@ let isProjectManager = function (parentId) {
}
}
},
{
async
:
false
})
},
{
async
:
false
})
}
}
/**
* 批量下载
*/
let
batchDownload
=
function
()
{
var
rows
=
resultGrid
.
getCheckedRows
();
if
(
rows
.
length
==
0
)
{
message
(
"请先勾选要下载的数据!"
);
return
;
}
JSUtils
.
submitGridsData
(
"result"
,
"HGWD001C"
,
"batchDownload"
,
false
,
function
(
res
)
{
if
(
res
.
status
>
-
1
)
{
window
.
open
(
res
.
extAttr
.
downloadUrl
,
'_blank'
);
}
}
);
}
src/main/webapp/HG/WD/HGWD001C1.js
View file @
7d179daf
...
@@ -20,8 +20,9 @@ let download = function () {
...
@@ -20,8 +20,9 @@ let download = function () {
* @param row
* @param row
*/
*/
let
singleDownload
=
function
(
row
)
{
let
singleDownload
=
function
(
row
)
{
let
fileId
=
$
(
"#inqu_status-0-parentId"
).
val
();
let
inInfo
=
new
EiInfo
();
let
inInfo
=
new
EiInfo
();
inInfo
.
set
(
"result-0-fileId"
,
row
[
'fileId'
]
);
inInfo
.
set
(
"result-0-fileId"
,
fileId
);
inInfo
.
set
(
"result-0-docId"
,
row
[
'docId'
]);
inInfo
.
set
(
"result-0-docId"
,
row
[
'docId'
]);
EiCommunicator
.
send
(
"HGWD001C"
,
"add"
,
inInfo
,
{
EiCommunicator
.
send
(
"HGWD001C"
,
"add"
,
inInfo
,
{
onSuccess
(
res
)
{
onSuccess
(
res
)
{
...
...
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