@@ -8,11 +8,10 @@ export default class ProgramProjectListInfoService {
params: params
})
}
- exportFile (params) {
+ exportFile () {
return request({
url: '/program/projectList/exportFile',
method: 'get',
- params: params,
responseType: 'blob'
@@ -909,10 +909,7 @@
// 下载文档
exportFile () {
this.loading = true
- this.programProjectListInfoService.exportFile({
- 'itemType': '1',
- ...this.searchForm
- }).then((res) => {
+ this.programProjectListInfoService.exportFile().then((res) => {
// 将二进制流文件写入excel表,以下为重要步骤
this.$utils.downloadExcel(res.data, '项目登记列表信息')
this.loading = false