mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-28 06:57:54 +00:00
refactor: 调整多处页面布局与组件引用
1. 修复AI记忆页面表单label宽度固定为70px 2. 为分页组件添加居中样式 3. 调整多处页面的组件导入与布局结构,包括系统角色/用户、工作流、代码生成、仪表盘页面 4. 重构工作流设计面板的组件引用与画布样式
This commit is contained in:
@@ -206,6 +206,8 @@ import WorkflowDefinitionAPI, {
|
||||
type WorkflowForm,
|
||||
} from "@/api/module_task/workflow/definition";
|
||||
import WorkflowNodeTypeAPI from "@/api/module_task/workflow/node-type";
|
||||
import FaNodeConfigPanel from "./FaNodeConfigPanel.vue";
|
||||
import FaEdgeConfigPanel from "./FaEdgeConfigPanel.vue";
|
||||
|
||||
defineOptions({
|
||||
name: "WorkflowCreateDrawer",
|
||||
@@ -965,9 +967,16 @@ function deleteEdge(edgeId: string, getEdges: () => Edge[], setEdges: (edges: Ed
|
||||
.canvas-container {
|
||||
flex: 1;
|
||||
min-height: 400px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.canvas-container :deep(.vue-flow) {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
:deep(.vue-flow__controls) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -124,6 +124,7 @@ import type { SearchFormItem } from "@/components/forms/fa-search-bar/index.vue"
|
||||
import FaTable from "@/components/tables/fa-table/index.vue";
|
||||
import FaTableHeader from "@/components/tables/fa-table-header/index.vue";
|
||||
import FaTableHeaderLeft from "@/components/tables/fa-table-header-left/index.vue";
|
||||
import FaWorkflowDesignDrawer from "../components/FaWorkflowDesignDrawer.vue";
|
||||
import { useTable } from "@/hooks/core/useTable";
|
||||
import type { ColumnOption } from "@/types/component";
|
||||
import { ArrowDown } from "@element-plus/icons-vue";
|
||||
|
||||
Reference in New Issue
Block a user