index.vue 58KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246
  1. <!-- 库存预测 -->
  2. <script lang="jsx">
  3. import {
  4. computed,
  5. defineComponent,
  6. ref,
  7. onMounted,
  8. watchEffect,
  9. watch
  10. } from "vue";
  11. import { useExposeDialogArgs } from "@qomo-platform/core";
  12. // import { forecastInventoryList, forecastInventoryAdd } from "@/api/index";
  13. import { transformPageResponse } from "@/utils/qomo";
  14. import _ from "lodash";
  15. import { download } from "@qomo-platform/utils";
  16. export default defineComponent({
  17. name: "test",
  18. setup(props, { attrs, expose, slots = {} }) {
  19. const { dialogRef, ...exposeDialogArgs } = useExposeDialogArgs();
  20. return () => <BaseFlowableOptions
  21. leftTreeRequest={async()=>{
  22. return {
  23. "success": true,
  24. "message": "操作成功",
  25. "code": 200,
  26. "result": [
  27. {
  28. "id": 54,
  29. "name": "通用组件",
  30. "code": null,
  31. "groupId": null,
  32. "sortNo": 1,
  33. "type": null,
  34. "program": null,
  35. "color": "#FF5E48",
  36. "icon": null,
  37. "menuIcon": null,
  38. "canvasIcon": null,
  39. "flag": 1,
  40. "remark": "",
  41. "nodeType": 0,
  42. "children": [
  43. {
  44. "id": 86,
  45. "name": "开始",
  46. "code": "start",
  47. "groupId": 54,
  48. "sortNo": 1,
  49. "type": "SPARK",
  50. "program": "/a",
  51. "color": "#2474FF",
  52. "icon": null,
  53. "menuIcon": "1.1_kaishi.svg",
  54. "canvasIcon": "1.1_kaishi.svg",
  55. "flag": 1,
  56. "remark": null,
  57. "nodeType": 1,
  58. "children": null,
  59. "componentCategoryList": [
  60. {
  61. "id": 663,
  62. "componentId": 86,
  63. "category": "3",
  64. "createBy": null,
  65. "createTime": "2024-02-05 17:03:07",
  66. "updateBy": null,
  67. "updateTime": null
  68. },
  69. {
  70. "id": 664,
  71. "componentId": 86,
  72. "category": "2",
  73. "createBy": null,
  74. "createTime": "2024-02-05 17:03:07",
  75. "updateBy": null,
  76. "updateTime": null
  77. },
  78. {
  79. "id": 665,
  80. "componentId": 86,
  81. "category": "1",
  82. "createBy": null,
  83. "createTime": "2024-02-05 17:03:07",
  84. "updateBy": null,
  85. "updateTime": null
  86. }
  87. ]
  88. },
  89. {
  90. "id": 87,
  91. "name": "结束",
  92. "code": "end",
  93. "groupId": 54,
  94. "sortNo": 2,
  95. "type": "SPARK",
  96. "program": "/a",
  97. "color": "#2474FF",
  98. "icon": null,
  99. "menuIcon": "1.2_jieshu.svg",
  100. "canvasIcon": "1.2_jieshu.svg",
  101. "flag": 1,
  102. "remark": null,
  103. "nodeType": 1,
  104. "children": null,
  105. "componentCategoryList": [
  106. {
  107. "id": 666,
  108. "componentId": 87,
  109. "category": "2",
  110. "createBy": null,
  111. "createTime": "2024-02-05 17:03:20",
  112. "updateBy": null,
  113. "updateTime": null
  114. },
  115. {
  116. "id": 667,
  117. "componentId": 87,
  118. "category": "1",
  119. "createBy": null,
  120. "createTime": "2024-02-05 17:03:20",
  121. "updateBy": null,
  122. "updateTime": null
  123. },
  124. {
  125. "id": 668,
  126. "componentId": 87,
  127. "category": "3",
  128. "createBy": null,
  129. "createTime": "2024-02-05 17:03:20",
  130. "updateBy": null,
  131. "updateTime": null
  132. }
  133. ]
  134. }
  135. ],
  136. "componentCategoryList": null
  137. },
  138. {
  139. "id": 11,
  140. "name": "数据管理",
  141. "code": null,
  142. "groupId": null,
  143. "sortNo": 2,
  144. "type": null,
  145. "program": null,
  146. "color": "#1D98F1",
  147. "icon": null,
  148. "menuIcon": null,
  149. "canvasIcon": null,
  150. "flag": 1,
  151. "remark": "",
  152. "nodeType": 0,
  153. "children": [
  154. {
  155. "id": 39,
  156. "name": "输入组件",
  157. "code": null,
  158. "groupId": null,
  159. "sortNo": 1,
  160. "type": null,
  161. "program": null,
  162. "color": "#1D98F1",
  163. "icon": null,
  164. "menuIcon": null,
  165. "canvasIcon": null,
  166. "flag": 1,
  167. "remark": "",
  168. "nodeType": 0,
  169. "children": [
  170. {
  171. "id": 102,
  172. "name": "数据湖输入",
  173. "code": "NonRelationalInput",
  174. "groupId": 39,
  175. "sortNo": 1,
  176. "type": "SPARK",
  177. "program": "com.zzsmart.qomo.component.DbInputComponent",
  178. "color": "#FF5E48",
  179. "icon": null,
  180. "menuIcon": "2.6_shujuhushuru.svg",
  181. "canvasIcon": "2.6_shujuhushuru.svg",
  182. "flag": 1,
  183. "remark": null,
  184. "nodeType": 1,
  185. "children": null,
  186. "componentCategoryList": [
  187. {
  188. "id": 743,
  189. "componentId": 102,
  190. "category": "1",
  191. "createBy": null,
  192. "createTime": "2024-02-26 18:13:33",
  193. "updateBy": null,
  194. "updateTime": null
  195. },
  196. {
  197. "id": 744,
  198. "componentId": 102,
  199. "category": "2",
  200. "createBy": null,
  201. "createTime": "2024-02-26 18:13:33",
  202. "updateBy": null,
  203. "updateTime": null
  204. },
  205. {
  206. "id": 745,
  207. "componentId": 102,
  208. "category": "3",
  209. "createBy": null,
  210. "createTime": "2024-02-26 18:13:33",
  211. "updateBy": null,
  212. "updateTime": null
  213. }
  214. ]
  215. },
  216. {
  217. "id": 39,
  218. "name": "关系数据库输入",
  219. "code": "dbInput",
  220. "groupId": 39,
  221. "sortNo": 1,
  222. "type": "SPARK",
  223. "program": "com.zzsmart.qomo.component.DbInputComponent",
  224. "color": "#2474FF",
  225. "icon": null,
  226. "menuIcon": "2.1_guanxishuru.svg",
  227. "canvasIcon": "2.1_guanxishuru.svg",
  228. "flag": 1,
  229. "remark": null,
  230. "nodeType": 1,
  231. "children": null,
  232. "componentCategoryList": [
  233. {
  234. "id": 613,
  235. "componentId": 39,
  236. "category": "1",
  237. "createBy": null,
  238. "createTime": "2024-02-05 16:09:37",
  239. "updateBy": null,
  240. "updateTime": null
  241. },
  242. {
  243. "id": 614,
  244. "componentId": 39,
  245. "category": "2",
  246. "createBy": null,
  247. "createTime": "2024-02-05 16:09:37",
  248. "updateBy": null,
  249. "updateTime": null
  250. },
  251. {
  252. "id": 615,
  253. "componentId": 39,
  254. "category": "3",
  255. "createBy": null,
  256. "createTime": "2024-02-05 16:09:37",
  257. "updateBy": null,
  258. "updateTime": null
  259. }
  260. ]
  261. },
  262. {
  263. "id": 40,
  264. "name": "Excel文件输入",
  265. "code": "excelInput",
  266. "groupId": 39,
  267. "sortNo": 2,
  268. "type": "SPARK",
  269. "program": "com.zzsmart.qomo.component.ExcelInputComponent",
  270. "color": "#2474FF",
  271. "icon": null,
  272. "menuIcon": "2.2_excel.svg",
  273. "canvasIcon": "2.2_excel.svg",
  274. "flag": 1,
  275. "remark": null,
  276. "nodeType": 1,
  277. "children": null,
  278. "componentCategoryList": [
  279. {
  280. "id": 616,
  281. "componentId": 40,
  282. "category": "1",
  283. "createBy": null,
  284. "createTime": "2024-02-05 16:15:50",
  285. "updateBy": null,
  286. "updateTime": null
  287. },
  288. {
  289. "id": 617,
  290. "componentId": 40,
  291. "category": "2",
  292. "createBy": null,
  293. "createTime": "2024-02-05 16:15:50",
  294. "updateBy": null,
  295. "updateTime": null
  296. },
  297. {
  298. "id": 618,
  299. "componentId": 40,
  300. "category": "3",
  301. "createBy": null,
  302. "createTime": "2024-02-05 16:15:50",
  303. "updateBy": null,
  304. "updateTime": null
  305. }
  306. ]
  307. },
  308. {
  309. "id": 41,
  310. "name": "动态输入",
  311. "code": "DynamicInput",
  312. "groupId": 39,
  313. "sortNo": 3,
  314. "type": "SPARK",
  315. "program": "com.zzsmart.qomo.component.DynamicInputComponent",
  316. "color": "#1D98F1",
  317. "icon": null,
  318. "menuIcon": "2.3_shuru.svg",
  319. "canvasIcon": "2.3_shuru.svg",
  320. "flag": 1,
  321. "remark": null,
  322. "nodeType": 1,
  323. "children": null,
  324. "componentCategoryList": [
  325. {
  326. "id": 619,
  327. "componentId": 41,
  328. "category": "1",
  329. "createBy": null,
  330. "createTime": "2024-02-05 16:16:04",
  331. "updateBy": null,
  332. "updateTime": null
  333. },
  334. {
  335. "id": 620,
  336. "componentId": 41,
  337. "category": "2",
  338. "createBy": null,
  339. "createTime": "2024-02-05 16:16:04",
  340. "updateBy": null,
  341. "updateTime": null
  342. },
  343. {
  344. "id": 621,
  345. "componentId": 41,
  346. "category": "3",
  347. "createBy": null,
  348. "createTime": "2024-02-05 16:16:04",
  349. "updateBy": null,
  350. "updateTime": null
  351. }
  352. ]
  353. }
  354. ],
  355. "componentCategoryList": null
  356. },
  357. {
  358. "id": 40,
  359. "name": "输出组件",
  360. "code": null,
  361. "groupId": null,
  362. "sortNo": 2,
  363. "type": null,
  364. "program": null,
  365. "color": "#1D98F1",
  366. "icon": null,
  367. "menuIcon": null,
  368. "canvasIcon": null,
  369. "flag": 1,
  370. "remark": "",
  371. "nodeType": 0,
  372. "children": [
  373. {
  374. "id": 77,
  375. "name": "关系数据库输出",
  376. "code": "dbOutput",
  377. "groupId": 40,
  378. "sortNo": 1,
  379. "type": "SPARK",
  380. "program": "com.zzsmart.qomo.component.DbOutputComponent",
  381. "color": "#1D98F1",
  382. "icon": null,
  383. "menuIcon": "2.4_shuchu.svg",
  384. "canvasIcon": "2.4_shuchu.svg",
  385. "flag": 1,
  386. "remark": null,
  387. "nodeType": 1,
  388. "children": null,
  389. "componentCategoryList": [
  390. {
  391. "id": 627,
  392. "componentId": 77,
  393. "category": "1",
  394. "createBy": null,
  395. "createTime": "2024-02-05 16:51:16",
  396. "updateBy": null,
  397. "updateTime": null
  398. },
  399. {
  400. "id": 628,
  401. "componentId": 77,
  402. "category": "2",
  403. "createBy": null,
  404. "createTime": "2024-02-05 16:51:16",
  405. "updateBy": null,
  406. "updateTime": null
  407. },
  408. {
  409. "id": 629,
  410. "componentId": 77,
  411. "category": "3",
  412. "createBy": null,
  413. "createTime": "2024-02-05 16:51:16",
  414. "updateBy": null,
  415. "updateTime": null
  416. }
  417. ]
  418. },
  419. {
  420. "id": 103,
  421. "name": "数据湖输出",
  422. "code": "NonRelationalOutput",
  423. "groupId": 40,
  424. "sortNo": 2,
  425. "type": "SPARK",
  426. "program": "com.zzsmart.qomo.component.DbOutputComponent",
  427. "color": "#F09F2E",
  428. "icon": null,
  429. "menuIcon": "/qomo/oss/2024-04-18/940863944963264512.svg",
  430. "canvasIcon": "/qomo/oss/2024-04-18/940863969650937856.svg",
  431. "flag": 1,
  432. "remark": null,
  433. "nodeType": 1,
  434. "children": null,
  435. "componentCategoryList": [
  436. {
  437. "id": 933,
  438. "componentId": 103,
  439. "category": "1",
  440. "createBy": null,
  441. "createTime": "2024-04-18 17:04:22",
  442. "updateBy": null,
  443. "updateTime": null
  444. },
  445. {
  446. "id": 934,
  447. "componentId": 103,
  448. "category": "2",
  449. "createBy": null,
  450. "createTime": "2024-04-18 17:04:22",
  451. "updateBy": null,
  452. "updateTime": null
  453. },
  454. {
  455. "id": 935,
  456. "componentId": 103,
  457. "category": "3",
  458. "createBy": null,
  459. "createTime": "2024-04-18 17:04:22",
  460. "updateBy": null,
  461. "updateTime": null
  462. }
  463. ]
  464. },
  465. {
  466. "id": 79,
  467. "name": "动态输出",
  468. "code": "DynamicOutput",
  469. "groupId": 40,
  470. "sortNo": 3,
  471. "type": "SPARK",
  472. "program": "com.zzsmart.qomo.component.DynamicOutPutComponent",
  473. "color": "#1D98F1",
  474. "icon": null,
  475. "menuIcon": "2.5_dongtaishuchu.svg",
  476. "canvasIcon": "2.5_dongtaishuchu.svg",
  477. "flag": 1,
  478. "remark": null,
  479. "nodeType": 1,
  480. "children": null,
  481. "componentCategoryList": [
  482. {
  483. "id": 630,
  484. "componentId": 79,
  485. "category": "1",
  486. "createBy": null,
  487. "createTime": "2024-02-05 16:51:32",
  488. "updateBy": null,
  489. "updateTime": null
  490. },
  491. {
  492. "id": 631,
  493. "componentId": 79,
  494. "category": "2",
  495. "createBy": null,
  496. "createTime": "2024-02-05 16:51:33",
  497. "updateBy": null,
  498. "updateTime": null
  499. },
  500. {
  501. "id": 632,
  502. "componentId": 79,
  503. "category": "3",
  504. "createBy": null,
  505. "createTime": "2024-02-05 16:51:33",
  506. "updateBy": null,
  507. "updateTime": null
  508. }
  509. ]
  510. }
  511. ],
  512. "componentCategoryList": null
  513. }
  514. ],
  515. "componentCategoryList": null
  516. },
  517. {
  518. "id": 13,
  519. "name": "数据处理",
  520. "code": null,
  521. "groupId": null,
  522. "sortNo": 3,
  523. "type": null,
  524. "program": null,
  525. "color": "#2474FF",
  526. "icon": null,
  527. "menuIcon": null,
  528. "canvasIcon": null,
  529. "flag": 1,
  530. "remark": "",
  531. "nodeType": 0,
  532. "children": [
  533. {
  534. "id": 32,
  535. "name": "预处理",
  536. "code": null,
  537. "groupId": null,
  538. "sortNo": 1,
  539. "type": null,
  540. "program": null,
  541. "color": "#2474FF",
  542. "icon": null,
  543. "menuIcon": null,
  544. "canvasIcon": null,
  545. "flag": 1,
  546. "remark": "13",
  547. "nodeType": 0,
  548. "children": [
  549. {
  550. "id": 59,
  551. "name": "缺失值填补",
  552. "code": "MissingValue",
  553. "groupId": 32,
  554. "sortNo": 1,
  555. "type": "PYTORCH",
  556. "program": "/python/basic_components/missing_value.py",
  557. "color": "#1D98F1",
  558. "icon": null,
  559. "menuIcon": "3.1_queshizhi.svg",
  560. "canvasIcon": "3.1_queshizhi.svg",
  561. "flag": 1,
  562. "remark": null,
  563. "nodeType": 1,
  564. "children": null,
  565. "componentCategoryList": [
  566. {
  567. "id": 974,
  568. "componentId": 59,
  569. "category": "3",
  570. "createBy": null,
  571. "createTime": "2024-04-26 11:20:49",
  572. "updateBy": null,
  573. "updateTime": null
  574. },
  575. {
  576. "id": 975,
  577. "componentId": 59,
  578. "category": "2",
  579. "createBy": null,
  580. "createTime": "2024-04-26 11:20:49",
  581. "updateBy": null,
  582. "updateTime": null
  583. },
  584. {
  585. "id": 976,
  586. "componentId": 59,
  587. "category": "1",
  588. "createBy": null,
  589. "createTime": "2024-04-26 11:20:49",
  590. "updateBy": null,
  591. "updateTime": null
  592. }
  593. ]
  594. },
  595. {
  596. "id": 72,
  597. "name": "异常值检测",
  598. "code": "AbnormalValue",
  599. "groupId": 32,
  600. "sortNo": 2,
  601. "type": "PYTORCH",
  602. "program": "/python/basic_components/outlier_detection.py",
  603. "color": "#1D98F1",
  604. "icon": null,
  605. "menuIcon": "3.2_yichangzhi.svg",
  606. "canvasIcon": "3.2_yichangzhi.svg",
  607. "flag": 1,
  608. "remark": null,
  609. "nodeType": 1,
  610. "children": null,
  611. "componentCategoryList": [
  612. {
  613. "id": 980,
  614. "componentId": 72,
  615. "category": "3",
  616. "createBy": null,
  617. "createTime": "2024-04-26 11:20:54",
  618. "updateBy": null,
  619. "updateTime": null
  620. },
  621. {
  622. "id": 981,
  623. "componentId": 72,
  624. "category": "2",
  625. "createBy": null,
  626. "createTime": "2024-04-26 11:20:54",
  627. "updateBy": null,
  628. "updateTime": null
  629. },
  630. {
  631. "id": 982,
  632. "componentId": 72,
  633. "category": "1",
  634. "createBy": null,
  635. "createTime": "2024-04-26 11:20:54",
  636. "updateBy": null,
  637. "updateTime": null
  638. }
  639. ]
  640. },
  641. {
  642. "id": 74,
  643. "name": "数据标准化",
  644. "code": "DataStandardization",
  645. "groupId": 32,
  646. "sortNo": 3,
  647. "type": "PYTORCH",
  648. "program": "/python/basic_components/data_normalization.py",
  649. "color": "#1D98F1",
  650. "icon": null,
  651. "menuIcon": "3.9_shujubiaozhunhua.svg",
  652. "canvasIcon": "3.9_shujubiaozhunhua.svg",
  653. "flag": 1,
  654. "remark": null,
  655. "nodeType": 1,
  656. "children": null,
  657. "componentCategoryList": [
  658. {
  659. "id": 983,
  660. "componentId": 74,
  661. "category": "3",
  662. "createBy": null,
  663. "createTime": "2024-04-26 11:20:58",
  664. "updateBy": null,
  665. "updateTime": null
  666. },
  667. {
  668. "id": 984,
  669. "componentId": 74,
  670. "category": "2",
  671. "createBy": null,
  672. "createTime": "2024-04-26 11:20:58",
  673. "updateBy": null,
  674. "updateTime": null
  675. },
  676. {
  677. "id": 985,
  678. "componentId": 74,
  679. "category": "1",
  680. "createBy": null,
  681. "createTime": "2024-04-26 11:20:58",
  682. "updateBy": null,
  683. "updateTime": null
  684. }
  685. ]
  686. },
  687. {
  688. "id": 105,
  689. "name": "数据平滑处理",
  690. "code": "DataSmoothing",
  691. "groupId": 32,
  692. "sortNo": 4,
  693. "type": "PYTORCH",
  694. "program": "/python/basic_components/data_smoothing.py",
  695. "color": "#1D98F1",
  696. "icon": null,
  697. "menuIcon": "/qomo/oss/2024-04-18/940862935901802496.svg",
  698. "canvasIcon": "/qomo/oss/2024-04-18/940862958270025728.svg",
  699. "flag": 1,
  700. "remark": null,
  701. "nodeType": 1,
  702. "children": null,
  703. "componentCategoryList": [
  704. {
  705. "id": 986,
  706. "componentId": 105,
  707. "category": "3",
  708. "createBy": null,
  709. "createTime": "2024-04-26 11:21:01",
  710. "updateBy": null,
  711. "updateTime": null
  712. },
  713. {
  714. "id": 987,
  715. "componentId": 105,
  716. "category": "1",
  717. "createBy": null,
  718. "createTime": "2024-04-26 11:21:01",
  719. "updateBy": null,
  720. "updateTime": null
  721. },
  722. {
  723. "id": 988,
  724. "componentId": 105,
  725. "category": "2",
  726. "createBy": null,
  727. "createTime": "2024-04-26 11:21:01",
  728. "updateBy": null,
  729. "updateTime": null
  730. }
  731. ]
  732. }
  733. ],
  734. "componentCategoryList": null
  735. },
  736. {
  737. "id": 33,
  738. "name": "行处理",
  739. "code": null,
  740. "groupId": null,
  741. "sortNo": 2,
  742. "type": null,
  743. "program": null,
  744. "color": "#2474FF",
  745. "icon": null,
  746. "menuIcon": null,
  747. "canvasIcon": null,
  748. "flag": 1,
  749. "remark": "1",
  750. "nodeType": 0,
  751. "children": [
  752. {
  753. "id": 81,
  754. "name": "数据拆分",
  755. "code": "DataSplitting",
  756. "groupId": 33,
  757. "sortNo": 1,
  758. "type": "SPARK",
  759. "program": "com.zzsmart.qomo.component.DataSplitComponent",
  760. "color": "#1D98F1",
  761. "icon": null,
  762. "menuIcon": "3.3_shujuchaifen.svg",
  763. "canvasIcon": "3.3_shujuchaifen.svg",
  764. "flag": 1,
  765. "remark": null,
  766. "nodeType": 1,
  767. "children": null,
  768. "componentCategoryList": [
  769. {
  770. "id": 641,
  771. "componentId": 81,
  772. "category": "2",
  773. "createBy": null,
  774. "createTime": "2024-02-05 16:56:12",
  775. "updateBy": null,
  776. "updateTime": null
  777. },
  778. {
  779. "id": 642,
  780. "componentId": 81,
  781. "category": "3",
  782. "createBy": null,
  783. "createTime": "2024-02-05 16:56:12",
  784. "updateBy": null,
  785. "updateTime": null
  786. },
  787. {
  788. "id": 643,
  789. "componentId": 81,
  790. "category": "1",
  791. "createBy": null,
  792. "createTime": "2024-02-05 16:56:12",
  793. "updateBy": null,
  794. "updateTime": null
  795. }
  796. ]
  797. },
  798. {
  799. "id": 82,
  800. "name": "数据连接",
  801. "code": "Connection",
  802. "groupId": 33,
  803. "sortNo": 2,
  804. "type": "SPARK",
  805. "program": "com.zzsmart.qomo.component.DataJoinComponent",
  806. "color": "#1D98F1",
  807. "icon": null,
  808. "menuIcon": "3.4_shujulianjie.svg",
  809. "canvasIcon": "3.4_shujulianjie.svg",
  810. "flag": 1,
  811. "remark": null,
  812. "nodeType": 1,
  813. "children": null,
  814. "componentCategoryList": [
  815. {
  816. "id": 645,
  817. "componentId": 82,
  818. "category": "3",
  819. "createBy": null,
  820. "createTime": "2024-02-05 16:56:24",
  821. "updateBy": null,
  822. "updateTime": null
  823. },
  824. {
  825. "id": 646,
  826. "componentId": 82,
  827. "category": "2",
  828. "createBy": null,
  829. "createTime": "2024-02-05 16:56:24",
  830. "updateBy": null,
  831. "updateTime": null
  832. },
  833. {
  834. "id": 647,
  835. "componentId": 82,
  836. "category": "1",
  837. "createBy": null,
  838. "createTime": "2024-02-05 16:56:24",
  839. "updateBy": null,
  840. "updateTime": null
  841. }
  842. ]
  843. },
  844. {
  845. "id": 83,
  846. "name": "数据聚合",
  847. "code": "DataAggregation",
  848. "groupId": 33,
  849. "sortNo": 3,
  850. "type": "SPARK",
  851. "program": "com.zzsmart.qomo.component.DataAggComponent",
  852. "color": "#1D98F1",
  853. "icon": null,
  854. "menuIcon": "3.5_shujujuhe.svg",
  855. "canvasIcon": "3.5_shujujuhe.svg",
  856. "flag": 1,
  857. "remark": null,
  858. "nodeType": 1,
  859. "children": null,
  860. "componentCategoryList": [
  861. {
  862. "id": 769,
  863. "componentId": 83,
  864. "category": "2",
  865. "createBy": null,
  866. "createTime": "2024-03-19 11:30:34",
  867. "updateBy": null,
  868. "updateTime": null
  869. },
  870. {
  871. "id": 770,
  872. "componentId": 83,
  873. "category": "3",
  874. "createBy": null,
  875. "createTime": "2024-03-19 11:30:34",
  876. "updateBy": null,
  877. "updateTime": null
  878. },
  879. {
  880. "id": 771,
  881. "componentId": 83,
  882. "category": "1",
  883. "createBy": null,
  884. "createTime": "2024-03-19 11:30:34",
  885. "updateBy": null,
  886. "updateTime": null
  887. }
  888. ]
  889. },
  890. {
  891. "id": 136,
  892. "name": "数据宽表处理",
  893. "code": "DataWideTable",
  894. "groupId": 33,
  895. "sortNo": 4,
  896. "type": "SPARK",
  897. "program": "com.zzsmart.qomo.component.WideTableJoinComponent",
  898. "color": "#1D98F1",
  899. "icon": null,
  900. "menuIcon": "/qomo/oss/2024-05-22/953165042059186176.jpg",
  901. "canvasIcon": "/qomo/oss/2024-05-22/953165077882736640.jpg",
  902. "flag": 1,
  903. "remark": null,
  904. "nodeType": 1,
  905. "children": null,
  906. "componentCategoryList": [
  907. {
  908. "id": 1061,
  909. "componentId": 136,
  910. "category": "1",
  911. "createBy": null,
  912. "createTime": "2024-06-03 09:10:21",
  913. "updateBy": null,
  914. "updateTime": null
  915. },
  916. {
  917. "id": 1062,
  918. "componentId": 136,
  919. "category": "2",
  920. "createBy": null,
  921. "createTime": "2024-06-03 09:10:21",
  922. "updateBy": null,
  923. "updateTime": null
  924. },
  925. {
  926. "id": 1063,
  927. "componentId": 136,
  928. "category": "3",
  929. "createBy": null,
  930. "createTime": "2024-06-03 09:10:21",
  931. "updateBy": null,
  932. "updateTime": null
  933. }
  934. ]
  935. }
  936. ],
  937. "componentCategoryList": null
  938. },
  939. {
  940. "id": 34,
  941. "name": "列处理",
  942. "code": null,
  943. "groupId": null,
  944. "sortNo": 3,
  945. "type": null,
  946. "program": null,
  947. "color": "#2474FF",
  948. "icon": null,
  949. "menuIcon": null,
  950. "canvasIcon": null,
  951. "flag": 1,
  952. "remark": "3",
  953. "nodeType": 0,
  954. "children": [
  955. {
  956. "id": 78,
  957. "name": "字段列拆分",
  958. "code": "ColumnSplit",
  959. "groupId": 34,
  960. "sortNo": 1,
  961. "type": "SPARK",
  962. "program": "com.zzsmart.qomo.component.ColSplitComponent",
  963. "color": "#1D98F1",
  964. "icon": null,
  965. "menuIcon": "3.6_ziduanchaifen.svg",
  966. "canvasIcon": "3.6_ziduanchaifen.svg",
  967. "flag": 1,
  968. "remark": null,
  969. "nodeType": 1,
  970. "children": null,
  971. "componentCategoryList": [
  972. {
  973. "id": 651,
  974. "componentId": 78,
  975. "category": "1",
  976. "createBy": null,
  977. "createTime": "2024-02-05 16:56:52",
  978. "updateBy": null,
  979. "updateTime": null
  980. },
  981. {
  982. "id": 652,
  983. "componentId": 78,
  984. "category": "2",
  985. "createBy": null,
  986. "createTime": "2024-02-05 16:56:52",
  987. "updateBy": null,
  988. "updateTime": null
  989. },
  990. {
  991. "id": 653,
  992. "componentId": 78,
  993. "category": "3",
  994. "createBy": null,
  995. "createTime": "2024-02-05 16:56:52",
  996. "updateBy": null,
  997. "updateTime": null
  998. }
  999. ]
  1000. }
  1001. ],
  1002. "componentCategoryList": null
  1003. }
  1004. ],
  1005. "componentCategoryList": null
  1006. },
  1007. {
  1008. "id": 41,
  1009. "name": "统计分析",
  1010. "code": null,
  1011. "groupId": null,
  1012. "sortNo": 7,
  1013. "type": null,
  1014. "program": null,
  1015. "color": "#FF5E48",
  1016. "icon": null,
  1017. "menuIcon": null,
  1018. "canvasIcon": null,
  1019. "flag": 1,
  1020. "remark": "常规统计分析模型",
  1021. "nodeType": 0,
  1022. "children": [
  1023. {
  1024. "id": 55,
  1025. "name": "描述性统计",
  1026. "code": null,
  1027. "groupId": null,
  1028. "sortNo": 1,
  1029. "type": null,
  1030. "program": null,
  1031. "color": "#FF5E48",
  1032. "icon": null,
  1033. "menuIcon": null,
  1034. "canvasIcon": null,
  1035. "flag": 1,
  1036. "remark": "",
  1037. "nodeType": 0,
  1038. "children": [
  1039. {
  1040. "id": 90,
  1041. "name": "数据特征描述",
  1042. "code": "DataCharacteristic",
  1043. "groupId": 55,
  1044. "sortNo": 3,
  1045. "type": "PYTORCH",
  1046. "program": "/python/statistical_nalysis/data_describe.py",
  1047. "color": "#FF5E48",
  1048. "icon": null,
  1049. "menuIcon": "6.1_shujutezhengmiaoshu.svg",
  1050. "canvasIcon": "6.1_shujutezhengmiaoshu.svg",
  1051. "flag": 1,
  1052. "remark": null,
  1053. "nodeType": 1,
  1054. "children": null,
  1055. "componentCategoryList": [
  1056. {
  1057. "id": 1034,
  1058. "componentId": 90,
  1059. "category": "3",
  1060. "createBy": null,
  1061. "createTime": "2024-04-26 11:29:40",
  1062. "updateBy": null,
  1063. "updateTime": null
  1064. },
  1065. {
  1066. "id": 1035,
  1067. "componentId": 90,
  1068. "category": "2",
  1069. "createBy": null,
  1070. "createTime": "2024-04-26 11:29:40",
  1071. "updateBy": null,
  1072. "updateTime": null
  1073. },
  1074. {
  1075. "id": 1036,
  1076. "componentId": 90,
  1077. "category": "1",
  1078. "createBy": null,
  1079. "createTime": "2024-04-26 11:29:40",
  1080. "updateBy": null,
  1081. "updateTime": null
  1082. }
  1083. ]
  1084. }
  1085. ],
  1086. "componentCategoryList": null
  1087. }
  1088. ],
  1089. "componentCategoryList": null
  1090. },
  1091. {
  1092. "id": 57,
  1093. "name": "扩展编程",
  1094. "code": null,
  1095. "groupId": null,
  1096. "sortNo": 10,
  1097. "type": null,
  1098. "program": null,
  1099. "color": "",
  1100. "icon": null,
  1101. "menuIcon": null,
  1102. "canvasIcon": null,
  1103. "flag": 1,
  1104. "remark": "",
  1105. "nodeType": 0,
  1106. "children": [
  1107. {
  1108. "id": 100,
  1109. "name": "python编程",
  1110. "code": "PythonRun",
  1111. "groupId": 57,
  1112. "sortNo": 1,
  1113. "type": "PYTHON",
  1114. "program": "/python",
  1115. "color": "#1D98F1",
  1116. "icon": null,
  1117. "menuIcon": "10.1_python.svg",
  1118. "canvasIcon": "10.1_python.svg",
  1119. "flag": 1,
  1120. "remark": null,
  1121. "nodeType": 1,
  1122. "children": null,
  1123. "componentCategoryList": [
  1124. {
  1125. "id": 692,
  1126. "componentId": 100,
  1127. "category": "3",
  1128. "createBy": null,
  1129. "createTime": "2024-02-05 18:01:47",
  1130. "updateBy": null,
  1131. "updateTime": null
  1132. },
  1133. {
  1134. "id": 693,
  1135. "componentId": 100,
  1136. "category": "1",
  1137. "createBy": null,
  1138. "createTime": "2024-02-05 18:01:47",
  1139. "updateBy": null,
  1140. "updateTime": null
  1141. },
  1142. {
  1143. "id": 694,
  1144. "componentId": 100,
  1145. "category": "2",
  1146. "createBy": null,
  1147. "createTime": "2024-02-05 18:01:47",
  1148. "updateBy": null,
  1149. "updateTime": null
  1150. }
  1151. ]
  1152. },
  1153. {
  1154. "id": 101,
  1155. "name": "Shell编程",
  1156. "code": "ShellRun",
  1157. "groupId": 57,
  1158. "sortNo": 2,
  1159. "type": "SHELL",
  1160. "program": "/bin",
  1161. "color": "#2474FF",
  1162. "icon": null,
  1163. "menuIcon": "10.2_shell.svg",
  1164. "canvasIcon": "10.2_shell.svg",
  1165. "flag": 1,
  1166. "remark": null,
  1167. "nodeType": 1,
  1168. "children": null,
  1169. "componentCategoryList": [
  1170. {
  1171. "id": 695,
  1172. "componentId": 101,
  1173. "category": "1",
  1174. "createBy": null,
  1175. "createTime": "2024-02-05 18:01:50",
  1176. "updateBy": null,
  1177. "updateTime": null
  1178. },
  1179. {
  1180. "id": 696,
  1181. "componentId": 101,
  1182. "category": "3",
  1183. "createBy": null,
  1184. "createTime": "2024-02-05 18:01:50",
  1185. "updateBy": null,
  1186. "updateTime": null
  1187. },
  1188. {
  1189. "id": 697,
  1190. "componentId": 101,
  1191. "category": "2",
  1192. "createBy": null,
  1193. "createTime": "2024-02-05 18:01:50",
  1194. "updateBy": null,
  1195. "updateTime": null
  1196. }
  1197. ]
  1198. },
  1199. {
  1200. "id": 122,
  1201. "name": "SQL组件",
  1202. "code": "SqlRun",
  1203. "groupId": 57,
  1204. "sortNo": 3,
  1205. "type": "SPARK",
  1206. "program": "com.zzsmart.qomo.component.DbSqlComponent",
  1207. "color": "#1D98F1",
  1208. "icon": null,
  1209. "menuIcon": "/qomo/oss/2024-03-31/934243632469381120.svg",
  1210. "canvasIcon": "/qomo/oss/2024-03-31/934243700878479360.svg",
  1211. "flag": 1,
  1212. "remark": null,
  1213. "nodeType": 1,
  1214. "children": null,
  1215. "componentCategoryList": [
  1216. {
  1217. "id": 848,
  1218. "componentId": 122,
  1219. "category": "1",
  1220. "createBy": null,
  1221. "createTime": "2024-04-07 11:55:09",
  1222. "updateBy": null,
  1223. "updateTime": null
  1224. }
  1225. ]
  1226. }
  1227. ],
  1228. "componentCategoryList": null
  1229. }
  1230. ],
  1231. "timestamp": 1718264601506
  1232. }
  1233. }}
  1234. saveRequest={async(data)=>{
  1235. console.log(data)
  1236. }}
  1237. runRequest={async(data)=>{
  1238. alert(2)
  1239. }}
  1240. ></BaseFlowableOptions>;
  1241. }
  1242. });
  1243. </script>
  1244. <style scoped lang="scss"></style>