- 基础信息
- 字段配置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.columnName }}
+
+
+
+
+
+
+ {{ scope.row.dataType }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -172,6 +296,8 @@ const queryParams = reactive({
const pageData = ref([]);
+const tableColumns = ref([]);
+
const dialog = reactive({
type: "",
visible: false,
@@ -213,6 +339,7 @@ function handleOpenDialog(type: string, tableName: string) {
} else if (type === "config") {
DatabaseAPI.getTableColumns(tableName).then((data) => {
dialog.title = `配置 ${tableName}`;
+ tableColumns.value = data;
});
}
}