Toggle navigation
Toggle navigation
This project
Loading...
Sign in
runsa
/
crm
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jun
2016-09-08 10:25:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
534d1806d56bd3b1552831d7052249723fb821c7
534d1806
1 parent
4573a335
添加注释
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
portal/portal.web/src/main/webapp/js/views/base/index.js
portal/portal.web/src/main/webapp/js/views/base/index.js
View file @
534d180
...
...
@@ -192,6 +192,7 @@ define(['i18n!base/nls/resource', 'cls', 'jquery', '../authz.jsonp?callback=defi
}
})
},
//通用下载方法
download
:
function
(
filename
,
path
,
url
){
if
(
!
url
){
url
=
'./download'
;
...
...
@@ -208,10 +209,12 @@ define(['i18n!base/nls/resource', 'cls', 'jquery', '../authz.jsonp?callback=defi
},
60
*
10000
);
}
},
//excel错误文件下载
downloadErrorExcel
:
function
(
fileName
,
path
){
var
url
=
"./excelImport/downloadError"
;
this
.
download
(
fileName
,
path
,
url
);
},
//excel模板文件下载
downloadExcelTemplate
:
function
(){
var
url
=
"./excelImport/downloadExcelTemplate"
;
this
.
download
(
filename
,
null
,
url
);
...
...
Please
register
or
login
to post a comment