mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-01 02:38:43 +08:00 
			
		
		
		
	【同步】BOOT 和 CLOUD 的功能
This commit is contained in:
		| @@ -94,7 +94,7 @@ public class ConfigController { | ||||
|     @Operation(summary = "导出参数配置") | ||||
|     @PreAuthorize("@ss.hasPermission('infra:config:export')") | ||||
|     @ApiAccessLog(operateType = EXPORT) | ||||
|     public void exportConfig(@Valid ConfigPageReqVO exportReqVO, | ||||
|     public void exportConfig(ConfigPageReqVO exportReqVO, | ||||
|                              HttpServletResponse response) throws IOException { | ||||
|         exportReqVO.setPageSize(PageParam.PAGE_SIZE_NONE); | ||||
|         List<ConfigDO> list = configService.getConfigPage(exportReqVO).getList(); | ||||
|   | ||||
| @@ -58,6 +58,6 @@ public interface ConfigService { | ||||
|      * @param reqVO 分页条件 | ||||
|      * @return 分页列表 | ||||
|      */ | ||||
|     PageResult<ConfigDO> getConfigPage(@Valid ConfigPageReqVO reqVO); | ||||
|     PageResult<ConfigDO> getConfigPage(ConfigPageReqVO reqVO); | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -306,8 +306,8 @@ export default { | ||||
|       await this.#[[$modal]]#.confirm('是否确认导出所有${table.classComment}数据项?'); | ||||
|       try { | ||||
|         this.exportLoading = true; | ||||
|         const res = await ${simpleClassName}Api.export${simpleClassName}Excel(this.queryParams); | ||||
|         this.#[[$]]#download.excel(res.data, '${table.classComment}.xls'); | ||||
|         const data = await ${simpleClassName}Api.export${simpleClassName}Excel(this.queryParams); | ||||
|         this.#[[$]]#download.excel(data, '${table.classComment}.xls'); | ||||
|       } catch { | ||||
|       } finally { | ||||
|         this.exportLoading = false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV