<!-- 库存预测 -->
<script lang="jsx">
import {
  computed,
  defineComponent,
  ref,
  onMounted,
  watchEffect,
  watch
} from "vue";
import { useExposeDialogArgs } from "@qomo-platform/core";
// import { forecastInventoryList, forecastInventoryAdd } from "@/api/index";
import { transformPageResponse } from "@/utils/qomo";
import _ from "lodash";
import { download } from "@qomo-platform/utils";

export default defineComponent({
  name: "test",
  setup(props, { attrs, expose, slots = {} }) {
    const { dialogRef, ...exposeDialogArgs } = useExposeDialogArgs();

    return () =>  <BaseFlowableOptions
    leftTreeRequest={async()=>{
        return  {
        "success": true,
        "message": "操作成功",
        "code": 200,
        "result": [
            {
                "id": 54,
                "name": "通用组件",
                "code": null,
                "groupId": null,
                "sortNo": 1,
                "type": null,
                "program": null,
                "color": "#FF5E48",
                "icon": null,
                "menuIcon": null,
                "canvasIcon": null,
                "flag": 1,
                "remark": "",
                "nodeType": 0,
                "children": [
                    {
                        "id": 86,
                        "name": "开始",
                        "code": "start",
                        "groupId": 54,
                        "sortNo": 1,
                        "type": "SPARK",
                        "program": "/a",
                        "color": "#2474FF",
                        "icon": null,
                        "menuIcon": "1.1_kaishi.svg",
                        "canvasIcon": "1.1_kaishi.svg",
                        "flag": 1,
                        "remark": null,
                        "nodeType": 1,
                        "children": null,
                        "componentCategoryList": [
                            {
                                "id": 663,
                                "componentId": 86,
                                "category": "3",
                                "createBy": null,
                                "createTime": "2024-02-05 17:03:07",
                                "updateBy": null,
                                "updateTime": null
                            },
                            {
                                "id": 664,
                                "componentId": 86,
                                "category": "2",
                                "createBy": null,
                                "createTime": "2024-02-05 17:03:07",
                                "updateBy": null,
                                "updateTime": null
                            },
                            {
                                "id": 665,
                                "componentId": 86,
                                "category": "1",
                                "createBy": null,
                                "createTime": "2024-02-05 17:03:07",
                                "updateBy": null,
                                "updateTime": null
                            }
                        ]
                    },
                    {
                        "id": 87,
                        "name": "结束",
                        "code": "end",
                        "groupId": 54,
                        "sortNo": 2,
                        "type": "SPARK",
                        "program": "/a",
                        "color": "#2474FF",
                        "icon": null,
                        "menuIcon": "1.2_jieshu.svg",
                        "canvasIcon": "1.2_jieshu.svg",
                        "flag": 1,
                        "remark": null,
                        "nodeType": 1,
                        "children": null,
                        "componentCategoryList": [
                            {
                                "id": 666,
                                "componentId": 87,
                                "category": "2",
                                "createBy": null,
                                "createTime": "2024-02-05 17:03:20",
                                "updateBy": null,
                                "updateTime": null
                            },
                            {
                                "id": 667,
                                "componentId": 87,
                                "category": "1",
                                "createBy": null,
                                "createTime": "2024-02-05 17:03:20",
                                "updateBy": null,
                                "updateTime": null
                            },
                            {
                                "id": 668,
                                "componentId": 87,
                                "category": "3",
                                "createBy": null,
                                "createTime": "2024-02-05 17:03:20",
                                "updateBy": null,
                                "updateTime": null
                            }
                        ]
                    }
                ],
                "componentCategoryList": null
            },
            {
                "id": 11,
                "name": "数据管理",
                "code": null,
                "groupId": null,
                "sortNo": 2,
                "type": null,
                "program": null,
                "color": "#1D98F1",
                "icon": null,
                "menuIcon": null,
                "canvasIcon": null,
                "flag": 1,
                "remark": "",
                "nodeType": 0,
                "children": [
                    {
                        "id": 39,
                        "name": "输入组件",
                        "code": null,
                        "groupId": null,
                        "sortNo": 1,
                        "type": null,
                        "program": null,
                        "color": "#1D98F1",
                        "icon": null,
                        "menuIcon": null,
                        "canvasIcon": null,
                        "flag": 1,
                        "remark": "",
                        "nodeType": 0,
                        "children": [
                            {
                                "id": 102,
                                "name": "数据湖输入",
                                "code": "NonRelationalInput",
                                "groupId": 39,
                                "sortNo": 1,
                                "type": "SPARK",
                                "program": "com.zzsmart.qomo.component.DbInputComponent",
                                "color": "#FF5E48",
                                "icon": null,
                                "menuIcon": "2.6_shujuhushuru.svg",
                                "canvasIcon": "2.6_shujuhushuru.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 743,
                                        "componentId": 102,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-02-26 18:13:33",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 744,
                                        "componentId": 102,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-02-26 18:13:33",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 745,
                                        "componentId": 102,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-02-26 18:13:33",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            },
                            {
                                "id": 39,
                                "name": "关系数据库输入",
                                "code": "dbInput",
                                "groupId": 39,
                                "sortNo": 1,
                                "type": "SPARK",
                                "program": "com.zzsmart.qomo.component.DbInputComponent",
                                "color": "#2474FF",
                                "icon": null,
                                "menuIcon": "2.1_guanxishuru.svg",
                                "canvasIcon": "2.1_guanxishuru.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 613,
                                        "componentId": 39,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:09:37",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 614,
                                        "componentId": 39,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:09:37",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 615,
                                        "componentId": 39,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:09:37",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            },
                            {
                                "id": 40,
                                "name": "Excel文件输入",
                                "code": "excelInput",
                                "groupId": 39,
                                "sortNo": 2,
                                "type": "SPARK",
                                "program": "com.zzsmart.qomo.component.ExcelInputComponent",
                                "color": "#2474FF",
                                "icon": null,
                                "menuIcon": "2.2_excel.svg",
                                "canvasIcon": "2.2_excel.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 616,
                                        "componentId": 40,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:15:50",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 617,
                                        "componentId": 40,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:15:50",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 618,
                                        "componentId": 40,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:15:50",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            },
                            {
                                "id": 41,
                                "name": "动态输入",
                                "code": "DynamicInput",
                                "groupId": 39,
                                "sortNo": 3,
                                "type": "SPARK",
                                "program": "com.zzsmart.qomo.component.DynamicInputComponent",
                                "color": "#1D98F1",
                                "icon": null,
                                "menuIcon": "2.3_shuru.svg",
                                "canvasIcon": "2.3_shuru.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 619,
                                        "componentId": 41,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:16:04",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 620,
                                        "componentId": 41,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:16:04",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 621,
                                        "componentId": 41,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:16:04",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            }
                        ],
                        "componentCategoryList": null
                    },
                    {
                        "id": 40,
                        "name": "输出组件",
                        "code": null,
                        "groupId": null,
                        "sortNo": 2,
                        "type": null,
                        "program": null,
                        "color": "#1D98F1",
                        "icon": null,
                        "menuIcon": null,
                        "canvasIcon": null,
                        "flag": 1,
                        "remark": "",
                        "nodeType": 0,
                        "children": [
                            {
                                "id": 77,
                                "name": "关系数据库输出",
                                "code": "dbOutput",
                                "groupId": 40,
                                "sortNo": 1,
                                "type": "SPARK",
                                "program": "com.zzsmart.qomo.component.DbOutputComponent",
                                "color": "#1D98F1",
                                "icon": null,
                                "menuIcon": "2.4_shuchu.svg",
                                "canvasIcon": "2.4_shuchu.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 627,
                                        "componentId": 77,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:51:16",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 628,
                                        "componentId": 77,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:51:16",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 629,
                                        "componentId": 77,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:51:16",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            },
                            {
                                "id": 103,
                                "name": "数据湖输出",
                                "code": "NonRelationalOutput",
                                "groupId": 40,
                                "sortNo": 2,
                                "type": "SPARK",
                                "program": "com.zzsmart.qomo.component.DbOutputComponent",
                                "color": "#F09F2E",
                                "icon": null,
                                "menuIcon": "/qomo/oss/2024-04-18/940863944963264512.svg",
                                "canvasIcon": "/qomo/oss/2024-04-18/940863969650937856.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 933,
                                        "componentId": 103,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-04-18 17:04:22",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 934,
                                        "componentId": 103,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-04-18 17:04:22",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 935,
                                        "componentId": 103,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-04-18 17:04:22",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            },
                            {
                                "id": 79,
                                "name": "动态输出",
                                "code": "DynamicOutput",
                                "groupId": 40,
                                "sortNo": 3,
                                "type": "SPARK",
                                "program": "com.zzsmart.qomo.component.DynamicOutPutComponent",
                                "color": "#1D98F1",
                                "icon": null,
                                "menuIcon": "2.5_dongtaishuchu.svg",
                                "canvasIcon": "2.5_dongtaishuchu.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 630,
                                        "componentId": 79,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:51:32",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 631,
                                        "componentId": 79,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:51:33",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 632,
                                        "componentId": 79,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:51:33",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            }
                        ],
                        "componentCategoryList": null
                    }
                ],
                "componentCategoryList": null
            },
            {
                "id": 13,
                "name": "数据处理",
                "code": null,
                "groupId": null,
                "sortNo": 3,
                "type": null,
                "program": null,
                "color": "#2474FF",
                "icon": null,
                "menuIcon": null,
                "canvasIcon": null,
                "flag": 1,
                "remark": "",
                "nodeType": 0,
                "children": [
                    {
                        "id": 32,
                        "name": "预处理",
                        "code": null,
                        "groupId": null,
                        "sortNo": 1,
                        "type": null,
                        "program": null,
                        "color": "#2474FF",
                        "icon": null,
                        "menuIcon": null,
                        "canvasIcon": null,
                        "flag": 1,
                        "remark": "13",
                        "nodeType": 0,
                        "children": [
                            {
                                "id": 59,
                                "name": "缺失值填补",
                                "code": "MissingValue",
                                "groupId": 32,
                                "sortNo": 1,
                                "type": "PYTORCH",
                                "program": "/python/basic_components/missing_value.py",
                                "color": "#1D98F1",
                                "icon": null,
                                "menuIcon": "3.1_queshizhi.svg",
                                "canvasIcon": "3.1_queshizhi.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 974,
                                        "componentId": 59,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:20:49",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 975,
                                        "componentId": 59,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:20:49",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 976,
                                        "componentId": 59,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:20:49",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            },
                            {
                                "id": 72,
                                "name": "异常值检测",
                                "code": "AbnormalValue",
                                "groupId": 32,
                                "sortNo": 2,
                                "type": "PYTORCH",
                                "program": "/python/basic_components/outlier_detection.py",
                                "color": "#1D98F1",
                                "icon": null,
                                "menuIcon": "3.2_yichangzhi.svg",
                                "canvasIcon": "3.2_yichangzhi.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 980,
                                        "componentId": 72,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:20:54",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 981,
                                        "componentId": 72,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:20:54",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 982,
                                        "componentId": 72,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:20:54",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            },
                            {
                                "id": 74,
                                "name": "数据标准化",
                                "code": "DataStandardization",
                                "groupId": 32,
                                "sortNo": 3,
                                "type": "PYTORCH",
                                "program": "/python/basic_components/data_normalization.py",
                                "color": "#1D98F1",
                                "icon": null,
                                "menuIcon": "3.9_shujubiaozhunhua.svg",
                                "canvasIcon": "3.9_shujubiaozhunhua.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 983,
                                        "componentId": 74,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:20:58",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 984,
                                        "componentId": 74,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:20:58",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 985,
                                        "componentId": 74,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:20:58",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            },
                            {
                                "id": 105,
                                "name": "数据平滑处理",
                                "code": "DataSmoothing",
                                "groupId": 32,
                                "sortNo": 4,
                                "type": "PYTORCH",
                                "program": "/python/basic_components/data_smoothing.py",
                                "color": "#1D98F1",
                                "icon": null,
                                "menuIcon": "/qomo/oss/2024-04-18/940862935901802496.svg",
                                "canvasIcon": "/qomo/oss/2024-04-18/940862958270025728.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 986,
                                        "componentId": 105,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:21:01",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 987,
                                        "componentId": 105,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:21:01",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 988,
                                        "componentId": 105,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:21:01",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            }
                        ],
                        "componentCategoryList": null
                    },
                    {
                        "id": 33,
                        "name": "行处理",
                        "code": null,
                        "groupId": null,
                        "sortNo": 2,
                        "type": null,
                        "program": null,
                        "color": "#2474FF",
                        "icon": null,
                        "menuIcon": null,
                        "canvasIcon": null,
                        "flag": 1,
                        "remark": "1",
                        "nodeType": 0,
                        "children": [
                            {
                                "id": 81,
                                "name": "数据拆分",
                                "code": "DataSplitting",
                                "groupId": 33,
                                "sortNo": 1,
                                "type": "SPARK",
                                "program": "com.zzsmart.qomo.component.DataSplitComponent",
                                "color": "#1D98F1",
                                "icon": null,
                                "menuIcon": "3.3_shujuchaifen.svg",
                                "canvasIcon": "3.3_shujuchaifen.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 641,
                                        "componentId": 81,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:56:12",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 642,
                                        "componentId": 81,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:56:12",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 643,
                                        "componentId": 81,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:56:12",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            },
                            {
                                "id": 82,
                                "name": "数据连接",
                                "code": "Connection",
                                "groupId": 33,
                                "sortNo": 2,
                                "type": "SPARK",
                                "program": "com.zzsmart.qomo.component.DataJoinComponent",
                                "color": "#1D98F1",
                                "icon": null,
                                "menuIcon": "3.4_shujulianjie.svg",
                                "canvasIcon": "3.4_shujulianjie.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 645,
                                        "componentId": 82,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:56:24",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 646,
                                        "componentId": 82,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:56:24",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 647,
                                        "componentId": 82,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:56:24",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            },
                            {
                                "id": 83,
                                "name": "数据聚合",
                                "code": "DataAggregation",
                                "groupId": 33,
                                "sortNo": 3,
                                "type": "SPARK",
                                "program": "com.zzsmart.qomo.component.DataAggComponent",
                                "color": "#1D98F1",
                                "icon": null,
                                "menuIcon": "3.5_shujujuhe.svg",
                                "canvasIcon": "3.5_shujujuhe.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 769,
                                        "componentId": 83,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-03-19 11:30:34",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 770,
                                        "componentId": 83,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-03-19 11:30:34",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 771,
                                        "componentId": 83,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-03-19 11:30:34",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            },
                            {
                                "id": 136,
                                "name": "数据宽表处理",
                                "code": "DataWideTable",
                                "groupId": 33,
                                "sortNo": 4,
                                "type": "SPARK",
                                "program": "com.zzsmart.qomo.component.WideTableJoinComponent",
                                "color": "#1D98F1",
                                "icon": null,
                                "menuIcon": "/qomo/oss/2024-05-22/953165042059186176.jpg",
                                "canvasIcon": "/qomo/oss/2024-05-22/953165077882736640.jpg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 1061,
                                        "componentId": 136,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-06-03 09:10:21",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 1062,
                                        "componentId": 136,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-06-03 09:10:21",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 1063,
                                        "componentId": 136,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-06-03 09:10:21",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            }
                        ],
                        "componentCategoryList": null
                    },
                    {
                        "id": 34,
                        "name": "列处理",
                        "code": null,
                        "groupId": null,
                        "sortNo": 3,
                        "type": null,
                        "program": null,
                        "color": "#2474FF",
                        "icon": null,
                        "menuIcon": null,
                        "canvasIcon": null,
                        "flag": 1,
                        "remark": "3",
                        "nodeType": 0,
                        "children": [
                            {
                                "id": 78,
                                "name": "字段列拆分",
                                "code": "ColumnSplit",
                                "groupId": 34,
                                "sortNo": 1,
                                "type": "SPARK",
                                "program": "com.zzsmart.qomo.component.ColSplitComponent",
                                "color": "#1D98F1",
                                "icon": null,
                                "menuIcon": "3.6_ziduanchaifen.svg",
                                "canvasIcon": "3.6_ziduanchaifen.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 651,
                                        "componentId": 78,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:56:52",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 652,
                                        "componentId": 78,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:56:52",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 653,
                                        "componentId": 78,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-02-05 16:56:52",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            }
                        ],
                        "componentCategoryList": null
                    }
                ],
                "componentCategoryList": null
            },
            {
                "id": 41,
                "name": "统计分析",
                "code": null,
                "groupId": null,
                "sortNo": 7,
                "type": null,
                "program": null,
                "color": "#FF5E48",
                "icon": null,
                "menuIcon": null,
                "canvasIcon": null,
                "flag": 1,
                "remark": "常规统计分析模型",
                "nodeType": 0,
                "children": [
                    {
                        "id": 55,
                        "name": "描述性统计",
                        "code": null,
                        "groupId": null,
                        "sortNo": 1,
                        "type": null,
                        "program": null,
                        "color": "#FF5E48",
                        "icon": null,
                        "menuIcon": null,
                        "canvasIcon": null,
                        "flag": 1,
                        "remark": "",
                        "nodeType": 0,
                        "children": [
                            {
                                "id": 90,
                                "name": "数据特征描述",
                                "code": "DataCharacteristic",
                                "groupId": 55,
                                "sortNo": 3,
                                "type": "PYTORCH",
                                "program": "/python/statistical_nalysis/data_describe.py",
                                "color": "#FF5E48",
                                "icon": null,
                                "menuIcon": "6.1_shujutezhengmiaoshu.svg",
                                "canvasIcon": "6.1_shujutezhengmiaoshu.svg",
                                "flag": 1,
                                "remark": null,
                                "nodeType": 1,
                                "children": null,
                                "componentCategoryList": [
                                    {
                                        "id": 1034,
                                        "componentId": 90,
                                        "category": "3",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:29:40",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 1035,
                                        "componentId": 90,
                                        "category": "2",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:29:40",
                                        "updateBy": null,
                                        "updateTime": null
                                    },
                                    {
                                        "id": 1036,
                                        "componentId": 90,
                                        "category": "1",
                                        "createBy": null,
                                        "createTime": "2024-04-26 11:29:40",
                                        "updateBy": null,
                                        "updateTime": null
                                    }
                                ]
                            }
                        ],
                        "componentCategoryList": null
                    }
                ],
                "componentCategoryList": null
            },
            {
                "id": 57,
                "name": "扩展编程",
                "code": null,
                "groupId": null,
                "sortNo": 10,
                "type": null,
                "program": null,
                "color": "",
                "icon": null,
                "menuIcon": null,
                "canvasIcon": null,
                "flag": 1,
                "remark": "",
                "nodeType": 0,
                "children": [
                    {
                        "id": 100,
                        "name": "python编程",
                        "code": "PythonRun",
                        "groupId": 57,
                        "sortNo": 1,
                        "type": "PYTHON",
                        "program": "/python",
                        "color": "#1D98F1",
                        "icon": null,
                        "menuIcon": "10.1_python.svg",
                        "canvasIcon": "10.1_python.svg",
                        "flag": 1,
                        "remark": null,
                        "nodeType": 1,
                        "children": null,
                        "componentCategoryList": [
                            {
                                "id": 692,
                                "componentId": 100,
                                "category": "3",
                                "createBy": null,
                                "createTime": "2024-02-05 18:01:47",
                                "updateBy": null,
                                "updateTime": null
                            },
                            {
                                "id": 693,
                                "componentId": 100,
                                "category": "1",
                                "createBy": null,
                                "createTime": "2024-02-05 18:01:47",
                                "updateBy": null,
                                "updateTime": null
                            },
                            {
                                "id": 694,
                                "componentId": 100,
                                "category": "2",
                                "createBy": null,
                                "createTime": "2024-02-05 18:01:47",
                                "updateBy": null,
                                "updateTime": null
                            }
                        ]
                    },
                    {
                        "id": 101,
                        "name": "Shell编程",
                        "code": "ShellRun",
                        "groupId": 57,
                        "sortNo": 2,
                        "type": "SHELL",
                        "program": "/bin",
                        "color": "#2474FF",
                        "icon": null,
                        "menuIcon": "10.2_shell.svg",
                        "canvasIcon": "10.2_shell.svg",
                        "flag": 1,
                        "remark": null,
                        "nodeType": 1,
                        "children": null,
                        "componentCategoryList": [
                            {
                                "id": 695,
                                "componentId": 101,
                                "category": "1",
                                "createBy": null,
                                "createTime": "2024-02-05 18:01:50",
                                "updateBy": null,
                                "updateTime": null
                            },
                            {
                                "id": 696,
                                "componentId": 101,
                                "category": "3",
                                "createBy": null,
                                "createTime": "2024-02-05 18:01:50",
                                "updateBy": null,
                                "updateTime": null
                            },
                            {
                                "id": 697,
                                "componentId": 101,
                                "category": "2",
                                "createBy": null,
                                "createTime": "2024-02-05 18:01:50",
                                "updateBy": null,
                                "updateTime": null
                            }
                        ]
                    },
                    {
                        "id": 122,
                        "name": "SQL组件",
                        "code": "SqlRun",
                        "groupId": 57,
                        "sortNo": 3,
                        "type": "SPARK",
                        "program": "com.zzsmart.qomo.component.DbSqlComponent",
                        "color": "#1D98F1",
                        "icon": null,
                        "menuIcon": "/qomo/oss/2024-03-31/934243632469381120.svg",
                        "canvasIcon": "/qomo/oss/2024-03-31/934243700878479360.svg",
                        "flag": 1,
                        "remark": null,
                        "nodeType": 1,
                        "children": null,
                        "componentCategoryList": [
                            {
                                "id": 848,
                                "componentId": 122,
                                "category": "1",
                                "createBy": null,
                                "createTime": "2024-04-07 11:55:09",
                                "updateBy": null,
                                "updateTime": null
                            }
                        ]
                    }
                ],
                "componentCategoryList": null
            }
        ],
        "timestamp": 1718264601506
    }
    }}
    saveRequest={async(data)=>{
        console.log(data)
    }}
    runRequest={async(data)=>{
        alert(2)
    }}
    ></BaseFlowableOptions>;
  }
});
</script>
<style scoped lang="scss"></style>
