Commit 11d7089d authored by Data Governance Dev's avatar Data Governance Dev

feat(web3): 数据库连接 Tab 缩减 + 弹窗 form-grid 修复

- 任务弹窗「数据连接」Tab 数据库选项 6→3:保留 MySQL / Oracle / 达梦 DM,移除 SQL Server / PostgreSQL / JDBC 自定义
- global.css .modal 加宽 880→1000;.form-grid 列最小宽度 320px,右半边输入框不再被裁切
- docs/db-schema.md task 表 db_type 列注释同步
parent e2c16e6e
...@@ -87,7 +87,7 @@ task_group (1) ──< (N) task (1) ──< (N) field (1) ──< (N) rule ...@@ -87,7 +87,7 @@ task_group (1) ──< (N) task (1) ──< (N) field (1) ──< (N) rule
| `source_table` | TEXT | NULL | 该 sqlite 文件里的表名 | | `source_table` | TEXT | NULL | 该 sqlite 文件里的表名 |
| `status` | TEXT | NOT NULL DEFAULT `'启用'` | 启用 / 停用;**P3 阶段 UI 不暴露**,仅 DB 列保留(未来扩展用)| | `status` | TEXT | NOT NULL DEFAULT `'启用'` | 启用 / 停用;**P3 阶段 UI 不暴露**,仅 DB 列保留(未来扩展用)|
| `description` | TEXT | NULL | 任务说明 | | `description` | TEXT | NULL | 任务说明 |
| `db_type` | TEXT | NOT NULL DEFAULT `'MySQL'` | UI 冗余:MySQL / Oracle / SQL Server / PostgreSQL / 达梦 DM / JDBC 自定义 | | `db_type` | TEXT | NOT NULL DEFAULT `'MySQL'` | UI 冗余:MySQL / Oracle / 达梦 DM(2026-08-20 起暂只支持这三种,连接实现参考 web2)|
| `conn_json` | TEXT | NULL | UI 数据连接表单 JSON(详见下表)| | `conn_json` | TEXT | NULL | UI 数据连接表单 JSON(详见下表)|
| `created_at` | TIMESTAMP | NOT NULL DEFAULT CURRENT_TIMESTAMP | | | `created_at` | TIMESTAMP | NOT NULL DEFAULT CURRENT_TIMESTAMP | |
| `updated_at` | TIMESTAMP | NOT NULL DEFAULT CURRENT_TIMESTAMP,onupdate 自动 | | | `updated_at` | TIMESTAMP | NOT NULL DEFAULT CURRENT_TIMESTAMP,onupdate 自动 | |
......
This diff is collapsed.
...@@ -309,7 +309,7 @@ table.dq-table tbody tr:last-child td { border-bottom: none; } ...@@ -309,7 +309,7 @@ table.dq-table tbody tr:last-child td { border-bottom: none; }
.modal { .modal {
background: #fff; background: #fff;
border-radius: 6px; border-radius: 6px;
width: 880px; width: 1000px;
max-width: 94vw; max-width: 94vw;
max-height: 90vh; max-height: 90vh;
display: flex; display: flex;
...@@ -372,7 +372,7 @@ table.dq-table tbody tr:last-child td { border-bottom: none; } ...@@ -372,7 +372,7 @@ table.dq-table tbody tr:last-child td { border-bottom: none; }
border-left: 3px solid #409eff; border-left: 3px solid #409eff;
margin-bottom: 12px; margin-bottom: 12px;
} }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 20px; } .form-grid { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr); gap: 14px 20px; }
.form-row { display: flex; align-items: center; gap: 8px; min-width: 0; } .form-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.form-row.full { grid-column: 1 / -1; } .form-row.full { grid-column: 1 / -1; }
.form-label { .form-label {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment