@lingxiteam/assets 3.2.1-alpha.1 → 3.2.1-alpha.2

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 (51) hide show
  1. package/es/error/errorDisplay/Mobile/Drawer/Drawer.js +9 -3
  2. package/es/error/errorDisplay/Mobile/ErrorMsg/index.js +29 -26
  3. package/es/error/errorDisplay/Mobile/Modal/Modal.js +5 -3
  4. package/es/error/errorDisplay/Mobile/defaultGlobalConfig.js +9 -1
  5. package/es/error/errorDisplay/Web/Drawer/Drawer.js +8 -3
  6. package/es/error/errorDisplay/Web/ErrorMsg/index.js +62 -46
  7. package/es/error/errorDisplay/Web/defaultGlobalConfig.js +10 -2
  8. package/es/error/errorDisplay/const.js +29 -7
  9. package/es/rootConfig/mobile/MobileModal.d.ts +3 -0
  10. package/es/rootConfig/mobile/MobileModal.js +4 -1
  11. package/es/rootConfig/mobile/MobilePopover.d.ts +3 -0
  12. package/es/rootConfig/mobile/MobilePopover.js +4 -1
  13. package/es/rootConfig/mobile/page.d.ts +3 -0
  14. package/es/rootConfig/mobile/page.js +4 -1
  15. package/es/rootConfig/pc/Drawer.d.ts +3 -0
  16. package/es/rootConfig/pc/Drawer.js +4 -1
  17. package/es/rootConfig/pc/Modal.d.ts +3 -0
  18. package/es/rootConfig/pc/Modal.js +4 -1
  19. package/es/rootConfig/pc/Popover.d.ts +3 -0
  20. package/es/rootConfig/pc/Popover.js +4 -1
  21. package/es/rootConfig/pc/page.d.ts +3 -0
  22. package/es/rootConfig/pc/page.js +4 -1
  23. package/es/rootConfig/todoActionList.d.ts +251 -16
  24. package/es/rootConfig/todoActionList.js +345 -44
  25. package/es/rootConfig/todoOptionList.js +3 -3
  26. package/lib/error/errorDisplay/Mobile/Drawer/Drawer.js +9 -3
  27. package/lib/error/errorDisplay/Mobile/ErrorMsg/index.js +29 -26
  28. package/lib/error/errorDisplay/Mobile/Modal/Modal.js +5 -3
  29. package/lib/error/errorDisplay/Mobile/defaultGlobalConfig.js +9 -1
  30. package/lib/error/errorDisplay/Web/Drawer/Drawer.js +8 -3
  31. package/lib/error/errorDisplay/Web/ErrorMsg/index.js +62 -46
  32. package/lib/error/errorDisplay/Web/defaultGlobalConfig.js +10 -1
  33. package/lib/error/errorDisplay/const.js +33 -9
  34. package/lib/rootConfig/mobile/MobileModal.d.ts +3 -0
  35. package/lib/rootConfig/mobile/MobileModal.js +4 -1
  36. package/lib/rootConfig/mobile/MobilePopover.d.ts +3 -0
  37. package/lib/rootConfig/mobile/MobilePopover.js +4 -1
  38. package/lib/rootConfig/mobile/page.d.ts +3 -0
  39. package/lib/rootConfig/mobile/page.js +4 -1
  40. package/lib/rootConfig/pc/Drawer.d.ts +3 -0
  41. package/lib/rootConfig/pc/Drawer.js +4 -1
  42. package/lib/rootConfig/pc/Modal.d.ts +3 -0
  43. package/lib/rootConfig/pc/Modal.js +4 -1
  44. package/lib/rootConfig/pc/Popover.d.ts +3 -0
  45. package/lib/rootConfig/pc/Popover.js +4 -1
  46. package/lib/rootConfig/pc/page.d.ts +3 -0
  47. package/lib/rootConfig/pc/page.js +4 -1
  48. package/lib/rootConfig/todoActionList.d.ts +251 -16
  49. package/lib/rootConfig/todoActionList.js +345 -44
  50. package/lib/rootConfig/todoOptionList.js +3 -3
  51. package/package.json +1 -1
@@ -803,7 +803,7 @@ var todoActionObject = {
803
803
  key: 'params',
804
804
  aliasKey: 'setParams',
805
805
  label: '参数',
806
- type: 'SetExpression'
806
+ type: 'SelectParams'
807
807
  }],
808
808
  classification: [{
809
809
  label: '回调',
@@ -835,7 +835,23 @@ var todoActionObject = {
835
835
  todoOptions: [{
836
836
  key: 'params',
837
837
  label: '参数赋值',
838
- type: 'SetExpression'
838
+ type: 'SelectLink',
839
+ props: {
840
+ titleLink: [{
841
+ title: '切换到属性',
842
+ value: 'object',
843
+ key: 'object'
844
+ }, {
845
+ title: '切换根节点',
846
+ value: '',
847
+ key: 'root'
848
+ }, {
849
+ title: '清空赋值',
850
+ value: 'cleanValue',
851
+ key: 'cleanValue'
852
+ }],
853
+ valueType: 'Table'
854
+ }
839
855
  }]
840
856
  },
841
857
  resetForm: {
@@ -875,7 +891,23 @@ var todoActionObject = {
875
891
  todoOptions: [{
876
892
  key: 'params',
877
893
  label: '参数赋值',
878
- type: 'SetExpression'
894
+ type: 'SelectLink',
895
+ props: {
896
+ titleLink: [{
897
+ title: '切换到属性',
898
+ value: 'object',
899
+ key: 'object'
900
+ }, {
901
+ title: '切换根节点',
902
+ value: '',
903
+ key: 'root'
904
+ }, {
905
+ title: '清空赋值',
906
+ value: 'cleanValue',
907
+ key: 'cleanValue'
908
+ }],
909
+ valueType: 'Table'
910
+ }
879
911
  }]
880
912
  },
881
913
  resetCurrentForm: {
@@ -977,12 +1009,20 @@ var todoActionObject = {
977
1009
  key: 'labelKey',
978
1010
  aliasKey: 'selectLabelKeyForRC',
979
1011
  label: '显示内容字段',
980
- type: 'SetExpressionKey'
1012
+ type: 'SetExpressionKey',
1013
+ props: {
1014
+ // 选择后只回填参数key,不回填表达式
1015
+ isFillKey: true
1016
+ }
981
1017
  }, {
982
1018
  key: 'valueKey',
983
1019
  aliasKey: 'selectValueKeyForRC',
984
1020
  label: '显示值字段',
985
- type: 'SetExpressionKey'
1021
+ type: 'SetExpressionKey',
1022
+ props: {
1023
+ // 选择后只回填参数key,不回填表达式
1024
+ isFillKey: true
1025
+ }
986
1026
  }],
987
1027
  todoCallbacks: ['callback1']
988
1028
  },
@@ -998,12 +1038,20 @@ var todoActionObject = {
998
1038
  key: 'labelKey',
999
1039
  aliasKey: 'selectLabelKey',
1000
1040
  label: '选项内容字段',
1001
- type: 'SetExpressionKey'
1041
+ type: 'SetExpressionKey',
1042
+ props: {
1043
+ // 选择后只回填参数key,不回填表达式
1044
+ isFillKey: true
1045
+ }
1002
1046
  }, {
1003
1047
  key: 'valueKey',
1004
1048
  aliasKey: 'selectValueKey',
1005
1049
  label: '选项值字段',
1006
- type: 'SetExpressionKey'
1050
+ type: 'SetExpressionKey',
1051
+ props: {
1052
+ // 选择后只回填参数key,不回填表达式
1053
+ isFillKey: true
1054
+ }
1007
1055
  }],
1008
1056
  todoCallbacks: ['callback1']
1009
1057
  },
@@ -1028,21 +1076,37 @@ var todoActionObject = {
1028
1076
  }, {
1029
1077
  key: 'labelKey',
1030
1078
  label: '节点名称取值字段',
1031
- type: 'SetExpressionKey'
1079
+ type: 'SetExpressionKey',
1080
+ props: {
1081
+ // 选择后只回填参数key,不回填表达式
1082
+ isFillKey: true
1083
+ }
1032
1084
  }, {
1033
1085
  key: 'nodeValueKey',
1034
1086
  label: '节点key取值字段',
1035
- type: 'SetExpressionKey'
1087
+ type: 'SetExpressionKey',
1088
+ props: {
1089
+ // 选择后只回填参数key,不回填表达式
1090
+ isFillKey: true
1091
+ }
1036
1092
  }, {
1037
1093
  key: 'selectable',
1038
1094
  label: '节点可选字段编码',
1039
1095
  type: 'SetExpressionKey',
1040
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1096
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1097
+ props: {
1098
+ // 选择后只回填参数key,不回填表达式
1099
+ isFillKey: true
1100
+ }
1041
1101
  }, {
1042
1102
  key: 'childrenKey',
1043
1103
  label: '下级列表取值字段',
1044
1104
  type: 'SetExpressionKey',
1045
- 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 '
1105
+ 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 ',
1106
+ props: {
1107
+ // 选择后只回填参数key,不回填表达式
1108
+ isFillKey: true
1109
+ }
1046
1110
  }],
1047
1111
  todoCallbacks: ['callback1']
1048
1112
  },
@@ -1061,21 +1125,37 @@ var todoActionObject = {
1061
1125
  }, {
1062
1126
  key: 'labelKey',
1063
1127
  label: '节点名称取值字段',
1064
- type: 'SetExpressionKey'
1128
+ type: 'SetExpressionKey',
1129
+ props: {
1130
+ // 选择后只回填参数key,不回填表达式
1131
+ isFillKey: true
1132
+ }
1065
1133
  }, {
1066
1134
  key: 'nodeValueKey',
1067
1135
  label: '节点key取值字段',
1068
- type: 'SetExpressionKey'
1136
+ type: 'SetExpressionKey',
1137
+ props: {
1138
+ // 选择后只回填参数key,不回填表达式
1139
+ isFillKey: true
1140
+ }
1069
1141
  }, {
1070
1142
  key: 'selectable',
1071
1143
  label: '节点可选字段编码',
1072
1144
  type: 'SetExpressionKey',
1073
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1145
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1146
+ props: {
1147
+ // 选择后只回填参数key,不回填表达式
1148
+ isFillKey: true
1149
+ }
1074
1150
  }, {
1075
1151
  key: 'childrenKey',
1076
1152
  label: '下级列表取值字段',
1077
1153
  type: 'SetExpressionKey',
1078
- 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 '
1154
+ 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 ',
1155
+ props: {
1156
+ // 选择后只回填参数key,不回填表达式
1157
+ isFillKey: true
1158
+ }
1079
1159
  }],
1080
1160
  todoCallbacks: ['callback1']
1081
1161
  },
@@ -1090,25 +1170,45 @@ var todoActionObject = {
1090
1170
  }, {
1091
1171
  key: 'labelKey',
1092
1172
  label: '节点名称取值字段',
1093
- type: 'SetExpressionKey'
1173
+ type: 'SetExpressionKey',
1174
+ props: {
1175
+ // 选择后只回填参数key,不回填表达式
1176
+ isFillKey: true
1177
+ }
1094
1178
  }, {
1095
1179
  key: 'nodeValueKey',
1096
1180
  label: '节点key取值字段',
1097
- type: 'SetExpressionKey'
1181
+ type: 'SetExpressionKey',
1182
+ props: {
1183
+ // 选择后只回填参数key,不回填表达式
1184
+ isFillKey: true
1185
+ }
1098
1186
  }, {
1099
1187
  key: 'urlValueKey',
1100
1188
  label: '节点url取值字段',
1101
- type: 'SetExpressionKey'
1189
+ type: 'SetExpressionKey',
1190
+ props: {
1191
+ // 选择后只回填参数key,不回填表达式
1192
+ isFillKey: true
1193
+ }
1102
1194
  }, {
1103
1195
  key: 'selectable',
1104
1196
  label: '节点可选字段编码',
1105
1197
  type: 'SetExpressionKey',
1106
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1198
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1199
+ props: {
1200
+ // 选择后只回填参数key,不回填表达式
1201
+ isFillKey: true
1202
+ }
1107
1203
  }, {
1108
1204
  key: 'childrenKey',
1109
1205
  label: '下级列表取值字段',
1110
1206
  type: 'SetExpressionKey',
1111
- 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 '
1207
+ 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 ',
1208
+ props: {
1209
+ // 选择后只回填参数key,不回填表达式
1210
+ isFillKey: true
1211
+ }
1112
1212
  }],
1113
1213
  todoCallbacks: ['callback1']
1114
1214
  },
@@ -1123,22 +1223,38 @@ var todoActionObject = {
1123
1223
  }, {
1124
1224
  key: 'nodeKey',
1125
1225
  label: '操作节点key',
1126
- type: 'SetExpression'
1226
+ type: 'SetExpression',
1227
+ props: {
1228
+ // 选择后只回填参数key,不回填表达式
1229
+ isFillKey: true
1230
+ }
1127
1231
  }, {
1128
1232
  key: 'title',
1129
1233
  aliasKey: 'titleKey',
1130
1234
  label: '节点名称取值字段',
1131
- type: 'SetExpression'
1235
+ type: 'SetExpression',
1236
+ props: {
1237
+ // 选择后只回填参数key,不回填表达式
1238
+ isFillKey: true
1239
+ }
1132
1240
  }, {
1133
1241
  key: 'key',
1134
1242
  aliasKey: 'valueKey',
1135
1243
  label: '节点key取值字段',
1136
- type: 'SetExpression'
1244
+ type: 'SetExpression',
1245
+ props: {
1246
+ // 选择后只回填参数key,不回填表达式
1247
+ isFillKey: true
1248
+ }
1137
1249
  }, {
1138
1250
  key: 'selectable',
1139
1251
  label: '节点可选字段编码',
1140
1252
  type: 'SetExpressionKey',
1141
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1253
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1254
+ props: {
1255
+ // 选择后只回填参数key,不回填表达式
1256
+ isFillKey: true
1257
+ }
1142
1258
  }]
1143
1259
  },
1144
1260
  appendMenuNodeData: {
@@ -1153,16 +1269,28 @@ var todoActionObject = {
1153
1269
  key: 'title',
1154
1270
  aliasKey: 'titleKey',
1155
1271
  label: '节点名称取值字段',
1156
- type: 'SetExpression'
1272
+ type: 'SetExpression',
1273
+ props: {
1274
+ // 选择后只回填参数key,不回填表达式
1275
+ isFillKey: true
1276
+ }
1157
1277
  }, {
1158
1278
  key: 'key',
1159
1279
  aliasKey: 'valueKey',
1160
1280
  label: '节点key取值字段',
1161
- type: 'SetExpression'
1281
+ type: 'SetExpression',
1282
+ props: {
1283
+ // 选择后只回填参数key,不回填表达式
1284
+ isFillKey: true
1285
+ }
1162
1286
  }, {
1163
1287
  key: 'childrenKey',
1164
1288
  label: '下级列表取值字段',
1165
1289
  type: 'SetExpressionKey',
1290
+ props: {
1291
+ // 选择后只回填参数key,不回填表达式
1292
+ isFillKey: true
1293
+ },
1166
1294
  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 '
1167
1295
  }],
1168
1296
  todoCallbacks: ['callback1']
@@ -1274,7 +1402,23 @@ var todoActionObject = {
1274
1402
  todoOptions: [{
1275
1403
  key: 'params',
1276
1404
  label: '参数赋值',
1277
- type: 'SetExpression'
1405
+ type: 'SelectLink',
1406
+ props: {
1407
+ titleLink: [{
1408
+ title: '切换到属性',
1409
+ value: 'object',
1410
+ key: 'object'
1411
+ }, {
1412
+ title: '切换根节点',
1413
+ value: '',
1414
+ key: 'root'
1415
+ }, {
1416
+ title: '清空赋值',
1417
+ value: 'cleanValue',
1418
+ key: 'cleanValue'
1419
+ }],
1420
+ valueType: 'Table'
1421
+ }
1278
1422
  }]
1279
1423
  },
1280
1424
  delTableRow: {
@@ -1447,12 +1591,20 @@ var todoActionObject = {
1447
1591
  key: 'labelKey',
1448
1592
  label: '内容映射字段',
1449
1593
  type: 'SetExpressionKey',
1450
- aliasKey: 'labelMapKey'
1594
+ aliasKey: 'labelMapKey',
1595
+ props: {
1596
+ // 选择后只回填参数key,不回填表达式
1597
+ isFillKey: true
1598
+ }
1451
1599
  }, {
1452
1600
  key: 'valueKey',
1453
1601
  label: '值映射字段',
1454
1602
  type: 'SetExpressionKey',
1455
- aliasKey: 'valueMapKey'
1603
+ aliasKey: 'valueMapKey',
1604
+ props: {
1605
+ // 选择后只回填参数key,不回填表达式
1606
+ isFillKey: true
1607
+ }
1456
1608
  }],
1457
1609
  todoCallbacks: ['callback1'],
1458
1610
  initClose: true
@@ -1666,7 +1818,7 @@ var todoActionObject = {
1666
1818
  }, {
1667
1819
  key: 'uploadProps',
1668
1820
  label: '上传参数',
1669
- type: 'SetExpression'
1821
+ type: 'SelectParams'
1670
1822
  }]
1671
1823
  },
1672
1824
  setUploadChange: {
@@ -2283,7 +2435,23 @@ var todoActionObject = {
2283
2435
  }, {
2284
2436
  key: 'customFuncParams',
2285
2437
  label: '事件入参',
2286
- type: 'SetExpression'
2438
+ type: 'SelectLink',
2439
+ props: {
2440
+ titleLink: [{
2441
+ title: '切换到属性',
2442
+ value: 'object',
2443
+ key: 'object'
2444
+ }, {
2445
+ title: '切换根节点',
2446
+ value: '',
2447
+ key: 'root'
2448
+ }, {
2449
+ title: '清空赋值',
2450
+ value: 'cleanValue',
2451
+ key: 'cleanValue'
2452
+ }],
2453
+ valueType: 'Table'
2454
+ }
2287
2455
  }],
2288
2456
  todoCallbacks: ['callback1', 'callback2'],
2289
2457
  classification: [{
@@ -2305,7 +2473,23 @@ var todoActionObject = {
2305
2473
  }, {
2306
2474
  key: 'customFuncParams',
2307
2475
  label: '事件入参',
2308
- type: 'SetExpression'
2476
+ type: 'SelectLink',
2477
+ props: {
2478
+ titleLink: [{
2479
+ title: '切换到属性',
2480
+ value: 'object',
2481
+ key: 'object'
2482
+ }, {
2483
+ title: '切换根节点',
2484
+ value: '',
2485
+ key: 'root'
2486
+ }, {
2487
+ title: '清空赋值',
2488
+ value: 'cleanValue',
2489
+ key: 'cleanValue'
2490
+ }],
2491
+ valueType: 'Table'
2492
+ }
2309
2493
  }],
2310
2494
  todoCallbacks: ['callback1', 'callback2'],
2311
2495
  classification: [{
@@ -2327,7 +2511,23 @@ var todoActionObject = {
2327
2511
  }, {
2328
2512
  key: 'customFuncParams',
2329
2513
  label: '事件入参',
2330
- type: 'SetExpression'
2514
+ type: 'SelectLink',
2515
+ props: {
2516
+ titleLink: [{
2517
+ title: '切换到属性',
2518
+ value: 'object',
2519
+ key: 'object'
2520
+ }, {
2521
+ title: '切换根节点',
2522
+ value: '',
2523
+ key: 'root'
2524
+ }, {
2525
+ title: '清空赋值',
2526
+ value: 'cleanValue',
2527
+ key: 'cleanValue'
2528
+ }],
2529
+ valueType: 'Table'
2530
+ }
2331
2531
  }],
2332
2532
  todoCallbacks: ['callback1', 'callback2'],
2333
2533
  classification: [{
@@ -2365,7 +2565,23 @@ var todoActionObject = {
2365
2565
  }, {
2366
2566
  key: 'busiObjectFilterParams',
2367
2567
  label: '查询条件',
2368
- type: 'SetExpression'
2568
+ type: 'SelectLink',
2569
+ props: {
2570
+ titleLink: [{
2571
+ title: '切换到属性',
2572
+ value: 'object',
2573
+ key: 'object'
2574
+ }, {
2575
+ title: '切换根节点',
2576
+ value: '',
2577
+ key: 'root'
2578
+ }, {
2579
+ title: '清空赋值',
2580
+ value: 'cleanValue',
2581
+ key: 'cleanValue'
2582
+ }],
2583
+ valueType: 'Table'
2584
+ }
2369
2585
  }, {
2370
2586
  key: 'custFileName',
2371
2587
  label: '自定义文件名',
@@ -2530,7 +2746,23 @@ var todoActionObject = {
2530
2746
  }, {
2531
2747
  key: 'busiObjectFilterParams',
2532
2748
  label: '查询条件',
2533
- type: 'SetExpression'
2749
+ type: 'SelectLink',
2750
+ props: {
2751
+ titleLink: [{
2752
+ title: '切换到属性',
2753
+ value: 'object',
2754
+ key: 'object'
2755
+ }, {
2756
+ title: '切换根节点',
2757
+ value: '',
2758
+ key: 'root'
2759
+ }, {
2760
+ title: '清空赋值',
2761
+ value: 'cleanValue',
2762
+ key: 'cleanValue'
2763
+ }],
2764
+ valueType: 'Table'
2765
+ }
2534
2766
  }, {
2535
2767
  key: 'custFileName',
2536
2768
  label: '自定义文件名',
@@ -2567,7 +2799,7 @@ var todoActionObject = {
2567
2799
  }
2568
2800
  }, {
2569
2801
  key: 'busiObjectFields',
2570
- label: '筛选字段',
2802
+ label: '导入字段设置',
2571
2803
  type: 'SelectBusiObjectFields',
2572
2804
  props: {
2573
2805
  isRequired: true,
@@ -2646,7 +2878,23 @@ var todoActionObject = {
2646
2878
  }, {
2647
2879
  key: 'busiObjectFilterParams',
2648
2880
  label: '查询条件',
2649
- type: 'SetExpression'
2881
+ type: 'SelectLink',
2882
+ props: {
2883
+ titleLink: [{
2884
+ title: '切换到属性',
2885
+ value: 'object',
2886
+ key: 'object'
2887
+ }, {
2888
+ title: '切换根节点',
2889
+ value: '',
2890
+ key: 'root'
2891
+ }, {
2892
+ title: '清空赋值',
2893
+ value: 'cleanValue',
2894
+ key: 'cleanValue'
2895
+ }],
2896
+ valueType: 'Table'
2897
+ }
2650
2898
  }, {
2651
2899
  key: 'custFileName',
2652
2900
  label: '自定义文件名',
@@ -2669,7 +2917,7 @@ var todoActionObject = {
2669
2917
  key: 'fileName',
2670
2918
  aliasKey: 'expFileName',
2671
2919
  label: '文件名',
2672
- type: 'input',
2920
+ type: 'Input',
2673
2921
  props: {
2674
2922
  placeholder: '请输入导出的文件名'
2675
2923
  }
@@ -3613,22 +3861,38 @@ var todoActionObject = {
3613
3861
  key: 'labelKey',
3614
3862
  aliasKey: 'selectLabelKey',
3615
3863
  label: '选项内容字段',
3616
- type: 'SetExpressionKey'
3864
+ type: 'SetExpressionKey',
3865
+ props: {
3866
+ // 选择后只回填参数key,不回填表达式
3867
+ isFillKey: true
3868
+ }
3617
3869
  }, {
3618
3870
  key: 'valueKey',
3619
3871
  aliasKey: 'selectValueKey',
3620
3872
  label: '选项值字段',
3621
- type: 'SetExpressionKey'
3873
+ type: 'SetExpressionKey',
3874
+ props: {
3875
+ // 选择后只回填参数key,不回填表达式
3876
+ isFillKey: true
3877
+ }
3622
3878
  }, {
3623
3879
  key: 'descriptionKey',
3624
3880
  aliasKey: 'selectDescriptionKey',
3625
3881
  label: '选项描述字段',
3626
- type: 'SetExpressionKey'
3882
+ type: 'SetExpressionKey',
3883
+ props: {
3884
+ // 选择后只回填参数key,不回填表达式
3885
+ isFillKey: true
3886
+ }
3627
3887
  }, {
3628
3888
  key: 'disabledKey',
3629
3889
  aliasKey: 'selectDisabledKey',
3630
3890
  label: '选项禁用字段',
3631
- type: 'SetExpressionKey'
3891
+ type: 'SetExpressionKey',
3892
+ props: {
3893
+ // 选择后只回填参数key,不回填表达式
3894
+ isFillKey: true
3895
+ }
3632
3896
  }],
3633
3897
  todoCallbacks: ['callback1']
3634
3898
  },
@@ -3741,7 +4005,23 @@ var todoActionObject = {
3741
4005
  }, {
3742
4006
  key: 'customFuncParams',
3743
4007
  label: '事件入参',
3744
- type: 'SetExpression'
4008
+ type: 'SelectLink',
4009
+ props: {
4010
+ titleLink: [{
4011
+ title: '切换到属性',
4012
+ value: 'object',
4013
+ key: 'object'
4014
+ }, {
4015
+ title: '切换根节点',
4016
+ value: '',
4017
+ key: 'root'
4018
+ }, {
4019
+ title: '清空赋值',
4020
+ value: 'cleanValue',
4021
+ key: 'cleanValue'
4022
+ }],
4023
+ valueType: 'Table'
4024
+ }
3745
4025
  }],
3746
4026
  todoCallbacks: ['callback1', 'callback2']
3747
4027
  },
@@ -3805,6 +4085,27 @@ var todoActionObject = {
3805
4085
  "label": "配置说明",
3806
4086
  "content": "选择返回数据的内容节点,设置字段编码和状态值的取值字段,根据状态值设置控件的状态"
3807
4087
  }]
4088
+ },
4089
+ customPrintOrExport: {
4090
+ key: 'customPrintOrExport',
4091
+ label: '自定义打印/导出',
4092
+ todoOptions: [{
4093
+ key: 'operateType',
4094
+ label: '操作类型',
4095
+ type: 'CustomOperateType'
4096
+ }, {
4097
+ key: 'customSelectComp',
4098
+ label: '选择打印组件',
4099
+ type: 'CustomSelectComp',
4100
+ props: {
4101
+ isRequired: true
4102
+ }
4103
+ }],
4104
+ todoCallbacks: ['callback1', 'callback2'],
4105
+ classification: [{
4106
+ label: '常用',
4107
+ value: 'common'
4108
+ }]
3808
4109
  }
3809
4110
  };
3810
4111
  var mobileTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'JSBridge', 'console', 'sysSetVisible', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showAppCustomModal', 'historyPush', 'historyReplace', 'history', 'dropPageByCatch', 'historyGoBack', 'setCompNestedState', 'getCompNestedState', 'okCallbackData', 'closeModal', 'setDownloadResponse', 'setTimeout', 'setInterval', 'setTimer', 'clearTimer', 'validateAllAppForm', 'getAllFormValues', 'resetAllForm', 'pushScenePage', 'reloadDataSource', 'setDataSource', 'resetDataSource', 'postObjectData', 'postParentMessage', 'addEventListenerParentMessage', 'callFishParentFunc', 'callSelfFunc', 'callParentCustomFunc', 'callCustomPageFunc',
@@ -3812,7 +4113,7 @@ var mobileTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'JSBridg
3812
4113
  'return', 'copyToClipboard', 'reload', 'customActionCode', 'getItemFromLocalStorage', 'setItemToLocalStorage', 'getLocalLocation', 'sysSetState', 'sysSetFormItemStatus'];
3813
4114
  var pcTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'apiRequestByFlow', 'openFlowPage', 'rollbackFlow', 'openFlowDiagram', 'console', 'sysSetVisible', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showCustomModal', 'setModalTitle', 'showDrawer', 'setDrawerTitle', 'historyPush', 'historyReplace', 'history', 'historyGoBack', 'dropPageByCatch', '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',
3814
4115
  // 'previewFile',
3815
- 'print', 'return', 'copyToClipboard', 'accountDivide', 'addDebugger', 'reload', 'customActionCode', 'getLocalLocation', 'sysSetState', 'sysSetFormItemStatus'];
4116
+ 'print', 'return', 'copyToClipboard', 'accountDivide', 'addDebugger', 'reload', 'customActionCode', 'getLocalLocation', 'sysSetState', 'customPrintOrExport'];
3816
4117
  // 指定页面类型展示动作,别的类型需过滤掉该动作
3817
4118
  var pcPageTypeTodoActionKeys = {
3818
4119
  'Modal': ['setModalTitle'],
@@ -347,7 +347,7 @@ var todoOptionList = {
347
347
  key: 'params',
348
348
  label: '参数赋值',
349
349
  // label: '参数',
350
- type: 'SetExpression'
350
+ type: 'SelectParams'
351
351
  },
352
352
  // params: {
353
353
  // key: 'params',
@@ -505,7 +505,7 @@ var todoOptionList = {
505
505
  uploadProps: {
506
506
  key: 'uploadProps',
507
507
  label: '上传参数',
508
- type: 'SetExpression'
508
+ type: 'SelectParams'
509
509
  },
510
510
  inlineeditnow: {
511
511
  key: 'inlineeditnow',
@@ -1112,7 +1112,7 @@ var todoOptionList = {
1112
1112
  customFuncParams: {
1113
1113
  key: 'customFuncParams',
1114
1114
  label: '事件入参',
1115
- type: 'SetExpression'
1115
+ type: 'SelectParams'
1116
1116
  },
1117
1117
  // sceneCode: {
1118
1118
  // key: 'sceneCode',