@lingxiteam/assets 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/es/dealDsl/preprocess/common.js +27 -16
  2. package/es/error/errorDisplay/Web/Drawer/Drawer.less +31 -0
  3. package/es/error/errorDisplay/Web/Drawer/index.js +12 -4
  4. package/es/error/errorDisplay/Web/ErrorMsg/index.js +27 -4
  5. package/es/error/errorDisplay/Web/Notification/index.js +22 -11
  6. package/es/rootConfig/mobile/BusiComp.js +1 -1
  7. package/es/rootConfig/mobile/MobileModal.js +1 -1
  8. package/es/rootConfig/mobile/MobilePopover.js +1 -1
  9. package/es/rootConfig/pc/BusiComp.js +1 -1
  10. package/es/rootConfig/pc/Drawer.js +1 -1
  11. package/es/rootConfig/pc/Modal.js +1 -1
  12. package/es/rootConfig/pc/Popover.js +1 -1
  13. package/es/rootConfig/todoActionList.js +1 -1
  14. package/es/rootConfig/todoOptionList.js +1 -1
  15. package/es/theme/bin/cucc/theme.js +275 -0
  16. package/es/theme/bin/cucc/theme.less +272 -0
  17. package/es/theme/bin/cucc/theme.scss +272 -0
  18. package/es/theme/bin/default/theme.js +275 -0
  19. package/es/theme/bin/default/theme.less +272 -0
  20. package/es/theme/bin/default/theme.scss +272 -0
  21. package/es/theme/build.js +42 -0
  22. package/es/theme/src/cucc/index.js +131 -0
  23. package/es/theme/src/default/index.js +131 -0
  24. package/es/theme/utils/colorPaletteMixin.js +59 -0
  25. package/es/theme/utils/px2Num.js +12 -0
  26. package/es/theme/utils/renderColors.js +16 -0
  27. package/lib/IconSvg/index.d.ts +6 -0
  28. package/lib/IconSvg/index.js +30 -0
  29. package/lib/dealDsl/PropType.d.ts +7 -0
  30. package/lib/dealDsl/PropType.js +5 -0
  31. package/lib/dealDsl/events/actionObj.d.ts +3 -0
  32. package/lib/dealDsl/events/actionObj.js +13 -0
  33. package/lib/dealDsl/events/index.d.ts +6 -0
  34. package/lib/dealDsl/events/index.js +21 -0
  35. package/lib/dealDsl/index.d.ts +2 -0
  36. package/lib/dealDsl/index.js +31 -0
  37. package/lib/dealDsl/preprocess/common.d.ts +9 -0
  38. package/lib/dealDsl/preprocess/common.js +277 -0
  39. package/lib/dealDsl/preprocess/editor.d.ts +9 -0
  40. package/lib/dealDsl/preprocess/editor.js +28 -0
  41. package/lib/dealDsl/preprocess/engine.d.ts +9 -0
  42. package/lib/dealDsl/preprocess/engine.js +26 -0
  43. package/lib/dealDsl/preprocessDSL.d.ts +21 -0
  44. package/lib/dealDsl/preprocessDSL.js +88 -0
  45. package/lib/dealDsl/utils/index.d.ts +13 -0
  46. package/lib/dealDsl/utils/index.js +29 -0
  47. package/lib/error/errorCatch/index.js +48 -0
  48. package/lib/error/errorDisplay/Mobile/Drawer/Drawer.js +115 -0
  49. package/lib/error/errorDisplay/Mobile/Drawer/Drawer.less +201 -0
  50. package/lib/error/errorDisplay/Mobile/Drawer/index.js +140 -0
  51. package/lib/error/errorDisplay/Mobile/ErrorMsg/index.js +207 -0
  52. package/lib/error/errorDisplay/Mobile/Modal/Modal.js +53 -0
  53. package/lib/error/errorDisplay/Mobile/Modal/Modal.less +146 -0
  54. package/lib/error/errorDisplay/Mobile/Modal/index.js +127 -0
  55. package/lib/error/errorDisplay/Mobile/defaultGlobalConfig.js +21 -0
  56. package/lib/error/errorDisplay/SVGstring.js +18 -0
  57. package/lib/error/errorDisplay/Web/Drawer/Drawer.js +274 -0
  58. package/lib/error/errorDisplay/Web/Drawer/Drawer.less +420 -0
  59. package/lib/error/errorDisplay/Web/Drawer/DrawerConnect.js +213 -0
  60. package/lib/error/errorDisplay/Web/Drawer/index.js +142 -0
  61. package/lib/error/errorDisplay/Web/ErrorMsg/index.js +301 -0
  62. package/lib/error/errorDisplay/Web/Notification/Notice.js +161 -0
  63. package/lib/error/errorDisplay/Web/Notification/Notification.js +149 -0
  64. package/lib/error/errorDisplay/Web/Notification/Notification.less +137 -0
  65. package/lib/error/errorDisplay/Web/Notification/index.js +104 -0
  66. package/lib/error/errorDisplay/Web/defaultGlobalConfig.js +29 -0
  67. package/lib/error/errorDisplay/animation.less +112 -0
  68. package/lib/error/errorDisplay/compUtils.js +52 -0
  69. package/lib/error/errorDisplay/const.js +83 -0
  70. package/lib/error/errorDisplay/http.js +103 -0
  71. package/lib/error/errorDisplay/variables.less +1 -0
  72. package/lib/error/index.js +34 -0
  73. package/lib/images/ico-back.png +0 -0
  74. package/lib/index.d.ts +9 -0
  75. package/lib/rootConfig/index.d.ts +5 -0
  76. package/lib/rootConfig/index.js +28 -0
  77. package/lib/rootConfig/mobile/BusiComp.d.ts +66 -0
  78. package/lib/rootConfig/mobile/BusiComp.js +88 -0
  79. package/lib/rootConfig/mobile/MobileModal.d.ts +114 -0
  80. package/lib/rootConfig/mobile/MobileModal.js +140 -0
  81. package/lib/rootConfig/mobile/MobilePopover.d.ts +81 -0
  82. package/lib/rootConfig/mobile/MobilePopover.js +89 -0
  83. package/lib/rootConfig/mobile/index.d.ts +4 -0
  84. package/lib/rootConfig/mobile/index.js +34 -0
  85. package/lib/rootConfig/mobile/page.d.ts +157 -0
  86. package/lib/rootConfig/mobile/page.js +161 -0
  87. package/lib/rootConfig/pc/BusiComp.d.ts +66 -0
  88. package/lib/rootConfig/pc/BusiComp.js +88 -0
  89. package/lib/rootConfig/pc/Drawer.d.ts +150 -0
  90. package/lib/rootConfig/pc/Drawer.js +203 -0
  91. package/lib/rootConfig/pc/Modal.d.ts +160 -0
  92. package/lib/rootConfig/pc/Modal.js +195 -0
  93. package/lib/rootConfig/pc/Popover.d.ts +90 -0
  94. package/lib/rootConfig/pc/Popover.js +104 -0
  95. package/lib/rootConfig/pc/index.d.ts +5 -0
  96. package/lib/rootConfig/pc/index.js +41 -0
  97. package/lib/rootConfig/pc/page.d.ts +146 -0
  98. package/lib/rootConfig/pc/page.js +153 -0
  99. package/lib/rootConfig/todoActionList.d.ts +3082 -0
  100. package/lib/rootConfig/todoActionList.js +3600 -0
  101. package/lib/rootConfig/todoOptionList.d.ts +1466 -0
  102. package/lib/rootConfig/todoOptionList.js +1685 -0
  103. package/lib/security/const.d.ts +22 -0
  104. package/lib/security/const.js +38 -0
  105. package/lib/security/encipher/aes.d.ts +2 -0
  106. package/lib/security/encipher/aes.js +35 -0
  107. package/lib/security/encipher/des.d.ts +2 -0
  108. package/lib/security/encipher/des.js +34 -0
  109. package/lib/security/encipher/rsa.d.ts +2 -0
  110. package/lib/security/encipher/rsa.js +26 -0
  111. package/lib/security/encipher/sign.d.ts +6 -0
  112. package/lib/security/encipher/sign.js +102 -0
  113. package/lib/security/fetch.d.ts +9 -0
  114. package/lib/security/fetch.js +212 -0
  115. package/lib/security/httpEncryption.js +83 -0
  116. package/lib/security/index.d.ts +39 -0
  117. package/lib/security/index.js +29 -0
  118. package/lib/svg/check.svg +10 -0
  119. package/lib/svg/normal-check.svg +10 -0
  120. package/lib/svg/webViewError.svg +40 -0
  121. package/lib/theme/bin/cucc/theme.js +277 -0
  122. package/lib/theme/bin/cucc/theme.less +272 -0
  123. package/lib/theme/bin/cucc/theme.scss +272 -0
  124. package/lib/theme/bin/default/theme.js +277 -0
  125. package/lib/theme/bin/default/theme.less +272 -0
  126. package/lib/theme/bin/default/theme.scss +272 -0
  127. package/lib/theme/build.js +44 -0
  128. package/lib/theme/src/cucc/index.js +133 -0
  129. package/lib/theme/src/default/index.js +133 -0
  130. package/lib/theme/utils/colorPaletteMixin.js +61 -0
  131. package/lib/theme/utils/px2Num.js +14 -0
  132. package/lib/theme/utils/renderColors.js +18 -0
  133. package/lib/utils/img.d.ts +1 -0
  134. package/lib/utils/img.js +10 -0
  135. package/lib/utils/url.d.ts +16 -0
  136. package/lib/utils/url.js +111 -0
  137. package/package.json +6 -3
@@ -0,0 +1,3600 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getTodoActionListByKey = exports.getSystemTodoActionList = exports.default = void 0;
7
+ var SERVICE_KEY = {
8
+ QUERY: '11',
9
+ INNER: '12',
10
+ STD: '13',
11
+ RHIN: '10',
12
+ OBJECT: '2',
13
+ SUPER: '7'
14
+ };
15
+ var todoActionObject = {
16
+ showMessage: {
17
+ key: 'showMessage',
18
+ label: '消息提示',
19
+ todoOptions: [{
20
+ key: 'type',
21
+ label: '类型',
22
+ type: 'Select',
23
+ defaultValue: 'success',
24
+ props: {
25
+ options: [{
26
+ title: '成功',
27
+ value: 'success'
28
+ }, {
29
+ title: '提示',
30
+ value: 'info'
31
+ }, {
32
+ title: '警告',
33
+ value: 'warn'
34
+ }, {
35
+ title: '错误',
36
+ value: 'error'
37
+ }, {
38
+ title: '加载动画',
39
+ value: 'loading',
40
+ terminal: ['mobile']
41
+ }]
42
+ }
43
+ }, {
44
+ key: 'value',
45
+ label: '内容',
46
+ type: 'SetExpression'
47
+ }, {
48
+ key: 'duration',
49
+ label: '加载时长',
50
+ type: 'InputNumber',
51
+ props: {
52
+ unit: '秒'
53
+ }
54
+ }],
55
+ classification: [{
56
+ label: '消息&弹窗',
57
+ value: 'modal'
58
+ }],
59
+ tips: '注意:当加载时长为0时,表示一直显示加载中。当加载时长大于0时,表示按照设置时间显示加载中。'
60
+ },
61
+ hideMessage: {
62
+ key: 'hideMessage',
63
+ label: '关闭消息提示',
64
+ classification: [{
65
+ label: '消息&弹窗',
66
+ value: 'modal'
67
+ }]
68
+ },
69
+ apiRequest: {
70
+ key: 'apiRequest',
71
+ label: '发送请求',
72
+ todoOptions: [{
73
+ key: 'actionTitle',
74
+ label: '动作说明',
75
+ type: 'CustomActionTitle',
76
+ props: {
77
+ placeholder: '请输入动作说明',
78
+ maxLength: 20
79
+ }
80
+ }, {
81
+ key: 'sync',
82
+ label: '数据加载方式',
83
+ type: 'RadioButton',
84
+ defaultValue: false,
85
+ props: {
86
+ options: [{
87
+ title: '异步加载',
88
+ value: false
89
+ }, {
90
+ title: '同步加载',
91
+ value: true
92
+ }]
93
+ }
94
+ }, {
95
+ key: 'url',
96
+ label: '请求地址(URL)',
97
+ type: 'SelectServiceUrl',
98
+ props: {
99
+ isRequired: true,
100
+ valuePropName: 'url'
101
+ }
102
+ }, {
103
+ key: 'params',
104
+ label: '参数赋值',
105
+ type: 'SelectParams'
106
+ }],
107
+ todoCallbacks: ['callback1', 'callback2'],
108
+ classification: [{
109
+ label: '常用',
110
+ value: 'common'
111
+ }, {
112
+ label: '服务请求类',
113
+ value: 'request'
114
+ }]
115
+ },
116
+ JSBridge: {
117
+ key: 'JSBridge',
118
+ label: 'js调用原生方法',
119
+ todoOptions: [{
120
+ key: 'method',
121
+ label: '方法名',
122
+ type: 'input',
123
+ props: {
124
+ placeholder: '例如:openCamera'
125
+ }
126
+ }, {
127
+ key: 'androidWebName',
128
+ label: '安卓容器名称',
129
+ type: 'input',
130
+ props: {
131
+ placeholder: '默认:Android'
132
+ }
133
+ }, {
134
+ key: 'androidSuccessFunName',
135
+ label: '安卓端成功回调方法名',
136
+ type: 'input',
137
+ props: {
138
+ placeholder: '例如:openCameraSuccess[用于Android成功回调H5]'
139
+ }
140
+ }, {
141
+ key: 'iOSSuccessFunName',
142
+ label: 'iOS端成功回调方法名',
143
+ type: 'input',
144
+ props: {
145
+ placeholder: '例如:openCameraSuccess[用于iOS成功回调H5]'
146
+ }
147
+ }, {
148
+ key: 'androidFailFunName',
149
+ label: '安卓端失败回调方法名',
150
+ type: 'input',
151
+ props: {
152
+ placeholder: '例如:openCameraFail[用于Android失败的回调H5]'
153
+ }
154
+ }, {
155
+ key: 'iOSFailFunName',
156
+ label: 'iOS端失败回调方法名',
157
+ type: 'input',
158
+ props: {
159
+ placeholder: '例如:openCameraFail[用于iOS失败的回调H5]'
160
+ }
161
+ }, {
162
+ key: 'flowCustParams',
163
+ label: '自定义参数',
164
+ type: 'SetCustomParams'
165
+ }],
166
+ todoCallbacks: ['callback1', 'callback2'],
167
+ classification: [{
168
+ label: '其他',
169
+ value: 'others'
170
+ }]
171
+ },
172
+ apiRequestByFlow: {
173
+ key: 'apiRequestByFlow',
174
+ label: '触发流程',
175
+ todoOptions: [{
176
+ key: 'sync',
177
+ label: '数据加载方式',
178
+ type: 'RadioButton',
179
+ defaultValue: false,
180
+ props: {
181
+ options: [{
182
+ title: '异步加载',
183
+ value: false
184
+ }, {
185
+ title: '同步加载',
186
+ value: true
187
+ }]
188
+ }
189
+ }, {
190
+ key: 'flowUrl',
191
+ label: '流程请求接口',
192
+ type: 'input'
193
+ }, {
194
+ key: 'flowType',
195
+ label: '流程类型',
196
+ type: 'Select',
197
+ props: {
198
+ options: [{
199
+ title: '启动',
200
+ value: 'initiate'
201
+ }, {
202
+ title: '通过',
203
+ value: 'pass'
204
+ }, {
205
+ title: '拒绝',
206
+ value: 'refuse'
207
+ }, {
208
+ title: '转派',
209
+ value: 'transfer'
210
+ }, {
211
+ title: '通用',
212
+ value: 'customized'
213
+ }]
214
+ }
215
+ }, {
216
+ key: 'flowCode',
217
+ label: '选择流程',
218
+ type: 'SelectFlowCode'
219
+ }, {
220
+ key: 'workOrderId',
221
+ aliasKey: 'flowWorkOrderId',
222
+ label: '业务工单 ID',
223
+ type: 'SelectParams'
224
+ }, {
225
+ key: 'workOrderType',
226
+ label: '业务工单类型',
227
+ type: 'SetExpression'
228
+ }, {
229
+ key: 'configDealUserId',
230
+ label: '指定处理人',
231
+ type: 'SetExpression'
232
+ }, {
233
+ key: 'flowBtnActionType',
234
+ label: '按钮动作类型',
235
+ type: 'SetExpression'
236
+ }, {
237
+ key: 'flowAuditDesc',
238
+ label: '审核意见',
239
+ type: 'SetExpression'
240
+ }, {
241
+ key: 'flowFileId',
242
+ label: '附件ID',
243
+ type: 'SetExpression'
244
+ }],
245
+ todoCallbacks: ['callback1', 'callback2'],
246
+ classification: [{
247
+ label: '服务请求类',
248
+ value: 'request'
249
+ }]
250
+ },
251
+ openFlowPage: {
252
+ key: 'openFlowPage',
253
+ label: '流程页面跳转',
254
+ todoOptions: [{
255
+ key: 'flowWorkId',
256
+ label: '流程实例ID',
257
+ type: 'SetExpression'
258
+ }, {
259
+ key: 'workItemId',
260
+ label: '工单ID',
261
+ type: 'SetExpression'
262
+ }, {
263
+ key: 'flowTabStepVisible',
264
+ label: '展示流程实例图',
265
+ type: 'Switch'
266
+ }, {
267
+ key: 'flowTimelineVisible',
268
+ label: '展示流程轨迹',
269
+ type: 'Switch'
270
+ }, {
271
+ key: 'flowCustParams',
272
+ label: '自定义参数',
273
+ type: 'SetCustomParams'
274
+ }],
275
+ todoCallbacks: ['callback1', 'callback2'],
276
+ classification: [{
277
+ label: '页面类',
278
+ value: 'page'
279
+ }]
280
+ },
281
+ rollbackFlow: {
282
+ key: 'rollbackFlow',
283
+ label: '流程回退',
284
+ todoOptions: [{
285
+ key: 'flowExtraParams',
286
+ label: '目标环节',
287
+ type: 'SetRollbackFlowOptions',
288
+ props: {
289
+ isRequired: true
290
+ }
291
+ }],
292
+ todoCallbacks: ['callback1', 'callback2'],
293
+ classification: [{
294
+ label: '页面类',
295
+ value: 'page'
296
+ }]
297
+ },
298
+ openFlowDiagram: {
299
+ key: 'openFlowDiagram',
300
+ label: '打开流程实例图',
301
+ todoOptions: [{
302
+ key: 'diagramType',
303
+ label: '选择实例图类型',
304
+ type: 'Select',
305
+ props: {
306
+ options: [{
307
+ title: '当前流程实例图',
308
+ value: 'default'
309
+ }, {
310
+ title: '指定主干流程实例图',
311
+ value: 'custom'
312
+ }]
313
+ }
314
+ }, {
315
+ key: 'diagramFlowCode',
316
+ label: '选择流程',
317
+ type: 'SelectFlowCode'
318
+ }, {
319
+ key: 'diagramWorkOrderId',
320
+ label: '业务单ID',
321
+ type: 'SetExpression'
322
+ }],
323
+ classification: [{
324
+ label: '页面类',
325
+ value: 'page'
326
+ }]
327
+ },
328
+ console: {
329
+ key: 'console',
330
+ label: '打印日志',
331
+ todoOptions: [{
332
+ key: 'value',
333
+ label: '内容',
334
+ aliasKey: 'valueArray',
335
+ type: 'SetValueByArray'
336
+ }],
337
+ classification: [{
338
+ label: '调试类',
339
+ value: 'debug'
340
+ }]
341
+ },
342
+ sysSetVisible: {
343
+ key: 'sysSetVisible',
344
+ label: '控制显隐',
345
+ todoOptions: [{
346
+ key: 'visible',
347
+ label: '显隐设置',
348
+ type: 'RadioButton',
349
+ defaultValue: '',
350
+ props: {
351
+ options: [{
352
+ title: '显示',
353
+ value: 'true'
354
+ }, {
355
+ title: '隐藏',
356
+ value: ''
357
+ }, {
358
+ title: '切换',
359
+ value: 'toggle'
360
+ }]
361
+ }
362
+ }, {
363
+ key: 'compid',
364
+ label: '组件选择',
365
+ type: 'SelectComp',
366
+ aliasKey: 'selectComp'
367
+ }],
368
+ classification: [{
369
+ label: '常用',
370
+ value: 'common'
371
+ }, {
372
+ label: '显示/隐藏',
373
+ value: 'visible'
374
+ }]
375
+ },
376
+ sysSetValue: {
377
+ key: 'sysSetValue',
378
+ label: '控件赋值',
379
+ todoOptions: [{
380
+ key: 'compid',
381
+ label: '组件选择',
382
+ type: 'CompTree',
383
+ aliasKey: 'compId'
384
+ }, {
385
+ key: 'valueList',
386
+ label: '组件赋值',
387
+ type: 'SetSysExpression'
388
+ }],
389
+ todoCallbacks: ['callback1'],
390
+ classification: [{
391
+ label: '常用',
392
+ value: 'common'
393
+ }, {
394
+ label: '数据设置',
395
+ value: 'setData'
396
+ }],
397
+ initClose: true
398
+ },
399
+ sysSetDisable: {
400
+ key: 'sysSetDisable',
401
+ label: '禁用状态',
402
+ todoOptions: [{
403
+ key: 'disabled',
404
+ label: '状态设置',
405
+ type: 'RadioButton',
406
+ defaultValue: 'toggle',
407
+ props: {
408
+ options: [{
409
+ title: '启动',
410
+ value: ''
411
+ }, {
412
+ title: '禁用',
413
+ value: 'true'
414
+ }, {
415
+ title: '切换',
416
+ value: 'toggle'
417
+ }]
418
+ }
419
+ }, {
420
+ key: 'compid',
421
+ label: '组件选择',
422
+ type: 'SelectComp',
423
+ aliasKey: 'selectComp'
424
+ }],
425
+ classification: [{
426
+ label: '常用',
427
+ value: 'common'
428
+ }, {
429
+ label: '数据设置',
430
+ value: 'setData'
431
+ }]
432
+ },
433
+ sysSetRequired: {
434
+ key: 'sysSetRequired',
435
+ label: '设置必填',
436
+ todoOptions: [{
437
+ key: 'required',
438
+ label: '必填设置',
439
+ type: 'RadioButton',
440
+ defaultValue: 'toggle',
441
+ props: {
442
+ options: [{
443
+ title: '必填',
444
+ value: 'true'
445
+ }, {
446
+ title: '非必填',
447
+ value: ''
448
+ }, {
449
+ title: '切换',
450
+ value: 'toggle'
451
+ }]
452
+ }
453
+ }, {
454
+ key: 'compid',
455
+ label: '组件选择',
456
+ type: 'SelectComp',
457
+ aliasKey: 'selectComp'
458
+ }],
459
+ classification: [{
460
+ label: '常用',
461
+ value: 'common'
462
+ }, {
463
+ label: '数据设置',
464
+ value: 'setData'
465
+ }]
466
+ },
467
+ showModal: {
468
+ key: 'showModal',
469
+ label: '打开提示框',
470
+ todoOptions: [{
471
+ key: 'type',
472
+ label: '类型',
473
+ type: 'Select',
474
+ aliasKey: 'modalType',
475
+ props: {
476
+ options: [{
477
+ title: '成功',
478
+ value: 'success'
479
+ }, {
480
+ title: '提示',
481
+ value: 'info'
482
+ }, {
483
+ title: '警告',
484
+ value: 'warning'
485
+ }, {
486
+ title: '错误',
487
+ value: 'error'
488
+ }, {
489
+ title: '确认',
490
+ value: 'confirm'
491
+ }]
492
+ }
493
+ }, {
494
+ key: 'title',
495
+ label: '标题',
496
+ type: 'Input'
497
+ }, {
498
+ key: 'content',
499
+ label: '内容',
500
+ type: 'Input'
501
+ }, {
502
+ key: 'okText',
503
+ label: '确认按钮文本',
504
+ type: 'Input'
505
+ }, {
506
+ key: 'cancelText',
507
+ label: '取消按钮文本',
508
+ type: 'Input',
509
+ visibleFlag: 'type',
510
+ visibleFlagValue: ['confirm']
511
+ }],
512
+ todoCallbacks: ['callback1', 'callback2'],
513
+ classification: [{
514
+ label: '常用',
515
+ value: 'common'
516
+ }, {
517
+ label: '消息&弹窗',
518
+ value: 'modal'
519
+ }]
520
+ },
521
+ showCustomModal: {
522
+ key: 'showCustomModal',
523
+ label: '打开弹窗',
524
+ todoOptions: [{
525
+ key: 'modalname',
526
+ label: '弹窗',
527
+ type: 'SelectModal'
528
+ }, {
529
+ key: 'compState',
530
+ label: '组件状态',
531
+ type: 'CompState'
532
+ }],
533
+ todoCallbacks: ['callback1', 'callback2'],
534
+ classification: [{
535
+ label: '消息&弹窗',
536
+ value: 'modal'
537
+ }]
538
+ },
539
+ showAppCustomModal: {
540
+ key: 'showAppCustomModal',
541
+ label: '打开弹窗',
542
+ todoOptions: [{
543
+ key: 'modalname',
544
+ label: '弹窗',
545
+ type: 'SelectModal'
546
+ }, {
547
+ key: 'compState',
548
+ label: '组件状态',
549
+ type: 'CompState'
550
+ }],
551
+ todoCallbacks: ['callback1', 'callback2'],
552
+ classification: [{
553
+ label: '消息&弹窗',
554
+ value: 'modal'
555
+ }],
556
+ tips: '确认回调事件执行:在弹窗页面编排选择触发父页面确认回掉事件,将会触发确认回掉事件; \n\n 弹窗消失时执行: 每次弹窗消失将会触发该回掉'
557
+ },
558
+ showDrawer: {
559
+ key: 'showDrawer',
560
+ label: '打开推拉门',
561
+ todoOptions: [{
562
+ key: 'drawerPath',
563
+ label: '推拉门',
564
+ type: 'SelectDrawer'
565
+ }, {
566
+ key: 'compState',
567
+ label: '组件状态',
568
+ type: 'CompState'
569
+ }],
570
+ todoCallbacks: ['callback1', 'callback2'],
571
+ classification: [{
572
+ label: '消息&弹窗',
573
+ value: 'modal'
574
+ }],
575
+ tips: '点击确认执行:在弹窗页面编排选择触发父页面确认回掉事件,将会触发确认回掉事件; \n 点击取消执行: 点击取消将会触发该回掉'
576
+ },
577
+ setPublicState: {
578
+ key: 'setPublicState',
579
+ label: '设置页面出参',
580
+ todoOptions: [{
581
+ key: 'value',
582
+ label: '内容',
583
+ type: 'SetExpression'
584
+ }]
585
+ },
586
+ getPublicState: {
587
+ key: 'getPublicState',
588
+ label: '获取页面出参',
589
+ todoOptions: [{
590
+ key: 'jsonId',
591
+ label: '页面',
592
+ type: 'SelectPage'
593
+ }],
594
+ todoCallbacks: ['callback1'],
595
+ classification: [{
596
+ label: '数据设置',
597
+ value: 'setData'
598
+ }]
599
+ },
600
+ historyPush: {
601
+ key: 'historyPush',
602
+ label: '路由跳转',
603
+ todoOptions: [{
604
+ key: 'pathname',
605
+ label: '页面',
606
+ type: 'SelectPage'
607
+ }, {
608
+ key: 'search',
609
+ aliasKey: 'searchParams',
610
+ label: 'url参数',
611
+ type: 'SearchParams'
612
+ }]
613
+ },
614
+ historyReplace: {
615
+ key: 'historyReplace',
616
+ label: '路由替换',
617
+ todoOptions: [{
618
+ key: 'pathname',
619
+ label: '页面',
620
+ type: 'SelectPage'
621
+ }, {
622
+ key: 'search',
623
+ aliasKey: 'searchParams',
624
+ label: 'url参数',
625
+ type: 'SearchParams'
626
+ }]
627
+ },
628
+ history: {
629
+ key: 'history',
630
+ label: '页面跳转',
631
+ todoOptions: [{
632
+ key: 'type',
633
+ aliasKey: 'historyType',
634
+ label: '类型',
635
+ type: 'Select',
636
+ props: {
637
+ options: [{
638
+ title: '路由跳转',
639
+ value: 'push'
640
+ }, {
641
+ title: '路由替换',
642
+ value: 'replace'
643
+ }]
644
+ }
645
+ }, {
646
+ key: 'pathname',
647
+ label: '页面',
648
+ type: 'SelectPage'
649
+ }, {
650
+ key: 'search',
651
+ aliasKey: 'searchParams',
652
+ label: 'url参数',
653
+ type: 'SearchParams'
654
+ }],
655
+ classification: [{
656
+ label: '页面类',
657
+ value: 'page'
658
+ }]
659
+ },
660
+ dropPageByCatch: {
661
+ key: 'dropPageByCatch',
662
+ label: '页面缓存清除',
663
+ todoOptions: [{
664
+ key: 'dropPathname',
665
+ label: '页面',
666
+ type: 'MultiselectPage'
667
+ }],
668
+ classification: [{
669
+ label: '页面类',
670
+ value: 'page'
671
+ }]
672
+ },
673
+ historyGoBack: {
674
+ key: 'historyGoBack',
675
+ label: '页面返回',
676
+ todoOptions: [{
677
+ key: 'custParams',
678
+ label: '自定义参数',
679
+ type: 'SetCustomParams'
680
+ }],
681
+ classification: [{
682
+ label: '页面类',
683
+ value: 'page'
684
+ }]
685
+ },
686
+ setCustomState: {
687
+ key: 'setCustomState',
688
+ label: '设置自定义页面数据',
689
+ todoOptions: [{
690
+ key: 'stateName',
691
+ label: '自定义属性名',
692
+ type: 'Input'
693
+ }, {
694
+ key: 'stateval',
695
+ label: '内容',
696
+ type: 'SetExpression'
697
+ }],
698
+ classification: [{
699
+ label: '数据设置',
700
+ value: 'setData'
701
+ }]
702
+ },
703
+ getCustomState: {
704
+ key: 'getCustomState',
705
+ label: '获取自定义页面数据',
706
+ todoOptions: [{
707
+ key: 'stateName',
708
+ label: '自定义属性名',
709
+ type: 'Input'
710
+ }],
711
+ todoCallbacks: ['callback1'],
712
+ classification: [{
713
+ label: '数据设置',
714
+ value: 'setData'
715
+ }]
716
+ },
717
+ setStatesByKeyAndValue: {
718
+ key: 'setStatesByKeyAndValue',
719
+ label: 'App设置自定义页面数据',
720
+ todoOptions: [{
721
+ key: 'stateName',
722
+ label: '自定义属性名',
723
+ type: 'Input'
724
+ }, {
725
+ key: 'stateval',
726
+ label: '内容',
727
+ type: 'SetExpression'
728
+ }],
729
+ classification: [{
730
+ label: '数据设置',
731
+ value: 'setData'
732
+ }]
733
+ },
734
+ getStatesByKey: {
735
+ key: 'getStatesByKey',
736
+ label: 'App获取自定义页面数据',
737
+ todoOptions: [{
738
+ key: 'stateName',
739
+ label: '自定义属性名',
740
+ type: 'Input'
741
+ }],
742
+ todoCallbacks: ['callback1'],
743
+ classification: [{
744
+ label: '数据设置',
745
+ value: 'setData'
746
+ }]
747
+ },
748
+ setCompNestedState: {
749
+ key: 'setCompNestedState',
750
+ label: '设置组件属性数据',
751
+ todoOptions: [{
752
+ key: 'stateName',
753
+ label: '自定义属性名',
754
+ type: 'Input'
755
+ }, {
756
+ key: 'stateval',
757
+ label: '内容',
758
+ type: 'SetExpression'
759
+ }],
760
+ classification: [{
761
+ label: '数据设置',
762
+ value: 'setData'
763
+ }]
764
+ },
765
+ getCompNestedState: {
766
+ key: 'getCompNestedState',
767
+ label: '获取组件属性数据',
768
+ todoOptions: [{
769
+ key: 'stateName',
770
+ label: '自定义属性名',
771
+ type: 'Input'
772
+ }],
773
+ todoCallbacks: ['callback1'],
774
+ classification: [{
775
+ label: '数据设置',
776
+ value: 'setData'
777
+ }]
778
+ },
779
+ okCallbackData: {
780
+ key: 'okCallbackData',
781
+ label: '触发父页面确认回调',
782
+ todoOptions: [{
783
+ key: 'params',
784
+ aliasKey: 'setParams',
785
+ label: '参数',
786
+ type: 'SetExpression'
787
+ }],
788
+ classification: [{
789
+ label: '回调',
790
+ value: 'callback'
791
+ }]
792
+ },
793
+ closeModal: {
794
+ key: 'closeModal',
795
+ label: '关闭当前弹窗/推拉门',
796
+ todoOptions: [],
797
+ classification: [{
798
+ label: '消息&弹窗',
799
+ value: 'modal'
800
+ }]
801
+ },
802
+ validateForm: {
803
+ key: 'validateForm',
804
+ label: '表单校验并取值',
805
+ todoCallbacks: ['callback1', 'callback2']
806
+ },
807
+ getFormValue: {
808
+ key: 'getFormValue',
809
+ label: '表单取值',
810
+ todoCallbacks: ['callback1']
811
+ },
812
+ setFormValues: {
813
+ key: 'setFormValues',
814
+ label: '设置表单数据',
815
+ todoOptions: [{
816
+ key: 'params',
817
+ label: '参数赋值',
818
+ type: 'SelectParams'
819
+ }]
820
+ },
821
+ resetForm: {
822
+ key: 'resetForm',
823
+ label: '重置表单'
824
+ },
825
+ setTripleFormAction: {
826
+ key: 'setTripleFormAction',
827
+ label: '设置表单外部数据',
828
+ todoOptions: [{
829
+ key: 'actionType',
830
+ label: '表单类型',
831
+ type: 'SetExpression',
832
+ props: {
833
+ placeholder: '新增-add, 编辑-edit, 详情-detail'
834
+ }
835
+ }, {
836
+ key: 'detailId',
837
+ aliasKey: 'tripleFormId',
838
+ label: '详情id',
839
+ type: 'SetExpression'
840
+ }]
841
+ },
842
+ validateCurrentForm: {
843
+ key: 'validateCurrentForm',
844
+ label: '当前表单校验并取值',
845
+ todoCallbacks: ['callback1', 'callback2']
846
+ },
847
+ getCurrentFormValues: {
848
+ key: 'getCurrentFormValues',
849
+ label: '当前表单取值',
850
+ todoCallbacks: ['callback1']
851
+ },
852
+ setCurrentFormValues: {
853
+ key: 'setCurrentFormValues',
854
+ label: '设置当前表单数据',
855
+ todoOptions: [{
856
+ key: 'params',
857
+ label: '参数赋值',
858
+ type: 'SelectParams'
859
+ }]
860
+ },
861
+ resetCurrentForm: {
862
+ key: 'resetCurrentForm',
863
+ label: '重置当前表单'
864
+ },
865
+ validateAllForm: {
866
+ key: 'validateAllForm',
867
+ label: '全部表单校验并取值',
868
+ todoCallbacks: ['callback1', 'callback2'],
869
+ classification: [{
870
+ label: '数据设置',
871
+ value: 'setData'
872
+ }]
873
+ },
874
+ getAllFormValues: {
875
+ key: 'getAllFormValues',
876
+ label: '全部表单取值',
877
+ todoCallbacks: ['callback1'],
878
+ classification: [{
879
+ label: '数据设置',
880
+ value: 'setData'
881
+ }]
882
+ },
883
+ resetAllForm: {
884
+ key: 'resetAllForm',
885
+ label: '重置全部表单',
886
+ classification: [{
887
+ label: '数据设置',
888
+ value: 'setData'
889
+ }]
890
+ },
891
+ validateGridViewForms: {
892
+ key: 'validateGridViewForms',
893
+ label: '循环块表单校验并取值',
894
+ todoCallbacks: ['callback1', 'callback2']
895
+ },
896
+ getGridViewFormValues: {
897
+ key: 'getGridViewFormValues',
898
+ label: '循环块表单取值',
899
+ todoCallbacks: ['callback1']
900
+ },
901
+ reloadTableData: {
902
+ key: 'reloadTableData',
903
+ label: '加载数据',
904
+ todoOptions: [{
905
+ key: 'data',
906
+ aliasKey: 'dataSource',
907
+ label: '内容',
908
+ type: 'SetExpression'
909
+ }, {
910
+ key: 'total',
911
+ label: '总条数',
912
+ type: 'SetExpression'
913
+ }, {
914
+ key: 'current',
915
+ aliasKey: 'curPage',
916
+ label: '更新页码',
917
+ type: 'SetExpression'
918
+ }],
919
+ todoCallbacks: ['callback1']
920
+ },
921
+ reloadColServiceData: {
922
+ key: 'reloadColServiceData',
923
+ label: '加载字段翻译数据',
924
+ todoOptions: [{
925
+ key: 'colName',
926
+ label: '翻译字段',
927
+ type: 'SelectTableCol'
928
+ }, {
929
+ key: 'data',
930
+ aliasKey: 'dataSource',
931
+ label: '内容',
932
+ type: 'SetExpression'
933
+ }]
934
+ },
935
+ reloadColServiceDataForEdit: {
936
+ key: 'reloadColServiceDataForEdit',
937
+ label: '加载字段数据',
938
+ todoOptions: [{
939
+ key: 'colNameForEdit',
940
+ label: '字段',
941
+ type: 'SelectTableCol'
942
+ }, {
943
+ key: 'data',
944
+ label: '内容',
945
+ type: 'SetExpression'
946
+ }]
947
+ },
948
+ reloadRCData: {
949
+ key: 'reloadRCData',
950
+ label: '加载数据',
951
+ todoOptions: [{
952
+ key: 'data',
953
+ aliasKey: 'dataSource',
954
+ label: '内容',
955
+ type: 'SetExpression'
956
+ }, {
957
+ key: 'labelKey',
958
+ aliasKey: 'selectLabelKeyForRC',
959
+ label: '显示内容字段',
960
+ type: 'SetExpressionKey'
961
+ }, {
962
+ key: 'valueKey',
963
+ aliasKey: 'selectValueKeyForRC',
964
+ label: '显示值字段',
965
+ type: 'SetExpressionKey'
966
+ }],
967
+ todoCallbacks: ['callback1']
968
+ },
969
+ reloadSelectData: {
970
+ key: 'reloadSelectData',
971
+ label: '加载数据',
972
+ todoOptions: [{
973
+ key: 'data',
974
+ aliasKey: 'dataSource',
975
+ label: '内容',
976
+ type: 'SetExpression'
977
+ }, {
978
+ key: 'labelKey',
979
+ aliasKey: 'selectLabelKey',
980
+ label: '选项内容字段',
981
+ type: 'SetExpressionKey'
982
+ }, {
983
+ key: 'valueKey',
984
+ aliasKey: 'selectValueKey',
985
+ label: '选项值字段',
986
+ type: 'SetExpressionKey'
987
+ }],
988
+ todoCallbacks: ['callback1']
989
+ },
990
+ reloadDescData: {
991
+ key: 'reloadDescData',
992
+ label: '加载数据',
993
+ todoOptions: [{
994
+ key: 'data',
995
+ aliasKey: 'dataSource',
996
+ label: '内容',
997
+ type: 'SetExpression'
998
+ }]
999
+ },
1000
+ reloadData: {
1001
+ key: 'reloadData',
1002
+ label: '加载数据',
1003
+ todoOptions: [{
1004
+ key: 'data',
1005
+ label: '内容',
1006
+ aliasKey: 'dataSource',
1007
+ type: 'SetExpression'
1008
+ }, {
1009
+ key: 'labelKey',
1010
+ label: '节点名称取值字段',
1011
+ type: 'SetExpressionKey'
1012
+ }, {
1013
+ key: 'nodeValueKey',
1014
+ label: '节点key取值字段',
1015
+ type: 'SetExpressionKey'
1016
+ }, {
1017
+ key: 'selectable',
1018
+ label: '节点可选字段编码',
1019
+ type: 'SetExpressionKey',
1020
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1021
+ }, {
1022
+ key: 'childrenKey',
1023
+ label: '下级列表取值字段',
1024
+ type: 'SetExpressionKey',
1025
+ labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n '
1026
+ }],
1027
+ todoCallbacks: ['callback1']
1028
+ },
1029
+ reloadChildData: {
1030
+ key: 'reloadChildData',
1031
+ label: '加载子节点数据',
1032
+ todoOptions: [{
1033
+ key: 'data',
1034
+ aliasKey: 'dataSource',
1035
+ label: '内容',
1036
+ type: 'SetExpression'
1037
+ }, {
1038
+ key: 'parentKey',
1039
+ label: '操作节点key',
1040
+ type: 'SetExpression'
1041
+ }, {
1042
+ key: 'labelKey',
1043
+ label: '节点名称取值字段',
1044
+ type: 'SetExpressionKey'
1045
+ }, {
1046
+ key: 'nodeValueKey',
1047
+ label: '节点key取值字段',
1048
+ type: 'SetExpressionKey'
1049
+ }, {
1050
+ key: 'selectable',
1051
+ label: '节点可选字段编码',
1052
+ type: 'SetExpressionKey',
1053
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1054
+ }, {
1055
+ key: 'childrenKey',
1056
+ label: '下级列表取值字段',
1057
+ type: 'SetExpressionKey',
1058
+ labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n '
1059
+ }],
1060
+ todoCallbacks: ['callback1']
1061
+ },
1062
+ reloadMenuData: {
1063
+ key: 'reloadMenuData',
1064
+ label: '加载数据',
1065
+ todoOptions: [{
1066
+ key: 'data',
1067
+ aliasKey: 'dataSource',
1068
+ label: '内容',
1069
+ type: 'SetExpression'
1070
+ }, {
1071
+ key: 'labelKey',
1072
+ label: '节点名称取值字段',
1073
+ type: 'SetExpressionKey'
1074
+ }, {
1075
+ key: 'nodeValueKey',
1076
+ label: '节点key取值字段',
1077
+ type: 'SetExpressionKey'
1078
+ }, {
1079
+ key: 'urlValueKey',
1080
+ label: '节点url取值字段',
1081
+ type: 'SetExpressionKey'
1082
+ }, {
1083
+ key: 'selectable',
1084
+ label: '节点可选字段编码',
1085
+ type: 'SetExpressionKey',
1086
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1087
+ }, {
1088
+ key: 'childrenKey',
1089
+ label: '下级列表取值字段',
1090
+ type: 'SetExpressionKey',
1091
+ labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n '
1092
+ }],
1093
+ todoCallbacks: ['callback1']
1094
+ },
1095
+ appendTreeNode: {
1096
+ key: 'appendTreeNode',
1097
+ label: '加载子节点数据',
1098
+ todoOptions: [{
1099
+ key: 'data',
1100
+ aliasKey: 'dataSource',
1101
+ label: '内容',
1102
+ type: 'SetExpression'
1103
+ }, {
1104
+ key: 'nodeKey',
1105
+ label: '操作节点key',
1106
+ type: 'SetExpression'
1107
+ }, {
1108
+ key: 'title',
1109
+ aliasKey: 'titleKey',
1110
+ label: '节点名称取值字段',
1111
+ type: 'SetExpression'
1112
+ }, {
1113
+ key: 'key',
1114
+ aliasKey: 'valueKey',
1115
+ label: '节点key取值字段',
1116
+ type: 'SetExpression'
1117
+ }, {
1118
+ key: 'selectable',
1119
+ label: '节点可选字段编码',
1120
+ type: 'SetExpressionKey',
1121
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1122
+ }]
1123
+ },
1124
+ appendMenuNodeData: {
1125
+ key: 'appendMenuNodeData',
1126
+ label: '加载菜单子项数据',
1127
+ todoOptions: [{
1128
+ key: 'data',
1129
+ aliasKey: 'dataSource',
1130
+ label: '内容',
1131
+ type: 'SetExpression'
1132
+ }, {
1133
+ key: 'title',
1134
+ aliasKey: 'titleKey',
1135
+ label: '节点名称取值字段',
1136
+ type: 'SetExpression'
1137
+ }, {
1138
+ key: 'key',
1139
+ aliasKey: 'valueKey',
1140
+ label: '节点key取值字段',
1141
+ type: 'SetExpression'
1142
+ }, {
1143
+ key: 'childrenKey',
1144
+ label: '下级列表取值字段',
1145
+ type: 'SetExpressionKey',
1146
+ labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n '
1147
+ }],
1148
+ todoCallbacks: ['callback1']
1149
+ },
1150
+ getTreeSelectedKey: {
1151
+ key: 'getTreeSelectedKey',
1152
+ label: '获取选中节点key',
1153
+ todoCallbacks: ['callback1']
1154
+ },
1155
+ getSelectedData: {
1156
+ key: 'getSelectedData',
1157
+ label: '获取选中数据',
1158
+ todoCallbacks: ['callback1', 'callback2']
1159
+ },
1160
+ setTreeSelectedKey: {
1161
+ key: 'setTreeSelectedKey',
1162
+ label: '设置选中节点',
1163
+ todoOptions: [{
1164
+ key: 'value',
1165
+ label: '内容',
1166
+ type: 'SetExpression'
1167
+ }],
1168
+ todoCallbacks: ['callback1']
1169
+ },
1170
+ clearTreeSelectedKey: {
1171
+ key: 'clearTreeSelectedKey',
1172
+ label: '清空选中项'
1173
+ },
1174
+ getTreeEditingKey: {
1175
+ key: 'getTreeEditingKey',
1176
+ label: '获取当前操作的节点key',
1177
+ todoCallbacks: ['callback1']
1178
+ },
1179
+ getCheckedKey: {
1180
+ key: 'getCheckedKey',
1181
+ label: '获取复选框选中值',
1182
+ todoCallbacks: ['callback1', 'callback2']
1183
+ },
1184
+ setCheckedKey: {
1185
+ key: 'setCheckedKey',
1186
+ label: '设置复选框选中值',
1187
+ todoOptions: [{
1188
+ key: 'value',
1189
+ label: '内容',
1190
+ type: 'SetExpression'
1191
+ }],
1192
+ todoCallbacks: ['callback1']
1193
+ },
1194
+ clearTreeCheckedKey: {
1195
+ key: 'clearTreeCheckedKey',
1196
+ label: '清空复选框选中项'
1197
+ },
1198
+ setSelectAll: {
1199
+ key: 'setSelectAll',
1200
+ label: '设置全部选中',
1201
+ todoCallbacks: ['callback1']
1202
+ },
1203
+ getTableSelected: {
1204
+ key: 'getTableSelected',
1205
+ label: '获取选中行',
1206
+ todoCallbacks: ['callback1', 'callback2']
1207
+ },
1208
+ getTableSelectedKey: {
1209
+ key: 'getTableSelectedKey',
1210
+ label: '获取选中行主键',
1211
+ todoCallbacks: ['callback1', 'callback2']
1212
+ },
1213
+ getTableCurrentPageSelected: {
1214
+ key: 'getTableCurrentPageSelected',
1215
+ label: '获取当前页选中行',
1216
+ todoCallbacks: ['callback1', 'callback2']
1217
+ },
1218
+ getTableCurrentPageSelectedKey: {
1219
+ key: 'getTableCurrentPageSelectedKey',
1220
+ label: '获取当前页选中行主键',
1221
+ todoCallbacks: ['callback1', 'callback2']
1222
+ },
1223
+ getTableData: {
1224
+ key: 'getTableData',
1225
+ label: '获取表格数据',
1226
+ todoCallbacks: ['callback1']
1227
+ },
1228
+ getPageNum: {
1229
+ key: 'getPageNum',
1230
+ label: '获取当前页码',
1231
+ todoCallbacks: ['callback1']
1232
+ },
1233
+ addTableRow: {
1234
+ key: 'addTableRow',
1235
+ label: '新增一行空白数据',
1236
+ todoOptions: [{
1237
+ key: 'inlineeditnow',
1238
+ label: '新增后启用行内编辑',
1239
+ type: 'Select',
1240
+ props: {
1241
+ options: [{
1242
+ title: '否',
1243
+ value: false
1244
+ }, {
1245
+ title: '是',
1246
+ value: true
1247
+ }]
1248
+ }
1249
+ }]
1250
+ },
1251
+ addTableRowData: {
1252
+ key: 'addTableRowData',
1253
+ label: '新增一行数据',
1254
+ todoOptions: [{
1255
+ key: 'params',
1256
+ label: '参数赋值',
1257
+ type: 'SelectParams'
1258
+ }]
1259
+ },
1260
+ delTableRow: {
1261
+ key: 'delTableRow',
1262
+ label: '删除指定行数据',
1263
+ todoOptions: [{
1264
+ key: 'params',
1265
+ label: '参数赋值',
1266
+ type: 'SelectParams'
1267
+ }]
1268
+ },
1269
+ setSelectedRowKeys: {
1270
+ key: 'setSelectedRowKeys',
1271
+ label: '设置选中行',
1272
+ todoOptions: [{
1273
+ key: 'value',
1274
+ label: '内容',
1275
+ type: 'SetExpression'
1276
+ }],
1277
+ todoCallbacks: ['callback1']
1278
+ },
1279
+ clearTableSelected: {
1280
+ key: 'clearTableSelected',
1281
+ label: '清除选中数据'
1282
+ },
1283
+ setActiveTabPane: {
1284
+ key: 'setActiveTabPane',
1285
+ label: '设置Tabs选中面板',
1286
+ todoOptions: [{
1287
+ key: 'activeTabKey',
1288
+ label: 'Tab选中key',
1289
+ type: 'ActiveTabKey'
1290
+ }]
1291
+ },
1292
+ setDisable: {
1293
+ key: 'setDisable',
1294
+ label: '禁用状态',
1295
+ todoOptions: [{
1296
+ key: 'disabled',
1297
+ label: '状态设置',
1298
+ type: 'RadioButton',
1299
+ defaultValue: 'toggle',
1300
+ props: {
1301
+ options: [{
1302
+ title: '启动',
1303
+ value: ''
1304
+ }, {
1305
+ title: '禁用',
1306
+ value: 'true'
1307
+ }, {
1308
+ title: '切换',
1309
+ value: 'toggle'
1310
+ }]
1311
+ }
1312
+ }, {
1313
+ key: 'compid',
1314
+ label: '组件选择',
1315
+ type: 'SelectComp'
1316
+ }]
1317
+ },
1318
+ setRequired: {
1319
+ key: 'setRequired',
1320
+ label: '设置必填',
1321
+ todoOptions: [{
1322
+ key: 'required',
1323
+ label: '必填设置',
1324
+ type: 'RadioButton',
1325
+ defaultValue: 'toggle',
1326
+ props: {
1327
+ options: [{
1328
+ title: '必填',
1329
+ value: 'true'
1330
+ }, {
1331
+ title: '非必填',
1332
+ value: ''
1333
+ }, {
1334
+ title: '切换',
1335
+ value: 'toggle'
1336
+ }]
1337
+ }
1338
+ }, {
1339
+ key: 'compid',
1340
+ label: '组件选择',
1341
+ type: 'SelectComp',
1342
+ aliasKey: 'selectComp'
1343
+ }]
1344
+ },
1345
+ setVisible: {
1346
+ key: 'setVisible',
1347
+ label: '控制显隐',
1348
+ todoOptions: [{
1349
+ key: 'visible',
1350
+ label: '显隐设置',
1351
+ type: 'RadioButton',
1352
+ defaultValue: '',
1353
+ props: {
1354
+ options: [{
1355
+ title: '显示',
1356
+ value: 'true'
1357
+ }, {
1358
+ title: '隐藏',
1359
+ value: ''
1360
+ }, {
1361
+ title: '切换',
1362
+ value: 'toggle'
1363
+ }]
1364
+ }
1365
+ }, {
1366
+ key: 'compid',
1367
+ label: '组件选择',
1368
+ type: 'SelectComp',
1369
+ aliasKey: 'selectComp'
1370
+ }]
1371
+ },
1372
+ setLoading: {
1373
+ key: 'setLoading',
1374
+ label: '控制加载中',
1375
+ todoOptions: [{
1376
+ key: 'loading',
1377
+ label: '是否加载中',
1378
+ type: 'Select',
1379
+ props: {
1380
+ options: [{
1381
+ title: '是',
1382
+ value: true
1383
+ }, {
1384
+ title: '否',
1385
+ value: false
1386
+ }]
1387
+ }
1388
+ }]
1389
+ },
1390
+ setValue: {
1391
+ key: 'setValue',
1392
+ label: '控件赋值',
1393
+ todoOptions: [{
1394
+ key: 'compid',
1395
+ label: '组件选择',
1396
+ type: 'CompTree',
1397
+ aliasKey: 'compId'
1398
+ }, {
1399
+ key: 'valueList',
1400
+ label: '组件赋值',
1401
+ type: 'SetSysExpression'
1402
+ }],
1403
+ todoCallbacks: ['callback1'],
1404
+ // labelMap: {
1405
+ // LoopList: '设置选中项',
1406
+ // },
1407
+ initClose: true
1408
+ },
1409
+ setModalSelectValue: {
1410
+ key: 'setModalSelectValue',
1411
+ label: '控件赋值',
1412
+ todoOptions: [{
1413
+ key: 'value',
1414
+ label: '内容',
1415
+ type: 'SetExpression'
1416
+ }, {
1417
+ key: 'labelKey',
1418
+ label: '内容映射字段',
1419
+ type: 'SetExpressionKey',
1420
+ aliasKey: 'labelMapKey'
1421
+ }, {
1422
+ key: 'valueKey',
1423
+ label: '值映射字段',
1424
+ type: 'SetExpressionKey',
1425
+ aliasKey: 'valueMapKey'
1426
+ }],
1427
+ todoCallbacks: ['callback1'],
1428
+ initClose: true
1429
+ },
1430
+ setBadgeValue: {
1431
+ key: 'setBadgeValue',
1432
+ label: '设置角标值',
1433
+ todoOptions: [{
1434
+ key: 'value',
1435
+ label: '内容',
1436
+ type: 'SetExpression'
1437
+ }],
1438
+ todoCallbacks: ['callback1']
1439
+ },
1440
+ getValue: {
1441
+ key: 'getValue',
1442
+ label: '获取当前值',
1443
+ todoCallbacks: ['callback1']
1444
+ // labelMap: {
1445
+ // Transfer: '获取右侧列表值',
1446
+ // TreeSelect: '获取选中值',
1447
+ // },
1448
+ },
1449
+
1450
+ reloadOptions: {
1451
+ key: 'reloadOptions',
1452
+ label: '重新加载选项'
1453
+ },
1454
+ clearOptions: {
1455
+ key: 'clearOptions',
1456
+ label: '清空选项'
1457
+ },
1458
+ clearValue: {
1459
+ key: 'clearValue',
1460
+ label: '清空值',
1461
+ todoOptions: []
1462
+ // labelMap: {
1463
+ // Transfer: '清空右侧列表',
1464
+ // Radio: '清空选中项',
1465
+ // CheckboxGroup: '清空选中项',
1466
+ // TreeSelect: '清空选中项',
1467
+ // Select: '清空选中项',
1468
+ // MultipleSelect: '清空选中项',
1469
+ // },
1470
+ },
1471
+
1472
+ triggerRelDataSource: {
1473
+ key: 'triggerRelDataSource',
1474
+ label: '联动设置下拉框选项',
1475
+ todoOptions: [{
1476
+ key: 'target',
1477
+ label: '联动来源',
1478
+ type: 'SelectObject'
1479
+ }, {
1480
+ key: 'arelStaticData',
1481
+ label: 'A端静态数据',
1482
+ type: 'SelectStaticData',
1483
+ props: {
1484
+ options: {
1485
+ noCustom: true
1486
+ }
1487
+ }
1488
+ }, {
1489
+ key: 'zrelStaticData',
1490
+ label: 'Z端静态数据',
1491
+ type: 'SelectStaticData',
1492
+ props: {
1493
+ options: {
1494
+ noCustom: true
1495
+ }
1496
+ }
1497
+ }, {
1498
+ key: 'custTargetVal',
1499
+ label: '自定义触发值',
1500
+ type: 'SetExpression'
1501
+ }]
1502
+ },
1503
+ triggerMobileRelDataSource: {
1504
+ key: 'triggerMobileRelDataSource',
1505
+ label: '联动设置下拉框选项',
1506
+ todoOptions: [{
1507
+ key: 'target',
1508
+ label: '联动来源',
1509
+ type: 'SelectObject'
1510
+ }, {
1511
+ key: 'arelStaticData',
1512
+ label: 'A端静态数据',
1513
+ type: 'SelectStaticData',
1514
+ props: {
1515
+ options: {
1516
+ noCustom: true
1517
+ }
1518
+ }
1519
+ }, {
1520
+ key: 'zrelStaticData',
1521
+ label: 'Z端静态数据',
1522
+ type: 'SelectStaticData',
1523
+ props: {
1524
+ options: {
1525
+ noCustom: true
1526
+ }
1527
+ }
1528
+ }]
1529
+ },
1530
+ validateMsg: {
1531
+ key: 'validateMsg',
1532
+ label: '校验提示',
1533
+ todoOptions: [{
1534
+ key: 'validateStatus',
1535
+ aliasKey: 'validateType',
1536
+ label: '校验类型',
1537
+ type: 'RadioButton',
1538
+ defaultValue: 'success',
1539
+ props: {
1540
+ options: [{
1541
+ title: '成功',
1542
+ value: 'success'
1543
+ }, {
1544
+ title: '提示',
1545
+ value: 'validating'
1546
+ }, {
1547
+ title: '错误',
1548
+ value: 'error'
1549
+ }, {
1550
+ title: '警告',
1551
+ value: 'warning'
1552
+ }, {
1553
+ title: '正常',
1554
+ value: ''
1555
+ }]
1556
+ }
1557
+ }, {
1558
+ key: 'help',
1559
+ label: '校验文案',
1560
+ type: 'Input',
1561
+ aliasKey: 'validateMsg',
1562
+ props: {
1563
+ placeholder: '请输入'
1564
+ }
1565
+ }]
1566
+ },
1567
+ editInlineRow: {
1568
+ key: 'editInlineRow',
1569
+ label: '指定行开启行内编辑',
1570
+ todoOptions: [{
1571
+ key: 'inlineeditrow',
1572
+ label: '指定行id',
1573
+ type: 'SelectParams'
1574
+ }]
1575
+ },
1576
+ saveInlineRow: {
1577
+ key: 'saveInlineRow',
1578
+ label: '保存当前行内编辑行',
1579
+ todoOptions: []
1580
+ },
1581
+ restoreInlineRow: {
1582
+ key: 'restoreInlineRow',
1583
+ label: '撤销全部行内编辑行',
1584
+ todoOptions: []
1585
+ },
1586
+ setDownloadResponse: {
1587
+ key: 'setDownloadResponse',
1588
+ label: '打开/下载链接',
1589
+ todoOptions: [{
1590
+ key: 'downloadUrl',
1591
+ label: '下载链接地址',
1592
+ type: 'DownloadUrl'
1593
+ }],
1594
+ classification: [{
1595
+ label: '下载',
1596
+ value: 'download'
1597
+ }]
1598
+ },
1599
+ saveBlobFile: {
1600
+ key: 'saveBlobFile',
1601
+ label: '文件保存',
1602
+ todoOptions: [{
1603
+ key: 'data',
1604
+ aliasKey: 'dataSource',
1605
+ label: '内容',
1606
+ type: 'SetExpression'
1607
+ }, {
1608
+ key: 'fileName',
1609
+ label: '自定义文件名称',
1610
+ type: 'SetExpression',
1611
+ labelTip: '未设置文件名称时,则为文件原本的名称',
1612
+ props: {
1613
+ placeholder: '包括后缀,如: 表格.xls'
1614
+ }
1615
+ }],
1616
+ classification: [{
1617
+ label: '下载',
1618
+ value: 'download'
1619
+ }]
1620
+ },
1621
+ downloadByFileId: {
1622
+ key: 'downloadByFileId',
1623
+ label: '文件下载',
1624
+ todoOptions: [{
1625
+ key: 'data',
1626
+ aliasKey: 'dataSourceFileId',
1627
+ label: '文件ID',
1628
+ type: 'SetExpression',
1629
+ labelTip: '支持逗号分隔或者数组形式的多文件下载,如:1,2或者$[1,2]$'
1630
+ }, {
1631
+ key: 'fileName',
1632
+ label: '自定义文件名称',
1633
+ type: 'SetExpression',
1634
+ labelTip: '未设置文件名称时,则为文件原本的名称',
1635
+ props: {
1636
+ placeholder: '包括后缀,如: 表格.xls'
1637
+ }
1638
+ }],
1639
+ classification: [{
1640
+ label: '下载',
1641
+ value: 'download'
1642
+ }]
1643
+ },
1644
+ setUploadProps: {
1645
+ key: 'setUploadProps',
1646
+ label: '设置上传参数',
1647
+ todoOptions: [{
1648
+ key: 'url',
1649
+ label: '请求地址(URL)',
1650
+ type: 'SelectServiceUrl',
1651
+ props: {
1652
+ isRequired: true,
1653
+ valuePropName: 'url'
1654
+ }
1655
+ }, {
1656
+ key: 'uploadProps',
1657
+ label: '上传参数',
1658
+ type: 'SelectParams'
1659
+ }]
1660
+ },
1661
+ setUploadChange: {
1662
+ key: 'setUploadChange',
1663
+ label: '上传值改变',
1664
+ todoOptions: [{
1665
+ key: 'url',
1666
+ label: '请求地址(URL)',
1667
+ type: 'SelectServiceUrl',
1668
+ props: {
1669
+ isRequired: true,
1670
+ valuePropName: 'url'
1671
+ }
1672
+ }],
1673
+ todoCallbacks: ['callback1', 'callback2']
1674
+ },
1675
+ setTimeout: {
1676
+ key: 'setTimeout',
1677
+ label: '设置单次定时器',
1678
+ todoOptions: [{
1679
+ key: 'timername',
1680
+ label: '定时器命名(页面内不可重复)',
1681
+ type: 'Input'
1682
+ }, {
1683
+ key: 'interval',
1684
+ label: '时间间隔',
1685
+ type: 'InputNumber',
1686
+ props: {
1687
+ unit: '毫秒'
1688
+ }
1689
+ }],
1690
+ todoCallbacks: ['callback1'],
1691
+ classification: [{
1692
+ label: '定时器',
1693
+ value: 'timer'
1694
+ }]
1695
+ },
1696
+ setInterval: {
1697
+ key: 'setInterval',
1698
+ label: '设置循环定时器',
1699
+ todoOptions: [{
1700
+ key: 'timername',
1701
+ label: '定时器命名(页面内不可重复)',
1702
+ type: 'Input'
1703
+ }, {
1704
+ key: 'interval',
1705
+ label: '时间间隔',
1706
+ type: 'InputNumber',
1707
+ props: {
1708
+ unit: '毫秒'
1709
+ }
1710
+ }],
1711
+ todoCallbacks: ['callback1']
1712
+ },
1713
+ setTimer: {
1714
+ key: 'setTimer',
1715
+ label: '定时器',
1716
+ todoOptions: [{
1717
+ key: 'type',
1718
+ aliasKey: 'timerType',
1719
+ label: '定时器类型',
1720
+ type: 'Select',
1721
+ props: {
1722
+ options: [{
1723
+ title: '单次定时器',
1724
+ value: 'timeout'
1725
+ }, {
1726
+ title: '循环定时器',
1727
+ value: 'interval'
1728
+ }]
1729
+ }
1730
+ }, {
1731
+ key: 'timername',
1732
+ label: '定时器命名(页面内不可重复)',
1733
+ type: 'Input'
1734
+ }, {
1735
+ key: 'interval',
1736
+ label: '时间间隔',
1737
+ type: 'InputNumber',
1738
+ props: {
1739
+ unit: '毫秒'
1740
+ }
1741
+ }],
1742
+ todoCallbacks: ['callback1'],
1743
+ classification: [{
1744
+ label: '定时器',
1745
+ value: 'timer'
1746
+ }]
1747
+ },
1748
+ clearTimer: {
1749
+ key: 'clearTimer',
1750
+ label: '关闭定时器',
1751
+ todoOptions: [{
1752
+ key: 'targettimer',
1753
+ label: '定时器名称',
1754
+ type: 'SelectTimer'
1755
+ }],
1756
+ classification: [{
1757
+ label: '定时器',
1758
+ value: 'timer'
1759
+ }]
1760
+ },
1761
+ clearData: {
1762
+ key: 'clearData',
1763
+ label: '清空数据'
1764
+ },
1765
+ setCompState: {
1766
+ key: 'setCompState',
1767
+ label: '设置业务组件状态',
1768
+ todoOptions: [{
1769
+ key: 'compState',
1770
+ label: '组件状态',
1771
+ type: 'CompState'
1772
+ }]
1773
+ },
1774
+ setStepsCurrentValue: {
1775
+ key: 'setStepsCurrentValue',
1776
+ label: '设置当前步骤',
1777
+ todoOptions: [{
1778
+ key: 'current',
1779
+ aliasKey: 'stepsCurrent',
1780
+ label: '当前步骤',
1781
+ type: 'SetExpression'
1782
+ }],
1783
+ todoCallbacks: ['callback1']
1784
+ },
1785
+ getStepsCurrentValue: {
1786
+ key: 'getStepsCurrentValue',
1787
+ label: '获取当前步骤',
1788
+ todoCallbacks: ['callback1']
1789
+ },
1790
+ refreshLoadMore: {
1791
+ key: 'refreshLoadMore',
1792
+ label: '刷新LoadMore',
1793
+ todoOptions: [{
1794
+ key: 'loadmoreKey',
1795
+ label: '更新参数',
1796
+ type: 'SetCustomParams'
1797
+ }]
1798
+ },
1799
+ setDynamicFormValues: {
1800
+ key: 'setDynamicFormValues',
1801
+ label: '设置表单数据',
1802
+ todoOptions: [{
1803
+ key: 'params',
1804
+ label: '参数赋值',
1805
+ type: 'SelectParams'
1806
+ }]
1807
+ },
1808
+ clearDynamicFormValues: {
1809
+ key: 'clearDynamicFormValues',
1810
+ label: '重置表单数据'
1811
+ },
1812
+ validateAllAppForm: {
1813
+ key: 'validateAllAppForm',
1814
+ label: '全部表单校验并取值',
1815
+ todoCallbacks: ['callback1', 'callback2'],
1816
+ classification: [{
1817
+ label: '数据设置',
1818
+ value: 'setData'
1819
+ }]
1820
+ },
1821
+ setCompFileId: {
1822
+ key: 'setCompFileId',
1823
+ label: '设置文件id',
1824
+ todoOptions: [{
1825
+ key: 'fileId',
1826
+ label: '文件ID',
1827
+ type: 'SetExpression'
1828
+ }]
1829
+ },
1830
+ loadMoreRequest: {
1831
+ key: 'loadMoreRequest',
1832
+ label: '绑定网络请求',
1833
+ todoOptions: [{
1834
+ key: 'url',
1835
+ label: '请求地址(URL)',
1836
+ type: 'SelectServiceUrl',
1837
+ props: {
1838
+ isRequired: true,
1839
+ valuePropName: 'url'
1840
+ }
1841
+ }, {
1842
+ key: 'params',
1843
+ label: '参数赋值',
1844
+ type: 'SelectParams'
1845
+ }, {
1846
+ key: 'pageNum',
1847
+ label: '页码字段名',
1848
+ type: 'SetExpression',
1849
+ aliasKey: 'aliasPageNum'
1850
+ }],
1851
+ todoCallbacks: ['callback1', 'callback2']
1852
+ },
1853
+ loadMoreDataSource: {
1854
+ key: 'loadMoreDataSource',
1855
+ label: '加载数据源',
1856
+ todoOptions: [{
1857
+ key: 'total',
1858
+ aliasKey: 'loadMoreTotal',
1859
+ label: '总条数',
1860
+ type: 'SetExpression'
1861
+ }, {
1862
+ key: 'data',
1863
+ aliasKey: 'loadMoreData',
1864
+ label: '数据源',
1865
+ type: 'SetExpression'
1866
+ }]
1867
+ },
1868
+ dFormSubmit: {
1869
+ key: 'dFormSubmit',
1870
+ label: '校验后获取表单值',
1871
+ todoCallbacks: ['callback1', 'callback2']
1872
+ },
1873
+ dFormGetFieldsValue: {
1874
+ key: 'dFormGetFieldsValue',
1875
+ label: '获取表单值',
1876
+ todoCallbacks: ['callback1', 'callback2']
1877
+ },
1878
+ dFormAllDisabled: {
1879
+ key: 'dFormAllDisabled',
1880
+ label: '设置表单是否可编辑',
1881
+ todoOptions: [{
1882
+ key: 'editor',
1883
+ label: '是否可编辑',
1884
+ type: 'Select',
1885
+ props: {
1886
+ options: [{
1887
+ title: '是',
1888
+ value: false
1889
+ }, {
1890
+ title: '否',
1891
+ value: true
1892
+ }]
1893
+ }
1894
+ }],
1895
+ todoCallbacks: ['callback1']
1896
+ },
1897
+ setCompChildrenValue: {
1898
+ key: 'setCompChildrenValue',
1899
+ label: '赋值',
1900
+ todoOptions: [{
1901
+ key: 'value',
1902
+ label: '内容',
1903
+ type: 'SetExpression'
1904
+ }],
1905
+ todoCallbacks: ['callback1']
1906
+ },
1907
+ setCompContentValue: {
1908
+ key: 'setCompContentValue',
1909
+ label: '设置内容',
1910
+ todoOptions: [{
1911
+ key: 'value',
1912
+ label: '内容',
1913
+ type: 'SetExpression'
1914
+ }],
1915
+ todoCallbacks: ['callback1']
1916
+ },
1917
+ setPageSrc: {
1918
+ key: 'setPageSrc',
1919
+ label: '设置页面地址',
1920
+ todoOptions: [{
1921
+ key: 'pathname',
1922
+ label: '页面',
1923
+ type: 'SelectPage'
1924
+ }, {
1925
+ key: 'compState',
1926
+ label: '组件状态',
1927
+ type: 'CompState'
1928
+ }]
1929
+ },
1930
+ setSrc: {
1931
+ key: 'setSrc',
1932
+ label: '设置资源地址',
1933
+ todoOptions: [{
1934
+ key: 'value',
1935
+ label: '内容',
1936
+ type: 'SetExpression'
1937
+ }],
1938
+ todoCallbacks: ['callback1']
1939
+ },
1940
+ setRangeValue: {
1941
+ key: 'setRangeValue',
1942
+ label: '设置时间段',
1943
+ todoOptions: [{
1944
+ key: 'startVal',
1945
+ label: '开始值',
1946
+ type: 'SetExpression',
1947
+ props: {
1948
+ placeholder: '请输入YYYY-MM-DD格式的时间'
1949
+ }
1950
+ }, {
1951
+ key: 'endVal',
1952
+ label: '结束值',
1953
+ type: 'SetExpression',
1954
+ props: {
1955
+ placeholder: '请输入YYYY-MM-DD格式的时间'
1956
+ }
1957
+ }],
1958
+ todoCallbacks: ['callback1']
1959
+ },
1960
+ pushScenePage: {
1961
+ key: 'pushScenePage',
1962
+ label: '跳转到场景',
1963
+ todoOptions: [{
1964
+ key: 'scene',
1965
+ aliasKey: 'selectScene',
1966
+ label: '选择场景',
1967
+ type: 'SelectScene'
1968
+ }],
1969
+ classification: [{
1970
+ label: '场景类',
1971
+ value: 'scene'
1972
+ }]
1973
+ },
1974
+ reloadDataSource: {
1975
+ key: 'reloadDataSource',
1976
+ label: '刷新数据源',
1977
+ todoOptions: [{
1978
+ key: 'selectServerDataSource',
1979
+ label: '选择数据源',
1980
+ props: {
1981
+ options: {
1982
+ key: 'dataSourceReloadFilter',
1983
+ valueKey: 'filterParams'
1984
+ }
1985
+ },
1986
+ type: 'SelectServerDataSource'
1987
+ }, {
1988
+ key: 'dataSourceReloadFilter',
1989
+ label: '数据源赋值',
1990
+ type: 'dataSourceReloadFilter'
1991
+ }],
1992
+ todoCallbacks: ['callback1', 'callback2'],
1993
+ classification: [{
1994
+ label: '常用',
1995
+ value: 'common'
1996
+ }, {
1997
+ label: '数据源',
1998
+ value: 'dataSource'
1999
+ }]
2000
+ },
2001
+ setDataSource: {
2002
+ key: 'setDataSource',
2003
+ label: '设置数据源值',
2004
+ todoOptions: [{
2005
+ key: 'selectAllDataSource',
2006
+ label: '选择数据源',
2007
+ type: 'SelectAllDataSource',
2008
+ props: {
2009
+ options: {
2010
+ key: 'dataSourceSetValue',
2011
+ valueKey: 'outParams',
2012
+ markableAction: ['setDataSource']
2013
+ }
2014
+ }
2015
+ }, {
2016
+ key: 'dataSourceSetValue',
2017
+ label: '数据源赋值',
2018
+ type: 'dataSourceSetValue'
2019
+ }, {
2020
+ key: 'onlySetPatch',
2021
+ label: '赋值范围',
2022
+ type: 'Radio',
2023
+ props: {
2024
+ options: [{
2025
+ title: '局部赋值',
2026
+ value: true
2027
+ }, {
2028
+ title: '全部赋值',
2029
+ value: false
2030
+ }]
2031
+ }
2032
+ }],
2033
+ todoCallbacks: ['callback1', 'callback2'],
2034
+ classification: [{
2035
+ label: '常用',
2036
+ value: 'common'
2037
+ }, {
2038
+ label: '数据源',
2039
+ value: 'dataSource'
2040
+ }],
2041
+ initClose: true
2042
+ },
2043
+ resetDataSource: {
2044
+ key: 'resetDataSource',
2045
+ label: '清空数据源值',
2046
+ todoOptions: [{
2047
+ key: 'selectAllDataSource',
2048
+ label: '选择数据源',
2049
+ type: 'SelectAllDataSource',
2050
+ props: {
2051
+ options: {
2052
+ key: 'dataSourceSetValue',
2053
+ valueKey: 'outParams',
2054
+ markableAction: ['setDataSource']
2055
+ }
2056
+ }
2057
+ }],
2058
+ todoCallbacks: ['callback1', 'callback2'],
2059
+ classification: [{
2060
+ label: '常用',
2061
+ value: 'common'
2062
+ }, {
2063
+ label: '数据源',
2064
+ value: 'dataSource'
2065
+ }]
2066
+ },
2067
+ sendMessageIframe: {
2068
+ key: 'sendMessageIframe',
2069
+ label: '给web容器发消息',
2070
+ todoOptions: [{
2071
+ key: 'value',
2072
+ label: '内容',
2073
+ type: 'SetExpression'
2074
+ }]
2075
+ },
2076
+ postObjectData: {
2077
+ key: 'postObjectData',
2078
+ label: '提交业务对象数据',
2079
+ todoOptions: [{
2080
+ key: 'sync',
2081
+ label: '数据加载方式',
2082
+ type: 'RadioButton',
2083
+ defaultValue: false,
2084
+ props: {
2085
+ options: [{
2086
+ title: '异步加载',
2087
+ value: false
2088
+ }, {
2089
+ title: '同步加载',
2090
+ value: true
2091
+ }]
2092
+ }
2093
+ }, {
2094
+ key: 'selectObjectDataSource',
2095
+ label: '选择业务对象数据源',
2096
+ type: 'selectObjectDataSource',
2097
+ props: {
2098
+ isRequired: true,
2099
+ valuePropName: 'postDataSource' // 编辑后值存于 options.postDataSource
2100
+ }
2101
+ }, {
2102
+ key: 'hasEventExtService',
2103
+ label: '需要开启服务扩展',
2104
+ type: 'Select',
2105
+ props: {
2106
+ options: [{
2107
+ title: '是',
2108
+ value: 'T'
2109
+ }, {
2110
+ title: '否',
2111
+ value: 'F'
2112
+ }]
2113
+ }
2114
+ }, {
2115
+ key: 'eventExtService',
2116
+ label: '选择业务场景来扩展服务',
2117
+ type: 'SetEventExtService'
2118
+ }],
2119
+ todoCallbacks: ['callback1', 'callback2'],
2120
+ classification: [{
2121
+ label: '常用',
2122
+ value: 'common'
2123
+ }, {
2124
+ label: '服务请求类',
2125
+ value: 'request'
2126
+ }]
2127
+ },
2128
+ postParentMessage: {
2129
+ key: 'postParentMessage',
2130
+ label: '发送消息至父容器',
2131
+ todoOptions: [{
2132
+ key: 'iframeData',
2133
+ label: '发送内容',
2134
+ type: 'SetExpression'
2135
+ }, {
2136
+ key: 'iframeOrigin',
2137
+ label: '发送目标源',
2138
+ type: 'SetExpression'
2139
+ }],
2140
+ classification: [{
2141
+ label: '数据通信',
2142
+ value: 'communicate'
2143
+ }]
2144
+ },
2145
+ callFuncComp: {
2146
+ key: 'callFuncComp',
2147
+ label: '调用功能组件能力',
2148
+ todoOptions: [{
2149
+ key: 'selectCompFunc',
2150
+ label: '方法',
2151
+ type: 'SelectCompFunc'
2152
+ }, {
2153
+ key: 'uploadProps',
2154
+ aliasKey: 'setCompParams',
2155
+ label: '参数',
2156
+ type: 'SetCompParams'
2157
+ }],
2158
+ todoCallbacks: ['callback1', 'callback2'],
2159
+ classification: [{
2160
+ label: '数据通信',
2161
+ value: 'communicate'
2162
+ }]
2163
+ },
2164
+ addEventListenerParentMessage: {
2165
+ key: 'addEventListenerParentMessage',
2166
+ label: '接收父容器消息',
2167
+ todoCallbacks: ['callback1'],
2168
+ classification: [{
2169
+ label: '数据通信',
2170
+ value: 'communicate'
2171
+ }]
2172
+ },
2173
+ setRemoteCompProps: {
2174
+ key: 'setRemoteCompProps',
2175
+ label: '给组件设置属性',
2176
+ todoOptions: [{
2177
+ key: 'rProps',
2178
+ label: '设置自定义组件属性',
2179
+ type: 'SelectCustomParams'
2180
+ }]
2181
+ },
2182
+ setSubTabsData: {
2183
+ key: 'setSubTabsData',
2184
+ label: '设置子标签数据',
2185
+ todoOptions: [{
2186
+ key: 'data',
2187
+ aliasKey: 'dataSource',
2188
+ label: '内容',
2189
+ type: 'SetExpression'
2190
+ }],
2191
+ todoCallbacks: ['callback1']
2192
+ },
2193
+ setTabsData: {
2194
+ key: 'setTabsData',
2195
+ label: '设置头标签数据',
2196
+ todoOptions: [{
2197
+ key: 'data',
2198
+ aliasKey: 'dataSource',
2199
+ label: '内容',
2200
+ type: 'SetExpression'
2201
+ }],
2202
+ todoCallbacks: ['callback1']
2203
+ },
2204
+ setHref: {
2205
+ key: 'setHref',
2206
+ label: '设置链接地址',
2207
+ todoOptions: [{
2208
+ key: 'value',
2209
+ label: '内容',
2210
+ type: 'SetExpression'
2211
+ }] // 后续废除,请使用setSrc
2212
+ },
2213
+
2214
+ setData: {
2215
+ key: 'setData',
2216
+ label: '设置数据',
2217
+ todoOptions: [{
2218
+ key: 'value',
2219
+ label: '内容',
2220
+ type: 'SetExpression'
2221
+ }],
2222
+ todoCallbacks: ['callback1']
2223
+ },
2224
+ callFishParentFunc: {
2225
+ key: 'callFishParentFunc',
2226
+ label: '调用父窗口方法',
2227
+ todoOptions: [{
2228
+ key: 'funcName',
2229
+ label: '函数名称',
2230
+ type: 'Input'
2231
+ }, {
2232
+ key: 'funcParams',
2233
+ label: '自定义入参',
2234
+ type: 'SetExpressionByArray'
2235
+ }],
2236
+ todoCallbacks: ['callback1', 'callback2'],
2237
+ classification: [{
2238
+ label: '数据通信',
2239
+ value: 'communicate'
2240
+ }],
2241
+ tips: '触发回调:默认将成功回调函数(successCallback)、失败回调函数(failCallback)以追加参数形式传递给方法进行调用触发,也可以通过返回Promise对象触发。'
2242
+ },
2243
+ callSelfFunc: {
2244
+ key: 'callSelfFunc',
2245
+ label: '调用页面自定义事件',
2246
+ todoOptions: [{
2247
+ key: 'customFuncName',
2248
+ label: '自定义事件',
2249
+ type: 'SelectCustomFunc'
2250
+ }, {
2251
+ key: 'customFuncParams',
2252
+ label: '事件入参',
2253
+ type: 'SelectParams'
2254
+ }],
2255
+ todoCallbacks: ['callback1', 'callback2'],
2256
+ classification: [{
2257
+ label: '数据通信',
2258
+ value: 'communicate'
2259
+ }]
2260
+ },
2261
+ callParentCustomFunc: {
2262
+ key: 'callParentCustomFunc',
2263
+ label: '调用父页面自定义事件',
2264
+ todoOptions: [{
2265
+ key: 'pathname',
2266
+ label: '页面',
2267
+ type: 'SelectPage'
2268
+ }, {
2269
+ key: 'customFuncName',
2270
+ label: '自定义事件',
2271
+ type: 'SelectCustomFunc'
2272
+ }, {
2273
+ key: 'customFuncParams',
2274
+ label: '事件入参',
2275
+ type: 'SelectParams'
2276
+ }],
2277
+ todoCallbacks: ['callback1', 'callback2'],
2278
+ classification: [{
2279
+ label: '数据通信',
2280
+ value: 'communicate'
2281
+ }]
2282
+ },
2283
+ callCustomPageFunc: {
2284
+ key: 'callCustomPageFunc',
2285
+ label: '调用任意页面自定义事件',
2286
+ todoOptions: [{
2287
+ key: 'pathname',
2288
+ label: '页面',
2289
+ type: 'SelectPage'
2290
+ }, {
2291
+ key: 'customFuncName',
2292
+ label: '自定义事件',
2293
+ type: 'SelectCustomFunc'
2294
+ }, {
2295
+ key: 'customFuncParams',
2296
+ label: '事件入参',
2297
+ type: 'SelectParams'
2298
+ }],
2299
+ todoCallbacks: ['callback1', 'callback2'],
2300
+ classification: [{
2301
+ label: '数据通信',
2302
+ value: 'communicate'
2303
+ }],
2304
+ tips: '注意:选择的页面需要开启缓存(如:A页面跳转到B页面,B页面需要调用A页面的自定义事件,那么需要A页面需开启缓存);'
2305
+ },
2306
+ exportBusiObjectData: {
2307
+ key: 'exportBusiObjectData',
2308
+ label: '导出业务对象数据',
2309
+ todoOptions: [{
2310
+ key: 'busiObjectId',
2311
+ label: '选择业务对象',
2312
+ type: 'SelectBusiObjectId',
2313
+ props: {
2314
+ isRequired: true,
2315
+ valuePropName: 'busiObjectId'
2316
+ }
2317
+ }, {
2318
+ key: 'busiObjectFilterParams',
2319
+ label: '查询条件',
2320
+ type: 'SelectParams'
2321
+ }, {
2322
+ key: 'custFileName',
2323
+ label: '自定义文件名',
2324
+ type: 'SetExpression',
2325
+ props: {
2326
+ isRequired: true,
2327
+ valuePropName: 'custFileName'
2328
+ }
2329
+ }],
2330
+ todoCallbacks: ['callback1', 'callback2'],
2331
+ classification: [{
2332
+ label: '导入导出',
2333
+ value: 'export'
2334
+ }]
2335
+ },
2336
+ exportCustomData: {
2337
+ key: 'exportCustomData',
2338
+ label: '自定义导出数据',
2339
+ todoOptions: [{
2340
+ key: 'custFileName',
2341
+ label: '自定义文件名',
2342
+ type: 'SetExpression',
2343
+ props: {
2344
+ isRequired: true,
2345
+ valuePropName: 'custFileName'
2346
+ }
2347
+ }, {
2348
+ key: 'exportSheet',
2349
+ label: 'sheet页设置',
2350
+ type: 'AddExportSheet',
2351
+ props: {
2352
+ valuePropName: 'exportSheet',
2353
+ isRequired: true,
2354
+ options: [{
2355
+ key: 'custSheetName',
2356
+ label: 'sheet页名称',
2357
+ type: 'SetExpression'
2358
+ }, {
2359
+ key: 'serviceData',
2360
+ label: '数据来源',
2361
+ type: 'SelectCustomExportService',
2362
+ props: {
2363
+ isRequired: true,
2364
+ valuePropName: 'serviceData',
2365
+ options: {
2366
+ refreshKey: ['objectFields'],
2367
+ hideServiceList: [SERVICE_KEY.OBJECT],
2368
+ serviceTabs: [SERVICE_KEY.OBJECT, SERVICE_KEY.QUERY, SERVICE_KEY.STD, SERVICE_KEY.RHIN, SERVICE_KEY.INNER]
2369
+ }
2370
+ }
2371
+ }, {
2372
+ // 入参
2373
+ key: 'filterParams',
2374
+ label: '查询条件',
2375
+ type: 'SelectParams'
2376
+ }, {
2377
+ key: 'objectFields',
2378
+ label: '导出字段',
2379
+ type: 'SelectServiceObjectFields',
2380
+ props: {
2381
+ isRequired: true,
2382
+ options: {
2383
+ fieldKey: 'serviceData',
2384
+ customKeyMap: {
2385
+ fieldData: '字段数据',
2386
+ attrCode: '字段编码',
2387
+ attrName: '字段名称'
2388
+ }
2389
+ }
2390
+ }
2391
+ }, {
2392
+ key: 'customGroup',
2393
+ type: 'SettingGroup',
2394
+ label: '自定义表头模板',
2395
+ labelTip: '可以根据选择的字段自定义导出模板的表头'
2396
+ }]
2397
+ }
2398
+ }],
2399
+ todoCallbacks: ['callback1', 'callback2'],
2400
+ classification: [{
2401
+ label: '导入导出',
2402
+ value: 'export'
2403
+ }]
2404
+ },
2405
+ importBusiObjectData: {
2406
+ key: 'importBusiObjectData',
2407
+ label: '导入业务对象数据 ',
2408
+ todoOptions: [{
2409
+ key: 'name',
2410
+ aliasKey: 'tempName',
2411
+ label: '设置模板名称',
2412
+ type: 'Input',
2413
+ props: {
2414
+ placeholder: '请输入模板名称'
2415
+ }
2416
+ }, {
2417
+ key: 'busiObjectId',
2418
+ label: '选择业务对象',
2419
+ type: 'SelectBusiObjectId',
2420
+ props: {
2421
+ isRequired: true,
2422
+ valuePropName: 'busiObjectId'
2423
+ }
2424
+ }, {
2425
+ key: 'exception',
2426
+ type: 'SwitchGroup',
2427
+ label: '导入异常配置',
2428
+ props: {
2429
+ options: [{
2430
+ title: '支持部分导入',
2431
+ value: 'partialImport'
2432
+ }]
2433
+ }
2434
+ }],
2435
+ todoCallbacks: ['callback1', 'callback2'],
2436
+ classification: [{
2437
+ label: '导入导出',
2438
+ value: 'export'
2439
+ }]
2440
+ },
2441
+ exportSQLServiceData: {
2442
+ key: 'exportSQLServiceData',
2443
+ label: '导出SQL查询服务数据 ',
2444
+ todoOptions: [{
2445
+ key: 'sqlServiceCode',
2446
+ label: '选择SQL查询服务',
2447
+ type: 'SelectSQLServiceCode'
2448
+ }, {
2449
+ key: 'sqlServiceFields',
2450
+ label: '导出字段',
2451
+ type: 'SelectSQLServiceFields'
2452
+ }, {
2453
+ key: 'busiObjectFilterParams',
2454
+ label: '查询条件',
2455
+ type: 'SelectParams'
2456
+ }, {
2457
+ key: 'custFileName',
2458
+ label: '自定义文件名',
2459
+ type: 'SetExpression',
2460
+ props: {
2461
+ isRequired: true,
2462
+ valuePropName: 'custFileName'
2463
+ }
2464
+ }],
2465
+ todoCallbacks: ['callback1', 'callback2'],
2466
+ classification: [{
2467
+ label: '导入导出',
2468
+ value: 'export'
2469
+ }]
2470
+ },
2471
+ importCustomBusiObjectData: {
2472
+ key: 'importCustomBusiObjectData',
2473
+ label: '自定义导入业务对象数据 ',
2474
+ todoOptions: [{
2475
+ key: 'name',
2476
+ aliasKey: 'tempName',
2477
+ label: '设置模板名称',
2478
+ type: 'Input',
2479
+ props: {
2480
+ placeholder: '请输入模板名称'
2481
+ }
2482
+ }, {
2483
+ key: 'busiObjectId',
2484
+ label: '选择业务对象',
2485
+ type: 'SelectBusiObjectId',
2486
+ props: {
2487
+ isRequired: true,
2488
+ valuePropName: 'busiObjectId'
2489
+ }
2490
+ }, {
2491
+ key: 'busiObjectFields',
2492
+ label: '筛选字段',
2493
+ type: 'SelectBusiObjectFields',
2494
+ props: {
2495
+ isRequired: true,
2496
+ valuePropName: 'busiObjectFields'
2497
+ }
2498
+ }, {
2499
+ key: 'showOnly',
2500
+ label: '只解析不入库',
2501
+ type: 'Select',
2502
+ defaultValue: 'F',
2503
+ props: {
2504
+ options: [{
2505
+ title: '是',
2506
+ value: 'T'
2507
+ }, {
2508
+ title: '否',
2509
+ value: 'F'
2510
+ }]
2511
+ }
2512
+ }, {
2513
+ key: 'customGroup',
2514
+ type: 'SettingGroup',
2515
+ label: '自定义表头模板',
2516
+ labelTip: '可以根据选择的字段自定义导出模板的表头'
2517
+ }, {
2518
+ key: 'exception',
2519
+ type: 'SwitchGroup',
2520
+ label: '导入异常配置',
2521
+ props: {
2522
+ options: [{
2523
+ title: '支持部分导入',
2524
+ value: 'partialImport'
2525
+ }]
2526
+ }
2527
+ }],
2528
+ todoCallbacks: ['callback1', 'callback2'],
2529
+ classification: [{
2530
+ label: '导入导出',
2531
+ value: 'export'
2532
+ }]
2533
+ },
2534
+ exportCustomBusiObjectData: {
2535
+ key: 'exportCustomBusiObjectData',
2536
+ label: '自定义导出业务对象数据',
2537
+ todoOptions: [{
2538
+ key: 'busiObjectId',
2539
+ label: '选择业务对象',
2540
+ type: 'SelectBusiObjectId',
2541
+ props: {
2542
+ isRequired: true,
2543
+ valuePropName: 'busiObjectId'
2544
+ }
2545
+ }, {
2546
+ key: 'busiObjectFields',
2547
+ label: '筛选字段',
2548
+ type: 'SelectBusiObjectFields',
2549
+ props: {
2550
+ isRequired: true,
2551
+ valuePropName: 'busiObjectFields'
2552
+ }
2553
+ }, {
2554
+ key: 'busiObjectFilterParams',
2555
+ label: '查询条件',
2556
+ type: 'SelectParams'
2557
+ }, {
2558
+ key: 'custFileName',
2559
+ label: '自定义文件名',
2560
+ type: 'SetExpression',
2561
+ props: {
2562
+ isRequired: true,
2563
+ valuePropName: 'custFileName'
2564
+ }
2565
+ }],
2566
+ todoCallbacks: ['callback1', 'callback2'],
2567
+ classification: [{
2568
+ label: '导入导出',
2569
+ value: 'export'
2570
+ }]
2571
+ },
2572
+ exportPage: {
2573
+ key: 'exportPage',
2574
+ label: '页面导出',
2575
+ todoOptions: [{
2576
+ key: 'fileName',
2577
+ aliasKey: 'expFileName',
2578
+ label: '文件名',
2579
+ type: 'input',
2580
+ props: {
2581
+ placeholder: '请输入导出的文件名'
2582
+ }
2583
+ }, {
2584
+ key: 'type',
2585
+ aliasKey: 'expType',
2586
+ label: '类型',
2587
+ type: 'Select',
2588
+ props: {
2589
+ options: [{
2590
+ title: 'PDF',
2591
+ value: 'pdf'
2592
+ }, {
2593
+ title: '图片',
2594
+ value: 'png'
2595
+ }]
2596
+ }
2597
+ }],
2598
+ todoCallbacks: ['callback1', 'callback2'],
2599
+ classification: [{
2600
+ label: '导入导出',
2601
+ value: 'export'
2602
+ }]
2603
+ },
2604
+ importCustomData: {
2605
+ key: 'importCustomData',
2606
+ label: '自定义导入数据',
2607
+ todoOptions: [{
2608
+ key: 'custUrl',
2609
+ label: '自定义 URL 地址',
2610
+ type: 'SetExpression'
2611
+ }, {
2612
+ key: 'custTpl',
2613
+ label: '配置导入模板',
2614
+ type: 'UploadFile'
2615
+ }, {
2616
+ key: 'custParams',
2617
+ label: '自定义参数',
2618
+ type: 'SetCustomParams'
2619
+ }, {
2620
+ key: 'custTplUrl',
2621
+ label: '指定模板地址(可选)',
2622
+ type: 'SetExpression'
2623
+ }],
2624
+ todoCallbacks: ['callback1', 'callback2'],
2625
+ classification: [{
2626
+ label: '导入导出',
2627
+ value: 'export'
2628
+ }]
2629
+ },
2630
+ previewFile: {
2631
+ key: 'previewFile',
2632
+ label: '文件预览',
2633
+ todoOptions: [{
2634
+ key: 'fileId',
2635
+ label: '文件ID',
2636
+ type: 'SetExpression'
2637
+ }],
2638
+ classification: [{
2639
+ label: '页面类',
2640
+ value: 'page'
2641
+ }]
2642
+ },
2643
+ print: {
2644
+ key: 'print',
2645
+ label: '页面打印',
2646
+ todoOptions: [{
2647
+ key: 'compToPrint',
2648
+ label: '自定义打印区域(可选)',
2649
+ type: 'CompTree'
2650
+ }],
2651
+ classification: [{
2652
+ label: '页面类',
2653
+ value: 'page'
2654
+ }]
2655
+ },
2656
+ return: {
2657
+ key: 'return',
2658
+ label: '退出事件',
2659
+ todoOptions: [{
2660
+ key: 'returnType',
2661
+ label: '返回类型',
2662
+ type: 'RadioButton',
2663
+ labelTip: "\n 1\u3001\u503C\uFF1A\u7528\u4E8E\u6570\u636E\u8FD4\u56DE\uFF0C\u6BD4\u5982\u83B7\u53D6\u9875\u9762\u8868\u5355\u6570\u636E\uFF0C\u9000\u51FA\u540E\u8FDB\u884C\u6570\u636E\u4F20\u9012\uFF1B<br />\n 2\u3001\u6210\u529F\uFF1A\u7528\u4E8E\u6210\u529F\u6807\u5FD7\u8FD4\u56DE\uFF0C\u5C06\u89E6\u53D1\u8C03\u7528\u65B9\u7684\u6210\u529F\u56DE\u8C03\uFF1B<br />\n 3\u3001\u5931\u8D25\uFF1A\u7528\u4E8E\u5931\u8D25\u6807\u5FD7\u8FD4\u56DE\uFF0C\u5C06\u89E6\u53D1\u8C03\u7528\u65B9\u7684\u5931\u8D25\u56DE\u8C03\u3002\n ",
2664
+ props: {
2665
+ options: [{
2666
+ title: '值',
2667
+ value: 'value'
2668
+ }, {
2669
+ title: '成功',
2670
+ value: 'success'
2671
+ }, {
2672
+ title: '失败',
2673
+ value: 'failure'
2674
+ }]
2675
+ }
2676
+ }, {
2677
+ key: 'returnValue',
2678
+ label: '返回内容(可选)',
2679
+ type: 'SetExpression'
2680
+ }, {
2681
+ key: 'isPreventDefault',
2682
+ label: '中止默认动作(高级)',
2683
+ type: 'Select',
2684
+ props: {
2685
+ options: [{
2686
+ title: '是',
2687
+ value: 'T'
2688
+ }, {
2689
+ title: '否',
2690
+ value: 'F'
2691
+ }]
2692
+ },
2693
+ labelTip: "\n \u6307\u4E2D\u6B62\u6D4F\u89C8\u5668\u9ED8\u8BA4\u884C\u4E3A\uFF1A<br />\n \u6BD4\u5982\u4E2D\u6B62\u6253\u5F00\u6587\u4EF6\u9009\u62E9\u5668\u3001\u4E2D\u6B62\u6587\u4EF6\u4E0B\u8F7D\u7B49\u884C\u4E3A\u3002\n "
2694
+ }, {
2695
+ key: 'isStopPropagation',
2696
+ label: '阻止事件冒泡(高级)',
2697
+ type: 'Select',
2698
+ labelTip: "\n \u6307\u53EA\u89E6\u53D1\u5F53\u524D\u7EC4\u4EF6\u914D\u7F6E\u7684\u4E8B\u4EF6\uFF1A<br />\n \u6BD4\u5982\u7A7A\u767D\u5BB9\u5668\u91CC\u653E\u7F6E\u6309\u94AE\uFF0C \u7A7A\u767D\u5BB9\u5668\u548C\u6309\u94AE\u90FD\u914D\u7F6E\u70B9\u51FB\u4E8B\u4EF6\uFF0C\u6B63\u5E38\u70B9\u51FB\u6309\u94AE\u7684\u65F6\u5019\u5C31\u89E6\u53D1\u4E24\u4E2A\u70B9\u51FB\u4E8B\u4EF6\uFF0C\u4F46\u963B\u6B62\u4E8B\u4EF6\u5192\u6CE1\u5C31\u4E0D\u4F1A\u6267\u884C\u5230\u7A7A\u767D\u5BB9\u5668\u7684\u70B9\u51FB\u4E8B\u4EF6\u3002\n ",
2699
+ props: {
2700
+ options: [{
2701
+ title: '是',
2702
+ value: 'T'
2703
+ }, {
2704
+ title: '否',
2705
+ value: 'F'
2706
+ }]
2707
+ }
2708
+ }],
2709
+ classification: [{
2710
+ label: '其他',
2711
+ value: 'others'
2712
+ }]
2713
+ },
2714
+ copyToClipboard: {
2715
+ key: 'copyToClipboard',
2716
+ label: '复制到粘贴板',
2717
+ todoOptions: [{
2718
+ key: 'copyText',
2719
+ label: '复制内容',
2720
+ type: 'SetExpression'
2721
+ }]
2722
+ },
2723
+ getBlockSelectValues: {
2724
+ key: 'getBlockSelectValues',
2725
+ label: '获取选中项',
2726
+ todoCallbacks: ['callback1']
2727
+ },
2728
+ setBlockSelectData: {
2729
+ key: 'setBlockSelectData',
2730
+ label: '设置循环块数据源',
2731
+ todoOptions: [{
2732
+ key: 'value',
2733
+ label: '内容',
2734
+ type: 'SetExpression'
2735
+ }],
2736
+ todoCallbacks: ['callback1']
2737
+ },
2738
+ setBlockSelectSelectedData: {
2739
+ key: 'setBlockSelectSelectedData',
2740
+ label: '设置选中项',
2741
+ todoOptions: [{
2742
+ key: 'selectType',
2743
+ aliasKey: 'bsSelectType',
2744
+ label: '控制类型',
2745
+ type: 'RadioButton',
2746
+ defaultValue: 'id',
2747
+ props: {
2748
+ options: [{
2749
+ title: '唯一字段编码',
2750
+ value: 'id'
2751
+ }, {
2752
+ title: '循环项索引',
2753
+ value: 'index'
2754
+ }]
2755
+ }
2756
+ }, {
2757
+ key: 'value',
2758
+ label: '内容',
2759
+ type: 'SetExpression'
2760
+ }],
2761
+ todoCallbacks: ['callback1']
2762
+ },
2763
+ setBlockSelectHiddenData: {
2764
+ key: 'setBlockSelectHiddenData',
2765
+ label: '控制显隐',
2766
+ todoOptions: [{
2767
+ key: 'visible',
2768
+ label: '显隐设置',
2769
+ type: 'RadioButton',
2770
+ defaultValue: '',
2771
+ props: {
2772
+ options: [{
2773
+ title: '显示',
2774
+ value: 'true'
2775
+ }, {
2776
+ title: '隐藏',
2777
+ value: ''
2778
+ }, {
2779
+ title: '切换',
2780
+ value: 'toggle'
2781
+ }]
2782
+ }
2783
+ }, {
2784
+ key: 'selectType',
2785
+ aliasKey: 'bsSelectType',
2786
+ label: '控制类型',
2787
+ type: 'RadioButton',
2788
+ defaultValue: 'id',
2789
+ props: {
2790
+ options: [{
2791
+ title: '唯一字段编码',
2792
+ value: 'id'
2793
+ }, {
2794
+ title: '循环项索引',
2795
+ value: 'index'
2796
+ }]
2797
+ }
2798
+ }, {
2799
+ key: 'value',
2800
+ label: '内容',
2801
+ type: 'SetExpression'
2802
+ }],
2803
+ todoCallbacks: ['callback1']
2804
+ },
2805
+ setBlockSelectStateData: {
2806
+ key: 'setBlockSelectStateData',
2807
+ label: '设置循环项状态',
2808
+ todoOptions: [{
2809
+ key: 'disabled',
2810
+ label: '状态设置',
2811
+ type: 'RadioButton',
2812
+ defaultValue: 'toggle',
2813
+ props: {
2814
+ options: [{
2815
+ title: '启动',
2816
+ value: ''
2817
+ }, {
2818
+ title: '禁用',
2819
+ value: 'true'
2820
+ }, {
2821
+ title: '切换',
2822
+ value: 'toggle'
2823
+ }]
2824
+ }
2825
+ }, {
2826
+ key: 'selectType',
2827
+ aliasKey: 'bsSelectType',
2828
+ label: '控制类型',
2829
+ type: 'RadioButton',
2830
+ defaultValue: 'id',
2831
+ props: {
2832
+ options: [{
2833
+ title: '唯一字段编码',
2834
+ value: 'id'
2835
+ }, {
2836
+ title: '循环项索引',
2837
+ value: 'index'
2838
+ }]
2839
+ }
2840
+ }, {
2841
+ key: 'value',
2842
+ label: '内容',
2843
+ type: 'SetExpression'
2844
+ }],
2845
+ todoCallbacks: ['callback1']
2846
+ },
2847
+ accountDivide: {
2848
+ key: 'accountDivide',
2849
+ label: '设置分账计划(DICT 专用)',
2850
+ todoOptions: [{
2851
+ key: 'adTitle',
2852
+ label: '科目名称',
2853
+ type: 'SetExpression'
2854
+ }, {
2855
+ key: 'adOperationType',
2856
+ label: '操作类型',
2857
+ type: 'Select',
2858
+ props: {
2859
+ options: [{
2860
+ title: '新建分账计划',
2861
+ value: 'new'
2862
+ }, {
2863
+ title: '修改分账计划',
2864
+ value: 'edit'
2865
+ }, {
2866
+ title: '查看计划详情',
2867
+ value: 'detail'
2868
+ }]
2869
+ }
2870
+ }, {
2871
+ key: 'payCycle',
2872
+ label: '出账方式',
2873
+ type: 'SetExpression'
2874
+ }, {
2875
+ key: 'payCycleAfter',
2876
+ label: '变更后出账方式',
2877
+ type: 'SetExpression'
2878
+ }, {
2879
+ key: 'prodCode',
2880
+ label: '产品编码',
2881
+ type: 'SetExpression'
2882
+ }, {
2883
+ key: 'totalAmount',
2884
+ label: '总金额',
2885
+ type: 'SetExpression'
2886
+ }, {
2887
+ key: 'adStartDate',
2888
+ label: '开始年月(格式:2021-12)',
2889
+ type: 'SetExpression'
2890
+ }, {
2891
+ key: 'adStartDateAfter',
2892
+ label: '变更后开始年月(格式:2021-12)',
2893
+ type: 'SetExpression'
2894
+ }, {
2895
+ key: 'adEndDate',
2896
+ label: '结束年月(格式:2021-12)',
2897
+ type: 'SetExpression'
2898
+ }, {
2899
+ key: 'adOldList',
2900
+ label: '变更前计划详情',
2901
+ type: 'SetExpression'
2902
+ }, {
2903
+ key: 'adList',
2904
+ label: '计划详情',
2905
+ type: 'SetExpression'
2906
+ }, {
2907
+ key: 'adAfterList',
2908
+ label: '变更后计划详情',
2909
+ type: 'SetExpression'
2910
+ }],
2911
+ todoCallbacks: ['callback1'],
2912
+ classification: [{
2913
+ label: '其他',
2914
+ value: 'others'
2915
+ }]
2916
+ },
2917
+ reloadGanttData: {
2918
+ key: 'reloadGanttData',
2919
+ label: '加载项目实施进度数据',
2920
+ todoOptions: [{
2921
+ key: 'data',
2922
+ aliasKey: 'dataSource',
2923
+ label: '内容',
2924
+ type: 'SetExpression'
2925
+ }]
2926
+ },
2927
+ value: {
2928
+ key: 'value',
2929
+ label: '获取值',
2930
+ todoCallbacks: ['callback1']
2931
+ // labelMap: {
2932
+ // Selector: '获取选中值',
2933
+ // },
2934
+ },
2935
+
2936
+ clearMobileValue: {
2937
+ key: 'clearMobileValue',
2938
+ label: '清空值'
2939
+ },
2940
+ setMobileValue: {
2941
+ key: 'setMobileValue',
2942
+ label: '控件赋值',
2943
+ todoOptions: [{
2944
+ key: 'compid',
2945
+ aliasKey: 'compId',
2946
+ label: '组件选择',
2947
+ type: 'CompTree'
2948
+ }, {
2949
+ key: 'valueList',
2950
+ label: '组件赋值',
2951
+ type: 'SetSysExpression'
2952
+ }],
2953
+ todoCallbacks: ['callback1'],
2954
+ initClose: true
2955
+ },
2956
+ setMobileFormDisabled: {
2957
+ key: 'setMobileFormDisabled',
2958
+ label: '禁用状态',
2959
+ todoCallbacks: ['callback1']
2960
+ },
2961
+ setMobileFormEditor: {
2962
+ key: 'setMobileFormEditor',
2963
+ label: '编辑状态',
2964
+ todoCallbacks: ['callback1']
2965
+ },
2966
+ setEditor: {
2967
+ key: 'setEditor',
2968
+ label: '编辑状态',
2969
+ todoCallbacks: ['callback1']
2970
+ },
2971
+ setMobileFormVisible: {
2972
+ key: 'setMobileFormVisible',
2973
+ label: '控制显隐',
2974
+ todoOptions: [{
2975
+ key: 'visible',
2976
+ label: '显隐设置',
2977
+ type: 'RadioButton',
2978
+ defaultValue: '',
2979
+ props: {
2980
+ options: [{
2981
+ title: '显示',
2982
+ value: 'true'
2983
+ }, {
2984
+ title: '隐藏',
2985
+ value: ''
2986
+ }, {
2987
+ title: '切换',
2988
+ value: 'toggle'
2989
+ }]
2990
+ }
2991
+ }],
2992
+ todoCallbacks: ['callback1']
2993
+ },
2994
+ setFormItemDataSource: {
2995
+ key: 'setFormItemDataSource',
2996
+ label: '设置选项值',
2997
+ todoOptions: [{
2998
+ key: 'data',
2999
+ aliasKey: 'dataSource',
3000
+ label: '内容',
3001
+ type: 'SetExpression'
3002
+ }],
3003
+ todoCallbacks: ['callback1']
3004
+ },
3005
+ getFormItemValue: {
3006
+ key: 'getFormItemValue',
3007
+ label: '获取选中数据对象',
3008
+ todoCallbacks: ['callback1']
3009
+ },
3010
+ addDebugger: {
3011
+ key: 'addDebugger',
3012
+ label: '添加断点(慎用)',
3013
+ classification: [{
3014
+ label: '调试类',
3015
+ value: 'debug'
3016
+ }]
3017
+ },
3018
+ reload: {
3019
+ key: 'reload',
3020
+ label: '页面刷新',
3021
+ classification: [{
3022
+ label: '页面类',
3023
+ value: 'page'
3024
+ }]
3025
+ },
3026
+ switchAppTabs: {
3027
+ key: 'switchAppTabs',
3028
+ label: '切换页面',
3029
+ todoOptions: [{
3030
+ key: 'value',
3031
+ label: '内容',
3032
+ type: 'SetExpression'
3033
+ }],
3034
+ todoCallbacks: ['callback1']
3035
+ },
3036
+ changeContent: {
3037
+ key: 'changeContent',
3038
+ label: '修改内容',
3039
+ todoOptions: [{
3040
+ key: 'name',
3041
+ label: '修改名称',
3042
+ type: 'Input',
3043
+ props: {
3044
+ placeholder: '请输入名称'
3045
+ }
3046
+ }, {
3047
+ key: 'icon',
3048
+ label: '修改图标',
3049
+ type: 'ChooseIcon',
3050
+ props: {
3051
+ placeholder: '请选择图标'
3052
+ }
3053
+ }]
3054
+ },
3055
+ getDformStatus: {
3056
+ key: 'getDformStatus',
3057
+ label: '获取表单编辑状态',
3058
+ todoCallbacks: ['callback1']
3059
+ },
3060
+ customActionCode: {
3061
+ key: 'customActionCode',
3062
+ label: '自定义代码块',
3063
+ todoOptions: [{
3064
+ key: 'actionTitle',
3065
+ label: '动作说明',
3066
+ type: 'CustomActionTitle',
3067
+ props: {
3068
+ placeholder: '请输入动作说明',
3069
+ maxLength: 20
3070
+ }
3071
+ }, {
3072
+ key: 'editorCode',
3073
+ label: '自定义内容',
3074
+ type: 'CustomActionCode'
3075
+ }],
3076
+ todoCallbacks: ['callback1', 'callback2'],
3077
+ classification: [{
3078
+ label: '其他',
3079
+ value: 'others'
3080
+ }],
3081
+ tips: '注意:如果需要配合退出事件,请在代码块中增加return true'
3082
+ },
3083
+ getItemFromLocalStorage: {
3084
+ key: 'getItemFromLocalStorage',
3085
+ label: '获取本地数据',
3086
+ todoOptions: [{
3087
+ key: 'key',
3088
+ aliasKey: 'valueKey',
3089
+ label: '节点key取值字段',
3090
+ type: 'SetExpression'
3091
+ }],
3092
+ todoCallbacks: ['callback1'],
3093
+ classification: [{
3094
+ label: '其他',
3095
+ value: 'others'
3096
+ }]
3097
+ },
3098
+ setItemToLocalStorage: {
3099
+ key: 'setItemToLocalStorage',
3100
+ label: '保存本地数据',
3101
+ todoOptions: [{
3102
+ key: 'key',
3103
+ aliasKey: 'setItemKey',
3104
+ label: '字段名称',
3105
+ type: 'Input',
3106
+ props: {
3107
+ required: true,
3108
+ placeholder: '请输入字段名值, 必须为英文'
3109
+ }
3110
+ }, {
3111
+ key: 'value',
3112
+ label: '内容',
3113
+ type: 'SetExpression'
3114
+ }],
3115
+ classification: [{
3116
+ label: '其他',
3117
+ value: 'others'
3118
+ }]
3119
+ },
3120
+ prev: {
3121
+ key: 'prev',
3122
+ label: '上一张'
3123
+ },
3124
+ next: {
3125
+ key: 'next',
3126
+ label: '下一张'
3127
+ },
3128
+ goTo: {
3129
+ key: 'goTo',
3130
+ label: '去第几页',
3131
+ todoOptions: [{
3132
+ key: 'value',
3133
+ label: '内容',
3134
+ type: 'SetExpression'
3135
+ }]
3136
+ },
3137
+ getLocalLocation: {
3138
+ key: 'getLocalLocation',
3139
+ label: '获取当前位置',
3140
+ todoOptions: [{
3141
+ key: 'mapKey',
3142
+ label: '地图秘钥(百度地图)',
3143
+ type: 'Input',
3144
+ props: {
3145
+ placeholder: '请输入地图的秘钥',
3146
+ valuePropName: 'mapKey',
3147
+ isRequired: true
3148
+ }
3149
+ }, {
3150
+ key: 'locationAlways',
3151
+ label: '是否持续定位',
3152
+ type: 'Switch',
3153
+ props: {
3154
+ defaultValue: false
3155
+ }
3156
+ }, {
3157
+ key: 'locationOutputType',
3158
+ label: '定位输出坐标系',
3159
+ type: 'Select',
3160
+ defaultValue: 'BD09',
3161
+ props: {
3162
+ options: [{
3163
+ title: '大地坐标系',
3164
+ value: 'WGS84'
3165
+ }, {
3166
+ title: '火星坐标系',
3167
+ value: 'GCJ02'
3168
+ }, {
3169
+ title: '百度坐标系',
3170
+ value: 'BD09'
3171
+ }]
3172
+ }
3173
+ }, {
3174
+ key: 'locationAddress',
3175
+ label: '是否需要地址信息',
3176
+ defaultValue: false,
3177
+ type: 'Switch'
3178
+ }],
3179
+ todoCallbacks: ['callback1', 'callback2'],
3180
+ classification: [{
3181
+ label: '其他',
3182
+ value: 'others'
3183
+ }]
3184
+ },
3185
+ validateTableData: {
3186
+ key: 'validateTableData',
3187
+ label: '获取当前页数据并校验',
3188
+ todoCallbacks: ['callback1', 'callback2']
3189
+ },
3190
+ validateTableRowData: {
3191
+ key: 'validateTableRowData',
3192
+ label: '校验当前保存行数据',
3193
+ todoCallbacks: ['callback1', 'callback2']
3194
+ },
3195
+ reloadAppTableData: {
3196
+ key: 'reloadAppTableData',
3197
+ label: '绑定表格数据',
3198
+ todoOptions: [{
3199
+ key: 'appTableData',
3200
+ label: '表头数据',
3201
+ type: 'SetExpression'
3202
+ }, {
3203
+ key: 'appTableDataSource',
3204
+ label: '表格数据',
3205
+ type: 'SetExpression'
3206
+ }],
3207
+ todoCallbacks: []
3208
+ },
3209
+ getAppTableData: {
3210
+ key: 'getAppTableData',
3211
+ label: '获取表格数据',
3212
+ todoCallbacks: ['callback1', 'callback2']
3213
+ },
3214
+ startVerificationCodeCountdown: {
3215
+ key: 'startVerificationCodeCountdown',
3216
+ label: '开始倒计时',
3217
+ todoCallbacks: ['callback1']
3218
+ },
3219
+ resetVerificationCodeCountdown: {
3220
+ key: 'resetVerificationCodeCountdown',
3221
+ label: '重置倒计时',
3222
+ todoCallbacks: ['callback1']
3223
+ },
3224
+ setVerificationCodeImageUrl: {
3225
+ key: 'setVerificationCodeImageUrl',
3226
+ label: '设置图片地址',
3227
+ todoOptions: [{
3228
+ key: 'verificationCodeUrl',
3229
+ label: '验证码图片地址',
3230
+ type: 'SetExpression'
3231
+ }],
3232
+ todoCallbacks: ['callback1']
3233
+ },
3234
+ removeTransferKeys: {
3235
+ key: 'removeTransferKeys',
3236
+ label: '删除右侧列表值',
3237
+ todoOptions: [{
3238
+ key: 'transferValue',
3239
+ aliasKey: 'removeTransferValue',
3240
+ label: '内容',
3241
+ type: 'SetExpression',
3242
+ props: {
3243
+ placeholder: '请输入删除值,多个用英文逗号拼接,例如:1,2,3'
3244
+ }
3245
+ }],
3246
+ todoCallbacks: ['callback1']
3247
+ },
3248
+ addTransferKeys: {
3249
+ key: 'addTransferKeys',
3250
+ label: '设置右侧列表值',
3251
+ todoOptions: [{
3252
+ key: 'transferValue',
3253
+ aliasKey: 'addTransferValue',
3254
+ label: '内容',
3255
+ type: 'SetExpression',
3256
+ props: {
3257
+ placeholder: '请输入添加值,多个用英文逗号拼接,例如:1,2,3'
3258
+ }
3259
+ }],
3260
+ todoCallbacks: ['callback1']
3261
+ },
3262
+ setTransferLeftTitle: {
3263
+ key: 'setTransferLeftTitle',
3264
+ label: '设置左标题',
3265
+ todoOptions: [{
3266
+ key: 'value',
3267
+ label: '内容',
3268
+ type: 'SetExpression'
3269
+ }],
3270
+ todoCallbacks: ['callback1']
3271
+ },
3272
+ setTransferRightTitle: {
3273
+ key: 'setTransferRightTitle',
3274
+ label: '设置右标题',
3275
+ todoOptions: [{
3276
+ key: 'value',
3277
+ label: '内容',
3278
+ type: 'SetExpression'
3279
+ }],
3280
+ todoCallbacks: ['callback1']
3281
+ },
3282
+ loadLineChartData: {
3283
+ key: 'loadLineChartData',
3284
+ label: '加载数据',
3285
+ todoOptions: [{
3286
+ key: 'xLineName',
3287
+ label: 'x轴字段名',
3288
+ type: 'SetExpression'
3289
+ }, {
3290
+ key: 'yLineName',
3291
+ label: 'y轴字段名',
3292
+ type: 'SetExpression'
3293
+ }, {
3294
+ key: 'lineChartData',
3295
+ label: '数据源',
3296
+ type: 'SetExpression'
3297
+ }]
3298
+ },
3299
+ loadSingleProgressData: {
3300
+ key: 'loadSingleProgressData',
3301
+ label: '加载数据',
3302
+ todoOptions: [{
3303
+ key: 'spCount',
3304
+ label: '当前数量',
3305
+ type: 'SetExpression'
3306
+ }, {
3307
+ key: 'spTotal',
3308
+ label: '总数量',
3309
+ type: 'SetExpression'
3310
+ }, {
3311
+ key: 'spRightNode',
3312
+ label: '右侧文字',
3313
+ type: 'SetExpression'
3314
+ }]
3315
+ },
3316
+ loadDonutChartData: {
3317
+ key: 'loadDonutChartData',
3318
+ label: '加载数据',
3319
+ todoOptions: [{
3320
+ key: 'donutX',
3321
+ label: 'x轴字段名',
3322
+ type: 'SetExpression'
3323
+ }, {
3324
+ key: 'donutY',
3325
+ label: 'y轴字段名',
3326
+ type: 'SetExpression'
3327
+ }, {
3328
+ key: 'donutData',
3329
+ label: '数据源',
3330
+ type: 'SetExpression'
3331
+ }, {
3332
+ key: 'donutSumText',
3333
+ label: '总数据',
3334
+ type: 'SetExpression'
3335
+ }]
3336
+ },
3337
+ loadMultipleProgressData: {
3338
+ key: 'loadMultipleProgressData',
3339
+ label: '加载数据',
3340
+ todoOptions: [{
3341
+ key: 'mpData',
3342
+ label: '数据源',
3343
+ type: 'SetExpression',
3344
+ props: {
3345
+ placeholder: '格式为:[{count:xx, color:xx, label:xx},...]'
3346
+ }
3347
+ }]
3348
+ },
3349
+ loadGroupColumnData: {
3350
+ key: 'loadGroupColumnData',
3351
+ label: '加载数据',
3352
+ todoOptions: [{
3353
+ key: 'gcXName',
3354
+ label: 'x轴字段名',
3355
+ type: 'SetExpression'
3356
+ }, {
3357
+ key: 'gcLegendParams',
3358
+ label: '图例内容',
3359
+ type: 'SetExpression',
3360
+ props: {
3361
+ placeholder: '格式为:[{label:xx(说明), value:xx(对应数据源取值字段)},...]'
3362
+ }
3363
+ }, {
3364
+ key: 'gcData',
3365
+ label: '数据源',
3366
+ type: 'SetExpression',
3367
+ props: {
3368
+ placeholder: '格式为:[{name:xx, xx:xx, xx:xx, ...},...]'
3369
+ }
3370
+ }]
3371
+ },
3372
+ loadSmallColumnarData: {
3373
+ key: 'loadSmallColumnarData',
3374
+ label: '加载数据',
3375
+ todoOptions: [{
3376
+ key: 'scXName',
3377
+ label: 'x轴字段名',
3378
+ type: 'SetExpression'
3379
+ }, {
3380
+ key: 'scYName',
3381
+ label: 'y轴字段名',
3382
+ type: 'SetExpression'
3383
+ }, {
3384
+ key: 'scData',
3385
+ label: '数据源',
3386
+ type: 'SetExpression',
3387
+ props: {
3388
+ placeholder: '格式为:[{xx:xx, xx:xx, color:xx(需要指定颜色时设置该参数) },...]'
3389
+ }
3390
+ }]
3391
+ },
3392
+ loadStackColumnData: {
3393
+ key: 'loadStackColumnData',
3394
+ label: '加载数据',
3395
+ todoOptions: [{
3396
+ key: 'stcXName',
3397
+ label: 'x轴字段名',
3398
+ type: 'SetExpression'
3399
+ }, {
3400
+ key: 'stcLegendParams',
3401
+ label: '图例内容',
3402
+ type: 'SetExpression',
3403
+ props: {
3404
+ placeholder: '格式为:[{label:xx, value:xx},...]'
3405
+ }
3406
+ }, {
3407
+ key: 'stcData',
3408
+ label: '数据源',
3409
+ type: 'SetExpression',
3410
+ props: {
3411
+ placeholder: '格式为:[{xx:xx, xx:xx, ... },...]'
3412
+ }
3413
+ }]
3414
+ },
3415
+ setMenuOpenKey: {
3416
+ key: 'setMenuOpenKey',
3417
+ label: '设置展开项',
3418
+ todoOptions: [{
3419
+ key: 'value',
3420
+ label: '内容',
3421
+ type: 'SetExpression'
3422
+ }]
3423
+ },
3424
+ clearMenuOpenKey: {
3425
+ key: 'clearMenuOpenKey',
3426
+ label: '清空展开项'
3427
+ },
3428
+ setInlineCollapsed: {
3429
+ key: 'setInlineCollapsed',
3430
+ label: '切换内嵌菜单',
3431
+ todoOptions: [{
3432
+ key: 'inlineCollapsed',
3433
+ label: '是否收缩',
3434
+ type: 'Select',
3435
+ props: {
3436
+ options: [{
3437
+ title: '缩起',
3438
+ value: 'true'
3439
+ }, {
3440
+ title: '展开',
3441
+ value: ''
3442
+ }, {
3443
+ title: '切换',
3444
+ value: 'toggle'
3445
+ }]
3446
+ }
3447
+ }]
3448
+ },
3449
+ reloadTransferData: {
3450
+ key: 'reloadTransferData',
3451
+ label: '加载数据',
3452
+ todoOptions: [{
3453
+ key: 'data',
3454
+ label: '内容',
3455
+ type: 'SetExpression',
3456
+ aliasKey: 'dataSource'
3457
+ }],
3458
+ todoCallbacks: ['callback1']
3459
+ },
3460
+ getLoopListValues: {
3461
+ key: 'getLoopListValues',
3462
+ label: '获取选中项',
3463
+ todoCallbacks: ['callback1']
3464
+ },
3465
+ setSelectAllValues: {
3466
+ key: 'setSelectAllValues',
3467
+ label: '设置全部选中',
3468
+ todoCallbacks: ['callback1']
3469
+ },
3470
+ setExpandedKey: {
3471
+ key: 'setExpandedKey',
3472
+ label: '展开指定节点',
3473
+ todoOptions: [{
3474
+ key: 'value',
3475
+ label: '内容',
3476
+ type: 'SetExpression'
3477
+ }]
3478
+ },
3479
+ closeExpandedKey: {
3480
+ key: 'closeExpandedKey',
3481
+ label: '收起指定节点',
3482
+ todoOptions: [{
3483
+ key: 'value',
3484
+ label: '内容',
3485
+ type: 'SetExpression'
3486
+ }]
3487
+ },
3488
+ reloadSelectorData: {
3489
+ key: 'reloadSelectorData',
3490
+ label: '加载数据',
3491
+ todoOptions: [{
3492
+ key: 'data',
3493
+ aliasKey: 'dataSource',
3494
+ label: '内容',
3495
+ type: 'SetExpression'
3496
+ }, {
3497
+ key: 'labelKey',
3498
+ aliasKey: 'selectLabelKey',
3499
+ label: '选项内容字段',
3500
+ type: 'SetExpressionKey'
3501
+ }, {
3502
+ key: 'valueKey',
3503
+ aliasKey: 'selectValueKey',
3504
+ label: '选项值字段',
3505
+ type: 'SetExpressionKey'
3506
+ }, {
3507
+ key: 'descriptionKey',
3508
+ aliasKey: 'selectDescriptionKey',
3509
+ label: '选项描述字段',
3510
+ type: 'SetExpressionKey'
3511
+ }, {
3512
+ key: 'disabledKey',
3513
+ aliasKey: 'selectDisabledKey',
3514
+ label: '选项禁用字段',
3515
+ type: 'SetExpressionKey'
3516
+ }],
3517
+ todoCallbacks: ['callback1']
3518
+ },
3519
+ setSelectorDisabelItems: {
3520
+ key: 'setSelectorDisabelItems',
3521
+ label: '设置选项禁用',
3522
+ todoOptions: [{
3523
+ key: 'disabledKeys',
3524
+ aliasKey: 'setSelectorDisabelItems',
3525
+ label: '值/索引',
3526
+ type: 'SetExpressionKey'
3527
+ }],
3528
+ todoCallbacks: ['callback1']
3529
+ },
3530
+ swipeNext: {
3531
+ key: 'swipeNext',
3532
+ label: '切换到下一张',
3533
+ todoCallbacks: ['callback1', 'callback2']
3534
+ },
3535
+ swipePrev: {
3536
+ key: 'swipePrev',
3537
+ label: '切换到上一张',
3538
+ todoCallbacks: ['callback1', 'callback2']
3539
+ },
3540
+ swipeTo: {
3541
+ key: 'swipeTo',
3542
+ label: '切换到指定索引',
3543
+ todoOptions: [{
3544
+ key: 'swiperIndex',
3545
+ label: '索引',
3546
+ type: 'SwiperIndex'
3547
+ }],
3548
+ todoCallbacks: ['callback1', 'callback2']
3549
+ },
3550
+ refreshPictureVerifyCode: {
3551
+ key: 'refreshPictureVerifyCode',
3552
+ label: '刷新验证码',
3553
+ todoCallbacks: ['callback1']
3554
+ },
3555
+ mediaControl: {
3556
+ key: 'mediaControl',
3557
+ label: '播放控制',
3558
+ todoOptions: [{
3559
+ key: 'updateMediaState',
3560
+ label: '状态设置',
3561
+ type: 'RadioButton',
3562
+ defaultValue: 'play',
3563
+ props: {
3564
+ options: [{
3565
+ title: '播放',
3566
+ value: 'play'
3567
+ }, {
3568
+ title: '暂停',
3569
+ value: 'pasue'
3570
+ }, {
3571
+ title: '切换',
3572
+ value: 'toggle'
3573
+ }]
3574
+ }
3575
+ }]
3576
+ }
3577
+ };
3578
+ var mobileTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'JSBridge', 'apiRequestByFlow', 'openFlowPage', 'rollbackFlow', 'openFlowDiagram', 'console', 'sysSetVisible', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showAppCustomModal', 'showDrawer', 'historyPush', 'historyReplace', 'history', 'dropPageByCatch', 'historyGoBack', 'setStatesByKeyAndValue', 'getStatesByKey', 'setCompNestedState', 'getCompNestedState', 'okCallbackData', 'closeModal', 'setDownloadResponse', 'saveBlobFile', 'setTimeout', 'setInterval', 'setTimer', 'clearTimer', 'validateAllAppForm', 'pushScenePage', 'reloadDataSource', 'setDataSource', 'resetDataSource', 'postObjectData', 'postParentMessage', 'addEventListenerParentMessage', 'callFishParentFunc', 'callSelfFunc', 'callParentCustomFunc', 'callCustomPageFunc', 'exportBusiObjectData', 'exportCustomData', 'importBusiObjectData', 'exportSQLServiceData', 'importCustomBusiObjectData', 'exportCustomBusiObjectData', 'exportPage', 'importCustomData', 'previewFile', 'return', 'copyToClipboard', 'addDebugger', 'reload', 'customActionCode', 'getItemFromLocalStorage', 'setItemToLocalStorage', 'getLocalLocation'];
3579
+ var pcTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'apiRequestByFlow', 'openFlowPage', 'rollbackFlow', 'openFlowDiagram', 'console', 'sysSetVisible', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showCustomModal', 'showDrawer', 'historyPush', 'historyReplace', 'history', 'historyGoBack', 'setCustomState', 'getCustomState', 'setCompNestedState', 'getCompNestedState', 'okCallbackData', 'closeModal', 'validateAllForm', 'getAllFormValues', 'resetAllForm', 'setDownloadResponse', 'saveBlobFile', 'downloadByFileId', 'setTimeout', 'setInterval', 'setTimer', 'clearTimer', 'reloadDataSource', 'setDataSource', 'resetDataSource', 'postObjectData', 'postParentMessage', 'callFuncComp', 'addEventListenerParentMessage', 'callFishParentFunc', 'callSelfFunc', 'callParentCustomFunc', 'callCustomPageFunc', 'exportBusiObjectData', 'exportCustomData', 'importBusiObjectData', 'exportSQLServiceData', 'importCustomBusiObjectData', 'exportCustomBusiObjectData', 'exportPage', 'importCustomData', 'previewFile', 'print', 'return', 'copyToClipboard', 'accountDivide', 'addDebugger', 'reload', 'customActionCode', 'getLocalLocation'];
3580
+ /**
3581
+ * 通过数组key获取对应的动作
3582
+ * @param keys
3583
+ * @returns
3584
+ */
3585
+ var getTodoActionListByKey = function getTodoActionListByKey(keys) {
3586
+ return keys.map(function (key) {
3587
+ return todoActionObject[key];
3588
+ }).filter(Boolean);
3589
+ };
3590
+ /**
3591
+ * 获取系统级别的动作列表
3592
+ * @returns
3593
+ */
3594
+ exports.getTodoActionListByKey = getTodoActionListByKey;
3595
+ var getSystemTodoActionList = function getSystemTodoActionList(terminal) {
3596
+ return getTodoActionListByKey(terminal === 'mobile' ? mobileTodoActionKeys : pcTodoActionKeys);
3597
+ };
3598
+ exports.getSystemTodoActionList = getSystemTodoActionList;
3599
+ var _default = todoActionObject;
3600
+ exports.default = _default;