Showing
9 changed files
with
1545 additions
and
926 deletions
@@ -7,17 +7,30 @@ | @@ -7,17 +7,30 @@ | ||
7 | overflow: hidden; | 7 | overflow: hidden; |
8 | background: #fff; | 8 | background: #fff; |
9 | border-radius: 8px; | 9 | border-radius: 8px; |
10 | - box-shadow: 0 2px 16px 0 rgba(167, 169, 174, 0.4); | 10 | + box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1); |
11 | } | 11 | } |
12 | 12 | ||
13 | .ant-popover-arrow { | 13 | .ant-popover-arrow { |
14 | display: none; | 14 | display: none; |
15 | } | 15 | } |
16 | 16 | ||
17 | + .ant-popover-inner { | ||
18 | + padding: 0; | ||
19 | + } | ||
20 | + | ||
17 | .ant-popover-inner-content { | 21 | .ant-popover-inner-content { |
18 | padding: 0; | 22 | padding: 0; |
19 | overflow: auto; | 23 | overflow: auto; |
20 | } | 24 | } |
25 | + | ||
26 | + &__search { | ||
27 | + height: 36px; | ||
28 | + | ||
29 | + .ant-input-prefix { | ||
30 | + color: @N7; | ||
31 | + font-size: 16px; | ||
32 | + } | ||
33 | + } | ||
21 | } | 34 | } |
22 | 35 | ||
23 | .qx-popover-fields { | 36 | .qx-popover-fields { |
@@ -54,8 +67,8 @@ | @@ -54,8 +67,8 @@ | ||
54 | &.ant-menu-inline > .ant-menu-item, | 67 | &.ant-menu-inline > .ant-menu-item, |
55 | .ant-menu-sub.ant-menu-inline > .ant-menu-item { | 68 | .ant-menu-sub.ant-menu-inline > .ant-menu-item { |
56 | height: 32px; | 69 | height: 32px; |
57 | - margin: 1px; | ||
58 | line-height: 32px; | 70 | line-height: 32px; |
71 | + border-radius: 4px; | ||
59 | 72 | ||
60 | &:hover { | 73 | &:hover { |
61 | color: inherit; | 74 | color: inherit; |
@@ -6,7 +6,7 @@ import { useEffect, useState } from 'react'; | @@ -6,7 +6,7 @@ import { useEffect, useState } from 'react'; | ||
6 | import QxFieldItem from '../qx-field/src/item'; | 6 | import QxFieldItem from '../qx-field/src/item'; |
7 | import { useDebounceFn } from 'ahooks'; | 7 | import { useDebounceFn } from 'ahooks'; |
8 | import { isEmpty } from 'lodash-es'; | 8 | import { isEmpty } from 'lodash-es'; |
9 | -import { QxBaseIcon } from '../qx-base-icon'; | 9 | +import { QxBaseIcon } from '@qx/common'; |
10 | import './index.less'; | 10 | import './index.less'; |
11 | 11 | ||
12 | export type OptionFieldExtract = { | 12 | export type OptionFieldExtract = { |
@@ -180,15 +180,12 @@ export const QxFieldPopover: React.FC<QxFieldPopoverProp> = (props) => { | @@ -180,15 +180,12 @@ export const QxFieldPopover: React.FC<QxFieldPopoverProp> = (props) => { | ||
180 | }} | 180 | }} |
181 | > | 181 | > |
182 | <Input | 182 | <Input |
183 | + bordered={false} | ||
183 | value={keyword} | 184 | value={keyword} |
184 | - className={'qx-selector-sub-search'} | 185 | + className={'qx-fields-popover__search'} |
185 | placeholder={'搜索'} | 186 | placeholder={'搜索'} |
186 | allowClear | 187 | allowClear |
187 | prefix={<QxBaseIcon type={'icon-app-search-line'} />} | 188 | prefix={<QxBaseIcon type={'icon-app-search-line'} />} |
188 | - style={{ | ||
189 | - paddingTop: '6px', | ||
190 | - paddingLeft: '16px', | ||
191 | - }} | ||
192 | onChange={(e) => { | 189 | onChange={(e) => { |
193 | handleChange(e.target.value); | 190 | handleChange(e.target.value); |
194 | }} | 191 | }} |
@@ -210,7 +207,7 @@ export const QxFieldPopover: React.FC<QxFieldPopoverProp> = (props) => { | @@ -210,7 +207,7 @@ export const QxFieldPopover: React.FC<QxFieldPopoverProp> = (props) => { | ||
210 | mode="inline" | 207 | mode="inline" |
211 | className={'qx-fields-pop-content'} | 208 | className={'qx-fields-pop-content'} |
212 | selectedKeys={[]} | 209 | selectedKeys={[]} |
213 | - inlineIndent={16} | 210 | + inlineIndent={12} |
214 | > | 211 | > |
215 | {filterFields.map((field: any) => { | 212 | {filterFields.map((field: any) => { |
216 | if (!!field?.children?.length) { | 213 | if (!!field?.children?.length) { |
@@ -23,7 +23,7 @@ import { OrgSetter } from './components/org-setter'; | @@ -23,7 +23,7 @@ import { OrgSetter } from './components/org-setter'; | ||
23 | import { RelSetter } from './components/rel-setter'; | 23 | import { RelSetter } from './components/rel-setter'; |
24 | import { UserSetter } from './components/user-setter'; | 24 | import { UserSetter } from './components/user-setter'; |
25 | import { getSelect, getPreviewSelect } from './service'; | 25 | import { getSelect, getPreviewSelect } from './service'; |
26 | -import { QxBaseIcon } from '../qx-base-icon'; | 26 | +import { QxBaseIcon } from '@qx/common'; |
27 | import { ConditionCol, FIELD_TYPE_PROPS, FIELD_TYPE, ParamValueType } from '../qx-filter-condition/filter'; | 27 | import { ConditionCol, FIELD_TYPE_PROPS, FIELD_TYPE, ParamValueType } from '../qx-filter-condition/filter'; |
28 | import './index.less'; | 28 | import './index.less'; |
29 | 29 |
@@ -20,9 +20,18 @@ const QxFieldItem: React.FC<{ | @@ -20,9 +20,18 @@ const QxFieldItem: React.FC<{ | ||
20 | > | 20 | > |
21 | {getWidgetsIcon(props.widget)} | 21 | {getWidgetsIcon(props.widget)} |
22 | </Typography.Text> | 22 | </Typography.Text> |
23 | - | 23 | + |
24 | {props.isDisabled ? ( | 24 | {props.isDisabled ? ( |
25 | - <Typography.Text type="secondary">{props.name}</Typography.Text> | 25 | + <Tooltip placement="bottom" title={truncated ? props.name : undefined}> |
26 | + <Typography.Text | ||
27 | + type="secondary" | ||
28 | + ellipsis={{ | ||
29 | + onEllipsis: setTruncated, | ||
30 | + }} | ||
31 | + > | ||
32 | + {props.name} | ||
33 | + </Typography.Text> | ||
34 | + </Tooltip> | ||
26 | ) : ( | 35 | ) : ( |
27 | <> | 36 | <> |
28 | {props?.chartCustom ? ( | 37 | {props?.chartCustom ? ( |
1 | @import '~@qx/ui/src/style/variable.less'; | 1 | @import '~@qx/ui/src/style/variable.less'; |
2 | 2 | ||
3 | +// 条件配置标题样式 | ||
4 | +.qx-filter-condition__header { | ||
5 | + display: flex; | ||
6 | + align-items: center; | ||
7 | + justify-content: space-between; | ||
8 | + width: 100%; | ||
9 | + height: 24px; | ||
10 | + margin-bottom: 8px; | ||
11 | + | ||
12 | + .header-title-box { | ||
13 | + font-size: 14px; | ||
14 | + color: @N9; | ||
15 | + } | ||
16 | + | ||
17 | + .header-title { | ||
18 | + font-weight: 600; | ||
19 | + } | ||
20 | + | ||
21 | + .header-title__tip.anticon { | ||
22 | + font-size: 16px; | ||
23 | + width: 16px; | ||
24 | + height: 16px; | ||
25 | + color: @N6; | ||
26 | + vertical-align: -0.175em; | ||
27 | + | ||
28 | + &:hover { | ||
29 | + color: @N8; | ||
30 | + } | ||
31 | + | ||
32 | + .ant-tooltip-inner { | ||
33 | + line-height: 22px; | ||
34 | + } | ||
35 | + } | ||
36 | +} | ||
37 | + | ||
3 | .qx-filter-cont-left { | 38 | .qx-filter-cont-left { |
4 | //margin-top: 8px; | 39 | //margin-top: 8px; |
5 | //margin-bottom: 8px; | 40 | //margin-bottom: 8px; |
@@ -198,6 +233,7 @@ | @@ -198,6 +233,7 @@ | ||
198 | overflow-y: auto; | 233 | overflow-y: auto; |
199 | } | 234 | } |
200 | } | 235 | } |
236 | + | ||
201 | // 查询条件大于1个 高度去除条件组合 | 237 | // 查询条件大于1个 高度去除条件组合 |
202 | .qx-conditions-view-filter { | 238 | .qx-conditions-view-filter { |
203 | min-height: 260px; | 239 | min-height: 260px; |
@@ -214,12 +250,3 @@ | @@ -214,12 +250,3 @@ | ||
214 | min-width: calc(100% - 16px); | 250 | min-width: calc(100% - 16px); |
215 | max-width: calc(100% - 16px); | 251 | max-width: calc(100% - 16px); |
216 | } | 252 | } |
217 | - | ||
218 | -.qx-filter-condition__title { | ||
219 | - display: flex; | ||
220 | - align-items: center; | ||
221 | - justify-content: space-between; | ||
222 | - width: 100%; | ||
223 | - height: 22px; | ||
224 | - margin-bottom: 8px; | ||
225 | -} |
@@ -16,910 +16,33 @@ group: | @@ -16,910 +16,33 @@ group: | ||
16 | ```tsx | 16 | ```tsx |
17 | import React from 'react'; | 17 | import React from 'react'; |
18 | import { QxFilterCondition } from './index'; | 18 | import { QxFilterCondition } from './index'; |
19 | +import {optionsList, treeList} from './mock'; | ||
20 | +import { QxBaseIcon } from '@qx/common'; | ||
21 | +import { | ||
22 | + Tooltip, | ||
23 | +} from 'antd'; | ||
19 | 24 | ||
20 | export default () => { | 25 | export default () => { |
21 | - const fields = [ | ||
22 | - { | ||
23 | - name: '记录ID', | ||
24 | - code: 'id', | ||
25 | - extract: { | ||
26 | - fieldType: 'REL', | ||
27 | - fieldKey: 'id', | ||
28 | - widget: 'relSelector', | ||
29 | - relId: 'cjQhMZnwkO2QoVzxVPC', | ||
30 | - allowSelect: true, | ||
31 | - $base: true, | ||
32 | - }, | ||
33 | - }, | ||
34 | - { | ||
35 | - name: '地址', | ||
36 | - code: 'gDRj1ejkS76ZNAWDrKr', | ||
37 | - extract: { | ||
38 | - fieldType: 'STRING', | ||
39 | - fieldKey: 'address_dsitzk', | ||
40 | - widget: 'qxAddress', | ||
41 | - required: false, | ||
42 | - readOnly: false, | ||
43 | - hidden: false, | ||
44 | - }, | ||
45 | - }, | ||
46 | - { | ||
47 | - name: '标题', | ||
48 | - code: 'XdU29n1mEqKfvKoCZNW', | ||
49 | - extract: { | ||
50 | - fieldType: 'STRING', | ||
51 | - fieldKey: 'title', | ||
52 | - widget: 'qxInput', | ||
53 | - required: true, | ||
54 | - readOnly: false, | ||
55 | - hidden: false, | ||
56 | - }, | ||
57 | - }, | ||
58 | - { | ||
59 | - name: '数据标题', | ||
60 | - code: 'data_title', | ||
61 | - extract: { | ||
62 | - fieldType: 'STRING', | ||
63 | - fieldKey: 'data_title', | ||
64 | - widget: 'qxInput', | ||
65 | - required: false, | ||
66 | - readOnly: false, | ||
67 | - hidden: false, | ||
68 | - $base: true, | ||
69 | - $default: true, | ||
70 | - }, | ||
71 | - }, | ||
72 | - { | ||
73 | - name: '拥有人', | ||
74 | - code: 'owner_id', | ||
75 | - extract: { | ||
76 | - fieldType: 'USER', | ||
77 | - fieldKey: 'owner_id', | ||
78 | - widget: 'userSelector', | ||
79 | - required: false, | ||
80 | - readOnly: false, | ||
81 | - hidden: false, | ||
82 | - relId: 'user', | ||
83 | - $base: true, | ||
84 | - $default: true, | ||
85 | - }, | ||
86 | - }, | ||
87 | - { | ||
88 | - name: '创建人', | ||
89 | - code: 'created_by', | ||
90 | - extract: { | ||
91 | - fieldType: 'USER', | ||
92 | - fieldKey: 'created_by', | ||
93 | - widget: 'userSelector', | ||
94 | - required: false, | ||
95 | - readOnly: false, | ||
96 | - hidden: false, | ||
97 | - relId: 'user', | ||
98 | - $base: true, | ||
99 | - $default: true, | ||
100 | - }, | ||
101 | - }, | ||
102 | - { | ||
103 | - name: '更新人', | ||
104 | - code: 'updated_by', | ||
105 | - extract: { | ||
106 | - fieldType: 'USER', | ||
107 | - fieldKey: 'updated_by', | ||
108 | - widget: 'userSelector', | ||
109 | - required: false, | ||
110 | - readOnly: false, | ||
111 | - hidden: false, | ||
112 | - relId: 'user', | ||
113 | - $base: true, | ||
114 | - $default: true, | ||
115 | - }, | ||
116 | - }, | ||
117 | - { | ||
118 | - name: '创建时间', | ||
119 | - code: 'created_at', | ||
120 | - extract: { | ||
121 | - fieldType: 'YEAR_SEC', | ||
122 | - fieldKey: 'created_at', | ||
123 | - widget: 'qxDatetime', | ||
124 | - required: false, | ||
125 | - readOnly: false, | ||
126 | - hidden: false, | ||
127 | - $base: true, | ||
128 | - $default: true, | ||
129 | - }, | ||
130 | - }, | ||
131 | - { | ||
132 | - name: '更新时间', | ||
133 | - code: 'updated_at', | ||
134 | - extract: { | ||
135 | - fieldType: 'YEAR_SEC', | ||
136 | - fieldKey: 'updated_at', | ||
137 | - widget: 'qxDatetime', | ||
138 | - required: false, | ||
139 | - readOnly: false, | ||
140 | - hidden: false, | ||
141 | - $base: true, | ||
142 | - $default: true, | ||
143 | - }, | ||
144 | - }, | ||
145 | - ]; | ||
146 | - const colsTree = [ | ||
147 | - { | ||
148 | - key: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d', | ||
149 | - title: { | ||
150 | - key: null, | ||
151 | - ref: null, | ||
152 | - props: { | ||
153 | - children: [ | ||
154 | - { | ||
155 | - type: 'span', | ||
156 | - key: null, | ||
157 | - ref: null, | ||
158 | - props: { | ||
159 | - style: { | ||
160 | - color: '#999', | ||
161 | - }, | ||
162 | - children: { | ||
163 | - type: { | ||
164 | - displayName: 'Iconfont', | ||
165 | - }, | ||
166 | - key: null, | ||
167 | - ref: null, | ||
168 | - props: { | ||
169 | - type: 'icon-flow-start', | ||
170 | - }, | ||
171 | - _owner: null, | ||
172 | - _store: {}, | ||
173 | - }, | ||
174 | - }, | ||
175 | - _owner: null, | ||
176 | - _store: {}, | ||
177 | - }, | ||
178 | - ' ', | ||
179 | - '开始', | ||
180 | - ], | ||
181 | - }, | ||
182 | - _owner: null, | ||
183 | - _store: {}, | ||
184 | - }, | ||
185 | - titleStr: '开始', | ||
186 | - iconName: 'icon-flow-start', | ||
187 | - children: [ | ||
188 | - { | ||
189 | - key: '${5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d|NODE_DATA_ID}', | ||
190 | - title: { | ||
191 | - key: null, | ||
192 | - ref: null, | ||
193 | - props: { | ||
194 | - children: [ | ||
195 | - { | ||
196 | - type: 'span', | ||
197 | - key: null, | ||
198 | - ref: null, | ||
199 | - props: { | ||
200 | - style: { | ||
201 | - color: '#999', | ||
202 | - }, | ||
203 | - children: '[记录]', | ||
204 | - }, | ||
205 | - _owner: null, | ||
206 | - _store: {}, | ||
207 | - }, | ||
208 | - '记录结果', | ||
209 | - ], | ||
210 | - }, | ||
211 | - _owner: null, | ||
212 | - _store: {}, | ||
213 | - }, | ||
214 | - titleStr: '记录结果', | ||
215 | - fieldGroupType: 'FLOW_WF_RECORD', | ||
216 | - }, | ||
217 | - { | ||
218 | - key: '${5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d|id}', | ||
219 | - title: { | ||
220 | - key: null, | ||
221 | - ref: null, | ||
222 | - props: { | ||
223 | - children: [ | ||
224 | - { | ||
225 | - type: 'span', | ||
226 | - key: null, | ||
227 | - ref: null, | ||
228 | - props: { | ||
229 | - style: { | ||
230 | - color: '#999', | ||
231 | - }, | ||
232 | - children: { | ||
233 | - type: {}, | ||
234 | - key: null, | ||
235 | - ref: null, | ||
236 | - props: {}, | ||
237 | - _owner: null, | ||
238 | - _store: {}, | ||
239 | - }, | ||
240 | - }, | ||
241 | - _owner: null, | ||
242 | - _store: {}, | ||
243 | - }, | ||
244 | - ' ', | ||
245 | - '记录ID', | ||
246 | - ], | ||
247 | - }, | ||
248 | - _owner: null, | ||
249 | - _store: {}, | ||
250 | - }, | ||
251 | - completeName: '开始﹥记录ID', | ||
252 | - titleStr: '开始﹥记录ID', | ||
253 | - widget: 'relSelector', | ||
254 | - extract: { | ||
255 | - fieldType: 'REL', | ||
256 | - fieldKey: 'id', | ||
257 | - widget: 'relSelector', | ||
258 | - relId: 'WgZMQfitq8TikF03r0C', | ||
259 | - allowSelect: true, | ||
260 | - $base: true, | ||
261 | - }, | ||
262 | - fieldGroupType: 'REL', | ||
263 | - pNodeKey: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d', | ||
264 | - nodeName: '开始', | ||
265 | - nodeType: 'WF_START', | ||
266 | - params: { | ||
267 | - funCode: 'WgZMQfitq8TikF03r0C', | ||
268 | - useId: true, | ||
269 | - }, | ||
270 | - }, | ||
271 | - { | ||
272 | - key: '${5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d|GcETMjtshLU62eAD4dl}', | ||
273 | - title: { | ||
274 | - key: null, | ||
275 | - ref: null, | ||
276 | - props: { | ||
277 | - children: [ | ||
278 | - { | ||
279 | - type: 'span', | ||
280 | - key: null, | ||
281 | - ref: null, | ||
282 | - props: { | ||
283 | - style: { | ||
284 | - color: '#999', | ||
285 | - }, | ||
286 | - children: { | ||
287 | - type: {}, | ||
288 | - key: null, | ||
289 | - ref: null, | ||
290 | - props: {}, | ||
291 | - _owner: null, | ||
292 | - _store: {}, | ||
293 | - }, | ||
294 | - }, | ||
295 | - _owner: null, | ||
296 | - _store: {}, | ||
297 | - }, | ||
298 | - ' ', | ||
299 | - '标题', | ||
300 | - ], | ||
301 | - }, | ||
302 | - _owner: null, | ||
303 | - _store: {}, | ||
304 | - }, | ||
305 | - completeName: '开始﹥标题', | ||
306 | - titleStr: '开始﹥标题', | ||
307 | - widget: 'qxInput', | ||
308 | - extract: { | ||
309 | - fieldType: 'STRING', | ||
310 | - fieldKey: 'title', | ||
311 | - widget: 'qxInput', | ||
312 | - required: true, | ||
313 | - readOnly: false, | ||
314 | - hidden: false, | ||
315 | - }, | ||
316 | - fieldGroupType: 'TEXT', | ||
317 | - pNodeKey: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d', | ||
318 | - nodeName: '开始', | ||
319 | - nodeType: 'WF_START', | ||
320 | - params: { | ||
321 | - funCode: 'WgZMQfitq8TikF03r0C', | ||
322 | - useId: true, | ||
323 | - }, | ||
324 | - }, | ||
325 | - { | ||
326 | - key: '${5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d|Wn27N6jkfzUicqeMEeC}', | ||
327 | - title: { | ||
328 | - key: null, | ||
329 | - ref: null, | ||
330 | - props: { | ||
331 | - children: [ | ||
332 | - { | ||
333 | - type: 'span', | ||
334 | - key: null, | ||
335 | - ref: null, | ||
336 | - props: { | ||
337 | - style: { | ||
338 | - color: '#999', | ||
339 | - }, | ||
340 | - children: { | ||
341 | - key: null, | ||
342 | - ref: null, | ||
343 | - props: {}, | ||
344 | - _owner: null, | ||
345 | - _store: {}, | ||
346 | - }, | ||
347 | - }, | ||
348 | - _owner: null, | ||
349 | - _store: {}, | ||
350 | - }, | ||
351 | - ' ', | ||
352 | - '文本', | ||
353 | - ], | ||
354 | - }, | ||
355 | - _owner: null, | ||
356 | - _store: {}, | ||
357 | - }, | ||
358 | - completeName: '开始﹥文本', | ||
359 | - titleStr: '开始﹥文本', | ||
360 | - widget: 'qxInput', | ||
361 | - extract: { | ||
362 | - fieldType: 'STRING', | ||
363 | - fieldKey: 'input_tcjjnb', | ||
364 | - widget: 'qxInput', | ||
365 | - required: false, | ||
366 | - readOnly: true, | ||
367 | - hidden: false, | ||
368 | - }, | ||
369 | - fieldGroupType: 'TEXT', | ||
370 | - pNodeKey: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d', | ||
371 | - nodeName: '开始', | ||
372 | - nodeType: 'WF_START', | ||
373 | - params: { | ||
374 | - funCode: 'WgZMQfitq8TikF03r0C', | ||
375 | - useId: true, | ||
376 | - }, | ||
377 | - }, | ||
378 | - { | ||
379 | - key: '${5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d|rsqph0rvcZck49CTP1B}', | ||
380 | - title: { | ||
381 | - key: null, | ||
382 | - ref: null, | ||
383 | - props: { | ||
384 | - children: [ | ||
385 | - { | ||
386 | - type: 'span', | ||
387 | - key: null, | ||
388 | - ref: null, | ||
389 | - props: { | ||
390 | - style: { | ||
391 | - color: '#999', | ||
392 | - }, | ||
393 | - children: { | ||
394 | - type: { | ||
395 | - displayName: 'Iconfont', | ||
396 | - }, | ||
397 | - key: null, | ||
398 | - ref: null, | ||
399 | - props: { | ||
400 | - type: 'icon-editor_mobile', | ||
401 | - }, | ||
402 | - _owner: null, | ||
403 | - _store: {}, | ||
404 | - }, | ||
405 | - }, | ||
406 | - _owner: null, | ||
407 | - _store: {}, | ||
408 | - }, | ||
409 | - ' ', | ||
410 | - '手机', | ||
411 | - ], | ||
412 | - }, | ||
413 | - _owner: null, | ||
414 | - _store: {}, | ||
415 | - }, | ||
416 | - completeName: '开始﹥手机', | ||
417 | - titleStr: '开始﹥手机', | ||
418 | - widget: 'qxMobile', | ||
419 | - extract: { | ||
420 | - fieldType: 'STRING', | ||
421 | - fieldKey: 'mobile_sulvyl', | ||
422 | - widget: 'qxMobile', | ||
423 | - required: false, | ||
424 | - readOnly: false, | ||
425 | - hidden: false, | ||
426 | - }, | ||
427 | - fieldGroupType: 'TEXT', | ||
428 | - pNodeKey: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d', | ||
429 | - nodeName: '开始', | ||
430 | - nodeType: 'WF_START', | ||
431 | - params: { | ||
432 | - funCode: 'WgZMQfitq8TikF03r0C', | ||
433 | - useId: true, | ||
434 | - }, | ||
435 | - }, | ||
436 | - { | ||
437 | - key: '${5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d|LHZXqNjl1yYpUvZClkc}', | ||
438 | - title: { | ||
439 | - key: null, | ||
440 | - ref: null, | ||
441 | - props: { | ||
442 | - children: [ | ||
443 | - { | ||
444 | - type: 'span', | ||
445 | - key: null, | ||
446 | - ref: null, | ||
447 | - props: { | ||
448 | - style: { | ||
449 | - color: '#999', | ||
450 | - }, | ||
451 | - children: { | ||
452 | - key: null, | ||
453 | - ref: null, | ||
454 | - props: { | ||
455 | - type: 'icon-editor_email', | ||
456 | - }, | ||
457 | - _owner: null, | ||
458 | - _store: {}, | ||
459 | - }, | ||
460 | - }, | ||
461 | - _owner: null, | ||
462 | - _store: {}, | ||
463 | - }, | ||
464 | - ' ', | ||
465 | - '邮箱', | ||
466 | - ], | ||
467 | - }, | ||
468 | - _owner: null, | ||
469 | - _store: {}, | ||
470 | - }, | ||
471 | - completeName: '开始﹥邮箱', | ||
472 | - titleStr: '开始﹥邮箱', | ||
473 | - widget: 'qxEmail', | ||
474 | - extract: { | ||
475 | - fieldType: 'STRING', | ||
476 | - fieldKey: 'email_kdgfdi', | ||
477 | - widget: 'qxEmail', | ||
478 | - required: false, | ||
479 | - readOnly: false, | ||
480 | - hidden: false, | ||
481 | - }, | ||
482 | - fieldGroupType: 'TEXT', | ||
483 | - pNodeKey: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d', | ||
484 | - nodeName: '开始', | ||
485 | - nodeType: 'WF_START', | ||
486 | - params: { | ||
487 | - funCode: 'WgZMQfitq8TikF03r0C', | ||
488 | - useId: true, | ||
489 | - }, | ||
490 | - }, | ||
491 | - { | ||
492 | - key: '${5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d|c5sKuYQgaiIdutGqc58}', | ||
493 | - title: { | ||
494 | - key: null, | ||
495 | - ref: null, | ||
496 | - props: { | ||
497 | - children: [ | ||
498 | - { | ||
499 | - type: 'span', | ||
500 | - key: null, | ||
501 | - ref: null, | ||
502 | - props: { | ||
503 | - style: { | ||
504 | - color: '#999', | ||
505 | - }, | ||
506 | - children: { | ||
507 | - key: null, | ||
508 | - ref: null, | ||
509 | - props: { | ||
510 | - type: 'icon-editor_bizNo', | ||
511 | - }, | ||
512 | - _owner: null, | ||
513 | - _store: {}, | ||
514 | - }, | ||
515 | - }, | ||
516 | - _owner: null, | ||
517 | - _store: {}, | ||
518 | - }, | ||
519 | - ' ', | ||
520 | - '流水号', | ||
521 | - ], | ||
522 | - }, | ||
523 | - _owner: null, | ||
524 | - _store: {}, | ||
525 | - }, | ||
526 | - completeName: '开始﹥流水号', | ||
527 | - titleStr: '开始﹥流水号', | ||
528 | - widget: 'qxBizNo', | ||
529 | - extract: { | ||
530 | - fieldType: 'STRING', | ||
531 | - fieldKey: 'no_bdxdbw', | ||
532 | - widget: 'qxBizNo', | ||
533 | - required: false, | ||
534 | - readOnly: true, | ||
535 | - hidden: false, | ||
536 | - }, | ||
537 | - fieldGroupType: 'TEXT', | ||
538 | - pNodeKey: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d', | ||
539 | - nodeName: '开始', | ||
540 | - nodeType: 'WF_START', | ||
541 | - params: { | ||
542 | - funCode: 'WgZMQfitq8TikF03r0C', | ||
543 | - useId: true, | ||
544 | - }, | ||
545 | - }, | ||
546 | - { | ||
547 | - key: '${5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d|data_title}', | ||
548 | - title: { | ||
549 | - key: null, | ||
550 | - ref: null, | ||
551 | - props: { | ||
552 | - children: [ | ||
553 | - { | ||
554 | - type: 'span', | ||
555 | - key: null, | ||
556 | - ref: null, | ||
557 | - props: { | ||
558 | - style: { | ||
559 | - color: '#999', | ||
560 | - }, | ||
561 | - children: { | ||
562 | - key: null, | ||
563 | - ref: null, | ||
564 | - props: {}, | ||
565 | - _owner: null, | ||
566 | - _store: {}, | ||
567 | - }, | ||
568 | - }, | ||
569 | - _owner: null, | ||
570 | - _store: {}, | ||
571 | - }, | ||
572 | - ' ', | ||
573 | - '数据标题', | ||
574 | - ], | ||
575 | - }, | ||
576 | - _owner: null, | ||
577 | - _store: {}, | ||
578 | - }, | ||
579 | - completeName: '开始﹥数据标题', | ||
580 | - titleStr: '开始﹥数据标题', | ||
581 | - widget: 'qxInput', | ||
582 | - extract: { | ||
583 | - fieldType: 'STRING', | ||
584 | - fieldKey: 'data_title', | ||
585 | - widget: 'qxInput', | ||
586 | - required: false, | ||
587 | - readOnly: false, | ||
588 | - hidden: false, | ||
589 | - $base: true, | ||
590 | - $default: true, | ||
591 | - }, | ||
592 | - fieldGroupType: 'TEXT', | ||
593 | - pNodeKey: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d', | ||
594 | - nodeName: '开始', | ||
595 | - nodeType: 'WF_START', | ||
596 | - params: { | ||
597 | - funCode: 'WgZMQfitq8TikF03r0C', | ||
598 | - useId: true, | ||
599 | - }, | ||
600 | - }, | ||
601 | - { | ||
602 | - key: '${5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d|owner_id}', | ||
603 | - title: { | ||
604 | - key: null, | ||
605 | - ref: null, | ||
606 | - props: { | ||
607 | - children: [ | ||
608 | - { | ||
609 | - type: 'span', | ||
610 | - key: null, | ||
611 | - ref: null, | ||
612 | - props: { | ||
613 | - style: { | ||
614 | - color: '#999', | ||
615 | - }, | ||
616 | - children: { | ||
617 | - type: {}, | ||
618 | - key: null, | ||
619 | - ref: null, | ||
620 | - props: {}, | ||
621 | - _owner: null, | ||
622 | - _store: {}, | ||
623 | - }, | ||
624 | - }, | ||
625 | - _owner: null, | ||
626 | - _store: {}, | ||
627 | - }, | ||
628 | - ' ', | ||
629 | - '拥有人', | ||
630 | - ], | ||
631 | - }, | ||
632 | - _owner: null, | ||
633 | - _store: {}, | ||
634 | - }, | ||
635 | - completeName: '开始﹥拥有人', | ||
636 | - titleStr: '开始﹥拥有人', | ||
637 | - widget: 'userSelector', | ||
638 | - extract: { | ||
639 | - fieldType: 'USER', | ||
640 | - fieldKey: 'owner_id', | ||
641 | - widget: 'userSelector', | ||
642 | - required: false, | ||
643 | - readOnly: false, | ||
644 | - hidden: false, | ||
645 | - relId: 'user', | ||
646 | - $base: true, | ||
647 | - $default: true, | ||
648 | - }, | ||
649 | - fieldGroupType: 'USER', | ||
650 | - pNodeKey: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d', | ||
651 | - nodeName: '开始', | ||
652 | - nodeType: 'WF_START', | ||
653 | - params: { | ||
654 | - funCode: 'WgZMQfitq8TikF03r0C', | ||
655 | - useId: true, | ||
656 | - }, | ||
657 | - }, | ||
658 | - { | ||
659 | - key: '${5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d|created_by}', | ||
660 | - title: { | ||
661 | - key: null, | ||
662 | - ref: null, | ||
663 | - props: { | ||
664 | - children: [ | ||
665 | - { | ||
666 | - type: 'span', | ||
667 | - key: null, | ||
668 | - ref: null, | ||
669 | - props: { | ||
670 | - style: { | ||
671 | - color: '#999', | ||
672 | - }, | ||
673 | - children: { | ||
674 | - key: null, | ||
675 | - ref: null, | ||
676 | - props: {}, | ||
677 | - _owner: null, | ||
678 | - _store: {}, | ||
679 | - }, | ||
680 | - }, | ||
681 | - _owner: null, | ||
682 | - _store: {}, | ||
683 | - }, | ||
684 | - ' ', | ||
685 | - '创建人', | ||
686 | - ], | ||
687 | - }, | ||
688 | - _owner: null, | ||
689 | - _store: {}, | ||
690 | - }, | ||
691 | - completeName: '开始﹥创建人', | ||
692 | - titleStr: '开始﹥创建人', | ||
693 | - widget: 'userSelector', | ||
694 | - extract: { | ||
695 | - fieldType: 'USER', | ||
696 | - fieldKey: 'created_by', | ||
697 | - widget: 'userSelector', | ||
698 | - required: false, | ||
699 | - readOnly: false, | ||
700 | - hidden: false, | ||
701 | - relId: 'user', | ||
702 | - $base: true, | ||
703 | - $default: true, | ||
704 | - }, | ||
705 | - fieldGroupType: 'USER', | ||
706 | - pNodeKey: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d', | ||
707 | - nodeName: '开始', | ||
708 | - nodeType: 'WF_START', | ||
709 | - params: { | ||
710 | - funCode: 'WgZMQfitq8TikF03r0C', | ||
711 | - useId: true, | ||
712 | - }, | ||
713 | - }, | ||
714 | - { | ||
715 | - key: '${5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d|updated_by}', | ||
716 | - title: { | ||
717 | - key: null, | ||
718 | - ref: null, | ||
719 | - props: { | ||
720 | - children: [ | ||
721 | - { | ||
722 | - type: 'span', | ||
723 | - key: null, | ||
724 | - ref: null, | ||
725 | - props: { | ||
726 | - style: { | ||
727 | - color: '#999', | ||
728 | - }, | ||
729 | - children: { | ||
730 | - key: null, | ||
731 | - ref: null, | ||
732 | - props: {}, | ||
733 | - _owner: null, | ||
734 | - _store: {}, | ||
735 | - }, | ||
736 | - }, | ||
737 | - _owner: null, | ||
738 | - _store: {}, | ||
739 | - }, | ||
740 | - ' ', | ||
741 | - '更新人', | ||
742 | - ], | ||
743 | - }, | ||
744 | - _owner: null, | ||
745 | - _store: {}, | ||
746 | - }, | ||
747 | - completeName: '开始﹥更新人', | ||
748 | - titleStr: '开始﹥更新人', | ||
749 | - widget: 'userSelector', | ||
750 | - extract: { | ||
751 | - fieldType: 'USER', | ||
752 | - fieldKey: 'updated_by', | ||
753 | - widget: 'userSelector', | ||
754 | - required: false, | ||
755 | - readOnly: false, | ||
756 | - hidden: false, | ||
757 | - relId: 'user', | ||
758 | - $base: true, | ||
759 | - $default: true, | ||
760 | - }, | ||
761 | - fieldGroupType: 'USER', | ||
762 | - pNodeKey: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d', | ||
763 | - nodeName: '开始', | ||
764 | - nodeType: 'WF_START', | ||
765 | - params: { | ||
766 | - funCode: 'WgZMQfitq8TikF03r0C', | ||
767 | - useId: true, | ||
768 | - }, | ||
769 | - }, | ||
770 | - { | ||
771 | - key: '${5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d|created_at}', | ||
772 | - title: { | ||
773 | - key: null, | ||
774 | - ref: null, | ||
775 | - props: { | ||
776 | - children: [ | ||
777 | - { | ||
778 | - type: 'span', | ||
779 | - key: null, | ||
780 | - ref: null, | ||
781 | - props: { | ||
782 | - style: { | ||
783 | - color: '#999', | ||
784 | - }, | ||
785 | - children: { | ||
786 | - key: null, | ||
787 | - ref: null, | ||
788 | - props: { | ||
789 | - type: 'icon-editor_date', | ||
790 | - }, | ||
791 | - _owner: null, | ||
792 | - _store: {}, | ||
793 | - }, | ||
794 | - }, | ||
795 | - _owner: null, | ||
796 | - _store: {}, | ||
797 | - }, | ||
798 | - ' ', | ||
799 | - '创建时间', | ||
800 | - ], | ||
801 | - }, | ||
802 | - _owner: null, | ||
803 | - _store: {}, | ||
804 | - }, | ||
805 | - completeName: '开始﹥创建时间', | ||
806 | - titleStr: '开始﹥创建时间', | ||
807 | - widget: 'qxDatetime', | ||
808 | - extract: { | ||
809 | - fieldType: 'YEAR_SEC', | ||
810 | - fieldKey: 'created_at', | ||
811 | - widget: 'qxDatetime', | ||
812 | - required: false, | ||
813 | - readOnly: false, | ||
814 | - hidden: false, | ||
815 | - $base: true, | ||
816 | - $default: true, | ||
817 | - }, | ||
818 | - fieldGroupType: 'DATE', | ||
819 | - pNodeKey: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d', | ||
820 | - nodeName: '开始', | ||
821 | - nodeType: 'WF_START', | ||
822 | - params: { | ||
823 | - funCode: 'WgZMQfitq8TikF03r0C', | ||
824 | - useId: true, | ||
825 | - }, | ||
826 | - }, | ||
827 | - { | ||
828 | - key: '${5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d|updated_at}', | ||
829 | - title: { | ||
830 | - key: null, | ||
831 | - ref: null, | ||
832 | - props: { | ||
833 | - children: [ | ||
834 | - { | ||
835 | - type: 'span', | ||
836 | - key: null, | ||
837 | - ref: null, | ||
838 | - props: { | ||
839 | - style: { | ||
840 | - color: '#999', | ||
841 | - }, | ||
842 | - children: { | ||
843 | - key: null, | ||
844 | - ref: null, | ||
845 | - props: { | ||
846 | - type: 'icon-editor_date', | ||
847 | - }, | ||
848 | - _owner: null, | ||
849 | - _store: {}, | ||
850 | - }, | ||
851 | - }, | ||
852 | - _owner: null, | ||
853 | - _store: {}, | ||
854 | - }, | ||
855 | - ' ', | ||
856 | - '更新时间', | ||
857 | - ], | ||
858 | - }, | ||
859 | - _owner: null, | ||
860 | - _store: {}, | ||
861 | - }, | ||
862 | - completeName: '开始﹥更新时间', | ||
863 | - titleStr: '开始﹥更新时间', | ||
864 | - widget: 'qxDatetime', | ||
865 | - extract: { | ||
866 | - fieldType: 'YEAR_SEC', | ||
867 | - fieldKey: 'updated_at', | ||
868 | - widget: 'qxDatetime', | ||
869 | - required: false, | ||
870 | - readOnly: false, | ||
871 | - hidden: false, | ||
872 | - $base: true, | ||
873 | - $default: true, | ||
874 | - }, | ||
875 | - fieldGroupType: 'DATE', | ||
876 | - pNodeKey: '5dec2f28-8dd1-48be-a14d-e7c4e3cdb89d', | ||
877 | - nodeName: '开始', | ||
878 | - nodeType: 'WF_START', | ||
879 | - params: { | ||
880 | - funCode: 'WgZMQfitq8TikF03r0C', | ||
881 | - useId: true, | ||
882 | - }, | ||
883 | - }, | ||
884 | - ], | ||
885 | - selectable: false, | ||
886 | - nodeType: 'WF_START', | ||
887 | - }, | ||
888 | - { | ||
889 | - key: 'QX16oHgEs2pMQFZbPXuBm-fe9866d1-48d6-4258-9856-67f3258f5659', | ||
890 | - title: { | ||
891 | - key: null, | ||
892 | - ref: null, | ||
893 | - props: { | ||
894 | - children: [ | ||
895 | - { | ||
896 | - type: {}, | ||
897 | - key: null, | ||
898 | - ref: null, | ||
899 | - props: {}, | ||
900 | - _owner: null, | ||
901 | - _store: {}, | ||
902 | - }, | ||
903 | - ' 本流程参数', | ||
904 | - ], | ||
905 | - }, | ||
906 | - _owner: null, | ||
907 | - _store: {}, | ||
908 | - }, | ||
909 | - titleStr: '本流程参数', | ||
910 | - children: [], | ||
911 | - selectable: false, | ||
912 | - }, | ||
913 | - ]; | 26 | + const titleDom = <div className={'header-title-box'}> |
27 | + <span className={'header-title'}>条件标题 </span> | ||
28 | + <Tooltip | ||
29 | + placement="top" | ||
30 | + title={'条件表达式支持1个到20个之内的条件,您可以通过条件表达式来组合出复杂的逻辑关系。'} | ||
31 | + getPopupContainer={(triggerNode) => triggerNode} | ||
32 | + > | ||
33 | + <QxBaseIcon className={'header-title__tip'} type={'qx-icon-info-circle-fill'} /> | ||
34 | + </Tooltip> | ||
35 | + </div>; | ||
914 | return ( | 36 | return ( |
915 | - <div style={{ width: 450 }}> | 37 | + <div style={{ width: 475, padding: 24 }}> |
916 | <QxFilterCondition | 38 | <QxFilterCondition |
917 | - colsTree={colsTree} | 39 | + titleDom={titleDom} |
40 | + colsTree={treeList} | ||
918 | hideCurrentOrg={true} | 41 | hideCurrentOrg={true} |
919 | hideCurrentUser={true} | 42 | hideCurrentUser={true} |
920 | isMixValue={false} | 43 | isMixValue={false} |
921 | onChange={() => {}} | 44 | onChange={() => {}} |
922 | - tableFields={fields} | 45 | + tableFields={optionsList} |
923 | params={{ funCoded: 'cjQhMZnwkO2QoVzxVPC', useId: true }} | 46 | params={{ funCoded: 'cjQhMZnwkO2QoVzxVPC', useId: true }} |
924 | value={{ count: 1 }} | 47 | value={{ count: 1 }} |
925 | /> | 48 | /> |
@@ -2,8 +2,8 @@ import React, { useEffect, useState } from 'react'; | @@ -2,8 +2,8 @@ import React, { useEffect, useState } from 'react'; | ||
2 | import type { ColsTreeProps } from '../qx-field-setter'; | 2 | import type { ColsTreeProps } from '../qx-field-setter'; |
3 | import { FieldSetter } from '../qx-field-setter'; | 3 | import { FieldSetter } from '../qx-field-setter'; |
4 | import { QxFieldPopover } from '../qx-field-popover'; | 4 | import { QxFieldPopover } from '../qx-field-popover'; |
5 | -import { QxBaseIcon } from '../qx-base-icon'; | ||
6 | -import { DownOutlined, FunctionOutlined, PlusOutlined } from '@ant-design/icons'; | 5 | +import { QxBaseIcon } from '@qx/common'; |
6 | +import { DownOutlined, FunctionOutlined } from '@ant-design/icons'; | ||
7 | import { | 7 | import { |
8 | Button, | 8 | Button, |
9 | Col, | 9 | Col, |
@@ -33,6 +33,7 @@ import type { | @@ -33,6 +33,7 @@ import type { | ||
33 | OptionFieldExtract, | 33 | OptionFieldExtract, |
34 | OperatorProps, | 34 | OperatorProps, |
35 | } from './filter'; | 35 | } from './filter'; |
36 | + | ||
36 | import './index.less'; | 37 | import './index.less'; |
37 | 38 | ||
38 | const { TextArea } = Input; | 39 | const { TextArea } = Input; |
@@ -619,12 +620,12 @@ export const QxFilterCondition: React.FC<paramFilterConditionProps> = ({ | @@ -619,12 +620,12 @@ export const QxFilterCondition: React.FC<paramFilterConditionProps> = ({ | ||
619 | 620 | ||
620 | return ( | 621 | return ( |
621 | <> | 622 | <> |
622 | - <Space className={'qx-filter-condition__title'}> | 623 | + <div className={'qx-filter-condition__header'}> |
623 | {props?.titleDom || <span> </span>} | 624 | {props?.titleDom || <span> </span>} |
624 | {Boolean(isUseValOption) ? ( | 625 | {Boolean(isUseValOption) ? ( |
625 | <div style={{position: 'relative'}}> | 626 | <div style={{position: 'relative'}}> |
626 | - <Button type={'link'} onClick={() => setTreeSelectShow(!treeSelectShow)}> | ||
627 | - <PlusOutlined/> | 627 | + <Button size="small" type={'link'} onClick={() => setTreeSelectShow(!treeSelectShow)}> |
628 | + <QxBaseIcon style={{fontSize: 16}} type={'qx-icon-plus'} /> | ||
628 | 添加条件 | 629 | 添加条件 |
629 | </Button> | 630 | </Button> |
630 | <TreeSelect | 631 | <TreeSelect |
@@ -700,13 +701,13 @@ export const QxFilterCondition: React.FC<paramFilterConditionProps> = ({ | @@ -700,13 +701,13 @@ export const QxFilterCondition: React.FC<paramFilterConditionProps> = ({ | ||
700 | onSelect={(field) => onAddCondition(field.code)} | 701 | onSelect={(field) => onAddCondition(field.code)} |
701 | trigger={'click'} | 702 | trigger={'click'} |
702 | > | 703 | > |
703 | - <Button type={'link'}> | ||
704 | - <PlusOutlined/> | 704 | + <Button size="small" type={'link'}> |
705 | + <QxBaseIcon style={{fontSize: 16}} type={'qx-icon-plus'} /> | ||
705 | 添加条件 | 706 | 添加条件 |
706 | </Button> | 707 | </Button> |
707 | </QxFieldPopover> | 708 | </QxFieldPopover> |
708 | )} | 709 | )} |
709 | - </Space> | 710 | + </div> |
710 | <div | 711 | <div |
711 | className={`qx-conditions ${ | 712 | className={`qx-conditions ${ |
712 | size(paramMappings || []) > 1 | 713 | size(paramMappings || []) > 1 |
src/qx-filter-condition/mock.ts
0 → 100644
1 | +export const optionsList = [ | ||
2 | + { | ||
3 | + "name": "记录ID", | ||
4 | + "code": "id", | ||
5 | + "extract": { | ||
6 | + "fieldType": "REL", | ||
7 | + "fieldKey": "id", | ||
8 | + "widget": "relSelector", | ||
9 | + "relId": "EsDhRXIo0OVRQol54PR", | ||
10 | + "allowSelect": true, | ||
11 | + "$base": true | ||
12 | + } | ||
13 | + }, | ||
14 | + { | ||
15 | + "name": "标题", | ||
16 | + "code": "title", | ||
17 | + "extract": { | ||
18 | + "fieldType": "STRING", | ||
19 | + "fieldKey": "title", | ||
20 | + "widget": "qxInput", | ||
21 | + "required": true, | ||
22 | + "readOnly": false, | ||
23 | + "hidden": false | ||
24 | + } | ||
25 | + }, | ||
26 | + { | ||
27 | + "name": "简单统计1单标签", | ||
28 | + "code": "rel_bxxukj", | ||
29 | + "extract": { | ||
30 | + "fieldType": "REL", | ||
31 | + "fieldKey": "rel_bxxukj", | ||
32 | + "widget": "relSelector", | ||
33 | + "required": false, | ||
34 | + "readOnly": false, | ||
35 | + "hidden": false, | ||
36 | + "relId": "ydJhLCYFDfR9u9RZWD6", | ||
37 | + "allowSelect": true, | ||
38 | + "allowAdd": true, | ||
39 | + "enableEdit": false, | ||
40 | + "relAppCode": "cjzza", | ||
41 | + "relFunCode": "hcxsd" | ||
42 | + } | ||
43 | + }, | ||
44 | + { | ||
45 | + "name": "简单统计1多标签", | ||
46 | + "code": "relSelector_hjktkq", | ||
47 | + "extract": { | ||
48 | + "fieldType": "REL_MULTI", | ||
49 | + "fieldKey": "relSelector_hjktkq", | ||
50 | + "widget": "relSelector", | ||
51 | + "required": false, | ||
52 | + "readOnly": false, | ||
53 | + "hidden": false, | ||
54 | + "relId": "ydJhLCYFDfR9u9RZWD6", | ||
55 | + "allowSelect": true, | ||
56 | + "allowAdd": true, | ||
57 | + "enableEdit": false, | ||
58 | + "relAppCode": "cjzza", | ||
59 | + "relFunCode": "hcxsd" | ||
60 | + } | ||
61 | + }, | ||
62 | + { | ||
63 | + "name": "简单统计1多表格", | ||
64 | + "code": "relSelector_hzaqtp", | ||
65 | + "extract": { | ||
66 | + "fieldType": "REL_MULTI", | ||
67 | + "fieldKey": "relSelector_hzaqtp", | ||
68 | + "widget": "relSelector", | ||
69 | + "required": false, | ||
70 | + "readOnly": false, | ||
71 | + "hidden": false, | ||
72 | + "relId": "ydJhLCYFDfR9u9RZWD6", | ||
73 | + "allowSelect": true, | ||
74 | + "allowAdd": true, | ||
75 | + "enableEdit": false, | ||
76 | + "relAppCode": "cjzza", | ||
77 | + "relFunCode": "hcxsd" | ||
78 | + } | ||
79 | + }, | ||
80 | + { | ||
81 | + "name": "描述", | ||
82 | + "code": "description", | ||
83 | + "extract": { | ||
84 | + "fieldType": "TEXT", | ||
85 | + "fieldKey": "description", | ||
86 | + "widget": "qxInput", | ||
87 | + "required": false, | ||
88 | + "readOnly": false, | ||
89 | + "hidden": false | ||
90 | + } | ||
91 | + }, | ||
92 | + { | ||
93 | + "name": "图片", | ||
94 | + "code": "img_vslcgc", | ||
95 | + "extract": { | ||
96 | + "fieldType": "FILE", | ||
97 | + "fieldKey": "img_vslcgc", | ||
98 | + "widget": "qxUploadImage", | ||
99 | + "required": false, | ||
100 | + "readOnly": false, | ||
101 | + "hidden": false | ||
102 | + } | ||
103 | + }, | ||
104 | + { | ||
105 | + "name": "数值", | ||
106 | + "code": "num_cagoif", | ||
107 | + "extract": { | ||
108 | + "fieldType": "DOUBLE", | ||
109 | + "fieldKey": "num_cagoif", | ||
110 | + "widget": "qxNumber", | ||
111 | + "required": false, | ||
112 | + "readOnly": false, | ||
113 | + "hidden": false | ||
114 | + } | ||
115 | + }, | ||
116 | + { | ||
117 | + "name": "文本", | ||
118 | + "code": "input_fkjlvi", | ||
119 | + "extract": { | ||
120 | + "fieldType": "STRING", | ||
121 | + "fieldKey": "input_fkjlvi", | ||
122 | + "widget": "qxInput", | ||
123 | + "required": false, | ||
124 | + "readOnly": false, | ||
125 | + "hidden": false | ||
126 | + } | ||
127 | + }, | ||
128 | + { | ||
129 | + "name": "日期", | ||
130 | + "code": "date_uvpapz", | ||
131 | + "extract": { | ||
132 | + "fieldType": "YEAR_SEC", | ||
133 | + "fieldKey": "date_uvpapz", | ||
134 | + "widget": "qxDatetime", | ||
135 | + "required": false, | ||
136 | + "readOnly": false, | ||
137 | + "hidden": false | ||
138 | + } | ||
139 | + }, | ||
140 | + { | ||
141 | + "name": "时间", | ||
142 | + "code": "time_awxdij", | ||
143 | + "extract": { | ||
144 | + "fieldType": "HOUR_MIN", | ||
145 | + "fieldKey": "time_awxdij", | ||
146 | + "widget": "qxTime", | ||
147 | + "required": false, | ||
148 | + "readOnly": false, | ||
149 | + "hidden": false | ||
150 | + } | ||
151 | + }, | ||
152 | + { | ||
153 | + "name": "开关", | ||
154 | + "code": "switch_qhiokh", | ||
155 | + "extract": { | ||
156 | + "fieldType": "BOOL", | ||
157 | + "fieldKey": "switch_qhiokh", | ||
158 | + "widget": "qxSwitch", | ||
159 | + "required": false, | ||
160 | + "readOnly": false, | ||
161 | + "hidden": false | ||
162 | + } | ||
163 | + }, | ||
164 | + { | ||
165 | + "name": "多选", | ||
166 | + "code": "select_m_sahhgm", | ||
167 | + "extract": { | ||
168 | + "fieldType": "ENUM_MULTI", | ||
169 | + "fieldKey": "select_m_sahhgm", | ||
170 | + "widget": "qxMultiSelect", | ||
171 | + "required": false, | ||
172 | + "readOnly": false, | ||
173 | + "hidden": false | ||
174 | + } | ||
175 | + }, | ||
176 | + { | ||
177 | + "name": "单选", | ||
178 | + "code": "select_ytsdsm", | ||
179 | + "extract": { | ||
180 | + "fieldType": "ENUM", | ||
181 | + "fieldKey": "select_ytsdsm", | ||
182 | + "widget": "qxSelect", | ||
183 | + "required": false, | ||
184 | + "readOnly": false, | ||
185 | + "hidden": false | ||
186 | + } | ||
187 | + }, | ||
188 | + { | ||
189 | + "name": "金额", | ||
190 | + "code": "money_iiixgq", | ||
191 | + "extract": { | ||
192 | + "fieldType": "DECIMAL", | ||
193 | + "fieldKey": "money_iiixgq", | ||
194 | + "widget": "qxMoney", | ||
195 | + "required": false, | ||
196 | + "readOnly": false, | ||
197 | + "hidden": false | ||
198 | + } | ||
199 | + }, | ||
200 | + { | ||
201 | + "name": "百分数", | ||
202 | + "code": "percent_phlubg", | ||
203 | + "extract": { | ||
204 | + "fieldType": "PERCENT", | ||
205 | + "fieldKey": "percent_phlubg", | ||
206 | + "widget": "qxPercent", | ||
207 | + "required": false, | ||
208 | + "readOnly": false, | ||
209 | + "hidden": false | ||
210 | + } | ||
211 | + }, | ||
212 | + { | ||
213 | + "name": "邮箱", | ||
214 | + "code": "email_ioccbo", | ||
215 | + "extract": { | ||
216 | + "fieldType": "STRING", | ||
217 | + "fieldKey": "email_ioccbo", | ||
218 | + "widget": "qxEmail", | ||
219 | + "required": false, | ||
220 | + "readOnly": false, | ||
221 | + "hidden": false | ||
222 | + } | ||
223 | + }, | ||
224 | + { | ||
225 | + "name": "手机", | ||
226 | + "code": "mobile_khosix", | ||
227 | + "extract": { | ||
228 | + "fieldType": "STRING", | ||
229 | + "fieldKey": "mobile_khosix", | ||
230 | + "widget": "qxMobile", | ||
231 | + "required": false, | ||
232 | + "readOnly": false, | ||
233 | + "hidden": false | ||
234 | + } | ||
235 | + }, | ||
236 | + { | ||
237 | + "name": "地址", | ||
238 | + "code": "address_tppevj", | ||
239 | + "extract": { | ||
240 | + "fieldType": "STRING", | ||
241 | + "fieldKey": "address_tppevj", | ||
242 | + "widget": "qxAddress", | ||
243 | + "required": false, | ||
244 | + "readOnly": false, | ||
245 | + "hidden": false | ||
246 | + } | ||
247 | + }, | ||
248 | + { | ||
249 | + "name": "附件", | ||
250 | + "code": "file_giiptw", | ||
251 | + "extract": { | ||
252 | + "fieldType": "FILE", | ||
253 | + "fieldKey": "file_giiptw", | ||
254 | + "widget": "qxUpload", | ||
255 | + "required": false, | ||
256 | + "readOnly": false, | ||
257 | + "hidden": false | ||
258 | + } | ||
259 | + }, | ||
260 | + { | ||
261 | + "name": "富文本", | ||
262 | + "code": "rich_uzyiau", | ||
263 | + "extract": { | ||
264 | + "fieldType": "TEXT", | ||
265 | + "fieldKey": "rich_uzyiau", | ||
266 | + "widget": "qxRichText", | ||
267 | + "required": false, | ||
268 | + "readOnly": false, | ||
269 | + "hidden": false | ||
270 | + } | ||
271 | + }, | ||
272 | + { | ||
273 | + "name": "选人员", | ||
274 | + "code": "user_wdeiip", | ||
275 | + "extract": { | ||
276 | + "fieldType": "USER", | ||
277 | + "fieldKey": "user_wdeiip", | ||
278 | + "widget": "userSelector", | ||
279 | + "required": false, | ||
280 | + "readOnly": false, | ||
281 | + "hidden": false, | ||
282 | + "relId": "user" | ||
283 | + } | ||
284 | + }, | ||
285 | + { | ||
286 | + "name": "选部门", | ||
287 | + "code": "org_mayygw", | ||
288 | + "extract": { | ||
289 | + "fieldType": "ORG", | ||
290 | + "fieldKey": "org_mayygw", | ||
291 | + "widget": "orgSelector", | ||
292 | + "required": false, | ||
293 | + "readOnly": false, | ||
294 | + "hidden": false, | ||
295 | + "relId": "org" | ||
296 | + } | ||
297 | + }, | ||
298 | + { | ||
299 | + "name": "选人员-多", | ||
300 | + "code": "userSelector_vieygh", | ||
301 | + "extract": { | ||
302 | + "fieldType": "USER_MULTI", | ||
303 | + "fieldKey": "userSelector_vieygh", | ||
304 | + "widget": "userSelector", | ||
305 | + "required": false, | ||
306 | + "readOnly": false, | ||
307 | + "hidden": false, | ||
308 | + "relId": "user" | ||
309 | + } | ||
310 | + }, | ||
311 | + { | ||
312 | + "name": "选部门-多", | ||
313 | + "code": "orgSelector_zqgyfg", | ||
314 | + "extract": { | ||
315 | + "fieldType": "ORG_MULTI", | ||
316 | + "fieldKey": "orgSelector_zqgyfg", | ||
317 | + "widget": "orgSelector", | ||
318 | + "required": false, | ||
319 | + "readOnly": false, | ||
320 | + "hidden": false, | ||
321 | + "relId": "org" | ||
322 | + } | ||
323 | + }, | ||
324 | + { | ||
325 | + "name": "创建人", | ||
326 | + "code": "created_by", | ||
327 | + "extract": { | ||
328 | + "fieldType": "USER", | ||
329 | + "fieldKey": "created_by", | ||
330 | + "widget": "userSelector", | ||
331 | + "required": false, | ||
332 | + "readOnly": false, | ||
333 | + "hidden": false, | ||
334 | + "relId": "user", | ||
335 | + "$base": true | ||
336 | + } | ||
337 | + }, | ||
338 | + { | ||
339 | + "name": "创建时间", | ||
340 | + "code": "created_at2222", | ||
341 | + "extract": { | ||
342 | + "fieldType": "STRING", | ||
343 | + "fieldKey": "created_at2222", | ||
344 | + "widget": "createdAt", | ||
345 | + "required": false, | ||
346 | + "readOnly": false, | ||
347 | + "hidden": false | ||
348 | + } | ||
349 | + }, | ||
350 | + { | ||
351 | + "name": "更新人", | ||
352 | + "code": "updated_by", | ||
353 | + "extract": { | ||
354 | + "fieldType": "USER", | ||
355 | + "fieldKey": "updated_by", | ||
356 | + "widget": "userSelector", | ||
357 | + "required": false, | ||
358 | + "readOnly": false, | ||
359 | + "hidden": false, | ||
360 | + "relId": "user", | ||
361 | + "$base": true | ||
362 | + } | ||
363 | + }, | ||
364 | + { | ||
365 | + "name": "更新时间", | ||
366 | + "code": "updated_at", | ||
367 | + "extract": { | ||
368 | + "fieldType": "YEAR_SEC", | ||
369 | + "fieldKey": "updated_at", | ||
370 | + "widget": "qxDatetime", | ||
371 | + "required": false, | ||
372 | + "readOnly": false, | ||
373 | + "hidden": false, | ||
374 | + "$base": true | ||
375 | + } | ||
376 | + }, | ||
377 | + { | ||
378 | + "name": "公式", | ||
379 | + "code": "fx_jdfqnd", | ||
380 | + "extract": { | ||
381 | + "fieldType": "FORMULA", | ||
382 | + "fieldKey": "fx_jdfqnd", | ||
383 | + "widget": "qxFormula", | ||
384 | + "required": false, | ||
385 | + "readOnly": false, | ||
386 | + "hidden": false | ||
387 | + } | ||
388 | + }, | ||
389 | + { | ||
390 | + "name": "流水号", | ||
391 | + "code": "no_ilgtbb", | ||
392 | + "extract": { | ||
393 | + "fieldType": "STRING", | ||
394 | + "fieldKey": "no_ilgtbb", | ||
395 | + "widget": "qxBizNo", | ||
396 | + "required": false, | ||
397 | + "readOnly": true, | ||
398 | + "hidden": false | ||
399 | + } | ||
400 | + }, | ||
401 | + { | ||
402 | + "name": "树形关联", | ||
403 | + "code": "p_id", | ||
404 | + "extract": { | ||
405 | + "fieldType": "TREE", | ||
406 | + "fieldKey": "p_id", | ||
407 | + "widget": "qxTree", | ||
408 | + "required": true, | ||
409 | + "readOnly": false, | ||
410 | + "hidden": false, | ||
411 | + "relId": "EsDhRXIo0OVRQol54PR" | ||
412 | + } | ||
413 | + }, | ||
414 | + { | ||
415 | + "name": "子表", | ||
416 | + "code": "sub_zyycui", | ||
417 | + "extract": { | ||
418 | + "fieldType": "TABLE", | ||
419 | + "fieldKey": "sub_zyycui", | ||
420 | + "widget": "subform", | ||
421 | + "required": false, | ||
422 | + "readOnly": false, | ||
423 | + "hidden": false, | ||
424 | + "relId": "oJHol3pBmfwKd6SULhX" | ||
425 | + } | ||
426 | + }, | ||
427 | + { | ||
428 | + "name": "关联记录-简单统计2", | ||
429 | + "code": "rel_xaxqec", | ||
430 | + "extract": { | ||
431 | + "fieldType": "REL_MULTI", | ||
432 | + "fieldKey": "rel_xaxqec", | ||
433 | + "widget": "relSelector", | ||
434 | + "required": false, | ||
435 | + "readOnly": false, | ||
436 | + "hidden": false, | ||
437 | + "relId": "olfkD8dExv49R0FAiIW", | ||
438 | + "allowSelect": true, | ||
439 | + "allowAdd": true, | ||
440 | + "enableEdit": false, | ||
441 | + "relAppCode": "cjzza", | ||
442 | + "relFunCode": "hkzf8" | ||
443 | + } | ||
444 | + }, | ||
445 | + { | ||
446 | + "name": "关联1-1", | ||
447 | + "code": "rel_ulqhzt", | ||
448 | + "extract": { | ||
449 | + "fieldType": "REL_MULTI", | ||
450 | + "fieldKey": "rel_ulqhzt", | ||
451 | + "widget": "relSelector", | ||
452 | + "required": false, | ||
453 | + "readOnly": false, | ||
454 | + "hidden": false, | ||
455 | + "relId": "pJMTmcXEH9Dq9mnq6wV", | ||
456 | + "allowSelect": true, | ||
457 | + "allowAdd": true, | ||
458 | + "enableEdit": false, | ||
459 | + "relAppCode": "cjzza", | ||
460 | + "relFunCode": "8xcmq" | ||
461 | + } | ||
462 | + }, | ||
463 | + { | ||
464 | + "name": "关联1", | ||
465 | + "code": "rel_nofdmy", | ||
466 | + "extract": { | ||
467 | + "fieldType": "REL_MULTI", | ||
468 | + "fieldKey": "rel_nofdmy", | ||
469 | + "widget": "relSelector", | ||
470 | + "required": false, | ||
471 | + "readOnly": false, | ||
472 | + "hidden": false, | ||
473 | + "relId": "duvtdNb0dbuBaDceWav", | ||
474 | + "allowSelect": true, | ||
475 | + "allowAdd": true, | ||
476 | + "enableEdit": false, | ||
477 | + "relAppCode": "cjzza", | ||
478 | + "relFunCode": "hi76x" | ||
479 | + } | ||
480 | + }, | ||
481 | + { | ||
482 | + "name": "数据标题", | ||
483 | + "code": "data_title", | ||
484 | + "extract": { | ||
485 | + "fieldType": "STRING", | ||
486 | + "fieldKey": "data_title", | ||
487 | + "widget": "qxInput", | ||
488 | + "required": false, | ||
489 | + "readOnly": false, | ||
490 | + "hidden": false, | ||
491 | + "$base": true, | ||
492 | + "$default": true | ||
493 | + } | ||
494 | + }, | ||
495 | + { | ||
496 | + "name": "拥有人", | ||
497 | + "code": "owner_id", | ||
498 | + "extract": { | ||
499 | + "fieldType": "USER", | ||
500 | + "fieldKey": "owner_id", | ||
501 | + "widget": "userSelector", | ||
502 | + "required": false, | ||
503 | + "readOnly": false, | ||
504 | + "hidden": false, | ||
505 | + "relId": "user", | ||
506 | + "$base": true, | ||
507 | + "$default": true | ||
508 | + } | ||
509 | + }, | ||
510 | + { | ||
511 | + "name": "创建时间", | ||
512 | + "code": "created_at", | ||
513 | + "extract": { | ||
514 | + "fieldType": "YEAR_SEC", | ||
515 | + "fieldKey": "created_at", | ||
516 | + "widget": "qxDatetime", | ||
517 | + "required": false, | ||
518 | + "readOnly": false, | ||
519 | + "hidden": false, | ||
520 | + "$base": true, | ||
521 | + "$default": true | ||
522 | + } | ||
523 | + } | ||
524 | +]; | ||
525 | + | ||
526 | +export const treeList = [ | ||
527 | + { | ||
528 | + "key": "id", | ||
529 | + "code": "id", | ||
530 | + "filedName": "id", | ||
531 | + "name": "记录ID", | ||
532 | + "extract": { | ||
533 | + "fieldType": "REL", | ||
534 | + "fieldKey": "id", | ||
535 | + "widget": "relSelector", | ||
536 | + "relId": "EsDhRXIo0OVRQol54PR", | ||
537 | + "allowSelect": true, | ||
538 | + "$base": true | ||
539 | + }, | ||
540 | + "fieldType": "REL", | ||
541 | + "title": { | ||
542 | + "key": null, | ||
543 | + "ref": null, | ||
544 | + "props": { | ||
545 | + "widget": "relSelector", | ||
546 | + "name": "记录ID" | ||
547 | + }, | ||
548 | + "_owner": null | ||
549 | + }, | ||
550 | + "fieldGroupType": "REL" | ||
551 | + }, | ||
552 | + { | ||
553 | + "key": "title", | ||
554 | + "code": "title", | ||
555 | + "filedName": "title", | ||
556 | + "name": "标题", | ||
557 | + "extract": { | ||
558 | + "fieldType": "STRING", | ||
559 | + "fieldKey": "title", | ||
560 | + "widget": "qxInput", | ||
561 | + "required": true, | ||
562 | + "readOnly": false, | ||
563 | + "hidden": false | ||
564 | + }, | ||
565 | + "fieldType": "STRING", | ||
566 | + "title": { | ||
567 | + "key": null, | ||
568 | + "ref": null, | ||
569 | + "props": { | ||
570 | + "widget": "qxInput", | ||
571 | + "name": "标题" | ||
572 | + }, | ||
573 | + "_owner": null | ||
574 | + }, | ||
575 | + "fieldGroupType": "TEXT" | ||
576 | + }, | ||
577 | + { | ||
578 | + "key": "rel_bxxukj", | ||
579 | + "code": "rel_bxxukj", | ||
580 | + "filedName": "rel_bxxukj", | ||
581 | + "name": "简单统计1单标签", | ||
582 | + "extract": { | ||
583 | + "fieldType": "REL", | ||
584 | + "fieldKey": "rel_bxxukj", | ||
585 | + "widget": "relSelector", | ||
586 | + "required": false, | ||
587 | + "readOnly": false, | ||
588 | + "hidden": false, | ||
589 | + "relId": "ydJhLCYFDfR9u9RZWD6", | ||
590 | + "allowSelect": true, | ||
591 | + "allowAdd": true, | ||
592 | + "enableEdit": false, | ||
593 | + "relAppCode": "cjzza", | ||
594 | + "relFunCode": "hcxsd" | ||
595 | + }, | ||
596 | + "fieldType": "REL", | ||
597 | + "title": { | ||
598 | + "key": null, | ||
599 | + "ref": null, | ||
600 | + "props": { | ||
601 | + "widget": "relSelector", | ||
602 | + "name": "简单统计1单标签" | ||
603 | + }, | ||
604 | + "_owner": null | ||
605 | + }, | ||
606 | + "fieldGroupType": "REL" | ||
607 | + }, | ||
608 | + { | ||
609 | + "key": "relSelector_hjktkq", | ||
610 | + "code": "relSelector_hjktkq", | ||
611 | + "filedName": "relSelector_hjktkq", | ||
612 | + "name": "简单统计1多标签", | ||
613 | + "extract": { | ||
614 | + "fieldType": "REL_MULTI", | ||
615 | + "fieldKey": "relSelector_hjktkq", | ||
616 | + "widget": "relSelector", | ||
617 | + "required": false, | ||
618 | + "readOnly": false, | ||
619 | + "hidden": false, | ||
620 | + "relId": "ydJhLCYFDfR9u9RZWD6", | ||
621 | + "allowSelect": true, | ||
622 | + "allowAdd": true, | ||
623 | + "enableEdit": false, | ||
624 | + "relAppCode": "cjzza", | ||
625 | + "relFunCode": "hcxsd" | ||
626 | + }, | ||
627 | + "fieldType": "REL_MULTI", | ||
628 | + "title": { | ||
629 | + "key": null, | ||
630 | + "ref": null, | ||
631 | + "props": { | ||
632 | + "widget": "relSelector", | ||
633 | + "name": "简单统计1多标签" | ||
634 | + }, | ||
635 | + "_owner": null | ||
636 | + }, | ||
637 | + "fieldGroupType": "REL_MULTI" | ||
638 | + }, | ||
639 | + { | ||
640 | + "key": "relSelector_hzaqtp", | ||
641 | + "code": "relSelector_hzaqtp", | ||
642 | + "filedName": "relSelector_hzaqtp", | ||
643 | + "name": "简单统计1多表格", | ||
644 | + "extract": { | ||
645 | + "fieldType": "REL_MULTI", | ||
646 | + "fieldKey": "relSelector_hzaqtp", | ||
647 | + "widget": "relSelector", | ||
648 | + "required": false, | ||
649 | + "readOnly": false, | ||
650 | + "hidden": false, | ||
651 | + "relId": "ydJhLCYFDfR9u9RZWD6", | ||
652 | + "allowSelect": true, | ||
653 | + "allowAdd": true, | ||
654 | + "enableEdit": false, | ||
655 | + "relAppCode": "cjzza", | ||
656 | + "relFunCode": "hcxsd" | ||
657 | + }, | ||
658 | + "fieldType": "REL_MULTI", | ||
659 | + "title": { | ||
660 | + "key": null, | ||
661 | + "ref": null, | ||
662 | + "props": { | ||
663 | + "widget": "relSelector", | ||
664 | + "name": "简单统计1多表格" | ||
665 | + }, | ||
666 | + "_owner": null | ||
667 | + }, | ||
668 | + "fieldGroupType": "REL_MULTI" | ||
669 | + }, | ||
670 | + { | ||
671 | + "key": "description", | ||
672 | + "code": "description", | ||
673 | + "filedName": "description", | ||
674 | + "name": "描述", | ||
675 | + "extract": { | ||
676 | + "fieldType": "TEXT", | ||
677 | + "fieldKey": "description", | ||
678 | + "widget": "qxInput", | ||
679 | + "required": false, | ||
680 | + "readOnly": false, | ||
681 | + "hidden": false | ||
682 | + }, | ||
683 | + "fieldType": "TEXT", | ||
684 | + "title": { | ||
685 | + "key": null, | ||
686 | + "ref": null, | ||
687 | + "props": { | ||
688 | + "widget": "qxInput", | ||
689 | + "name": "描述" | ||
690 | + }, | ||
691 | + "_owner": null | ||
692 | + }, | ||
693 | + "fieldGroupType": "TEXT" | ||
694 | + }, | ||
695 | + { | ||
696 | + "key": "img_vslcgc", | ||
697 | + "code": "img_vslcgc", | ||
698 | + "filedName": "img_vslcgc", | ||
699 | + "name": "图片", | ||
700 | + "extract": { | ||
701 | + "fieldType": "FILE", | ||
702 | + "fieldKey": "img_vslcgc", | ||
703 | + "widget": "qxUploadImage", | ||
704 | + "required": false, | ||
705 | + "readOnly": false, | ||
706 | + "hidden": false | ||
707 | + }, | ||
708 | + "fieldType": "FILE", | ||
709 | + "title": { | ||
710 | + "key": null, | ||
711 | + "ref": null, | ||
712 | + "props": { | ||
713 | + "widget": "qxUploadImage", | ||
714 | + "name": "图片" | ||
715 | + }, | ||
716 | + "_owner": null | ||
717 | + }, | ||
718 | + "fieldGroupType": "FILE" | ||
719 | + }, | ||
720 | + { | ||
721 | + "key": "num_cagoif", | ||
722 | + "code": "num_cagoif", | ||
723 | + "filedName": "num_cagoif", | ||
724 | + "name": "数值", | ||
725 | + "extract": { | ||
726 | + "fieldType": "DOUBLE", | ||
727 | + "fieldKey": "num_cagoif", | ||
728 | + "widget": "qxNumber", | ||
729 | + "required": false, | ||
730 | + "readOnly": false, | ||
731 | + "hidden": false | ||
732 | + }, | ||
733 | + "fieldType": "DOUBLE", | ||
734 | + "title": { | ||
735 | + "key": null, | ||
736 | + "ref": null, | ||
737 | + "props": { | ||
738 | + "widget": "qxNumber", | ||
739 | + "name": "数值" | ||
740 | + }, | ||
741 | + "_owner": null | ||
742 | + }, | ||
743 | + "fieldGroupType": "NUM" | ||
744 | + }, | ||
745 | + { | ||
746 | + "key": "input_fkjlvi", | ||
747 | + "code": "input_fkjlvi", | ||
748 | + "filedName": "input_fkjlvi", | ||
749 | + "name": "文本", | ||
750 | + "extract": { | ||
751 | + "fieldType": "STRING", | ||
752 | + "fieldKey": "input_fkjlvi", | ||
753 | + "widget": "qxInput", | ||
754 | + "required": false, | ||
755 | + "readOnly": false, | ||
756 | + "hidden": false | ||
757 | + }, | ||
758 | + "fieldType": "STRING", | ||
759 | + "title": { | ||
760 | + "key": null, | ||
761 | + "ref": null, | ||
762 | + "props": { | ||
763 | + "widget": "qxInput", | ||
764 | + "name": "文本" | ||
765 | + }, | ||
766 | + "_owner": null | ||
767 | + }, | ||
768 | + "fieldGroupType": "TEXT" | ||
769 | + }, | ||
770 | + { | ||
771 | + "key": "date_uvpapz", | ||
772 | + "code": "date_uvpapz", | ||
773 | + "filedName": "date_uvpapz", | ||
774 | + "name": "日期", | ||
775 | + "extract": { | ||
776 | + "fieldType": "YEAR_SEC", | ||
777 | + "fieldKey": "date_uvpapz", | ||
778 | + "widget": "qxDatetime", | ||
779 | + "required": false, | ||
780 | + "readOnly": false, | ||
781 | + "hidden": false | ||
782 | + }, | ||
783 | + "fieldType": "YEAR_SEC", | ||
784 | + "title": { | ||
785 | + "key": null, | ||
786 | + "ref": null, | ||
787 | + "props": { | ||
788 | + "widget": "qxDatetime", | ||
789 | + "name": "日期" | ||
790 | + }, | ||
791 | + "_owner": null | ||
792 | + }, | ||
793 | + "fieldGroupType": "DATE" | ||
794 | + }, | ||
795 | + { | ||
796 | + "key": "time_awxdij", | ||
797 | + "code": "time_awxdij", | ||
798 | + "filedName": "time_awxdij", | ||
799 | + "name": "时间", | ||
800 | + "extract": { | ||
801 | + "fieldType": "HOUR_MIN", | ||
802 | + "fieldKey": "time_awxdij", | ||
803 | + "widget": "qxTime", | ||
804 | + "required": false, | ||
805 | + "readOnly": false, | ||
806 | + "hidden": false | ||
807 | + }, | ||
808 | + "fieldType": "HOUR_MIN", | ||
809 | + "title": { | ||
810 | + "key": null, | ||
811 | + "ref": null, | ||
812 | + "props": { | ||
813 | + "widget": "qxTime", | ||
814 | + "name": "时间" | ||
815 | + }, | ||
816 | + "_owner": null | ||
817 | + }, | ||
818 | + "fieldGroupType": "TIME" | ||
819 | + }, | ||
820 | + { | ||
821 | + "key": "switch_qhiokh", | ||
822 | + "code": "switch_qhiokh", | ||
823 | + "filedName": "switch_qhiokh", | ||
824 | + "name": "开关", | ||
825 | + "extract": { | ||
826 | + "fieldType": "BOOL", | ||
827 | + "fieldKey": "switch_qhiokh", | ||
828 | + "widget": "qxSwitch", | ||
829 | + "required": false, | ||
830 | + "readOnly": false, | ||
831 | + "hidden": false | ||
832 | + }, | ||
833 | + "fieldType": "BOOL", | ||
834 | + "title": { | ||
835 | + "key": null, | ||
836 | + "ref": null, | ||
837 | + "props": { | ||
838 | + "widget": "qxSwitch", | ||
839 | + "name": "开关" | ||
840 | + }, | ||
841 | + "_owner": null | ||
842 | + }, | ||
843 | + "fieldGroupType": "BOOL" | ||
844 | + }, | ||
845 | + { | ||
846 | + "key": "select_m_sahhgm", | ||
847 | + "code": "select_m_sahhgm", | ||
848 | + "filedName": "select_m_sahhgm", | ||
849 | + "name": "多选", | ||
850 | + "extract": { | ||
851 | + "fieldType": "ENUM_MULTI", | ||
852 | + "fieldKey": "select_m_sahhgm", | ||
853 | + "widget": "qxMultiSelect", | ||
854 | + "required": false, | ||
855 | + "readOnly": false, | ||
856 | + "hidden": false | ||
857 | + }, | ||
858 | + "fieldType": "ENUM_MULTI", | ||
859 | + "title": { | ||
860 | + "key": null, | ||
861 | + "ref": null, | ||
862 | + "props": { | ||
863 | + "widget": "qxMultiSelect", | ||
864 | + "name": "多选" | ||
865 | + }, | ||
866 | + "_owner": null | ||
867 | + }, | ||
868 | + "fieldGroupType": "ENUM_MULTI" | ||
869 | + }, | ||
870 | + { | ||
871 | + "key": "select_ytsdsm", | ||
872 | + "code": "select_ytsdsm", | ||
873 | + "filedName": "select_ytsdsm", | ||
874 | + "name": "单选", | ||
875 | + "extract": { | ||
876 | + "fieldType": "ENUM", | ||
877 | + "fieldKey": "select_ytsdsm", | ||
878 | + "widget": "qxSelect", | ||
879 | + "required": false, | ||
880 | + "readOnly": false, | ||
881 | + "hidden": false | ||
882 | + }, | ||
883 | + "fieldType": "ENUM", | ||
884 | + "title": { | ||
885 | + "key": null, | ||
886 | + "ref": null, | ||
887 | + "props": { | ||
888 | + "widget": "qxSelect", | ||
889 | + "name": "单选" | ||
890 | + }, | ||
891 | + "_owner": null | ||
892 | + }, | ||
893 | + "fieldGroupType": "ENUM" | ||
894 | + }, | ||
895 | + { | ||
896 | + "key": "money_iiixgq", | ||
897 | + "code": "money_iiixgq", | ||
898 | + "filedName": "money_iiixgq", | ||
899 | + "name": "金额", | ||
900 | + "extract": { | ||
901 | + "fieldType": "DECIMAL", | ||
902 | + "fieldKey": "money_iiixgq", | ||
903 | + "widget": "qxMoney", | ||
904 | + "required": false, | ||
905 | + "readOnly": false, | ||
906 | + "hidden": false | ||
907 | + }, | ||
908 | + "fieldType": "DECIMAL", | ||
909 | + "title": { | ||
910 | + "key": null, | ||
911 | + "ref": null, | ||
912 | + "props": { | ||
913 | + "widget": "qxMoney", | ||
914 | + "name": "金额" | ||
915 | + }, | ||
916 | + "_owner": null | ||
917 | + }, | ||
918 | + "fieldGroupType": "NUM" | ||
919 | + }, | ||
920 | + { | ||
921 | + "key": "percent_phlubg", | ||
922 | + "code": "percent_phlubg", | ||
923 | + "filedName": "percent_phlubg", | ||
924 | + "name": "百分数", | ||
925 | + "extract": { | ||
926 | + "fieldType": "PERCENT", | ||
927 | + "fieldKey": "percent_phlubg", | ||
928 | + "widget": "qxPercent", | ||
929 | + "required": false, | ||
930 | + "readOnly": false, | ||
931 | + "hidden": false | ||
932 | + }, | ||
933 | + "fieldType": "PERCENT", | ||
934 | + "title": { | ||
935 | + "key": null, | ||
936 | + "ref": null, | ||
937 | + "props": { | ||
938 | + "widget": "qxPercent", | ||
939 | + "name": "百分数" | ||
940 | + }, | ||
941 | + "_owner": null | ||
942 | + }, | ||
943 | + "fieldGroupType": "NUM" | ||
944 | + }, | ||
945 | + { | ||
946 | + "key": "email_ioccbo", | ||
947 | + "code": "email_ioccbo", | ||
948 | + "filedName": "email_ioccbo", | ||
949 | + "name": "邮箱", | ||
950 | + "extract": { | ||
951 | + "fieldType": "STRING", | ||
952 | + "fieldKey": "email_ioccbo", | ||
953 | + "widget": "qxEmail", | ||
954 | + "required": false, | ||
955 | + "readOnly": false, | ||
956 | + "hidden": false | ||
957 | + }, | ||
958 | + "fieldType": "STRING", | ||
959 | + "title": { | ||
960 | + "key": null, | ||
961 | + "ref": null, | ||
962 | + "props": { | ||
963 | + "widget": "qxEmail", | ||
964 | + "name": "邮箱" | ||
965 | + }, | ||
966 | + "_owner": null | ||
967 | + }, | ||
968 | + "fieldGroupType": "TEXT" | ||
969 | + }, | ||
970 | + { | ||
971 | + "key": "mobile_khosix", | ||
972 | + "code": "mobile_khosix", | ||
973 | + "filedName": "mobile_khosix", | ||
974 | + "name": "手机", | ||
975 | + "extract": { | ||
976 | + "fieldType": "STRING", | ||
977 | + "fieldKey": "mobile_khosix", | ||
978 | + "widget": "qxMobile", | ||
979 | + "required": false, | ||
980 | + "readOnly": false, | ||
981 | + "hidden": false | ||
982 | + }, | ||
983 | + "fieldType": "STRING", | ||
984 | + "title": { | ||
985 | + "key": null, | ||
986 | + "ref": null, | ||
987 | + "props": { | ||
988 | + "widget": "qxMobile", | ||
989 | + "name": "手机" | ||
990 | + }, | ||
991 | + "_owner": null | ||
992 | + }, | ||
993 | + "fieldGroupType": "TEXT" | ||
994 | + }, | ||
995 | + { | ||
996 | + "key": "address_tppevj", | ||
997 | + "code": "address_tppevj", | ||
998 | + "filedName": "address_tppevj", | ||
999 | + "name": "地址", | ||
1000 | + "extract": { | ||
1001 | + "fieldType": "STRING", | ||
1002 | + "fieldKey": "address_tppevj", | ||
1003 | + "widget": "qxAddress", | ||
1004 | + "required": false, | ||
1005 | + "readOnly": false, | ||
1006 | + "hidden": false | ||
1007 | + }, | ||
1008 | + "fieldType": "STRING", | ||
1009 | + "title": { | ||
1010 | + "key": null, | ||
1011 | + "ref": null, | ||
1012 | + "props": { | ||
1013 | + "widget": "qxAddress", | ||
1014 | + "name": "地址" | ||
1015 | + }, | ||
1016 | + "_owner": null | ||
1017 | + }, | ||
1018 | + "fieldGroupType": "TEXT" | ||
1019 | + }, | ||
1020 | + { | ||
1021 | + "key": "file_giiptw", | ||
1022 | + "code": "file_giiptw", | ||
1023 | + "filedName": "file_giiptw", | ||
1024 | + "name": "附件", | ||
1025 | + "extract": { | ||
1026 | + "fieldType": "FILE", | ||
1027 | + "fieldKey": "file_giiptw", | ||
1028 | + "widget": "qxUpload", | ||
1029 | + "required": false, | ||
1030 | + "readOnly": false, | ||
1031 | + "hidden": false | ||
1032 | + }, | ||
1033 | + "fieldType": "FILE", | ||
1034 | + "title": { | ||
1035 | + "key": null, | ||
1036 | + "ref": null, | ||
1037 | + "props": { | ||
1038 | + "widget": "qxUpload", | ||
1039 | + "name": "附件" | ||
1040 | + }, | ||
1041 | + "_owner": null | ||
1042 | + }, | ||
1043 | + "fieldGroupType": "FILE" | ||
1044 | + }, | ||
1045 | + { | ||
1046 | + "key": "user_wdeiip", | ||
1047 | + "code": "user_wdeiip", | ||
1048 | + "filedName": "user_wdeiip", | ||
1049 | + "name": "选人员", | ||
1050 | + "extract": { | ||
1051 | + "fieldType": "USER", | ||
1052 | + "fieldKey": "user_wdeiip", | ||
1053 | + "widget": "userSelector", | ||
1054 | + "required": false, | ||
1055 | + "readOnly": false, | ||
1056 | + "hidden": false, | ||
1057 | + "relId": "user" | ||
1058 | + }, | ||
1059 | + "fieldType": "USER", | ||
1060 | + "title": { | ||
1061 | + "key": null, | ||
1062 | + "ref": null, | ||
1063 | + "props": { | ||
1064 | + "widget": "userSelector", | ||
1065 | + "name": "选人员" | ||
1066 | + }, | ||
1067 | + "_owner": null | ||
1068 | + }, | ||
1069 | + "fieldGroupType": "USER" | ||
1070 | + }, | ||
1071 | + { | ||
1072 | + "key": "org_mayygw", | ||
1073 | + "code": "org_mayygw", | ||
1074 | + "filedName": "org_mayygw", | ||
1075 | + "name": "选部门", | ||
1076 | + "extract": { | ||
1077 | + "fieldType": "ORG", | ||
1078 | + "fieldKey": "org_mayygw", | ||
1079 | + "widget": "orgSelector", | ||
1080 | + "required": false, | ||
1081 | + "readOnly": false, | ||
1082 | + "hidden": false, | ||
1083 | + "relId": "org" | ||
1084 | + }, | ||
1085 | + "fieldType": "ORG", | ||
1086 | + "title": { | ||
1087 | + "key": null, | ||
1088 | + "ref": null, | ||
1089 | + "props": { | ||
1090 | + "widget": "orgSelector", | ||
1091 | + "name": "选部门" | ||
1092 | + }, | ||
1093 | + "_owner": null | ||
1094 | + }, | ||
1095 | + "fieldGroupType": "ORG" | ||
1096 | + }, | ||
1097 | + { | ||
1098 | + "key": "userSelector_vieygh", | ||
1099 | + "code": "userSelector_vieygh", | ||
1100 | + "filedName": "userSelector_vieygh", | ||
1101 | + "name": "选人员-多", | ||
1102 | + "extract": { | ||
1103 | + "fieldType": "USER_MULTI", | ||
1104 | + "fieldKey": "userSelector_vieygh", | ||
1105 | + "widget": "userSelector", | ||
1106 | + "required": false, | ||
1107 | + "readOnly": false, | ||
1108 | + "hidden": false, | ||
1109 | + "relId": "user" | ||
1110 | + }, | ||
1111 | + "fieldType": "USER_MULTI", | ||
1112 | + "title": { | ||
1113 | + "key": null, | ||
1114 | + "ref": null, | ||
1115 | + "props": { | ||
1116 | + "widget": "userSelector", | ||
1117 | + "name": "选人员-多" | ||
1118 | + }, | ||
1119 | + "_owner": null | ||
1120 | + }, | ||
1121 | + "fieldGroupType": "USER" | ||
1122 | + }, | ||
1123 | + { | ||
1124 | + "key": "orgSelector_zqgyfg", | ||
1125 | + "code": "orgSelector_zqgyfg", | ||
1126 | + "filedName": "orgSelector_zqgyfg", | ||
1127 | + "name": "选部门-多", | ||
1128 | + "extract": { | ||
1129 | + "fieldType": "ORG_MULTI", | ||
1130 | + "fieldKey": "orgSelector_zqgyfg", | ||
1131 | + "widget": "orgSelector", | ||
1132 | + "required": false, | ||
1133 | + "readOnly": false, | ||
1134 | + "hidden": false, | ||
1135 | + "relId": "org" | ||
1136 | + }, | ||
1137 | + "fieldType": "ORG_MULTI", | ||
1138 | + "title": { | ||
1139 | + "key": null, | ||
1140 | + "ref": null, | ||
1141 | + "props": { | ||
1142 | + "widget": "orgSelector", | ||
1143 | + "name": "选部门-多" | ||
1144 | + }, | ||
1145 | + "_owner": null | ||
1146 | + }, | ||
1147 | + "fieldGroupType": "ORG" | ||
1148 | + }, | ||
1149 | + { | ||
1150 | + "key": "created_by", | ||
1151 | + "code": "created_by", | ||
1152 | + "filedName": "created_by", | ||
1153 | + "name": "创建人", | ||
1154 | + "extract": { | ||
1155 | + "fieldType": "USER", | ||
1156 | + "fieldKey": "created_by", | ||
1157 | + "widget": "userSelector", | ||
1158 | + "required": false, | ||
1159 | + "readOnly": false, | ||
1160 | + "hidden": false, | ||
1161 | + "relId": "user", | ||
1162 | + "$base": true | ||
1163 | + }, | ||
1164 | + "fieldType": "USER", | ||
1165 | + "title": { | ||
1166 | + "key": null, | ||
1167 | + "ref": null, | ||
1168 | + "props": { | ||
1169 | + "widget": "userSelector", | ||
1170 | + "name": "创建人" | ||
1171 | + }, | ||
1172 | + "_owner": null | ||
1173 | + }, | ||
1174 | + "fieldGroupType": "USER" | ||
1175 | + }, | ||
1176 | + { | ||
1177 | + "key": "created_at2222", | ||
1178 | + "code": "created_at2222", | ||
1179 | + "filedName": "created_at2222", | ||
1180 | + "name": "创建时间", | ||
1181 | + "extract": { | ||
1182 | + "fieldType": "STRING", | ||
1183 | + "fieldKey": "created_at2222", | ||
1184 | + "widget": "createdAt", | ||
1185 | + "required": false, | ||
1186 | + "readOnly": false, | ||
1187 | + "hidden": false | ||
1188 | + }, | ||
1189 | + "fieldType": "STRING", | ||
1190 | + "title": { | ||
1191 | + "key": null, | ||
1192 | + "ref": null, | ||
1193 | + "props": { | ||
1194 | + "widget": "createdAt", | ||
1195 | + "name": "创建时间" | ||
1196 | + }, | ||
1197 | + "_owner": null | ||
1198 | + }, | ||
1199 | + "fieldGroupType": "TEXT" | ||
1200 | + }, | ||
1201 | + { | ||
1202 | + "key": "updated_by", | ||
1203 | + "code": "updated_by", | ||
1204 | + "filedName": "updated_by", | ||
1205 | + "name": "更新人", | ||
1206 | + "extract": { | ||
1207 | + "fieldType": "USER", | ||
1208 | + "fieldKey": "updated_by", | ||
1209 | + "widget": "userSelector", | ||
1210 | + "required": false, | ||
1211 | + "readOnly": false, | ||
1212 | + "hidden": false, | ||
1213 | + "relId": "user", | ||
1214 | + "$base": true | ||
1215 | + }, | ||
1216 | + "fieldType": "USER", | ||
1217 | + "title": { | ||
1218 | + "key": null, | ||
1219 | + "ref": null, | ||
1220 | + "props": { | ||
1221 | + "widget": "userSelector", | ||
1222 | + "name": "更新人" | ||
1223 | + }, | ||
1224 | + "_owner": null | ||
1225 | + }, | ||
1226 | + "fieldGroupType": "USER" | ||
1227 | + }, | ||
1228 | + { | ||
1229 | + "key": "updated_at", | ||
1230 | + "code": "updated_at", | ||
1231 | + "filedName": "updated_at", | ||
1232 | + "name": "更新时间", | ||
1233 | + "extract": { | ||
1234 | + "fieldType": "YEAR_SEC", | ||
1235 | + "fieldKey": "updated_at", | ||
1236 | + "widget": "qxDatetime", | ||
1237 | + "required": false, | ||
1238 | + "readOnly": false, | ||
1239 | + "hidden": false, | ||
1240 | + "$base": true | ||
1241 | + }, | ||
1242 | + "fieldType": "YEAR_SEC", | ||
1243 | + "title": { | ||
1244 | + "key": null, | ||
1245 | + "ref": null, | ||
1246 | + "props": { | ||
1247 | + "widget": "qxDatetime", | ||
1248 | + "name": "更新时间" | ||
1249 | + }, | ||
1250 | + "_owner": null | ||
1251 | + }, | ||
1252 | + "fieldGroupType": "DATE" | ||
1253 | + }, | ||
1254 | + { | ||
1255 | + "key": "fx_jdfqnd", | ||
1256 | + "code": "fx_jdfqnd", | ||
1257 | + "filedName": "fx_jdfqnd", | ||
1258 | + "name": "公式", | ||
1259 | + "extract": { | ||
1260 | + "fieldType": "FORMULA", | ||
1261 | + "fieldKey": "fx_jdfqnd", | ||
1262 | + "widget": "qxFormula", | ||
1263 | + "required": false, | ||
1264 | + "readOnly": false, | ||
1265 | + "hidden": false | ||
1266 | + }, | ||
1267 | + "fieldType": "FORMULA", | ||
1268 | + "title": { | ||
1269 | + "key": null, | ||
1270 | + "ref": null, | ||
1271 | + "props": { | ||
1272 | + "widget": "qxFormula", | ||
1273 | + "name": "公式" | ||
1274 | + }, | ||
1275 | + "_owner": null | ||
1276 | + }, | ||
1277 | + "fieldGroupType": "NUM" | ||
1278 | + }, | ||
1279 | + { | ||
1280 | + "key": "no_ilgtbb", | ||
1281 | + "code": "no_ilgtbb", | ||
1282 | + "filedName": "no_ilgtbb", | ||
1283 | + "name": "流水号", | ||
1284 | + "extract": { | ||
1285 | + "fieldType": "STRING", | ||
1286 | + "fieldKey": "no_ilgtbb", | ||
1287 | + "widget": "qxBizNo", | ||
1288 | + "required": false, | ||
1289 | + "readOnly": true, | ||
1290 | + "hidden": false | ||
1291 | + }, | ||
1292 | + "fieldType": "STRING", | ||
1293 | + "title": { | ||
1294 | + "key": null, | ||
1295 | + "ref": null, | ||
1296 | + "props": { | ||
1297 | + "widget": "qxBizNo", | ||
1298 | + "name": "流水号" | ||
1299 | + }, | ||
1300 | + "_owner": null | ||
1301 | + }, | ||
1302 | + "fieldGroupType": "TEXT" | ||
1303 | + }, | ||
1304 | + { | ||
1305 | + "key": "p_id", | ||
1306 | + "code": "p_id", | ||
1307 | + "filedName": "p_id", | ||
1308 | + "name": "树形关联", | ||
1309 | + "extract": { | ||
1310 | + "fieldType": "TREE", | ||
1311 | + "fieldKey": "p_id", | ||
1312 | + "widget": "qxTree", | ||
1313 | + "required": true, | ||
1314 | + "readOnly": false, | ||
1315 | + "hidden": false, | ||
1316 | + "relId": "EsDhRXIo0OVRQol54PR" | ||
1317 | + }, | ||
1318 | + "fieldType": "TREE", | ||
1319 | + "title": { | ||
1320 | + "key": null, | ||
1321 | + "ref": null, | ||
1322 | + "props": { | ||
1323 | + "widget": "qxTree", | ||
1324 | + "name": "树形关联" | ||
1325 | + }, | ||
1326 | + "_owner": null | ||
1327 | + }, | ||
1328 | + "fieldGroupType": "TREE" | ||
1329 | + }, | ||
1330 | + { | ||
1331 | + "key": "sub_zyycui", | ||
1332 | + "code": "sub_zyycui", | ||
1333 | + "filedName": "sub_zyycui", | ||
1334 | + "name": "子表", | ||
1335 | + "extract": { | ||
1336 | + "fieldType": "TABLE", | ||
1337 | + "fieldKey": "sub_zyycui", | ||
1338 | + "widget": "subform", | ||
1339 | + "required": false, | ||
1340 | + "readOnly": false, | ||
1341 | + "hidden": false, | ||
1342 | + "relId": "oJHol3pBmfwKd6SULhX" | ||
1343 | + }, | ||
1344 | + "fieldType": "TABLE", | ||
1345 | + "title": { | ||
1346 | + "key": null, | ||
1347 | + "ref": null, | ||
1348 | + "props": { | ||
1349 | + "widget": "subform", | ||
1350 | + "name": "子表" | ||
1351 | + }, | ||
1352 | + "_owner": null | ||
1353 | + }, | ||
1354 | + "fieldGroupType": "TABLE" | ||
1355 | + }, | ||
1356 | + { | ||
1357 | + "key": "rel_xaxqec", | ||
1358 | + "code": "rel_xaxqec", | ||
1359 | + "filedName": "rel_xaxqec", | ||
1360 | + "name": "关联记录-简单统计2", | ||
1361 | + "extract": { | ||
1362 | + "fieldType": "REL_MULTI", | ||
1363 | + "fieldKey": "rel_xaxqec", | ||
1364 | + "widget": "relSelector", | ||
1365 | + "required": false, | ||
1366 | + "readOnly": false, | ||
1367 | + "hidden": false, | ||
1368 | + "relId": "olfkD8dExv49R0FAiIW", | ||
1369 | + "allowSelect": true, | ||
1370 | + "allowAdd": true, | ||
1371 | + "enableEdit": false, | ||
1372 | + "relAppCode": "cjzza", | ||
1373 | + "relFunCode": "hkzf8" | ||
1374 | + }, | ||
1375 | + "fieldType": "REL_MULTI", | ||
1376 | + "title": { | ||
1377 | + "key": null, | ||
1378 | + "ref": null, | ||
1379 | + "props": { | ||
1380 | + "widget": "relSelector", | ||
1381 | + "name": "关联记录-简单统计2" | ||
1382 | + }, | ||
1383 | + "_owner": null | ||
1384 | + }, | ||
1385 | + "fieldGroupType": "REL_MULTI" | ||
1386 | + }, | ||
1387 | + { | ||
1388 | + "key": "rel_ulqhzt", | ||
1389 | + "code": "rel_ulqhzt", | ||
1390 | + "filedName": "rel_ulqhzt", | ||
1391 | + "name": "关联1-1", | ||
1392 | + "extract": { | ||
1393 | + "fieldType": "REL_MULTI", | ||
1394 | + "fieldKey": "rel_ulqhzt", | ||
1395 | + "widget": "relSelector", | ||
1396 | + "required": false, | ||
1397 | + "readOnly": false, | ||
1398 | + "hidden": false, | ||
1399 | + "relId": "pJMTmcXEH9Dq9mnq6wV", | ||
1400 | + "allowSelect": true, | ||
1401 | + "allowAdd": true, | ||
1402 | + "enableEdit": false, | ||
1403 | + "relAppCode": "cjzza", | ||
1404 | + "relFunCode": "8xcmq" | ||
1405 | + }, | ||
1406 | + "fieldType": "REL_MULTI", | ||
1407 | + "title": { | ||
1408 | + "key": null, | ||
1409 | + "ref": null, | ||
1410 | + "props": { | ||
1411 | + "widget": "relSelector", | ||
1412 | + "name": "关联1-1" | ||
1413 | + }, | ||
1414 | + "_owner": null | ||
1415 | + }, | ||
1416 | + "fieldGroupType": "REL_MULTI" | ||
1417 | + }, | ||
1418 | + { | ||
1419 | + "key": "rel_nofdmy", | ||
1420 | + "code": "rel_nofdmy", | ||
1421 | + "filedName": "rel_nofdmy", | ||
1422 | + "name": "关联1", | ||
1423 | + "extract": { | ||
1424 | + "fieldType": "REL_MULTI", | ||
1425 | + "fieldKey": "rel_nofdmy", | ||
1426 | + "widget": "relSelector", | ||
1427 | + "required": false, | ||
1428 | + "readOnly": false, | ||
1429 | + "hidden": false, | ||
1430 | + "relId": "duvtdNb0dbuBaDceWav", | ||
1431 | + "allowSelect": true, | ||
1432 | + "allowAdd": true, | ||
1433 | + "enableEdit": false, | ||
1434 | + "relAppCode": "cjzza", | ||
1435 | + "relFunCode": "hi76x" | ||
1436 | + }, | ||
1437 | + "fieldType": "REL_MULTI", | ||
1438 | + "title": { | ||
1439 | + "key": null, | ||
1440 | + "ref": null, | ||
1441 | + "props": { | ||
1442 | + "widget": "relSelector", | ||
1443 | + "name": "关联1" | ||
1444 | + }, | ||
1445 | + "_owner": null | ||
1446 | + }, | ||
1447 | + "fieldGroupType": "REL_MULTI" | ||
1448 | + } | ||
1449 | +]; |
@@ -2,7 +2,7 @@ import { Button, Select } from 'antd'; | @@ -2,7 +2,7 @@ import { Button, Select } from 'antd'; | ||
2 | import { cloneDeep, findIndex, isEqual } from 'lodash-es'; | 2 | import { cloneDeep, findIndex, isEqual } from 'lodash-es'; |
3 | import React, { useEffect, useState } from 'react'; | 3 | import React, { useEffect, useState } from 'react'; |
4 | 4 | ||
5 | -import { QxBaseIcon } from '../qx-base-icon'; | 5 | +import { QxBaseIcon } from '@qx/common'; |
6 | 6 | ||
7 | import './styles.less'; | 7 | import './styles.less'; |
8 | 8 |