Commit 03211e9475246adda47f0eeaf1a6cdb2363160ca

Authored by qiang.tian
2 parents c3523e6d 8603bea5

Merge branch 'feature/dataflow' of http://gitlab.qgutech.com/tianqiang/qx-common…

… into feature/dataflow
1 { 1 {
2 "name": "@qx/common", 2 "name": "@qx/common",
3 - "version": "3.0.0-alpha.38", 3 + "version": "3.0.0-alpha.39",
4 "description": "A react library developed with dumi", 4 "description": "A react library developed with dumi",
5 "license": "MIT", 5 "license": "MIT",
6 "module": "dist/index.js", 6 "module": "dist/index.js",
@@ -93,13 +93,13 @@ @@ -93,13 +93,13 @@
93 width: 100%; 93 width: 100%;
94 height: 32px; 94 height: 32px;
95 min-width: 0; 95 min-width: 0;
96 - padding: 4px 32px 4px 4px;  
97 - color: rgba(0, 0, 0, 0.85); 96 + padding: 4px 8px;
  97 + color: @N9;
98 font-size: 14px; 98 font-size: 14px;
99 line-height: 1.5715; 99 line-height: 1.5715;
100 background-color: #fff; 100 background-color: #fff;
101 background-image: none; 101 background-image: none;
102 - border: 1px solid #d9d9d9; 102 + border: 1px solid @N4;
103 border-radius: 4px; 103 border-radius: 4px;
104 transition: all 0.3s; 104 transition: all 0.3s;
105 pointer-events: auto; 105 pointer-events: auto;
@@ -119,16 +119,26 @@ @@ -119,16 +119,26 @@
119 119
120 &:hover { 120 &:hover {
121 border-color: @B8; 121 border-color: @B8;
  122 + .qx-node-select-input__content {
  123 + background: @N4;
  124 + }
122 } 125 }
123 126
124 &__content { 127 &__content {
125 - display: inline-flex; 128 + width: 100%;
  129 + min-width: 100%;
  130 + max-width: 100%;
  131 + display: inline;
126 color: @N9; 132 color: @N9;
127 font-size: 14px; 133 font-size: 14px;
  134 + background-color: @N3;
  135 + border-radius: 4px;
  136 + overflow: hidden;
128 137
129 &-item { 138 &-item {
  139 + flex-shrink: 1;
130 margin-right: 4px; 140 margin-right: 4px;
131 - display: flex; 141 + display: inline;
132 align-items: center; 142 align-items: center;
133 143
134 &__icon { 144 &__icon {
@@ -136,13 +146,9 @@ @@ -136,13 +146,9 @@
136 height: 14px; 146 height: 14px;
137 font-size: 14px; 147 font-size: 14px;
138 line-height: 14px; 148 line-height: 14px;
139 - // color: @N7;  
140 margin-right: 4px; 149 margin-right: 4px;
141 - display: inline-block;  
142 border-radius: 50%; 150 border-radius: 50%;
143 - // overflow: hidden;  
144 - // border: 1px solid @N6;  
145 - display: flex; 151 + display: inline;
146 align-items: center; 152 align-items: center;
147 justify-content: center; 153 justify-content: center;
148 154
@@ -22,11 +22,12 @@ export default () => { @@ -22,11 +22,12 @@ export default () => {
22 return ( 22 return (
23 <Form 23 <Form
24 initialValues={{ 24 initialValues={{
25 - field: '${40e5975ebf6b4afb9a9fe162d7f7227f|1bb1b69f3e3249048c77509eb8dc2d53}' 25 + field: '${d17f4b3e8f904a81aaa261b8e08101fb|b0fa1984ae72458f81a4682c028365d0}'
26 }} 26 }}
  27 + style={{width: 400}}
27 > 28 >
28 <Form.Item name="field"> 29 <Form.Item name="field">
29 - <QxFlowNodeFieldSelector disabled limitTypes={['FORM']} node={node} nodes={nodes} subset={false}/> 30 + <QxFlowNodeFieldSelector width={400} limitTypes={['FORM']} node={node} nodes={nodes} subset={false}/>
30 </Form.Item> 31 </Form.Item>
31 </Form> 32 </Form>
32 ); 33 );
1 import { QxWidgetIcon } from '@qx/common'; 1 import { QxWidgetIcon } from '@qx/common';
2 -import { Collapse, Dropdown, Empty, Tag } from 'antd'; 2 +import { Collapse, Dropdown, Empty, Tag, Typography } from 'antd';
3 import cls from 'classnames'; 3 import cls from 'classnames';
4 import { cloneDeep } from 'lodash-es'; 4 import { cloneDeep } from 'lodash-es';
5 import React, { useEffect, useImperativeHandle, useRef, useState } from 'react'; 5 import React, { useEffect, useImperativeHandle, useRef, useState } from 'react';
@@ -647,9 +647,13 @@ export const QxFlowNodeFieldSelector = React.forwardRef< @@ -647,9 +647,13 @@ export const QxFlowNodeFieldSelector = React.forwardRef<
647 > 647 >
648 {/* {inputDisplay} */} 648 {/* {inputDisplay} */}
649 {inputDisplay && ( 649 {inputDisplay && (
650 - <Tag bordered={false} className="qx-node-select-input__content"> 650 + <Typography.Text
  651 + style={{ width: '100%' }}
  652 + ellipsis={{tooltip: inputDisplay}}
  653 + className="qx-node-select-input__content"
  654 + >
651 {inputDisplay} 655 {inputDisplay}
652 - </Tag> 656 + </Typography.Text>
653 )} 657 )}
654 </div> 658 </div>
655 )} 659 )}
1 export const node = { 1 export const node = {
2 - "id": "cc98b10fd69f446ba32c7c76fd2c5dde", 2 + "id": "618be50359bf41c9b08ce4ce05600581",
3 "icon": "http://io.qgutech.com/qx-apaaspublic/data/qixiao/fs/upload/default/2023/09-20/compressed/6657769957328896/DF_DO_U/public/icons/logo.svg", 3 "icon": "http://io.qgutech.com/qx-apaaspublic/data/qixiao/fs/upload/default/2023/09-20/compressed/6657769957328896/DF_DO_U/public/icons/logo.svg",
4 "type": "default_DF_DO_U", 4 "type": "default_DF_DO_U",
5 "name": "更新记录", 5 "name": "更新记录",
@@ -7,7 +7,7 @@ export const node = { @@ -7,7 +7,7 @@ export const node = {
7 "data": { 7 "data": {
8 "nodeVersion": "1.0.0-dev34" 8 "nodeVersion": "1.0.0-dev34"
9 }, 9 },
10 - "previousId": "40e5975ebf6b4afb9a9fe162d7f7227f", 10 + "previousId": "d17f4b3e8f904a81aaa261b8e08101fb",
11 "path": [ 11 "path": [
12 "1" 12 "1"
13 ], 13 ],
@@ -16,7 +16,7 @@ export const node = { @@ -16,7 +16,7 @@ export const node = {
16 16
17 export const nodes = [ 17 export const nodes = [
18 { 18 {
19 - "id": "40e5975ebf6b4afb9a9fe162d7f7227f", 19 + "id": "d17f4b3e8f904a81aaa261b8e08101fb",
20 "name": "开始", 20 "name": "开始",
21 "type": "default_DF_START", 21 "type": "default_DF_START",
22 "data": { 22 "data": {
@@ -25,36 +25,40 @@ export const nodes = [ @@ -25,36 +25,40 @@ export const nodes = [
25 "enablePropagation": true, 25 "enablePropagation": true,
26 "params": [ 26 "params": [
27 { 27 {
28 - "id": "e039b23ff8294b158ac6b8ddc2ece8aa",  
29 - "code": "5ybpag", 28 + "id": "900973508a164a21bd607fead31509b0",
  29 + "code": "9kbddk",
30 "type": "STRING", 30 "type": "STRING",
31 - "title": "文本字段", 31 + "title": "文本",
32 "qxProps": { 32 "qxProps": {
33 - "min": "-1",  
34 - "max": "20" 33 + "min": 1,
  34 + "max": 24
35 }, 35 },
  36 + "pid": ""
  37 + },
  38 + {
  39 + "id": "6de1d4ff333d4c50b1862e9324bfb642",
  40 + "code": "m4rves",
  41 + "type": "NUMBER",
  42 + "title": "数字",
  43 + "qxProps": {},
  44 + "pid": "",
  45 + "description": "",
36 "valueMapping": { 46 "valueMapping": {
37 - "mappingValues": [  
38 - "1111111111111"  
39 - ] 47 + "mappingValues": []
40 }, 48 },
41 - "valuesObj": [  
42 - {  
43 - "type": "MANUAL",  
44 - "value": "1111111111111"  
45 - }  
46 - ] 49 + "valuesObj": []
47 }, 50 },
48 { 51 {
49 - "id": "b0f72671bc474d0cb9ecb2609973f35d",  
50 - "code": "z0zbwx", 52 + "id": "b0fa1984ae72458f81a4682c028365d0",
  53 + "code": "gxahx8",
51 "type": "FORM", 54 "type": "FORM",
52 - "title": "表单参数", 55 + "title": "表单名称很长表单名称很长表单名称很长表单名称很长表单名称很长表单名称很长表单名称很长",
53 "qxProps": { 56 "qxProps": {
54 "appId": "C9QUrtTmcmDkvHMoOKI", 57 "appId": "C9QUrtTmcmDkvHMoOKI",
55 "formId": "hhgYI0rGV78NEPbgIms", 58 "formId": "hhgYI0rGV78NEPbgIms",
56 "isTree": false 59 "isTree": false
57 }, 60 },
  61 + "pid": "",
58 "description": "", 62 "description": "",
59 "valueMapping": { 63 "valueMapping": {
60 "mappingValues": [] 64 "mappingValues": []
@@ -62,32 +66,76 @@ export const nodes = [ @@ -62,32 +66,76 @@ export const nodes = [
62 "valuesObj": [] 66 "valuesObj": []
63 }, 67 },
64 { 68 {
65 - "id": "82ab09325d3e4c328adfe33e17898b22",  
66 - "code": "p62xqq", 69 + "id": "e410c932cf744ba798f7baf6bccbab65",
  70 + "code": "ljfzwn",
67 "type": "USER", 71 "type": "USER",
68 - "title": "人员11", 72 + "title": "人员",
69 "qxProps": { 73 "qxProps": {
70 "formId": "PbOC6xBYOvZ1IB2mwUc", 74 "formId": "PbOC6xBYOvZ1IB2mwUc",
71 "appId": "eSnLZ42R2TA5Z18dNsJ", 75 "appId": "eSnLZ42R2TA5Z18dNsJ",
72 "isTree": false 76 "isTree": false
73 - } 77 + },
  78 + "pid": "",
  79 + "description": "",
  80 + "valueMapping": {
  81 + "mappingValues": []
  82 + },
  83 + "valuesObj": []
74 }, 84 },
75 { 85 {
76 - "id": "09a6780520964f5fa237ca0dbdb11b94",  
77 - "code": "ksq7se", 86 + "id": "026ae9374b664fe5b46cb1b1efa2621f",
  87 + "code": "ugrlsf",
78 "type": "ORG", 88 "type": "ORG",
79 - "title": "部门11", 89 + "title": "部门",
80 "qxProps": { 90 "qxProps": {
81 "formId": "UsoOGnrJLPziSQwGDwj", 91 "formId": "UsoOGnrJLPziSQwGDwj",
82 "appId": "eSnLZ42R2TA5Z18dNsJ", 92 "appId": "eSnLZ42R2TA5Z18dNsJ",
83 "isTree": true 93 "isTree": true
84 - } 94 + },
  95 + "pid": "",
  96 + "description": "",
  97 + "valueMapping": {
  98 + "mappingValues": []
  99 + },
  100 + "valuesObj": []
  101 + },
  102 + {
  103 + "id": "6802be2d24f44512983ac730cbc2c853",
  104 + "code": "dlqjoo",
  105 + "type": "ARRAY",
  106 + "title": "数组",
  107 + "qxProps": {},
  108 + "pid": "",
  109 + "description": "",
  110 + "valueMapping": {
  111 + "mappingValues": []
  112 + },
  113 + "valuesObj": [],
  114 + "child": [
  115 + {
  116 + "id": "4adf39e9fb5345c2b06beefbe5535cbb",
  117 + "type": "FORM",
  118 + "pid": "6802be2d24f44512983ac730cbc2c853",
  119 + "code": "mo9g33",
  120 + "title": "二级表单",
  121 + "qxProps": {
  122 + "appId": "C9QUrtTmcmDkvHMoOKI",
  123 + "formId": "2uJbERNkkDhRqLDjHeY",
  124 + "isTree": true
  125 + },
  126 + "description": "",
  127 + "valueMapping": {
  128 + "mappingValues": []
  129 + },
  130 + "valuesObj": []
  131 + }
  132 + ]
85 }, 133 },
86 { 134 {
87 - "id": "098d551fbe1d40858c590edc78c543eb",  
88 - "code": "0nmura", 135 + "id": "7c7267e6a0aa4bd7b503a343919464eb",
  136 + "code": "zqzmmv",
89 "type": "OBJECT", 137 "type": "OBJECT",
90 - "title": "对象一级", 138 + "title": "对象",
91 "qxProps": {}, 139 "qxProps": {},
92 "pid": "", 140 "pid": "",
93 "description": "", 141 "description": "",
@@ -97,11 +145,36 @@ export const nodes = [ @@ -97,11 +145,36 @@ export const nodes = [
97 "valuesObj": [], 145 "valuesObj": [],
98 "child": [ 146 "child": [
99 { 147 {
100 - "id": "1bb1b69f3e3249048c77509eb8dc2d53", 148 + "id": "e97be19dfa1b4c178366901bf7118fcb",
  149 + "type": "FORM",
  150 + "pid": "7c7267e6a0aa4bd7b503a343919464eb",
  151 + "code": "zusbmo",
  152 + "title": "对象二级表单啦啦啦啦啦",
  153 + "qxProps": {
  154 + "appId": "C9QUrtTmcmDkvHMoOKI",
  155 + "formId": "2uJbERNkkDhRqLDjHeY",
  156 + "isTree": true
  157 + },
  158 + "description": "",
  159 + "valueMapping": {
  160 + "mappingValues": []
  161 + },
  162 + "valuesObj": []
  163 + },
  164 + {
  165 + "id": "2b4ec39272a8460cb6a38472d8f4412a",
  166 + "code": "dxdqhh",
  167 + "type": "STRING",
  168 + "title": "二级文本",
  169 + "qxProps": {},
  170 + "pid": "7c7267e6a0aa4bd7b503a343919464eb"
  171 + },
  172 + {
  173 + "id": "6b15fe6003b6428b86ad06351a3250de",
101 "type": "ARRAY", 174 "type": "ARRAY",
102 - "pid": "098d551fbe1d40858c590edc78c543eb",  
103 - "code": "rypxuo",  
104 - "title": "数组二级", 175 + "pid": "7c7267e6a0aa4bd7b503a343919464eb",
  176 + "code": "ujz9y3",
  177 + "title": "二级数组",
105 "qxProps": {}, 178 "qxProps": {},
106 "description": "", 179 "description": "",
107 "valueMapping": { 180 "valueMapping": {
@@ -110,15 +183,15 @@ export const nodes = [ @@ -110,15 +183,15 @@ export const nodes = [
110 "valuesObj": [], 183 "valuesObj": [],
111 "child": [ 184 "child": [
112 { 185 {
113 - "id": "87d01cd61fe24519b2865438c2bf60ed", 186 + "id": "f03a2b0e1963464f9a694bc2cd74431b",
114 "type": "FORM", 187 "type": "FORM",
115 - "pid": "1bb1b69f3e3249048c77509eb8dc2d53",  
116 - "code": "gnmz55",  
117 - "title": "表单三级啦啦啦啦啦绿绿绿", 188 + "pid": "6b15fe6003b6428b86ad06351a3250de",
  189 + "code": "ivf4sg",
  190 + "title": "三级表单",
118 "qxProps": { 191 "qxProps": {
119 "appId": "C9QUrtTmcmDkvHMoOKI", 192 "appId": "C9QUrtTmcmDkvHMoOKI",
120 - "formId": "2uJbERNkkDhRqLDjHeY",  
121 - "isTree": true 193 + "formId": "fowWjXol504xRehG3g6",
  194 + "isTree": false
122 }, 195 },
123 "description": "", 196 "description": "",
124 "valueMapping": { 197 "valueMapping": {
@@ -127,25 +200,24 @@ export const nodes = [ @@ -127,25 +200,24 @@ export const nodes = [
127 "valuesObj": [] 200 "valuesObj": []
128 } 201 }
129 ] 202 ]
130 - },  
131 - {  
132 - "id": "54b1d7156a1a4e62a4efe463c0ceebd3",  
133 - "type": "FORM",  
134 - "pid": "098d551fbe1d40858c590edc78c543eb",  
135 - "code": "uozzv4",  
136 - "title": "表单啦",  
137 - "qxProps": {  
138 - "appId": "C9QUrtTmcmDkvHMoOKI",  
139 - "formId": "wKYeK6md1mOuZm2ORxe",  
140 - "isTree": false  
141 - },  
142 - "description": "",  
143 - "valueMapping": {  
144 - "mappingValues": []  
145 - },  
146 - "valuesObj": []  
147 } 203 }
148 ] 204 ]
  205 + },
  206 + {
  207 + "id": "3f9be299454645e48a25942bf011a6cf",
  208 + "code": "afrdol",
  209 + "type": "STRING",
  210 + "title": "afrdol",
  211 + "qxProps": {},
  212 + "pid": ""
  213 + },
  214 + {
  215 + "id": "62b7a9ca5dba4765abd6edf52ec8ff04",
  216 + "code": "dhu0im",
  217 + "type": "STRING",
  218 + "title": "dhu0im",
  219 + "qxProps": {},
  220 + "pid": ""
149 } 221 }
150 ], 222 ],
151 "propagation": "REQUIRED", 223 "propagation": "REQUIRED",
@@ -153,109 +225,117 @@ export const nodes = [ @@ -153,109 +225,117 @@ export const nodes = [
153 }, 225 },
154 "result": [ 226 "result": [
155 { 227 {
156 - "id": "e039b23ff8294b158ac6b8ddc2ece8aa",  
157 - "code": "5ybpag", 228 + "id": "900973508a164a21bd607fead31509b0",
  229 + "code": "9kbddk",
158 "type": "STRING", 230 "type": "STRING",
159 - "title": "文本字段", 231 + "title": "文本",
160 "qxProps": { 232 "qxProps": {
161 - "min": "-1",  
162 - "max": "20" 233 + "min": 1,
  234 + "max": 24
163 }, 235 },
  236 + "pid": ""
  237 + },
  238 + {
  239 + "id": "6de1d4ff333d4c50b1862e9324bfb642",
  240 + "code": "m4rves",
  241 + "type": "NUMBER",
  242 + "title": "数字",
  243 + "qxProps": {},
  244 + "pid": "",
  245 + "description": "",
164 "valueMapping": { 246 "valueMapping": {
165 - "mappingValues": [  
166 - "1111111111111"  
167 - ] 247 + "mappingValues": []
168 }, 248 },
169 - "valuesObj": [  
170 - {  
171 - "type": "MANUAL",  
172 - "value": "1111111111111"  
173 - }  
174 - ] 249 + "valuesObj": []
175 }, 250 },
176 { 251 {
177 - "id": "b0f72671bc474d0cb9ecb2609973f35d",  
178 - "code": "z0zbwx", 252 + "id": "b0fa1984ae72458f81a4682c028365d0",
  253 + "code": "gxahx8",
179 "type": "FORM", 254 "type": "FORM",
180 - "title": "表单参数", 255 + "title": "表单名称很长表单名称很长表单名称很长表单名称很长表单名称很长表单名称很长表单名称很长",
181 "qxProps": { 256 "qxProps": {
182 "appId": "C9QUrtTmcmDkvHMoOKI", 257 "appId": "C9QUrtTmcmDkvHMoOKI",
183 "formId": "hhgYI0rGV78NEPbgIms", 258 "formId": "hhgYI0rGV78NEPbgIms",
184 "isTree": false 259 "isTree": false
185 }, 260 },
  261 + "pid": "",
186 "description": "", 262 "description": "",
187 "valueMapping": { 263 "valueMapping": {
188 "mappingValues": [] 264 "mappingValues": []
189 }, 265 },
190 "valuesObj": [] 266 "valuesObj": []
191 }, 267 },
192 -  
193 - {  
194 - id: 'deb0705410b24087bf22ccee74e4e7e4',  
195 - code: 'tbxkuz',  
196 - type: 'FORM',  
197 - title: 'input',  
198 - qxProps: {  
199 - appId: 'k6cY4GqjTaxQTW3XLua',  
200 - formId: 'FhkvYvVgpWmijBVEbk2',  
201 - isTree: false,  
202 - },  
203 - description: '',  
204 - valueMapping: {  
205 - mappingValues: [],  
206 - },  
207 - required: false,  
208 - disabled: true,  
209 - },  
210 - {  
211 - id: '3b1e0f82c6a049dca8a01d83a7a09b35',  
212 - code: 'vjo6ta',  
213 - type: 'OBJECT',  
214 - title: 'vjo6ta',  
215 - qxProps: {},  
216 - pid: '',  
217 - description: '',  
218 - valueMapping: {  
219 - mappingValues: [],  
220 - },  
221 - valuesObj: [],  
222 - child: [  
223 - {  
224 - id: 'be3d37ae184144dc88c0d39a644fe2c1',  
225 - type: 'STRING',  
226 - pid: '3b1e0f82c6a049dca8a01d83a7a09b35',  
227 - code: '87b2ww',  
228 - title: '87b2ww',  
229 - },  
230 - ],  
231 - },  
232 { 268 {
233 - "id": "82ab09325d3e4c328adfe33e17898b22",  
234 - "code": "p62xqq", 269 + "id": "e410c932cf744ba798f7baf6bccbab65",
  270 + "code": "ljfzwn",
235 "type": "USER", 271 "type": "USER",
236 - "title": "人员11", 272 + "title": "人员",
237 "qxProps": { 273 "qxProps": {
238 "formId": "PbOC6xBYOvZ1IB2mwUc", 274 "formId": "PbOC6xBYOvZ1IB2mwUc",
239 "appId": "eSnLZ42R2TA5Z18dNsJ", 275 "appId": "eSnLZ42R2TA5Z18dNsJ",
240 "isTree": false 276 "isTree": false
241 - } 277 + },
  278 + "pid": "",
  279 + "description": "",
  280 + "valueMapping": {
  281 + "mappingValues": []
  282 + },
  283 + "valuesObj": []
242 }, 284 },
243 { 285 {
244 - "id": "09a6780520964f5fa237ca0dbdb11b94",  
245 - "code": "ksq7se", 286 + "id": "026ae9374b664fe5b46cb1b1efa2621f",
  287 + "code": "ugrlsf",
246 "type": "ORG", 288 "type": "ORG",
247 - "title": "部门11", 289 + "title": "部门",
248 "qxProps": { 290 "qxProps": {
249 "formId": "UsoOGnrJLPziSQwGDwj", 291 "formId": "UsoOGnrJLPziSQwGDwj",
250 "appId": "eSnLZ42R2TA5Z18dNsJ", 292 "appId": "eSnLZ42R2TA5Z18dNsJ",
251 "isTree": true 293 "isTree": true
252 - } 294 + },
  295 + "pid": "",
  296 + "description": "",
  297 + "valueMapping": {
  298 + "mappingValues": []
  299 + },
  300 + "valuesObj": []
253 }, 301 },
254 { 302 {
255 - "id": "098d551fbe1d40858c590edc78c543eb",  
256 - "code": "0nmura", 303 + "id": "6802be2d24f44512983ac730cbc2c853",
  304 + "code": "dlqjoo",
  305 + "type": "ARRAY",
  306 + "title": "数组",
  307 + "qxProps": {},
  308 + "pid": "",
  309 + "description": "",
  310 + "valueMapping": {
  311 + "mappingValues": []
  312 + },
  313 + "valuesObj": [],
  314 + "child": [
  315 + {
  316 + "id": "4adf39e9fb5345c2b06beefbe5535cbb",
  317 + "type": "FORM",
  318 + "pid": "6802be2d24f44512983ac730cbc2c853",
  319 + "code": "mo9g33",
  320 + "title": "二级表单",
  321 + "qxProps": {
  322 + "appId": "C9QUrtTmcmDkvHMoOKI",
  323 + "formId": "2uJbERNkkDhRqLDjHeY",
  324 + "isTree": true
  325 + },
  326 + "description": "",
  327 + "valueMapping": {
  328 + "mappingValues": []
  329 + },
  330 + "valuesObj": []
  331 + }
  332 + ]
  333 + },
  334 + {
  335 + "id": "7c7267e6a0aa4bd7b503a343919464eb",
  336 + "code": "zqzmmv",
257 "type": "OBJECT", 337 "type": "OBJECT",
258 - "title": "对象一级", 338 + "title": "对象",
259 "qxProps": {}, 339 "qxProps": {},
260 "pid": "", 340 "pid": "",
261 "description": "", 341 "description": "",
@@ -265,11 +345,36 @@ export const nodes = [ @@ -265,11 +345,36 @@ export const nodes = [
265 "valuesObj": [], 345 "valuesObj": [],
266 "child": [ 346 "child": [
267 { 347 {
268 - "id": "1bb1b69f3e3249048c77509eb8dc2d53", 348 + "id": "e97be19dfa1b4c178366901bf7118fcb",
  349 + "type": "FORM",
  350 + "pid": "7c7267e6a0aa4bd7b503a343919464eb",
  351 + "code": "zusbmo",
  352 + "title": "对象二级表单啦啦啦啦啦",
  353 + "qxProps": {
  354 + "appId": "C9QUrtTmcmDkvHMoOKI",
  355 + "formId": "2uJbERNkkDhRqLDjHeY",
  356 + "isTree": true
  357 + },
  358 + "description": "",
  359 + "valueMapping": {
  360 + "mappingValues": []
  361 + },
  362 + "valuesObj": []
  363 + },
  364 + {
  365 + "id": "2b4ec39272a8460cb6a38472d8f4412a",
  366 + "code": "dxdqhh",
  367 + "type": "STRING",
  368 + "title": "二级文本",
  369 + "qxProps": {},
  370 + "pid": "7c7267e6a0aa4bd7b503a343919464eb"
  371 + },
  372 + {
  373 + "id": "6b15fe6003b6428b86ad06351a3250de",
269 "type": "ARRAY", 374 "type": "ARRAY",
270 - "pid": "098d551fbe1d40858c590edc78c543eb",  
271 - "code": "rypxuo",  
272 - "title": "数组二级", 375 + "pid": "7c7267e6a0aa4bd7b503a343919464eb",
  376 + "code": "ujz9y3",
  377 + "title": "二级数组",
273 "qxProps": {}, 378 "qxProps": {},
274 "description": "", 379 "description": "",
275 "valueMapping": { 380 "valueMapping": {
@@ -278,15 +383,15 @@ export const nodes = [ @@ -278,15 +383,15 @@ export const nodes = [
278 "valuesObj": [], 383 "valuesObj": [],
279 "child": [ 384 "child": [
280 { 385 {
281 - "id": "87d01cd61fe24519b2865438c2bf60ed", 386 + "id": "f03a2b0e1963464f9a694bc2cd74431b",
282 "type": "FORM", 387 "type": "FORM",
283 - "pid": "1bb1b69f3e3249048c77509eb8dc2d53",  
284 - "code": "gnmz55",  
285 - "title": "表单三级啦啦啦啦啦绿绿绿", 388 + "pid": "6b15fe6003b6428b86ad06351a3250de",
  389 + "code": "ivf4sg",
  390 + "title": "三级表单",
286 "qxProps": { 391 "qxProps": {
287 "appId": "C9QUrtTmcmDkvHMoOKI", 392 "appId": "C9QUrtTmcmDkvHMoOKI",
288 - "formId": "2uJbERNkkDhRqLDjHeY",  
289 - "isTree": true 393 + "formId": "fowWjXol504xRehG3g6",
  394 + "isTree": false
290 }, 395 },
291 "description": "", 396 "description": "",
292 "valueMapping": { 397 "valueMapping": {
@@ -295,25 +400,24 @@ export const nodes = [ @@ -295,25 +400,24 @@ export const nodes = [
295 "valuesObj": [] 400 "valuesObj": []
296 } 401 }
297 ] 402 ]
298 - },  
299 - {  
300 - "id": "54b1d7156a1a4e62a4efe463c0ceebd3",  
301 - "type": "FORM",  
302 - "pid": "098d551fbe1d40858c590edc78c543eb",  
303 - "code": "uozzv4",  
304 - "title": "表单啦",  
305 - "qxProps": {  
306 - "appId": "C9QUrtTmcmDkvHMoOKI",  
307 - "formId": "wKYeK6md1mOuZm2ORxe",  
308 - "isTree": false  
309 - },  
310 - "description": "",  
311 - "valueMapping": {  
312 - "mappingValues": []  
313 - },  
314 - "valuesObj": []  
315 } 403 }
316 ] 404 ]
  405 + },
  406 + {
  407 + "id": "3f9be299454645e48a25942bf011a6cf",
  408 + "code": "afrdol",
  409 + "type": "STRING",
  410 + "title": "afrdol",
  411 + "qxProps": {},
  412 + "pid": ""
  413 + },
  414 + {
  415 + "id": "62b7a9ca5dba4765abd6edf52ec8ff04",
  416 + "code": "dhu0im",
  417 + "type": "STRING",
  418 + "title": "dhu0im",
  419 + "qxProps": {},
  420 + "pid": ""
317 } 421 }
318 ] 422 ]
319 }, 423 },
@@ -332,31 +436,156 @@ export const nodes = [ @@ -332,31 +436,156 @@ export const nodes = [
332 "path": [ 436 "path": [
333 "0" 437 "0"
334 ], 438 ],
335 - "validateStatusError": false,  
336 "configuring": false, 439 "configuring": false,
  440 + "validateStatusError": false,
337 "children": [] 441 "children": []
338 }, 442 },
339 { 443 {
340 - "id": "cc98b10fd69f446ba32c7c76fd2c5dde",  
341 - "icon": "http://io.qgutech.com/qx-apaaspublic/data/qixiao/fs/upload/default/2023/09-20/compressed/6657769957328896/DF_DO_U/public/icons/logo.svg", 444 + "id": "618be50359bf41c9b08ce4ce05600581",
  445 + "icon": "http://localhost:8080/icons/logo.svg",
342 "type": "default_DF_DO_U", 446 "type": "default_DF_DO_U",
343 "name": "更新记录", 447 "name": "更新记录",
344 - "url": "http://io.qgutech.com/qx-apaaspublic/data/qixiao/fs/upload/default/2023/09-20/compressed/6657769957328896/DF_DO_U/index.js", 448 + "url": "http://localhost:8080/index.js",
345 "data": { 449 "data": {
346 - "nodeVersion": "1.0.0-dev34" 450 + "data": {
  451 + "model": "NODE",
  452 + "dataSourceNode": "${d17f4b3e8f904a81aaa261b8e08101fb|b0fa1984ae72458f81a4682c028365d0}",
  453 + "appId": "C9QUrtTmcmDkvHMoOKI",
  454 + "formId": "hhgYI0rGV78NEPbgIms",
  455 + "paramMappings": [
  456 + {
  457 + "type": "STRING",
  458 + "code": "Vtddd0Ul79TRINZcV7Q",
  459 + "title": "标题",
  460 + "opt": "SET",
  461 + "field": {
  462 + "name": "标题",
  463 + "code": "Vtddd0Ul79TRINZcV7Q",
  464 + "extract": {
  465 + "fieldType": "STRING",
  466 + "fieldKey": "title",
  467 + "widget": "qxInput",
  468 + "required": true,
  469 + "readOnly": false,
  470 + "hidden": false
  471 + }
  472 + },
  473 + "valueOpt": "SET",
  474 + "mappingValues": [
  475 + "1"
  476 + ],
  477 + "detailValues": {},
  478 + "condition": {},
  479 + "extract": {
  480 + "fieldType": "STRING",
  481 + "fieldKey": "title",
  482 + "widget": "qxInput",
  483 + "required": true,
  484 + "readOnly": false,
  485 + "hidden": false
  486 + },
  487 + "valuesObj": [
  488 + {
  489 + "type": "MANUAL",
  490 + "value": "1"
  491 + }
  492 + ]
  493 + }
  494 + ]
  495 + },
  496 + "result": [
  497 + {
  498 + "id": "result",
  499 + "type": "FORM",
  500 + "code": "result",
  501 + "qxProps": {
  502 + "appId": "C9QUrtTmcmDkvHMoOKI",
  503 + "formId": "hhgYI0rGV78NEPbgIms"
  504 + },
  505 + "title": "更新表单"
  506 + },
  507 + {
  508 + "id": "size",
  509 + "type": "NUMBER",
  510 + "code": "size",
  511 + "title": "操作数量"
  512 + }
  513 + ]
347 }, 514 },
348 - "previousId": "40e5975ebf6b4afb9a9fe162d7f7227f", 515 + "authConfig": [
  516 + {
  517 + "name": "更新类型",
  518 + "code": "model",
  519 + "edit": false,
  520 + "hidden": false,
  521 + "readonly": true
  522 + },
  523 + {
  524 + "name": "更新对象",
  525 + "code": "dataSourceNode",
  526 + "edit": false,
  527 + "hidden": false,
  528 + "readonly": true
  529 + },
  530 + {
  531 + "name": "字段设置",
  532 + "code": "paramMappings",
  533 + "edit": false,
  534 + "hidden": false,
  535 + "readonly": true
  536 + }
  537 + ],
  538 + "previousId": "d17f4b3e8f904a81aaa261b8e08101fb",
349 "path": [ 539 "path": [
350 "1" 540 "1"
351 ], 541 ],
352 - "configuring": true 542 + "configuring": true,
  543 + "validateStatusError": false
353 }, 544 },
354 { 545 {
355 - "id": "0e8ddac188f44acbac675ae8fd517287", 546 + "id": "165294ea951f44cfa6661a6e325a4002",
356 "name": "结束", 547 "name": "结束",
357 "type": "default_DF_END", 548 "type": "default_DF_END",
358 "data": { 549 "data": {
359 - "nodeVersion": "3.0.0" 550 + "nodeVersion": "3.0.0",
  551 + "data": {
  552 + "result": [
  553 + {
  554 + "id": "4a2b6bbc9dca44fc97301a8440f8f63d",
  555 + "code": "nerwie",
  556 + "type": "STRING",
  557 + "title": "nerwie",
  558 + "qxProps": {},
  559 + "pid": ""
  560 + },
  561 + {
  562 + "id": "457a1b4dd83744afa5501f07be321f6e",
  563 + "code": "cpbo5k",
  564 + "type": "NUMBER",
  565 + "title": "cpbo5k",
  566 + "qxProps": {},
  567 + "pid": ""
  568 + }
  569 + ]
  570 + },
  571 + "result": [
  572 + {
  573 + "id": "4a2b6bbc9dca44fc97301a8440f8f63d",
  574 + "code": "nerwie",
  575 + "type": "STRING",
  576 + "title": "nerwie",
  577 + "qxProps": {},
  578 + "pid": ""
  579 + },
  580 + {
  581 + "id": "457a1b4dd83744afa5501f07be321f6e",
  582 + "code": "cpbo5k",
  583 + "type": "NUMBER",
  584 + "title": "cpbo5k",
  585 + "qxProps": {},
  586 + "pid": ""
  587 + }
  588 + ]
360 }, 589 },
361 "icon": { 590 "icon": {
362 "type": { 591 "type": {
@@ -371,10 +600,11 @@ export const nodes = [ @@ -371,10 +600,11 @@ export const nodes = [
371 "_store": {} 600 "_store": {}
372 }, 601 },
373 "iconColor": "#7C7E86", 602 "iconColor": "#7C7E86",
374 - "previousId": "cc98b10fd69f446ba32c7c76fd2c5dde", 603 + "previousId": "618be50359bf41c9b08ce4ce05600581",
375 "path": [ 604 "path": [
376 "2" 605 "2"
377 ], 606 ],
  607 + "configuring": false,
378 "validateStatusError": false, 608 "validateStatusError": false,
379 "children": [] 609 "children": []
380 } 610 }