From 2918c0aebb34605abc6068ef7025ee3f750df823 Mon Sep 17 00:00:00 2001 From: zhangtao <9480807882@qq.com> Date: Mon, 6 Oct 2025 00:29:38 +0800 Subject: [PATCH 1/6] =?UTF-8?q?refactor(frontend):=20=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E6=A0=8F=E6=8C=89=E9=92=AE=E5=B8=83=E5=B1=80?= =?UTF-8?q?=E4=B8=BAel-row/el-col=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 重构多个视图组件中的工具栏按钮布局,使用el-row和el-col组件统一管理按钮间距和排列。调整权限指令v-hasPerm的位置使其更规范。优化表格查询表单的样式和结构。 style(frontend): 规范v-hasPerm指令的使用位置 将v-hasPerm指令统一调整到按钮属性最前面,保持代码风格一致。移除不必要的showSearch变量,简化分页组件逻辑。 fix(gencode): 修正生成代码页面的查询重置功能 修复生成代码页面中重置按钮调用错误方法的问题,将resetQuery改为handleRefresh以保持功能一致。调整表单字段命名规范,统一使用下划线风格。 --- frontend/src/api/generator/gencode.ts | 10 +- frontend/src/components/Pagination/index.vue | 1 + .../job/components/JobLogDrawer.vue | 28 ++- frontend/src/views/application/job/index.vue | 106 ++++++----- .../myapp/components/InternalApp.vue | 1 - .../src/views/application/myapp/index.vue | 16 +- .../src/views/application/workflow/index.vue | 180 ++++-------------- .../backcode/components/genInfoForm.vue | 4 +- .../backcode/components/importTable.vue | 52 ++--- frontend/src/views/gencode/backcode/index.vue | 111 +++++------ frontend/src/views/gencode/demo/index.vue | 94 +++++---- frontend/src/views/monitor/online/index.vue | 48 +++-- frontend/src/views/monitor/resource/index.vue | 66 ++++--- frontend/src/views/system/config/index.vue | 54 ++++-- frontend/src/views/system/dept/index.vue | 66 ++++--- .../system/dict/components/DataDrawer.vue | 52 +++-- frontend/src/views/system/dict/index.vue | 78 +++++--- frontend/src/views/system/log/index.vue | 24 ++- frontend/src/views/system/menu/index.vue | 24 ++- frontend/src/views/system/notice/index.vue | 72 ++++--- frontend/src/views/system/position/index.vue | 74 ++++--- frontend/src/views/system/role/index.vue | 55 ++++-- frontend/src/views/system/user/index.vue | 60 +++--- 23 files changed, 684 insertions(+), 592 deletions(-) diff --git a/frontend/src/api/generator/gencode.ts b/frontend/src/api/generator/gencode.ts index 20688d61..c40573d0 100644 --- a/frontend/src/api/generator/gencode.ts +++ b/frontend/src/api/generator/gencode.ts @@ -132,14 +132,12 @@ export interface TablePageVO { /** 表描述 */ table_comment: string; - /** 存储引擎 */ - engine: string; + /** 数据库名称 */ + database_name: string; - /** 字符集排序规则 */ - table_collation: string; + /** 表单类型 */ + table_type: string; - /** 创建时间 */ - create_time: string; } /** 代码生成表输出对象 */ diff --git a/frontend/src/components/Pagination/index.vue b/frontend/src/components/Pagination/index.vue index 235fef35..ae1e7036 100644 --- a/frontend/src/components/Pagination/index.vue +++ b/frontend/src/components/Pagination/index.vue @@ -3,6 +3,7 @@