diff --git a/frontend/src/views/dashboard/utils/treeNode.ts b/frontend/src/views/dashboard/utils/treeNode.ts new file mode 100644 index 0000000..69045f9 --- /dev/null +++ b/frontend/src/views/dashboard/utils/treeNode.ts @@ -0,0 +1,18 @@ +export interface SQTreeNode { + id: string | number + pid: string | number + name: string + leaf?: boolean + weight: number + type: string + node_type: string + children?: SQTreeNode[] +} + +export interface SQTreeRequest { + treeFlag?: string + leaf?: boolean + weight?: number + sortType?: string + resourceTable?: string +}