Commit 0c54b931 by 宋祥

Merge branch 'dev-sx' of http://129.211.46.84:8800/platform/hg-smart into dev

parents 2f2763ba 7d179daf
...@@ -1077,21 +1077,3 @@ let isProjectManager = function (parentId) { ...@@ -1077,21 +1077,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');
}
}
);
}
...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment