Commit 1142c2ad881dde53fdb62aa19fcfe2b331728f7f

Authored by 陈洋
1 parent 9f7f197c

暂存

... ... @@ -9,143 +9,12 @@ group:
9 9 order: 0
10 10 ---
11 11
12   -## QxCondition 条件配置
  12 +## 条件配置
13 13
14 14 ```tsx
15 15 import { QxCondition } from '@qx/common';
16 16 import { Form } from 'antd';
17   -
18   -const node = {
19   - id: 'dfc29d5b64fa42489a65b3cfaeb999da',
20   - type: 'default_DF_CONDITION',
21   - name: '条件',
22   - iconColor: '#F77234',
23   - data: {},
24   - children: [],
25   - previousId: 'b0a2c7925a7b45e884fe8f82a0f39e9b',
26   -};
27   -
28   -const nodes = [
29   - {
30   - id: '4c4fc5213db149808c57d093b15e6295',
31   - name: '开始',
32   - type: 'default_DF_START',
33   - data: {
34   - nodeVersion: '3.0.0',
35   - data: {
36   - enablePropagation: false,
37   - propagation: 'REQUIRED',
38   - isolation: 'REPEATABLE_READ',
39   - },
40   - result: [
41   - {
42   - id: '9911c21704ba4d8da8651185f441f9d3',
43   - code: '5sfuiz',
44   - type: 'OBJECT',
45   - title: '5sfuiz',
46   - qxProps: {},
47   - pid: '',
48   - description: '',
49   - valueMapping: { mappingValues: [] },
50   - valuesObj: [],
51   - child: [
52   - {
53   - id: '022c007b4c304c58850ed592ef5c1774',
54   - type: 'STRING',
55   - pid: '9911c21704ba4d8da8651185f441f9d3',
56   - code: 'gcc8qd',
57   - title: 'gcc8qd',
58   - },
59   - ],
60   - },
61   - {
62   - id: '6289083b52474567aba6d3f5fe9eda90',
63   - code: '3coizb',
64   - type: 'FORM',
65   - title: '3coizb',
66   - qxProps: {
67   - appId: 'HQIXKC0dxbuYENalZzP',
68   - formId: 'VX1TdanWSgYrKYn3vT8',
69   - isTree: false,
70   - },
71   - pid: '',
72   - },
73   -
74   - {
75   - id: 'deb0705410b24087bf22ccee74e4e7e4',
76   - code: 'tbxkuz',
77   - type: 'FORM',
78   - title: 'input',
79   - qxProps: {
80   - appId: 'k6cY4GqjTaxQTW3XLua',
81   - formId: 'FhkvYvVgpWmijBVEbk2',
82   - isTree: false,
83   - },
84   - description: '',
85   - valueMapping: {
86   - mappingValues: [],
87   - },
88   - required: false,
89   - disabled: true,
90   - },
91   - {
92   - id: '3b1e0f82c6a049dca8a01d83a7a09b35',
93   - code: 'vjo6ta',
94   - type: 'OBJECT',
95   - title: 'vjo6ta',
96   - qxProps: {},
97   - pid: '',
98   - description: '',
99   - valueMapping: {
100   - mappingValues: [],
101   - },
102   - valuesObj: [],
103   - child: [
104   - {
105   - id: 'be3d37ae184144dc88c0d39a644fe2c1',
106   - type: 'STRING',
107   - pid: '3b1e0f82c6a049dca8a01d83a7a09b35',
108   - code: '87b2ww',
109   - title: '87b2ww',
110   - },
111   - ],
112   - },
113   - ],
114   - },
115   - children: [],
116   - },
117   - {
118   - id: 'b0a2c7925a7b45e884fe8f82a0f39e9b',
119   - name: '分支',
120   - type: 'default_DF_BRANCH',
121   - previousId: '4c4fc5213db149808c57d093b15e6295',
122   - children: [
123   - {
124   - id: 'dfc29d5b64fa42489a65b3cfaeb999da',
125   - type: 'default_DF_CONDITION',
126   - previousId: 'b0a2c7925a7b45e884fe8f82a0f39e9b',
127   - name: '条件',
128   - data: {},
129   - children: [],
130   - },
131   - {
132   - id: '003ca991f70548a3ba8c4f9b8d0daad2',
133   - name: '条件',
134   - type: 'default_DF_CONDITION',
135   - previousId: 'b0a2c7925a7b45e884fe8f82a0f39e9b',
136   - children: [],
137   - },
138   - ],
139   - },
140   - {
141   - id: '576f817ce67846318d1132f231128f05',
142   - name: '结束',
143   - previousId: 'b0a2c7925a7b45e884fe8f82a0f39e9b',
144   - type: 'default_DF_END',
145   - data: { nodeVersion: '3.0.0' },
146   - children: [],
147   - },
148   -];
  17 +import {node, nodes} from "./mock";
149 18
150 19 export default () => {
151 20 return (
... ... @@ -156,32 +25,53 @@ export default () => {
156 25 sqlType: 'AND',
157 26 operators: [
158 27 {
159   - type: 'STRING',
160   - name: '文本',
161   - code: '${4c4fc5213db149808c57d093b15e6295|022c007b4c304c58850ed592ef5c1774}',
162   - mappingValues: [
163   - '${4c4fc5213db149808c57d093b15e6295|022c007b4c304c58850ed592ef5c1774}',
164   - ],
165   - field: {
166   - id: '022c007b4c304c58850ed592ef5c1774',
167   - type: 'STRING',
168   - pid: '9911c21704ba4d8da8651185f441f9d3',
169   - code: '4c4fc5213db149808c57d093b15e6295|022c007b4c304c58850ed592ef5c1774',
170   - title: 'gcc8qd',
171   - name: '2313123123123',
172   - extract: {
173   - fieldType: 'STRING',
174   - fieldKey: '022c007b4c304c58850ed592ef5c1774',
  28 + "type": "STRING",
  29 + "code": "${e7c1b3c8183b4fb185c9ba6133ee5cef|result.xA6wwOW3pZSAnNFT1nH}",
  30 + "title": "标题",
  31 + "opt": "IS",
  32 + "field": {
  33 + "name": "标题",
  34 + "code": "e7c1b3c8183b4fb185c9ba6133ee5cef|result.xA6wwOW3pZSAnNFT1nH",
  35 + "extract": {
  36 + "fieldType": "STRING",
  37 + "fieldKey": "xA6wwOW3pZSAnNFT1nH",
  38 + "widget": "qxInput",
  39 + "required": true,
  40 + "readOnly": false,
  41 + "hidden": false
175 42 },
176   - },
177   - valuesObj: [
178   - {
179   - value:
180   - '${4c4fc5213db149808c57d093b15e6295|022c007b4c304c58850ed592ef5c1774}',
181   - type: 'FIELD',
  43 + "icon": {
  44 + "type": "span",
  45 + "key": null,
  46 + "ref": null,
  47 + "props": {
  48 + "className": "qx-node-select-item__icon",
  49 + "children": {
  50 + "key": null,
  51 + "ref": null,
  52 + "props": {
  53 + "widgetName": "qxInput"
  54 + },
  55 + "_owner": null
  56 + }
  57 + },
  58 + "_owner": null
182 59 },
  60 + "title": "标题",
  61 + "id": "xA6wwOW3pZSAnNFT1nH",
  62 + "type": "STRING"
  63 + },
  64 + "name": "标题",
  65 + "mappingValues": [
  66 + "${e7c1b3c8183b4fb185c9ba6133ee5cef|result.xA6wwOW3pZSAnNFT1nH}"
183 67 ],
184   - },
  68 + "valuesObj": [
  69 + {
  70 + "type": "FIELD",
  71 + "value": "${e7c1b3c8183b4fb185c9ba6133ee5cef|result.xA6wwOW3pZSAnNFT1nH}"
  72 + }
  73 + ]
  74 + }
185 75 ],
186 76 },
187 77 }}
... ...
  1 +export const node = {
  2 + id: "76c6649e58364a949391944f94220696",
  3 + type: 'default_DF_CONDITION',
  4 + name: '条件',
  5 + iconColor: '#F77234',
  6 + data: {},
  7 + previousId: "2aa7aa6e97164c449b98dccade12f118",
  8 +};
  9 +
  10 +export const nodes = [
  11 + {
  12 + "id": "1c2275286b184b0db2ef104ea5dcdb85",
  13 + "name": "开始",
  14 + "type": "default_DF_START",
  15 + "data": {
  16 + "nodeVersion": "3.0.0",
  17 + "data": {
  18 + "enablePropagation": false,
  19 + "propagation": "REQUIRED",
  20 + "isolation": "REPEATABLE_READ",
  21 + "params": [
  22 + {
  23 + "id": "6e1ed03530114edba90a64e7b4a54d68",
  24 + "code": "zqhnxu",
  25 + "type": "STRING",
  26 + "title": "一级文本",
  27 + "qxProps": {},
  28 + "pid": ""
  29 + },
  30 + {
  31 + "id": "75049d4e567d4b19a1f6590ddb0c2bda",
  32 + "code": "h12gev",
  33 + "type": "NUMBER",
  34 + "title": "一级数字",
  35 + "qxProps": {},
  36 + "description": "",
  37 + "valueMapping": {
  38 + "mappingValues": []
  39 + },
  40 + "valuesObj": []
  41 + },
  42 + {
  43 + "id": "afb81ec07c0f4e09b29ca1c0bba4946d",
  44 + "code": "nqlhux",
  45 + "type": "TIME",
  46 + "title": "一级日期",
  47 + "qxProps": {},
  48 + "description": "",
  49 + "valueMapping": {
  50 + "mappingValues": []
  51 + },
  52 + "valuesObj": []
  53 + },
  54 + {
  55 + "id": "1ef6c873baf341e1903bfe8a46912386",
  56 + "code": "usocue",
  57 + "type": "BOOL",
  58 + "title": "一级布尔",
  59 + "qxProps": {},
  60 + "description": "",
  61 + "valueMapping": {
  62 + "mappingValues": []
  63 + },
  64 + "valuesObj": []
  65 + },
  66 + {
  67 + "id": "ebd0e7f24042430387df350262ca2e6c",
  68 + "code": "sctyds",
  69 + "type": "OBJECT",
  70 + "title": "一级对象",
  71 + "qxProps": {},
  72 + "description": "",
  73 + "valueMapping": {
  74 + "mappingValues": []
  75 + },
  76 + "valuesObj": [],
  77 + "child": [
  78 + {
  79 + "id": "b9b515c88ae844b3870d2bc459157315",
  80 + "type": "STRING",
  81 + "pid": "ebd0e7f24042430387df350262ca2e6c",
  82 + "code": "apwvlk",
  83 + "title": "二级文本"
  84 + },
  85 + {
  86 + "id": "566db55f8a9640e7a2a1f8235f71f9be",
  87 + "type": "FORM",
  88 + "pid": "ebd0e7f24042430387df350262ca2e6c",
  89 + "code": "vpdwnx",
  90 + "title": "二级表单",
  91 + "qxProps": {
  92 + "appId": "C9QUrtTmcmDkvHMoOKI",
  93 + "formId": "cqZOKv8Mk9OoTCmf2cg",
  94 + "isTree": true
  95 + },
  96 + "description": "",
  97 + "valueMapping": {
  98 + "mappingValues": []
  99 + },
  100 + "valuesObj": []
  101 + },
  102 + {
  103 + "id": "524fbdee528e4bb5a026e1ea008c4b88",
  104 + "type": "ARRAY",
  105 + "pid": "ebd0e7f24042430387df350262ca2e6c",
  106 + "code": "ob7z6k",
  107 + "title": "二级数组",
  108 + "qxProps": {},
  109 + "description": "",
  110 + "valueMapping": {
  111 + "mappingValues": []
  112 + },
  113 + "valuesObj": []
  114 + },
  115 + {
  116 + "id": "501e815a128e431a8994dd114efec5ed",
  117 + "type": "USER",
  118 + "pid": "ebd0e7f24042430387df350262ca2e6c",
  119 + "code": "4an99t",
  120 + "title": "二级人员",
  121 + "qxProps": {
  122 + "formId": "PbOC6xBYOvZ1IB2mwUc",
  123 + "appId": "eSnLZ42R2TA5Z18dNsJ",
  124 + "isTree": false
  125 + },
  126 + "description": "",
  127 + "valueMapping": {
  128 + "mappingValues": []
  129 + },
  130 + "valuesObj": []
  131 + }
  132 + ]
  133 + },
  134 + {
  135 + "id": "dbce85462b1d4a2886ad4e7614436e33",
  136 + "code": "xqkkrs",
  137 + "type": "ARRAY",
  138 + "title": "一级数组",
  139 + "qxProps": {},
  140 + "description": "",
  141 + "valueMapping": {
  142 + "mappingValues": []
  143 + },
  144 + "valuesObj": [],
  145 + "child": [
  146 + {
  147 + "id": "0b9fa160cd91434b9428317106ceb724",
  148 + "type": "OBJECT",
  149 + "pid": "dbce85462b1d4a2886ad4e7614436e33",
  150 + "code": "v8evo0",
  151 + "title": "二级对象",
  152 + "qxProps": {},
  153 + "description": "",
  154 + "valueMapping": {
  155 + "mappingValues": []
  156 + },
  157 + "valuesObj": [],
  158 + "child": [
  159 + {
  160 + "id": "be5db75145984eb697c1685e05ae5041",
  161 + "type": "STRING",
  162 + "pid": "0b9fa160cd91434b9428317106ceb724",
  163 + "code": "00yjkf",
  164 + "title": "三级文本"
  165 + },
  166 + {
  167 + "id": "62001e3a43394bbdb3033264fa55595c",
  168 + "type": "FORM",
  169 + "pid": "0b9fa160cd91434b9428317106ceb724",
  170 + "code": "fykll1",
  171 + "title": "三级表单",
  172 + "qxProps": {
  173 + "appId": "C9QUrtTmcmDkvHMoOKI",
  174 + "formId": "hhgYI0rGV78NEPbgIms",
  175 + "isTree": false
  176 + },
  177 + "description": "",
  178 + "valueMapping": {
  179 + "mappingValues": []
  180 + },
  181 + "valuesObj": []
  182 + }
  183 + ]
  184 + }
  185 + ]
  186 + },
  187 + {
  188 + "id": "31da1449a36a4df1affa0295b8be5e7c",
  189 + "code": "q7j5bx",
  190 + "type": "FORM",
  191 + "title": "一级表单",
  192 + "qxProps": {
  193 + "appId": "C9QUrtTmcmDkvHMoOKI",
  194 + "formId": "fowWjXol504xRehG3g6",
  195 + "isTree": false
  196 + },
  197 + "description": "",
  198 + "valueMapping": {
  199 + "mappingValues": []
  200 + },
  201 + "valuesObj": []
  202 + },
  203 + {
  204 + "id": "6dcfde41887a4b2aa37d4c493a8e622b",
  205 + "code": "wxkytf",
  206 + "type": "USER",
  207 + "title": "一级人员",
  208 + "qxProps": {
  209 + "formId": "PbOC6xBYOvZ1IB2mwUc",
  210 + "appId": "eSnLZ42R2TA5Z18dNsJ",
  211 + "isTree": false
  212 + },
  213 + "description": "",
  214 + "valueMapping": {
  215 + "mappingValues": []
  216 + },
  217 + "valuesObj": []
  218 + },
  219 + {
  220 + "id": "1a798e84f39f48b9ac06912b1b0c8690",
  221 + "code": "hjnam2",
  222 + "type": "ORG",
  223 + "title": "一级部门",
  224 + "qxProps": {
  225 + "formId": "UsoOGnrJLPziSQwGDwj",
  226 + "appId": "eSnLZ42R2TA5Z18dNsJ",
  227 + "isTree": true
  228 + },
  229 + "description": "",
  230 + "valueMapping": {
  231 + "mappingValues": []
  232 + },
  233 + "valuesObj": []
  234 + }
  235 + ]
  236 + },
  237 + "result": [
  238 + {
  239 + "id": "6e1ed03530114edba90a64e7b4a54d68",
  240 + "code": "zqhnxu",
  241 + "type": "STRING",
  242 + "title": "一级文本",
  243 + "qxProps": {},
  244 + "pid": ""
  245 + },
  246 + {
  247 + "id": "75049d4e567d4b19a1f6590ddb0c2bda",
  248 + "code": "h12gev",
  249 + "type": "NUMBER",
  250 + "title": "一级数字",
  251 + "qxProps": {},
  252 + "description": "",
  253 + "valueMapping": {
  254 + "mappingValues": []
  255 + },
  256 + "valuesObj": []
  257 + },
  258 + {
  259 + "id": "afb81ec07c0f4e09b29ca1c0bba4946d",
  260 + "code": "nqlhux",
  261 + "type": "TIME",
  262 + "title": "一级日期",
  263 + "qxProps": {},
  264 + "description": "",
  265 + "valueMapping": {
  266 + "mappingValues": []
  267 + },
  268 + "valuesObj": []
  269 + },
  270 + {
  271 + "id": "1ef6c873baf341e1903bfe8a46912386",
  272 + "code": "usocue",
  273 + "type": "BOOL",
  274 + "title": "一级布尔",
  275 + "qxProps": {},
  276 + "description": "",
  277 + "valueMapping": {
  278 + "mappingValues": []
  279 + },
  280 + "valuesObj": []
  281 + },
  282 + {
  283 + "id": "ebd0e7f24042430387df350262ca2e6c",
  284 + "code": "sctyds",
  285 + "type": "OBJECT",
  286 + "title": "一级对象",
  287 + "qxProps": {},
  288 + "description": "",
  289 + "valueMapping": {
  290 + "mappingValues": []
  291 + },
  292 + "valuesObj": [],
  293 + "child": [
  294 + {
  295 + "id": "b9b515c88ae844b3870d2bc459157315",
  296 + "type": "STRING",
  297 + "pid": "ebd0e7f24042430387df350262ca2e6c",
  298 + "code": "apwvlk",
  299 + "title": "二级文本"
  300 + },
  301 + {
  302 + "id": "566db55f8a9640e7a2a1f8235f71f9be",
  303 + "type": "FORM",
  304 + "pid": "ebd0e7f24042430387df350262ca2e6c",
  305 + "code": "vpdwnx",
  306 + "title": "二级表单",
  307 + "qxProps": {
  308 + "appId": "C9QUrtTmcmDkvHMoOKI",
  309 + "formId": "cqZOKv8Mk9OoTCmf2cg",
  310 + "isTree": true
  311 + },
  312 + "description": "",
  313 + "valueMapping": {
  314 + "mappingValues": []
  315 + },
  316 + "valuesObj": []
  317 + },
  318 + {
  319 + "id": "524fbdee528e4bb5a026e1ea008c4b88",
  320 + "type": "ARRAY",
  321 + "pid": "ebd0e7f24042430387df350262ca2e6c",
  322 + "code": "ob7z6k",
  323 + "title": "二级数组",
  324 + "qxProps": {},
  325 + "description": "",
  326 + "valueMapping": {
  327 + "mappingValues": []
  328 + },
  329 + "valuesObj": []
  330 + },
  331 + {
  332 + "id": "501e815a128e431a8994dd114efec5ed",
  333 + "type": "USER",
  334 + "pid": "ebd0e7f24042430387df350262ca2e6c",
  335 + "code": "4an99t",
  336 + "title": "二级人员",
  337 + "qxProps": {
  338 + "formId": "PbOC6xBYOvZ1IB2mwUc",
  339 + "appId": "eSnLZ42R2TA5Z18dNsJ",
  340 + "isTree": false
  341 + },
  342 + "description": "",
  343 + "valueMapping": {
  344 + "mappingValues": []
  345 + },
  346 + "valuesObj": []
  347 + }
  348 + ]
  349 + },
  350 + {
  351 + "id": "dbce85462b1d4a2886ad4e7614436e33",
  352 + "code": "xqkkrs",
  353 + "type": "ARRAY",
  354 + "title": "一级数组",
  355 + "qxProps": {},
  356 + "description": "",
  357 + "valueMapping": {
  358 + "mappingValues": []
  359 + },
  360 + "valuesObj": [],
  361 + "child": [
  362 + {
  363 + "id": "0b9fa160cd91434b9428317106ceb724",
  364 + "type": "OBJECT",
  365 + "pid": "dbce85462b1d4a2886ad4e7614436e33",
  366 + "code": "v8evo0",
  367 + "title": "二级对象",
  368 + "qxProps": {},
  369 + "description": "",
  370 + "valueMapping": {
  371 + "mappingValues": []
  372 + },
  373 + "valuesObj": [],
  374 + "child": [
  375 + {
  376 + "id": "be5db75145984eb697c1685e05ae5041",
  377 + "type": "STRING",
  378 + "pid": "0b9fa160cd91434b9428317106ceb724",
  379 + "code": "00yjkf",
  380 + "title": "三级文本"
  381 + },
  382 + {
  383 + "id": "62001e3a43394bbdb3033264fa55595c",
  384 + "type": "FORM",
  385 + "pid": "0b9fa160cd91434b9428317106ceb724",
  386 + "code": "fykll1",
  387 + "title": "三级表单",
  388 + "qxProps": {
  389 + "appId": "C9QUrtTmcmDkvHMoOKI",
  390 + "formId": "hhgYI0rGV78NEPbgIms",
  391 + "isTree": false
  392 + },
  393 + "description": "",
  394 + "valueMapping": {
  395 + "mappingValues": []
  396 + },
  397 + "valuesObj": []
  398 + }
  399 + ]
  400 + }
  401 + ]
  402 + },
  403 + {
  404 + "id": "31da1449a36a4df1affa0295b8be5e7c",
  405 + "code": "q7j5bx",
  406 + "type": "FORM",
  407 + "title": "一级表单",
  408 + "qxProps": {
  409 + "appId": "C9QUrtTmcmDkvHMoOKI",
  410 + "formId": "fowWjXol504xRehG3g6",
  411 + "isTree": false
  412 + },
  413 + "description": "",
  414 + "valueMapping": {
  415 + "mappingValues": []
  416 + },
  417 + "valuesObj": []
  418 + },
  419 + {
  420 + "id": "6dcfde41887a4b2aa37d4c493a8e622b",
  421 + "code": "wxkytf",
  422 + "type": "USER",
  423 + "title": "一级人员",
  424 + "qxProps": {
  425 + "formId": "PbOC6xBYOvZ1IB2mwUc",
  426 + "appId": "eSnLZ42R2TA5Z18dNsJ",
  427 + "isTree": false
  428 + },
  429 + "description": "",
  430 + "valueMapping": {
  431 + "mappingValues": []
  432 + },
  433 + "valuesObj": []
  434 + },
  435 + {
  436 + "id": "1a798e84f39f48b9ac06912b1b0c8690",
  437 + "code": "hjnam2",
  438 + "type": "ORG",
  439 + "title": "一级部门",
  440 + "qxProps": {
  441 + "formId": "UsoOGnrJLPziSQwGDwj",
  442 + "appId": "eSnLZ42R2TA5Z18dNsJ",
  443 + "isTree": true
  444 + },
  445 + "description": "",
  446 + "valueMapping": {
  447 + "mappingValues": []
  448 + },
  449 + "valuesObj": []
  450 + }
  451 + ]
  452 + },
  453 + "icon": {
  454 + "type": {
  455 + "displayName": "Iconfont"
  456 + },
  457 + "key": null,
  458 + "ref": null,
  459 + "props": {
  460 + "type": "qx-icon-flow-start"
  461 + },
  462 + "_owner": null,
  463 + "_store": {}
  464 + },
  465 + "path": [
  466 + "0"
  467 + ],
  468 + "configuring": false,
  469 + "validateStatusError": false,
  470 + "children": []
  471 + },
  472 + {
  473 + "id": "e7c1b3c8183b4fb185c9ba6133ee5cef",
  474 + "name": "新增记录",
  475 + "type": "default_DF_DO_C",
  476 + "data": {
  477 + "data": {
  478 + "appId": "C9QUrtTmcmDkvHMoOKI",
  479 + "formId": "8LGORGhdBUWHdOQ1oCM",
  480 + "multiple": true,
  481 + "dataSourceNode": "${1c2275286b184b0db2ef104ea5dcdb85|566db55f8a9640e7a2a1f8235f71f9be}",
  482 + "paramMappings": [
  483 + {
  484 + "type": "STRING",
  485 + "code": "xA6wwOW3pZSAnNFT1nH",
  486 + "title": "标题",
  487 + "opt": "SET",
  488 + "field": {
  489 + "name": "标题",
  490 + "code": "xA6wwOW3pZSAnNFT1nH",
  491 + "extract": {
  492 + "fieldType": "STRING",
  493 + "fieldKey": "title",
  494 + "widget": "qxInput",
  495 + "required": true,
  496 + "readOnly": false,
  497 + "hidden": false
  498 + }
  499 + },
  500 + "mappingValues": [
  501 + "${1c2275286b184b0db2ef104ea5dcdb85|6e1ed03530114edba90a64e7b4a54d68}"
  502 + ],
  503 + "valuesObj": [
  504 + {
  505 + "type": "FIELD",
  506 + "value": "${1c2275286b184b0db2ef104ea5dcdb85|6e1ed03530114edba90a64e7b4a54d68}"
  507 + }
  508 + ]
  509 + }
  510 + ]
  511 + },
  512 + "result": [
  513 + {
  514 + "id": "result",
  515 + "type": "FORM",
  516 + "code": "result",
  517 + "qxProps": {
  518 + "appId": "C9QUrtTmcmDkvHMoOKI",
  519 + "formId": "8LGORGhdBUWHdOQ1oCM"
  520 + },
  521 + "title": "新增表单"
  522 + },
  523 + {
  524 + "id": "size",
  525 + "type": "NUMBER",
  526 + "code": "size",
  527 + "title": "操作数量"
  528 + }
  529 + ]
  530 + },
  531 + "url": "http://localhost:8081/index.js",
  532 + "icon": "http://localhost:8081/icons/logo.svg",
  533 + "authConfig": [
  534 + {
  535 + "name": "表单对象",
  536 + "code": "app",
  537 + "tips": "配置中所有表单数据源统一成为表单对象",
  538 + "edit": false,
  539 + "hidden": false,
  540 + "readonly": true
  541 + },
  542 + {
  543 + "name": "字段设置",
  544 + "code": "paramMappings",
  545 + "edit": false,
  546 + "hidden": false,
  547 + "readonly": true
  548 + }
  549 + ],
  550 + "previousId": "1c2275286b184b0db2ef104ea5dcdb85",
  551 + "isLastConditionNode": false,
  552 + "path": [
  553 + "1"
  554 + ],
  555 + "configuring": false,
  556 + "validateStatusError": false,
  557 + "children": []
  558 + },
  559 + {
  560 + "id": "2aa7aa6e97164c449b98dccade12f118",
  561 + "name": "分支",
  562 + "type": "default_DF_BRANCH",
  563 + "icon": {
  564 + "type": {
  565 + "displayName": "Iconfont"
  566 + },
  567 + "key": null,
  568 + "ref": null,
  569 + "props": {
  570 + "type": "qx-icon-flow-condition"
  571 + },
  572 + "_owner": null,
  573 + "_store": {}
  574 + },
  575 + "iconColor": "#F77234",
  576 + "previousId": "e7c1b3c8183b4fb185c9ba6133ee5cef",
  577 + "isLastConditionNode": false,
  578 + "path": [
  579 + "2"
  580 + ],
  581 + "children": [
  582 + {
  583 + "id": "76c6649e58364a949391944f94220696",
  584 + "name": "条件",
  585 + "type": "default_DF_CONDITION",
  586 + "data": {
  587 + "data": {
  588 + "condition": {
  589 + "operators": [
  590 + {
  591 + "type": "STRING",
  592 + "code": "${e7c1b3c8183b4fb185c9ba6133ee5cef|result.xA6wwOW3pZSAnNFT1nH}",
  593 + "title": "标题",
  594 + "opt": "IS",
  595 + "field": {
  596 + "name": "标题",
  597 + "code": "e7c1b3c8183b4fb185c9ba6133ee5cef|result.xA6wwOW3pZSAnNFT1nH",
  598 + "extract": {
  599 + "fieldType": "STRING",
  600 + "fieldKey": "xA6wwOW3pZSAnNFT1nH",
  601 + "widget": "qxInput",
  602 + "required": true,
  603 + "readOnly": false,
  604 + "hidden": false
  605 + },
  606 + "icon": {
  607 + "type": "span",
  608 + "key": null,
  609 + "ref": null,
  610 + "props": {
  611 + "className": "qx-node-select-item__icon",
  612 + "children": {
  613 + "key": null,
  614 + "ref": null,
  615 + "props": {
  616 + "widgetName": "qxInput"
  617 + },
  618 + "_owner": null
  619 + }
  620 + },
  621 + "_owner": null
  622 + },
  623 + "title": "标题",
  624 + "id": "xA6wwOW3pZSAnNFT1nH",
  625 + "type": "STRING"
  626 + },
  627 + "name": "标题",
  628 + "mappingValues": [
  629 + "${e7c1b3c8183b4fb185c9ba6133ee5cef|result.xA6wwOW3pZSAnNFT1nH}"
  630 + ],
  631 + "valuesObj": [
  632 + {
  633 + "type": "FIELD",
  634 + "value": "${e7c1b3c8183b4fb185c9ba6133ee5cef|result.xA6wwOW3pZSAnNFT1nH}"
  635 + }
  636 + ]
  637 + }
  638 + ],
  639 + "enabled": true,
  640 + "expression": "",
  641 + "sqlType": "AND"
  642 + }
  643 + }
  644 + },
  645 + "icon": {
  646 + "type": {
  647 + "displayName": "Iconfont"
  648 + },
  649 + "key": null,
  650 + "ref": null,
  651 + "props": {
  652 + "type": "qx-icon-flow-condition"
  653 + },
  654 + "_owner": null,
  655 + "_store": {}
  656 + },
  657 + "iconColor": "#F77234",
  658 + "previousId": "2aa7aa6e97164c449b98dccade12f118",
  659 + "path": [
  660 + "2",
  661 + "children",
  662 + "0"
  663 + ],
  664 + "parentId": "2aa7aa6e97164c449b98dccade12f118",
  665 + "scopeId": "2aa7aa6e97164c449b98dccade12f118",
  666 + "configuring": true,
  667 + "validateStatusError": false,
  668 + "children": []
  669 + },
  670 + {
  671 + "id": "811073ac72b2498b9bbe54afb9a8ef9c",
  672 + "name": "条件",
  673 + "type": "default_DF_CONDITION",
  674 + "data": {
  675 + "data": {
  676 + "condition": {
  677 + "operators": [
  678 + {
  679 + "type": "NUMBER",
  680 + "code": "${1c2275286b184b0db2ef104ea5dcdb85|75049d4e567d4b19a1f6590ddb0c2bda}",
  681 + "title": "一级数字",
  682 + "opt": "IS",
  683 + "field": {
  684 + "id": "75049d4e567d4b19a1f6590ddb0c2bda",
  685 + "code": "1c2275286b184b0db2ef104ea5dcdb85|75049d4e567d4b19a1f6590ddb0c2bda",
  686 + "type": "NUMBER",
  687 + "title": "一级数字",
  688 + "qxProps": {},
  689 + "description": "",
  690 + "valueMapping": {
  691 + "mappingValues": []
  692 + },
  693 + "valuesObj": [],
  694 + "name": "一级数字",
  695 + "extract": {
  696 + "fieldType": "NUMBER",
  697 + "fieldKey": "75049d4e567d4b19a1f6590ddb0c2bda"
  698 + }
  699 + },
  700 + "name": "一级数字",
  701 + "mappingValues": [
  702 + "11"
  703 + ],
  704 + "valuesObj": [
  705 + {
  706 + "type": "MANUAL",
  707 + "value": "11"
  708 + }
  709 + ]
  710 + }
  711 + ],
  712 + "enabled": true
  713 + }
  714 + }
  715 + },
  716 + "icon": {
  717 + "type": {
  718 + "displayName": "Iconfont"
  719 + },
  720 + "key": null,
  721 + "ref": null,
  722 + "props": {
  723 + "type": "qx-icon-flow-condition"
  724 + },
  725 + "_owner": null,
  726 + "_store": {}
  727 + },
  728 + "iconColor": "#F77234",
  729 + "previousId": "76c6649e58364a949391944f94220696",
  730 + "isLastConditionNode": false,
  731 + "path": [
  732 + "2",
  733 + "children",
  734 + "1"
  735 + ],
  736 + "parentId": "2aa7aa6e97164c449b98dccade12f118",
  737 + "scopeId": "2aa7aa6e97164c449b98dccade12f118",
  738 + "configuring": false,
  739 + "validateStatusError": false,
  740 + "children": []
  741 + },
  742 + {
  743 + "id": "98a8cbad1ed0445cbc9f6529643dfc26",
  744 + "name": "其他",
  745 + "type": "default_DF_CONDITION",
  746 + "icon": {
  747 + "type": {
  748 + "displayName": "Iconfont"
  749 + },
  750 + "key": null,
  751 + "ref": null,
  752 + "props": {
  753 + "type": "qx-icon-flow-condition"
  754 + },
  755 + "_owner": null,
  756 + "_store": {}
  757 + },
  758 + "iconColor": "#F77234",
  759 + "previousId": "811073ac72b2498b9bbe54afb9a8ef9c",
  760 + "isLastConditionNode": true,
  761 + "path": [
  762 + "2",
  763 + "children",
  764 + "2"
  765 + ],
  766 + "parentId": "2aa7aa6e97164c449b98dccade12f118",
  767 + "scopeId": "2aa7aa6e97164c449b98dccade12f118",
  768 + "children": []
  769 + }
  770 + ]
  771 + },
  772 + {
  773 + "id": "324201a345334de99c59fe64285d6b03",
  774 + "name": "结束",
  775 + "type": "default_DF_END",
  776 + "data": {
  777 + "nodeVersion": "3.0.0",
  778 + "data": {
  779 + "result": [
  780 + {
  781 + "id": "a0931fab497648cf82f64a6e608c5473",
  782 + "code": "20npzo",
  783 + "type": "NUMBER",
  784 + "title": "数字",
  785 + "qxProps": {},
  786 + "pid": "",
  787 + "valueMapping": {
  788 + "mappingValues": [
  789 + "2222"
  790 + ]
  791 + },
  792 + "valuesObj": [
  793 + {
  794 + "type": "MANUAL",
  795 + "value": "2222"
  796 + }
  797 + ]
  798 + }
  799 + ]
  800 + },
  801 + "result": [
  802 + {
  803 + "id": "a0931fab497648cf82f64a6e608c5473",
  804 + "code": "20npzo",
  805 + "type": "NUMBER",
  806 + "title": "数字",
  807 + "qxProps": {},
  808 + "pid": "",
  809 + "valueMapping": {
  810 + "mappingValues": [
  811 + "2222"
  812 + ]
  813 + },
  814 + "valuesObj": [
  815 + {
  816 + "type": "MANUAL",
  817 + "value": "2222"
  818 + }
  819 + ]
  820 + }
  821 + ]
  822 + },
  823 + "icon": {
  824 + "type": {
  825 + "displayName": "Iconfont"
  826 + },
  827 + "key": null,
  828 + "ref": null,
  829 + "props": {
  830 + "type": "qx-icon-flow-end"
  831 + },
  832 + "_owner": null,
  833 + "_store": {}
  834 + },
  835 + "iconColor": "#7C7E86",
  836 + "previousId": "2aa7aa6e97164c449b98dccade12f118",
  837 + "path": [
  838 + "3"
  839 + ],
  840 + "configuring": false,
  841 + "validateStatusError": false,
  842 + "children": []
  843 + }
  844 +];
... ...
... ... @@ -153,8 +153,12 @@
153 153 justify-content: center;
154 154
155 155 > img {
156   - width: inherit;
157   - height: inherit;
  156 + position: relative;
  157 + top: 1.75px;
  158 + left: -30px;
  159 + filter: drop-shadow(30px 0 0 #50535d);
  160 + width: 14px !important;
  161 + height: 14px !important;
158 162 }
159 163 }
160 164
... ...