| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246 |
- <!-- 库存预测 -->
- <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>
|