| | |
| | | .append(percentEncodedFileName);
|
| | |
|
| | | response.setHeader("Content-disposition", contentDispositionValue.toString());
|
| | | response.setHeader("download-filename", percentEncodedFileName);
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | "/**/*.js",
|
| | | "/profile/**"
|
| | | ).permitAll()
|
| | | .antMatchers("/common/download**").anonymous()
|
| | | .antMatchers("/common/download/resource**").anonymous()
|
| | | .antMatchers("/swagger-ui.html").anonymous()
|
| | | .antMatchers("/swagger-resources/**").anonymous()
|
| | | .antMatchers("/webjars/**").anonymous()
|
| | |
| | | this.exportLoading = true;
|
| | | return export${BusinessName}(queryParams);
|
| | | }).then(response => {
|
| | | this.download(response.msg);
|
| | | this.#[[$download]]#.name(response.msg);
|
| | | this.exportLoading = false;
|
| | | }).catch(() => {});
|
| | | }
|