Commit 97476b99723762157db2bdc3b481407d3b6f56cd

Authored by 邱嘉伟
1 parent bfdaf9b5

fix: 增加节点可选

... ... @@ -76,7 +76,7 @@ export const QxBaseCondition: React.FC<QxBaseConditionProps> = (props) => {
76 76 );
77 77 };
78 78
79   -
  79 + console.log('props', props);
80 80 const RenderCondition = props.value?.map((item, key) => (
81 81 <div className="qx-base-condition-list-item" key={item.code || key}>
82 82 {(props?.showIdx ?? true) && (
... ... @@ -86,7 +86,9 @@ export const QxBaseCondition: React.FC<QxBaseConditionProps> = (props) => {
86 86 key={item.code || key}
87 87 mode={props.mode || 'condition'}
88 88 {...item}
89   - fieldGroupType={getFieldGroupType(item.field?.extract || { fieldType: item.type })}
  89 + fieldGroupType={getFieldGroupType(
  90 + item.field?.extract || { fieldType: item.type },
  91 + )}
90 92 value={Object.assign(
91 93 {},
92 94 getDefaultCondition(item.field || props.value?.[key]),
... ... @@ -141,7 +143,7 @@ export interface QxBaseConditionValueType {
141 143 type: string;
142 144 opt: string;
143 145 mappingValues: string[];
144   - [key: string]: any
  146 + [key: string]: any;
145 147 }
146 148
147 149 export interface QxBaseConditionProps {
... ...
... ... @@ -59,7 +59,9 @@ const timeFormat = [
59 59 ];
60 60
61 61 interface ParameterSettingProps {
62   - nodeItem?: any;
  62 + // nodeItem?: any;
  63 + nodes?: any[];
  64 + node?: any;
63 65 inputKey: any;
64 66 data: any;
65 67 treeData: any;
... ... @@ -281,7 +283,9 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => {
281 283 ]}
282 284 onChange={(val) => handleChangeField(val, record)}
283 285 showIdx={false}
284   - node={props.nodeItem}
  286 + node={props.node}
  287 + nodes={props.nodes}
  288 + // node={props.nodeItem}
285 289 mode="variable"
286 290 />
287 291 {/* <QxFieldSetter
... ...
... ... @@ -15,6 +15,7 @@ Demo:
15 15 import { QxParameterSetting, request } from '@qx/common';
16 16 import { Input } from 'antd';
17 17 import React, { useState } from 'react';
  18 +import { node, nodes } from './mock-node';
18 19 export default () => {
19 20 const [value, setValue] = useState([
20 21 {
... ... @@ -56,24 +57,86 @@ export default () => {
56 57 'vdsnflsjfsjfskljfvvv',
57 58 ]);
58 59
59   - const [nodeItem, setNodeItem] = useState([
60   - {
61   - iconName: 'icon-flow-start',
62   - key: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d',
63   - nodeType: 'WF_START',
64   - selectable: false,
65   - title: '开始',
66   - titleStr: '开始',
67   - },
68   - {
69   - iconName: 'icon-flow-end',
70   - key: '5dec2f28-8888-48be-a14d-e7c4e3cdb89d',
71   - nodeType: 'WF_END',
72   - selectable: true,
73   - title: 'jieshu',
74   - titleStr: '结束',
75   - },
76   - ]);
  60 + // const [nodes, setNodes] = useState([
  61 + // {
  62 + // id: '165294ea951f44cfa6661a6e325a4002',
  63 + // type: 'default_DF_END',
  64 + // name: '结束',
  65 + // data: {
  66 + // nodeVersion: '3.0.0',
  67 + // data: {
  68 + // result: [
  69 + // {
  70 + // id: '4a2b6bbc9dca44fc97301a8440f8f63d',
  71 + // code: 'nerwie',
  72 + // type: 'STRING',
  73 + // title: 'nerwie',
  74 + // qxProps: {},
  75 + // pid: '',
  76 + // },
  77 + // {
  78 + // id: '457a1b4dd83744afa5501f07be321f6e',
  79 + // code: 'cpbo5k',
  80 + // type: 'NUMBER',
  81 + // title: 'cpbo5k',
  82 + // qxProps: {},
  83 + // pid: '',
  84 + // },
  85 + // ],
  86 + // },
  87 + // result: [
  88 + // {
  89 + // id: '4a2b6bbc9dca44fc97301a8440f8f63d',
  90 + // code: 'nerwie',
  91 + // type: 'STRING',
  92 + // title: 'nerwie',
  93 + // qxProps: {},
  94 + // pid: '',
  95 + // },
  96 + // {
  97 + // i: '457a1b4dd83744afa5501f07be321f6e',
  98 + // code: 'cpbo5k',
  99 + // type: 'NUMBER',
  100 + // title: 'cpbo5k',
  101 + // qxProps: {},
  102 + // pid: '',
  103 + // },
  104 + // ],
  105 + // },
  106 + // icon: {
  107 + // type: {
  108 + // displayName: 'Iconfont',
  109 + // },
  110 + // key: null,
  111 + // ref: null,
  112 + // props: {
  113 + // type: 'qx-icon-flow-end',
  114 + // },
  115 + // _owner: null,
  116 + // _store: {},
  117 + // },
  118 + // iconColor: '#7C7E86',
  119 + // previousId: '618be50359bf41c9b08ce4ce05600581',
  120 + // path: ['2'],
  121 + // configuring: false,
  122 + // validateStatusError: false,
  123 + // children: [],
  124 + // },
  125 + // ]);
  126 +
  127 + // const node = {
  128 + // id: '165294ea951f44cfa6661a6e325a4002',
  129 + // icon: 'http://io.qgutech.com/qx-apaaspublic/data/qixiao/fs/upload/default/2023/09-20/compressed/6657769957328896/DF_DO_U/public/icons/logo.svg',
  130 + // type: 'default_DF_END',
  131 + // name: '更新记录',
  132 + // url: 'http://io.qgutech.com/qx-apaaspublic/data/qixiao/fs/upload/default/2023/09-20/compressed/6657769957328896/DF_DO_U/index.js',
  133 + // data: {
  134 + // nodeVersion: '1.0.0-dev34',
  135 + // },
  136 + // // previousId: 'd17f4b3e8f904a81aaa261b8e08101fb',
  137 + // path: ['1'],
  138 + // configuring: true,
  139 + // };
77 140
78 141 const comHandleChange = (newValue) => {
79 142 setComValue(newValue);
... ... @@ -119,11 +182,13 @@ export default () => {
119 182 <div style={{ width: '400px' }}>
120 183 <QxParameterSetting
121 184 value={value}
122   - nodeItem={nodeItem}
  185 + // nodeItem={nodeItem}
123 186 // componentItem={componentItem}
124 187 onChange={handleChange}
125 188 // isHideSearch={isHide}
126 189 isShowField={true}
  190 + node={node}
  191 + nodes={nodes}
127 192 // title={titleDom}
128 193 // type={'preview'}
129 194 // component={QxTagsInput}
... ...
... ... @@ -86,14 +86,13 @@ const getParentKey = (key: React.Key, tree: ParamDesignModel[]): React.Key => {
86 86 };
87 87
88 88 interface ParameterSettingProps {
89   - nodeItem: any; //默认值右侧选择节点数据
90 89 onChange: (val: any) => void;
91 90 value: any;
92 91 isHideSearch?: boolean; //是否隐藏搜索框
93 92 isShowField?: boolean; // 是否显示下部默认值组件
94 93 title?: React.ReactNode; // 左侧标题
95   - // component?: any;
96   - // componentItem?: any;
  94 + nodes?: any[];
  95 + node?: any;
97 96 // comHandleChange?: (val: any) => void;
98 97 appId?: string; // 当前应用ID
99 98 request?: any;
... ... @@ -737,7 +736,8 @@ export const QxParameterSetting: React.FC<ParameterSettingProps> = (props) => {
737 736 ]}
738 737 onChange={(val) => changeField(val, nodeData)}
739 738 showIdx={false}
740   - node={props.nodeItem}
  739 + nodes={props.nodes}
  740 + node={props.node}
741 741 mode="variable"
742 742 />
743 743 </div>
... ... @@ -838,10 +838,12 @@ export const QxParameterSetting: React.FC<ParameterSettingProps> = (props) => {
838 838 : null}
839 839 </div>
840 840 <ParameterModal
841   - nodeItem={props.nodeItem}
  841 + // nodeItem={props.nodeItem}
842 842 inputKey={inputKey}
843 843 treeData={list}
844 844 data={treeData}
  845 + nodes={props.nodes}
  846 + node={props.node}
845 847 handleChangeField={changeField}
846 848 handleCancel={handleCancel}
847 849 handleAdd={handleAdd}
... ...
  1 +export const node = {
  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',
  4 + type: 'default_DF_DO_U',
  5 + name: '更新记录',
  6 + url: 'http://io.qgutech.com/qx-apaaspublic/data/qixiao/fs/upload/default/2023/09-20/compressed/6657769957328896/DF_DO_U/index.js',
  7 + data: {
  8 + nodeVersion: '1.0.0-dev34',
  9 + },
  10 + previousId: 'd17f4b3e8f904a81aaa261b8e08101fb',
  11 + path: ['1'],
  12 + configuring: true,
  13 +};
  14 +
  15 +export const nodes = [
  16 + {
  17 + id: 'd17f4b3e8f904a81aaa261b8e08101fb',
  18 + name: '开始',
  19 + type: 'default_DF_START',
  20 + data: {
  21 + nodeVersion: '3.0.0',
  22 + data: {
  23 + enablePropagation: true,
  24 + params: [
  25 + {
  26 + id: '900973508a164a21bd607fead31509b0',
  27 + code: '9kbddk',
  28 + type: 'STRING',
  29 + title: '文本',
  30 + qxProps: {
  31 + min: 1,
  32 + max: 24,
  33 + },
  34 + pid: '',
  35 + },
  36 + {
  37 + id: '6de1d4ff333d4c50b1862e9324bfb642',
  38 + code: 'm4rves',
  39 + type: 'NUMBER',
  40 + title: '数字',
  41 + qxProps: {},
  42 + pid: '',
  43 + description: '',
  44 + valueMapping: {
  45 + mappingValues: [],
  46 + },
  47 + valuesObj: [],
  48 + },
  49 + {
  50 + id: 'b0fa1984ae72458f81a4682c028365d0',
  51 + code: 'gxahx8',
  52 + type: 'FORM',
  53 + title:
  54 + '表单名称很长表单名称很长表单名称很长表单名称很长表单名称很长表单名称很长表单名称很长',
  55 + qxProps: {
  56 + appId: 'C9QUrtTmcmDkvHMoOKI',
  57 + formId: 'hhgYI0rGV78NEPbgIms',
  58 + isTree: false,
  59 + },
  60 + pid: '',
  61 + description: '',
  62 + valueMapping: {
  63 + mappingValues: [],
  64 + },
  65 + valuesObj: [],
  66 + },
  67 + {
  68 + id: 'e410c932cf744ba798f7baf6bccbab65',
  69 + code: 'ljfzwn',
  70 + type: 'USER',
  71 + title: '人员',
  72 + qxProps: {
  73 + formId: 'PbOC6xBYOvZ1IB2mwUc',
  74 + appId: 'eSnLZ42R2TA5Z18dNsJ',
  75 + isTree: false,
  76 + },
  77 + pid: '',
  78 + description: '',
  79 + valueMapping: {
  80 + mappingValues: [],
  81 + },
  82 + valuesObj: [],
  83 + },
  84 + {
  85 + id: '026ae9374b664fe5b46cb1b1efa2621f',
  86 + code: 'ugrlsf',
  87 + type: 'ORG',
  88 + title: '部门',
  89 + qxProps: {
  90 + formId: 'UsoOGnrJLPziSQwGDwj',
  91 + appId: 'eSnLZ42R2TA5Z18dNsJ',
  92 + isTree: true,
  93 + },
  94 + pid: '',
  95 + description: '',
  96 + valueMapping: {
  97 + mappingValues: [],
  98 + },
  99 + valuesObj: [],
  100 + },
  101 + {
  102 + id: '6802be2d24f44512983ac730cbc2c853',
  103 + code: 'dlqjoo',
  104 + type: 'ARRAY',
  105 + title: '数组',
  106 + qxProps: {},
  107 + pid: '',
  108 + description: '',
  109 + valueMapping: {
  110 + mappingValues: [],
  111 + },
  112 + valuesObj: [],
  113 + child: [
  114 + {
  115 + id: '4adf39e9fb5345c2b06beefbe5535cbb',
  116 + type: 'FORM',
  117 + pid: '6802be2d24f44512983ac730cbc2c853',
  118 + code: 'mo9g33',
  119 + title: '二级表单',
  120 + qxProps: {
  121 + appId: 'C9QUrtTmcmDkvHMoOKI',
  122 + formId: '2uJbERNkkDhRqLDjHeY',
  123 + isTree: true,
  124 + },
  125 + description: '',
  126 + valueMapping: {
  127 + mappingValues: [],
  128 + },
  129 + valuesObj: [],
  130 + },
  131 + ],
  132 + },
  133 + {
  134 + id: '7c7267e6a0aa4bd7b503a343919464eb',
  135 + code: 'zqzmmv',
  136 + type: 'OBJECT',
  137 + title: '对象',
  138 + qxProps: {},
  139 + pid: '',
  140 + description: '',
  141 + valueMapping: {
  142 + mappingValues: [],
  143 + },
  144 + valuesObj: [],
  145 + child: [
  146 + {
  147 + id: 'e97be19dfa1b4c178366901bf7118fcb',
  148 + type: 'FORM',
  149 + pid: '7c7267e6a0aa4bd7b503a343919464eb',
  150 + code: 'zusbmo',
  151 + title: '对象二级表单啦啦啦啦啦',
  152 + qxProps: {
  153 + appId: 'C9QUrtTmcmDkvHMoOKI',
  154 + formId: '2uJbERNkkDhRqLDjHeY',
  155 + isTree: true,
  156 + },
  157 + description: '',
  158 + valueMapping: {
  159 + mappingValues: [],
  160 + },
  161 + valuesObj: [],
  162 + },
  163 + {
  164 + id: '2b4ec39272a8460cb6a38472d8f4412a',
  165 + code: 'dxdqhh',
  166 + type: 'STRING',
  167 + title: '二级文本',
  168 + qxProps: {},
  169 + pid: '7c7267e6a0aa4bd7b503a343919464eb',
  170 + },
  171 + {
  172 + id: '6b15fe6003b6428b86ad06351a3250de',
  173 + type: 'ARRAY',
  174 + pid: '7c7267e6a0aa4bd7b503a343919464eb',
  175 + code: 'ujz9y3',
  176 + title: '二级数组',
  177 + qxProps: {},
  178 + description: '',
  179 + valueMapping: {
  180 + mappingValues: [],
  181 + },
  182 + valuesObj: [],
  183 + child: [
  184 + {
  185 + id: 'f03a2b0e1963464f9a694bc2cd74431b',
  186 + type: 'FORM',
  187 + pid: '6b15fe6003b6428b86ad06351a3250de',
  188 + code: 'ivf4sg',
  189 + title: '三级表单',
  190 + qxProps: {
  191 + appId: 'C9QUrtTmcmDkvHMoOKI',
  192 + formId: 'fowWjXol504xRehG3g6',
  193 + isTree: false,
  194 + },
  195 + description: '',
  196 + valueMapping: {
  197 + mappingValues: [],
  198 + },
  199 + valuesObj: [],
  200 + },
  201 + ],
  202 + },
  203 + ],
  204 + },
  205 + {
  206 + id: '3f9be299454645e48a25942bf011a6cf',
  207 + code: 'afrdol',
  208 + type: 'STRING',
  209 + title: 'afrdol',
  210 + qxProps: {},
  211 + pid: '',
  212 + },
  213 + {
  214 + id: '62b7a9ca5dba4765abd6edf52ec8ff04',
  215 + code: 'dhu0im',
  216 + type: 'STRING',
  217 + title: 'dhu0im',
  218 + qxProps: {},
  219 + pid: '',
  220 + },
  221 + ],
  222 + propagation: 'REQUIRED',
  223 + isolation: 'REPEATABLE_READ',
  224 + },
  225 + result: [
  226 + {
  227 + id: '900973508a164a21bd607fead31509b0',
  228 + code: '9kbddk',
  229 + type: 'STRING',
  230 + title: '文本',
  231 + qxProps: {
  232 + min: 1,
  233 + max: 24,
  234 + },
  235 + pid: '',
  236 + },
  237 + {
  238 + id: '6de1d4ff333d4c50b1862e9324bfb642',
  239 + code: 'm4rves',
  240 + type: 'NUMBER',
  241 + title: '数字',
  242 + qxProps: {},
  243 + pid: '',
  244 + description: '',
  245 + valueMapping: {
  246 + mappingValues: [],
  247 + },
  248 + valuesObj: [],
  249 + },
  250 + {
  251 + id: 'b0fa1984ae72458f81a4682c028365d0',
  252 + code: 'gxahx8',
  253 + type: 'FORM',
  254 + title:
  255 + '表单名称很长表单名称很长表单名称很长表单名称很长表单名称很长表单名称很长表单名称很长',
  256 + qxProps: {
  257 + appId: 'C9QUrtTmcmDkvHMoOKI',
  258 + formId: 'hhgYI0rGV78NEPbgIms',
  259 + isTree: false,
  260 + },
  261 + pid: '',
  262 + description: '',
  263 + valueMapping: {
  264 + mappingValues: [],
  265 + },
  266 + valuesObj: [],
  267 + },
  268 + {
  269 + id: 'e410c932cf744ba798f7baf6bccbab65',
  270 + code: 'ljfzwn',
  271 + type: 'USER',
  272 + title: '人员',
  273 + qxProps: {
  274 + formId: 'PbOC6xBYOvZ1IB2mwUc',
  275 + appId: 'eSnLZ42R2TA5Z18dNsJ',
  276 + isTree: false,
  277 + },
  278 + pid: '',
  279 + description: '',
  280 + valueMapping: {
  281 + mappingValues: [],
  282 + },
  283 + valuesObj: [],
  284 + },
  285 + {
  286 + id: '026ae9374b664fe5b46cb1b1efa2621f',
  287 + code: 'ugrlsf',
  288 + type: 'ORG',
  289 + title: '部门',
  290 + qxProps: {
  291 + formId: 'UsoOGnrJLPziSQwGDwj',
  292 + appId: 'eSnLZ42R2TA5Z18dNsJ',
  293 + isTree: true,
  294 + },
  295 + pid: '',
  296 + description: '',
  297 + valueMapping: {
  298 + mappingValues: [],
  299 + },
  300 + valuesObj: [],
  301 + },
  302 + {
  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',
  337 + type: 'OBJECT',
  338 + title: '对象',
  339 + qxProps: {},
  340 + pid: '',
  341 + description: '',
  342 + valueMapping: {
  343 + mappingValues: [],
  344 + },
  345 + valuesObj: [],
  346 + child: [
  347 + {
  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',
  374 + type: 'ARRAY',
  375 + pid: '7c7267e6a0aa4bd7b503a343919464eb',
  376 + code: 'ujz9y3',
  377 + title: '二级数组',
  378 + qxProps: {},
  379 + description: '',
  380 + valueMapping: {
  381 + mappingValues: [],
  382 + },
  383 + valuesObj: [],
  384 + child: [
  385 + {
  386 + id: 'f03a2b0e1963464f9a694bc2cd74431b',
  387 + type: 'FORM',
  388 + pid: '6b15fe6003b6428b86ad06351a3250de',
  389 + code: 'ivf4sg',
  390 + title: '三级表单',
  391 + qxProps: {
  392 + appId: 'C9QUrtTmcmDkvHMoOKI',
  393 + formId: 'fowWjXol504xRehG3g6',
  394 + isTree: false,
  395 + },
  396 + description: '',
  397 + valueMapping: {
  398 + mappingValues: [],
  399 + },
  400 + valuesObj: [],
  401 + },
  402 + ],
  403 + },
  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: '',
  421 + },
  422 + ],
  423 + },
  424 + icon: {
  425 + type: {
  426 + displayName: 'Iconfont',
  427 + },
  428 + key: null,
  429 + ref: null,
  430 + props: {
  431 + type: 'qx-icon-flow-start',
  432 + },
  433 + _owner: null,
  434 + _store: {},
  435 + },
  436 + path: ['0'],
  437 + configuring: false,
  438 + validateStatusError: false,
  439 + children: [],
  440 + },
  441 + {
  442 + id: '618be50359bf41c9b08ce4ce05600581',
  443 + icon: 'http://localhost:8080/icons/logo.svg',
  444 + type: 'default_DF_DO_U',
  445 + name: '更新记录',
  446 + url: 'http://localhost:8080/index.js',
  447 + data: {
  448 + data: {
  449 + model: 'NODE',
  450 + dataSourceNode:
  451 + '${d17f4b3e8f904a81aaa261b8e08101fb|b0fa1984ae72458f81a4682c028365d0}',
  452 + appId: 'C9QUrtTmcmDkvHMoOKI',
  453 + formId: 'hhgYI0rGV78NEPbgIms',
  454 + paramMappings: [
  455 + {
  456 + type: 'STRING',
  457 + code: 'Vtddd0Ul79TRINZcV7Q',
  458 + title: '标题',
  459 + opt: 'SET',
  460 + field: {
  461 + name: '标题',
  462 + code: 'Vtddd0Ul79TRINZcV7Q',
  463 + extract: {
  464 + fieldType: 'STRING',
  465 + fieldKey: 'title',
  466 + widget: 'qxInput',
  467 + required: true,
  468 + readOnly: false,
  469 + hidden: false,
  470 + },
  471 + },
  472 + valueOpt: 'SET',
  473 + mappingValues: ['1'],
  474 + detailValues: {},
  475 + condition: {},
  476 + extract: {
  477 + fieldType: 'STRING',
  478 + fieldKey: 'title',
  479 + widget: 'qxInput',
  480 + required: true,
  481 + readOnly: false,
  482 + hidden: false,
  483 + },
  484 + valuesObj: [
  485 + {
  486 + type: 'MANUAL',
  487 + value: '1',
  488 + },
  489 + ],
  490 + },
  491 + ],
  492 + },
  493 + result: [
  494 + {
  495 + id: 'result',
  496 + type: 'FORM',
  497 + code: 'result',
  498 + qxProps: {
  499 + appId: 'C9QUrtTmcmDkvHMoOKI',
  500 + formId: 'hhgYI0rGV78NEPbgIms',
  501 + },
  502 + title: '更新表单',
  503 + },
  504 + {
  505 + id: 'size',
  506 + type: 'NUMBER',
  507 + code: 'size',
  508 + title: '操作数量',
  509 + },
  510 + ],
  511 + },
  512 + authConfig: [
  513 + {
  514 + name: '更新类型',
  515 + code: 'model',
  516 + edit: false,
  517 + hidden: false,
  518 + readonly: true,
  519 + },
  520 + {
  521 + name: '更新对象',
  522 + code: 'dataSourceNode',
  523 + edit: false,
  524 + hidden: false,
  525 + readonly: true,
  526 + },
  527 + {
  528 + name: '字段设置',
  529 + code: 'paramMappings',
  530 + edit: false,
  531 + hidden: false,
  532 + readonly: true,
  533 + },
  534 + ],
  535 + previousId: 'd17f4b3e8f904a81aaa261b8e08101fb',
  536 + path: ['1'],
  537 + configuring: true,
  538 + validateStatusError: false,
  539 + },
  540 + {
  541 + id: '165294ea951f44cfa6661a6e325a4002',
  542 + name: '结束',
  543 + type: 'default_DF_END',
  544 + data: {
  545 + nodeVersion: '3.0.0',
  546 + data: {
  547 + result: [
  548 + {
  549 + id: '4a2b6bbc9dca44fc97301a8440f8f63d',
  550 + code: 'nerwie',
  551 + type: 'STRING',
  552 + title: 'nerwie',
  553 + qxProps: {},
  554 + pid: '',
  555 + },
  556 + {
  557 + id: '457a1b4dd83744afa5501f07be321f6e',
  558 + code: 'cpbo5k',
  559 + type: 'NUMBER',
  560 + title: 'cpbo5k',
  561 + qxProps: {},
  562 + pid: '',
  563 + },
  564 + ],
  565 + },
  566 + result: [
  567 + {
  568 + id: '4a2b6bbc9dca44fc97301a8440f8f63d',
  569 + code: 'nerwie',
  570 + type: 'STRING',
  571 + title: 'nerwie',
  572 + qxProps: {},
  573 + pid: '',
  574 + },
  575 + {
  576 + id: '457a1b4dd83744afa5501f07be321f6e',
  577 + code: 'cpbo5k',
  578 + type: 'NUMBER',
  579 + title: 'cpbo5k',
  580 + qxProps: {},
  581 + pid: '',
  582 + },
  583 + ],
  584 + },
  585 + icon: {
  586 + type: {
  587 + displayName: 'Iconfont',
  588 + },
  589 + key: null,
  590 + ref: null,
  591 + props: {
  592 + type: 'qx-icon-flow-end',
  593 + },
  594 + _owner: null,
  595 + _store: {},
  596 + },
  597 + iconColor: '#7C7E86',
  598 + previousId: '618be50359bf41c9b08ce4ce05600581',
  599 + path: ['2'],
  600 + configuring: false,
  601 + validateStatusError: false,
  602 + children: [],
  603 + },
  604 +];
... ...