cloud-web-corejs 1.0.54-dev.12 → 1.0.54-dev.121

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 (167) hide show
  1. package/package.json +9 -3
  2. package/src/components/Qrcode/fileParse.vue +0 -1
  3. package/src/components/VabUpload/index.vue +2 -1
  4. package/src/components/VabUpload/mixins.js +1 -1
  5. package/src/components/VabUpload/view.vue +2 -1
  6. package/src/components/excelExport/exportFieldDialog.vue +16 -6
  7. package/src/components/excelExport/index.js +2 -1
  8. package/src/components/excelExport/index.vue +8 -6
  9. package/src/components/excelExport/mixins.js +1 -2
  10. package/src/components/excelImport/index.vue +2 -1
  11. package/src/components/excelImport/mixins.js +1 -1
  12. package/src/components/fileLibrary/fileObjAuthDialog.vue +1 -1
  13. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +1 -1
  14. package/src/components/fileLibrary/fileObjNotifyEdit.vue +90 -68
  15. package/src/components/fileLibrary/filterDialog.vue +383 -0
  16. package/src/components/fileLibrary/index.vue +23 -24
  17. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  18. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  19. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  20. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +15 -10
  21. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +8 -5
  22. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
  23. package/src/components/fileLibrary/mixins/indexMixins.js +76 -26
  24. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
  25. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
  26. package/src/components/fileLibrary/propertiesDialog.vue +18 -0
  27. package/src/components/fileLibrary/shareDialog.vue +1 -1
  28. package/src/components/jsonImport/mixins.js +1 -1
  29. package/src/components/onlineTalk/index.vue +327 -5
  30. package/src/components/onlineTalk/mixins.js +1 -1
  31. package/src/components/table/index.js +2 -1
  32. package/src/components/table/tableForm.vue +36 -2
  33. package/src/components/table/tableFormMixin.js +222 -1
  34. package/src/components/tempStorage/tempStorageDialog.vue +2 -2
  35. package/src/components/wf/wf.js +1763 -1
  36. package/src/components/wf/wfStartDialog.vue +1 -1
  37. package/src/components/wf/wfUtil.js +279 -1
  38. package/src/components/xform/form-designer/designer.js +1514 -1
  39. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +1 -0
  40. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +1 -0
  41. package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +2 -2
  42. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +35 -5
  43. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
  44. package/src/components/xform/form-designer/form-widget/dialog/preformDialog.vue +2 -2
  45. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +11 -5
  46. package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +2 -2
  47. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +6 -2
  48. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +10 -5
  49. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
  50. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  51. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  52. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  53. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1026 -1
  54. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
  55. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
  56. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
  57. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +67 -3
  58. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +9 -4
  59. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +8 -2
  60. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
  61. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +80 -0
  62. package/src/components/xform/form-designer/indexMixin.js +773 -1
  63. package/src/components/xform/form-designer/setting-panel/form-setting.vue +59 -36
  64. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  65. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  66. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +9 -0
  67. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  68. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +595 -299
  69. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  70. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  71. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  72. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +20 -1
  73. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  74. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  75. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  76. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  77. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +3 -0
  78. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  79. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +39 -1
  80. package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  81. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +177 -0
  82. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +2 -1
  83. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  84. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +1 -1
  85. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +242 -27
  86. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +4 -0
  87. package/src/components/xform/form-designer/toolbar-panel/index.vue +4 -3
  88. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +145 -147
  89. package/src/components/xform/form-render/container-item/data-table-item.vue +6 -5
  90. package/src/components/xform/form-render/container-item/data-table-mixin.js +2122 -18
  91. package/src/components/xform/form-render/indexMixin.js +1792 -1
  92. package/src/components/xform/mixins/defaultHandle.js +120 -1
  93. package/src/components/xform/mixins/scriptHttp.js +82 -1
  94. package/src/components/xform/utils/emitter.js +4 -4
  95. package/src/components/xform/utils/util.js +1631 -1
  96. package/src/layout/components/Sidebar/default.vue +50 -6
  97. package/src/layout/components/TagsView/index.vue +0 -1
  98. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  99. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  100. package/src/layout/components/extractedCode/viewDialog.vue +192 -0
  101. package/src/mixins/selectDialog/index.js +1 -1
  102. package/src/router/modules/customer.js +15 -0
  103. package/src/store/config/index.js +664 -1
  104. package/src/store/modules/permission.js +1 -1
  105. package/src/store/modules/user.js +1 -1
  106. package/src/utils/index.js +4 -2
  107. package/src/utils/pddLog.js +103 -0
  108. package/src/utils/request.js +28 -28
  109. package/src/utils/vab.js +1 -1
  110. package/src/views/bd/setting/form_import_log/edit.vue +120 -0
  111. package/src/views/bd/setting/form_import_log/list.vue +195 -0
  112. package/src/views/bd/setting/form_script/edit1.vue +1 -1
  113. package/src/views/bd/setting/form_script/mixins/edit.js +167 -1
  114. package/src/views/bd/setting/form_script/mixins/edit1.js +165 -1
  115. package/src/views/bd/setting/form_script/mixins/list.js +176 -1
  116. package/src/views/bd/setting/form_script/mixins/list1.js +345 -14
  117. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  118. package/src/views/bd/setting/form_template/edit.vue +9 -1
  119. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  120. package/src/views/bd/setting/form_template/list.vue +4 -2
  121. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
  122. package/src/views/bd/setting/form_template/mixins/edit.js +170 -1
  123. package/src/views/bd/setting/form_template/mixins/list.js +522 -1
  124. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
  125. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  126. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
  127. package/src/views/bd/setting/menu_kind/mixins/list.js +176 -1
  128. package/src/views/bd/setting/table_model/edit.vue +71 -13
  129. package/src/views/bd/setting/table_model/list.vue +4 -2
  130. package/src/views/bd/setting/table_model/mixins/edit.js +901 -13
  131. package/src/views/bd/setting/table_model/mixins/list.js +345 -14
  132. package/src/views/user/area/dialog.vue +21 -9
  133. package/src/views/user/bill_setting/edit.vue +1 -1
  134. package/src/views/user/bill_setting/list.vue +1 -1
  135. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  136. package/src/views/user/common_attribute/list.vue +1 -1
  137. package/src/views/user/common_script/edit.vue +1 -1
  138. package/src/views/user/common_script/list.vue +1 -1
  139. package/src/views/user/company_info/dialog.vue +19 -9
  140. package/src/views/user/company_info/edit.vue +1 -1
  141. package/src/views/user/extend_datasource/dialog.vue +1 -0
  142. package/src/views/user/extend_datasource/edit.vue +3 -0
  143. package/src/views/user/extend_datasource/list.vue +2 -1
  144. package/src/views/user/file_type/edit.vue +30 -1
  145. package/src/views/user/file_type/list.vue +28 -0
  146. package/src/views/user/form/vform/designer.vue +5 -1
  147. package/src/views/user/groups/edit.vue +2 -0
  148. package/src/views/user/groups/list.vue +1 -0
  149. package/src/views/user/home/default.vue +15 -11
  150. package/src/views/user/home/dev.vue +29 -0
  151. package/src/views/user/home/index.vue +16 -6
  152. package/src/views/user/login/default.vue +4 -2
  153. package/src/views/user/login/index2.vue +131 -0
  154. package/src/views/user/notify_message/dialog.vue +1 -1
  155. package/src/views/user/outLink/form_view.vue +39 -12
  156. package/src/views/user/outLink/index.vue +17 -0
  157. package/src/views/user/outLink/view.vue +39 -13
  158. package/src/views/user/push_setting/list.vue +2 -2
  159. package/src/views/user/user/edit.vue +9 -9
  160. package/src/views/user/user/form_edit.vue +117 -49
  161. package/src/views/user/user/form_info.vue +210 -0
  162. package/src/views/user/user/form_list.vue +1 -0
  163. package/src/views/user/user/list.vue +3 -3
  164. package/src/views/user/wf/wf_manage/list.vue +1 -1
  165. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  166. package/src/views/user/wf/wf_obj_config/list.vue +19 -3
  167. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -0
@@ -13,7 +13,8 @@ export const containers = [
13
13
  // colHeight: null,
14
14
  width: '',
15
15
  containerClass: '',
16
- customClass: ""
16
+ customClass: "",
17
+ ...defaultWfConfig,
17
18
  }
18
19
  },
19
20
  {
@@ -27,7 +28,8 @@ export const containers = [
27
28
  hidden: !1,
28
29
  customClass: "",
29
30
  styleTableClass: '',
30
- fullWidth: false
31
+ fullWidth: false,
32
+ ...defaultWfConfig,
31
33
  }
32
34
  },
33
35
  {
@@ -42,7 +44,8 @@ export const containers = [
42
44
  height: '',
43
45
  // isFullscreen: false,
44
46
  tabClass: 'tab-boxCard tabCard-sty1',
45
- customClass: ""
47
+ customClass: "",
48
+ ...defaultWfConfig,
46
49
  }
47
50
  },
48
51
  /* {
@@ -259,6 +262,7 @@ export const containers = [
259
262
  formScriptEnabled: true,
260
263
  formScriptCode: null,
261
264
  formScriptParam: null,
265
+ formScriptSuccess: null,
262
266
  formScriptCallback: null,
263
267
  /*isLoadDataByAccess: false,
264
268
  scriptEnabled: false,
@@ -277,6 +281,7 @@ export const containers = [
277
281
  sortScriptCode: null,
278
282
  importTemplateFile: null,
279
283
 
284
+ ...defaultWfConfig,
280
285
  showRuleFlag: 1,
281
286
  showRuleEnabled: 1,
282
287
  showRules: [],
@@ -748,7 +753,6 @@ export const containers = [
748
753
  }
749
754
  ]
750
755
 
751
-
752
756
  export const defaultSearchDialogConfig = {
753
757
  formCode: null,
754
758
  tableEnabled: false,
@@ -757,7 +761,18 @@ export const defaultSearchDialogConfig = {
757
761
  tableRef: null,
758
762
  tableUniqueKey: null,
759
763
  tableData: [],
760
- multipleChoices: true
764
+ multipleChoices: true,
765
+ confirmCallback: null
766
+ }
767
+
768
+ export const defaultWfConfig = {
769
+ wfFlag: 1,
770
+ wfEdit: false,
771
+ enabledByWf: false,
772
+ hiddenByWf: false,
773
+ wfConfigData: [],
774
+ wfModifyDataEnabled: false,
775
+ wfModifyDataConfig: [],
761
776
  }
762
777
 
763
778
  export const basicFields = [
@@ -813,11 +828,7 @@ export const basicFields = [
813
828
  onAppendButtonClick: "",
814
829
  widgetWidth: "",
815
830
  accessType: "1",
816
- wfFlag: 1,
817
- wfEdit: false,
818
- enabledByWf: false,
819
- hiddenByWf: false,
820
- wfConfigData: [],
831
+ ...defaultWfConfig,
821
832
 
822
833
  showRuleFlag: 1,
823
834
  showRuleEnabled: 1,
@@ -881,11 +892,7 @@ export const basicFields = [
881
892
  onAppendButtonClick: "",
882
893
  widgetWidth: "",
883
894
  accessType: "1",
884
- wfFlag: 1,
885
- wfEdit: false,
886
- enabledByWf: false,
887
- hiddenByWf: false,
888
- wfConfigData: [],
895
+ ...defaultWfConfig,
889
896
 
890
897
  showRuleFlag: 1,
891
898
  showRuleEnabled: 1,
@@ -941,11 +948,7 @@ export const basicFields = [
941
948
  onBlur: "",
942
949
  onValidate: "",
943
950
  accessType: "1",
944
- wfFlag: 1,
945
- wfEdit: false,
946
- enabledByWf: false,
947
- hiddenByWf: false,
948
- wfConfigData: [],
951
+ ...defaultWfConfig,
949
952
 
950
953
  showRuleFlag: 1,
951
954
  showRuleEnabled: 1,
@@ -1002,11 +1005,7 @@ export const basicFields = [
1002
1005
  onBlur: "",
1003
1006
  onValidate: "",
1004
1007
  accessType: "1",
1005
- wfFlag: 1,
1006
- wfEdit: false,
1007
- enabledByWf: false,
1008
- hiddenByWf: false,
1009
- wfConfigData: [],
1008
+ ...defaultWfConfig,
1010
1009
 
1011
1010
  showRuleFlag: 1,
1012
1011
  showRuleEnabled: 1,
@@ -1076,11 +1075,11 @@ export const basicFields = [
1076
1075
  formScriptEnabled: false,
1077
1076
  formScriptCode: "getList",
1078
1077
  formScriptParam: null,
1079
- wfFlag: 1,
1080
- wfEdit: false,
1081
- enabledByWf: false,
1082
- hiddenByWf: false,
1083
- wfConfigData: [],
1078
+ formScriptSuccess: null,
1079
+ ...defaultWfConfig,
1080
+
1081
+ commonAttributeEnabled: false,
1082
+ commonAttributeCode: "",
1084
1083
 
1085
1084
  showRuleFlag: 1,
1086
1085
  showRuleEnabled: 1,
@@ -1149,11 +1148,11 @@ export const basicFields = [
1149
1148
  formScriptEnabled: false,
1150
1149
  formScriptCode: "getList",
1151
1150
  formScriptParam: null,
1152
- wfFlag: 1,
1153
- wfEdit: false,
1154
- enabledByWf: false,
1155
- hiddenByWf: false,
1156
- wfConfigData: [],
1151
+ formScriptSuccess: null,
1152
+ ...defaultWfConfig,
1153
+
1154
+ commonAttributeEnabled: false,
1155
+ commonAttributeCode: "",
1157
1156
 
1158
1157
  showRuleFlag: 1,
1159
1158
  showRuleEnabled: 1,
@@ -1233,11 +1232,11 @@ export const basicFields = [
1233
1232
  formScriptEnabled: false,
1234
1233
  formScriptCode: "getList",
1235
1234
  formScriptParam: null,
1236
- wfFlag: 1,
1237
- wfEdit: false,
1238
- enabledByWf: false,
1239
- hiddenByWf: false,
1240
- wfConfigData: [],
1235
+ formScriptSuccess: null,
1236
+ ...defaultWfConfig,
1237
+
1238
+ commonAttributeEnabled: false,
1239
+ commonAttributeCode: "",
1241
1240
 
1242
1241
  showRuleFlag: 1,
1243
1242
  showRuleEnabled: 1,
@@ -1291,11 +1290,7 @@ export const basicFields = [
1291
1290
  onBlur: "",
1292
1291
  onValidate: "",
1293
1292
  accessType: "1",
1294
- wfFlag: 1,
1295
- wfEdit: false,
1296
- enabledByWf: false,
1297
- hiddenByWf: false,
1298
- wfConfigData: [],
1293
+ ...defaultWfConfig,
1299
1294
 
1300
1295
  showRuleFlag: 1,
1301
1296
  showRuleEnabled: 1,
@@ -1350,11 +1345,7 @@ export const basicFields = [
1350
1345
  onBlur: "",
1351
1346
  onValidate: "",
1352
1347
  accessType: "1",
1353
- wfFlag: 1,
1354
- wfEdit: false,
1355
- enabledByWf: false,
1356
- hiddenByWf: false,
1357
- wfConfigData: [],
1348
+ ...defaultWfConfig,
1358
1349
 
1359
1350
  showRuleFlag: 1,
1360
1351
  showRuleEnabled: 1,
@@ -1411,11 +1402,7 @@ export const basicFields = [
1411
1402
  onBlur: "",
1412
1403
  onValidate: "",
1413
1404
  accessType: "1",
1414
- wfFlag: 1,
1415
- wfEdit: false,
1416
- enabledByWf: false,
1417
- hiddenByWf: false,
1418
- wfConfigData: [],
1405
+ ...defaultWfConfig,
1419
1406
 
1420
1407
  showRuleFlag: 1,
1421
1408
  showRuleEnabled: 1,
@@ -1457,6 +1444,7 @@ export const basicFields = [
1457
1444
  editable: !1,
1458
1445
  format: "yyyy-MM-dd",
1459
1446
  valueFormat: "yyyy-MM-dd",
1447
+ defaultTime: ['00:00:00', '23:59:59'],
1460
1448
  required: !1,
1461
1449
  requiredHint: "",
1462
1450
  validation: "",
@@ -1472,11 +1460,7 @@ export const basicFields = [
1472
1460
  onBlur: "",
1473
1461
  onValidate: "",
1474
1462
  accessType: "1",
1475
- wfFlag: 1,
1476
- wfEdit: false,
1477
- enabledByWf: false,
1478
- hiddenByWf: false,
1479
- wfConfigData: [],
1463
+ ...defaultWfConfig,
1480
1464
 
1481
1465
  showRuleFlag: 1,
1482
1466
  showRuleEnabled: 1,
@@ -1628,6 +1612,7 @@ export const basicFields = [
1628
1612
  onCreated: "",
1629
1613
  onMounted: "",
1630
1614
  accessType: "1",
1615
+ ...defaultWfConfig,
1631
1616
 
1632
1617
  showRuleFlag: 1,
1633
1618
  showRuleEnabled: 1,
@@ -1654,6 +1639,7 @@ export const basicFields = [
1654
1639
  onCreated: "",
1655
1640
  onMounted: "",
1656
1641
  accessType: "1",
1642
+ ...defaultWfConfig,
1657
1643
 
1658
1644
  showRuleFlag: 1,
1659
1645
  showRuleEnabled: 1,
@@ -1714,11 +1700,7 @@ export const basicFields = [
1714
1700
  tableRef: null,
1715
1701
  tableData: {}
1716
1702
  },
1717
- wfFlag: 1,
1718
- wfEdit: false,
1719
- enabledByWf: false,
1720
- hiddenByWf: false,
1721
- wfConfigData: [],
1703
+ ...defaultWfConfig,
1722
1704
 
1723
1705
  showRuleFlag: 1,
1724
1706
  showRuleEnabled: 1,
@@ -1743,6 +1725,7 @@ export const basicFields = [
1743
1725
  contentPosition: "center",
1744
1726
  hidden: !1,
1745
1727
  customClass: "",
1728
+ ...defaultWfConfig,
1746
1729
  onCreated: "",
1747
1730
  onMounted: ""
1748
1731
  }
@@ -1824,6 +1807,7 @@ export const basicFields = [
1824
1807
  onMounted: "",
1825
1808
  accessType: "1",
1826
1809
  labelColor: '#555555',
1810
+ ...defaultWfConfig,
1827
1811
 
1828
1812
  showRuleFlag: 1,
1829
1813
  showRuleEnabled: 1,
@@ -1872,11 +1856,7 @@ export const basicFields = [
1872
1856
  onChange: "",
1873
1857
  onClick: "",
1874
1858
  accessType: "1",
1875
- wfFlag: 1,
1876
- wfEdit: false,
1877
- enabledByWf: false,
1878
- hiddenByWf: false,
1879
- wfConfigData: [],
1859
+ ...defaultWfConfig,
1880
1860
 
1881
1861
  showRuleFlag: 1,
1882
1862
  showRuleEnabled: 1,
@@ -1920,11 +1900,7 @@ export const basicFields = [
1920
1900
  tableRef: null,
1921
1901
  tableData: {}
1922
1902
  },
1923
- wfFlag: 1,
1924
- wfEdit: false,
1925
- enabledByWf: false,
1926
- hiddenByWf: false,
1927
- wfConfigData: [],
1903
+ ...defaultWfConfig,
1928
1904
 
1929
1905
  showRuleFlag: 1,
1930
1906
  showRuleEnabled: 1,
@@ -1998,10 +1974,11 @@ export const advancedFields = [
1998
1974
  color: "",
1999
1975
  fontWeight: "normal"
2000
1976
  },
2001
- data: [{
2002
- value: 1048,
2003
- name: 'Search Engine'
2004
- },
1977
+ data: [
1978
+ {
1979
+ value: 1048,
1980
+ name: 'Search Engine'
1981
+ },
2005
1982
  {
2006
1983
  value: 735,
2007
1984
  name: 'Direct'
@@ -2021,12 +1998,16 @@ export const advancedFields = [
2021
1998
  ],
2022
1999
  }]
2023
2000
  },
2001
+ echartConfig: '',
2024
2002
  formScriptEnabled: true,
2025
2003
  formScriptCode: "",
2026
2004
  formScriptParam: null,
2005
+ formScriptSuccess: null,
2006
+ onClick: "",
2027
2007
  onCreated: "",
2028
2008
  onMounted: "this.loadDataDefaultHandle()",
2029
2009
 
2010
+ ...defaultWfConfig,
2030
2011
  showRuleFlag: 1,
2031
2012
  showRuleEnabled: 1,
2032
2013
  showRules: []
@@ -2044,6 +2025,7 @@ export const advancedFields = [
2044
2025
  echarBarOption: {
2045
2026
  backgroundColor: "#fff",
2046
2027
  color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2028
+ colors: [],
2047
2029
  title: {
2048
2030
  show: true,
2049
2031
  top: '5px',
@@ -2190,12 +2172,15 @@ export const advancedFields = [
2190
2172
 
2191
2173
  }]
2192
2174
  },
2175
+ echartConfig: '',
2193
2176
  formScriptEnabled: true,
2194
2177
  formScriptCode: "",
2195
2178
  formScriptParam: null,
2179
+ formScriptSuccess: null,
2180
+ onClick: "",
2196
2181
  onCreated: "",
2197
2182
  onMounted: "this.loadDataDefaultHandle()",
2198
-
2183
+ ...defaultWfConfig,
2199
2184
  showRuleFlag: 1,
2200
2185
  showRuleEnabled: 1,
2201
2186
  showRules: []
@@ -2214,6 +2199,7 @@ export const advancedFields = [
2214
2199
  echarCategoryOption: {
2215
2200
  backgroundColor: "#fff",
2216
2201
  color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2202
+ colors: [],
2217
2203
  title: {
2218
2204
  show: true,
2219
2205
  top: '5px',
@@ -2324,6 +2310,23 @@ export const advancedFields = [
2324
2310
  shadowBlur: 4,
2325
2311
  shadowOffsetY: 6
2326
2312
  },
2313
+ itemStyle: {
2314
+ color: {
2315
+ type: 'linear',
2316
+ x: 0.5,
2317
+ y: 0.5,
2318
+ r: 0.5,
2319
+ colorStops: [{
2320
+ offset: 0, color: '#08C084' // 0% 处的颜色
2321
+ }, {
2322
+ offset: 1, color: '#97EACE' // 100% 处的颜色
2323
+ }],
2324
+ },
2325
+ cap: 'round',
2326
+ shadowColor: '#08C08450',
2327
+ shadowBlur: 4,
2328
+ shadowOffsetY: 6
2329
+ },
2327
2330
  emphasis: {
2328
2331
  scale: 1,
2329
2332
  focus: 'series'
@@ -2358,6 +2361,23 @@ export const advancedFields = [
2358
2361
  shadowBlur: 4,
2359
2362
  shadowOffsetY: 6
2360
2363
  },
2364
+ itemStyle: {
2365
+ color: {
2366
+ type: 'linear',
2367
+ x: 0.5,
2368
+ y: 0.5,
2369
+ r: 0.5,
2370
+ colorStops: [{
2371
+ offset: 0, color: '#FF6116' // 0% 处的颜色
2372
+ }, {
2373
+ offset: 1, color: '#F9A980' // 100% 处的颜色
2374
+ }],
2375
+ },
2376
+ cap: 'round',
2377
+ shadowColor: '#FF611650',
2378
+ shadowBlur: 4,
2379
+ shadowOffsetY: 6
2380
+ },
2361
2381
  emphasis: {
2362
2382
  scale: 1,
2363
2383
  focus: 'series'
@@ -2367,12 +2387,15 @@ export const advancedFields = [
2367
2387
  }]
2368
2388
 
2369
2389
  },
2390
+ echartConfig: '',
2370
2391
  formScriptEnabled: true,
2371
2392
  formScriptCode: "",
2372
2393
  formScriptParam: null,
2394
+ formScriptSuccess: null,
2395
+ onClick: "",
2373
2396
  onCreated: "",
2374
2397
  onMounted: "this.loadDataDefaultHandle()",
2375
-
2398
+ ...defaultWfConfig,
2376
2399
  showRuleFlag: 1,
2377
2400
  showRuleEnabled: 1,
2378
2401
  showRules: []
@@ -2507,15 +2530,13 @@ export const advancedFields = [
2507
2530
  entityTableDesc: null,
2508
2531
  onCreated: "this.loadDataDefaultHandle();",
2509
2532
  onMounted: "",
2533
+ onAfterConfirmFile: "",
2510
2534
  vabUpload: 1,
2511
2535
  formScriptEnabled: true,
2512
2536
  formScriptCode: "getList",
2513
2537
  formScriptParam: null,
2514
- wfFlag: 1,
2515
- wfEdit: false,
2516
- enabledByWf: false,
2517
- hiddenByWf: false,
2518
- wfConfigData: [],
2538
+ formScriptSuccess: null,
2539
+ ...defaultWfConfig,
2519
2540
 
2520
2541
  showRuleFlag: 1,
2521
2542
  showRuleEnabled: 1,
@@ -2564,11 +2585,7 @@ export const advancedFields = [
2564
2585
  ...defaultSearchDialogConfig,
2565
2586
  multipleChoices: false
2566
2587
  },
2567
- wfFlag: 1,
2568
- wfEdit: false,
2569
- enabledByWf: false,
2570
- hiddenByWf: false,
2571
- wfConfigData: [],
2588
+ ...defaultWfConfig,
2572
2589
  valueField: null,
2573
2590
  multipleChoices: false,
2574
2591
 
@@ -2613,11 +2630,7 @@ export const advancedFields = [
2613
2630
  ...defaultSearchDialogConfig,
2614
2631
  tableEnabled: true
2615
2632
  },
2616
- wfFlag: 1,
2617
- wfEdit: false,
2618
- enabledByWf: false,
2619
- hiddenByWf: false,
2620
- wfConfigData: [],
2633
+ ...defaultWfConfig,
2621
2634
 
2622
2635
  showRuleFlag: 1,
2623
2636
  showRuleEnabled: 1,
@@ -2654,11 +2667,7 @@ export const advancedFields = [
2654
2667
  searchDialogConfig: {
2655
2668
  ...defaultSearchDialogConfig
2656
2669
  },
2657
- wfFlag: 1,
2658
- wfEdit: false,
2659
- enabledByWf: false,
2660
- hiddenByWf: true,
2661
- wfConfigData: [],
2670
+ ...defaultWfConfig,
2662
2671
 
2663
2672
  showRuleFlag: 1,
2664
2673
  showRuleEnabled: 1,
@@ -2694,11 +2703,7 @@ export const advancedFields = [
2694
2703
  searchDialogConfig: {
2695
2704
  ...defaultSearchDialogConfig
2696
2705
  },
2697
- wfFlag: 1,
2698
- wfEdit: false,
2699
- enabledByWf: true,
2700
- hiddenByWf: false,
2701
- wfConfigData: [],
2706
+ ...defaultWfConfig,
2702
2707
 
2703
2708
  showRuleFlag: 1,
2704
2709
  showRuleEnabled: 1,
@@ -2720,13 +2725,11 @@ export const advancedFields = [
2720
2725
  exportFileName: '导出',
2721
2726
  tableRef: '',
2722
2727
  tableExportParam: "",
2728
+ showImageAtTable: false,
2729
+
2723
2730
  onCreated: "",
2724
2731
  onMounted: "",
2725
- wfFlag: 1,
2726
- wfEdit: false,
2727
- enabledByWf: false,
2728
- hiddenByWf: false,
2729
- wfConfigData: [],
2732
+ ...defaultWfConfig,
2730
2733
 
2731
2734
  showRuleFlag: 1,
2732
2735
  showRuleEnabled: 1,
@@ -2761,11 +2764,7 @@ export const advancedFields = [
2761
2764
  searchDialogConfig: {
2762
2765
  ...defaultSearchDialogConfig
2763
2766
  },
2764
- wfFlag: 1,
2765
- wfEdit: false,
2766
- enabledByWf: false,
2767
- hiddenByWf: false,
2768
- wfConfigData: [],
2767
+ ...defaultWfConfig,
2769
2768
 
2770
2769
  showRuleFlag: 1,
2771
2770
  showRuleEnabled: 1,
@@ -2802,11 +2801,7 @@ export const advancedFields = [
2802
2801
  searchDialogConfig: {
2803
2802
  ...defaultSearchDialogConfig
2804
2803
  },
2805
- wfFlag: 1,
2806
- wfEdit: false,
2807
- enabledByWf: false,
2808
- hiddenByWf: true,
2809
- wfConfigData: [],
2804
+ ...defaultWfConfig,
2810
2805
 
2811
2806
  showRuleFlag: 1,
2812
2807
  showRuleEnabled: 1,
@@ -2824,6 +2819,7 @@ export const advancedFields = [
2824
2819
  label: "导入",
2825
2820
  columnWidth: "200px",
2826
2821
  size: "",
2822
+ importFileLimitSize: 200,
2827
2823
  // displayStyle: "block",
2828
2824
  disabled: !1,
2829
2825
  hidden: !1,
@@ -2839,11 +2835,7 @@ export const advancedFields = [
2839
2835
  searchDialogConfig: {
2840
2836
  ...defaultSearchDialogConfig
2841
2837
  },
2842
- wfFlag: 1,
2843
- wfEdit: false,
2844
- enabledByWf: false,
2845
- hiddenByWf: false,
2846
- wfConfigData: [],
2838
+ ...defaultWfConfig,
2847
2839
  importEntity: '',
2848
2840
  importAttachCode: '',
2849
2841
  importScriptCode: '',
@@ -2880,11 +2872,7 @@ export const advancedFields = [
2880
2872
  searchDialogConfig: {
2881
2873
  ...defaultSearchDialogConfig
2882
2874
  },
2883
- wfFlag: 1,
2884
- wfEdit: false,
2885
- enabledByWf: false,
2886
- hiddenByWf: false,
2887
- wfConfigData: [],
2875
+ ...defaultWfConfig,
2888
2876
  printTableRef: "",
2889
2877
  printItems: [],
2890
2878
 
@@ -2916,11 +2904,8 @@ export const advancedFields = [
2916
2904
  entityTableDesc: null,
2917
2905
  onCreated: "",
2918
2906
  onMounted: "",
2919
- wfFlag: 1,
2920
- wfEdit: false,
2921
- enabledByWf: false,
2922
- hiddenByWf: false,
2923
- wfConfigData: [],
2907
+ onAfterConfirmFile: "",
2908
+ ...defaultWfConfig,
2924
2909
 
2925
2910
  showRuleFlag: 1,
2926
2911
  showRuleEnabled: 1,
@@ -2949,6 +2934,7 @@ export const advancedFields = [
2949
2934
  statusParam: [],
2950
2935
  onCreated: "",
2951
2936
  onMounted: "",
2937
+ ...defaultWfConfig,
2952
2938
 
2953
2939
  showRuleFlag: 1,
2954
2940
  showRuleEnabled: 1,
@@ -2995,9 +2981,10 @@ export const advancedFields = [
2995
2981
  formScriptEnabled: true,
2996
2982
  formScriptCode: "",
2997
2983
  formScriptParam: null,
2984
+ formScriptSuccess: null,
2998
2985
  onCreated: "",
2999
2986
  onMounted: "",
3000
-
2987
+ ...defaultWfConfig,
3001
2988
  showRuleFlag: 1,
3002
2989
  showRuleEnabled: 1,
3003
2990
  showRules: []
@@ -3006,14 +2993,14 @@ export const advancedFields = [
3006
2993
  {
3007
2994
  type: "project-tag",
3008
2995
  icon: "uploadbox",
3009
- // commonFlag: !0,
2996
+ commonFlag: !0,
3010
2997
  formItemFlag: !0,
3011
2998
  tableField: null,
3012
2999
  options: {
3013
3000
  name: "",
3014
3001
  keyNameEnabled: !1,
3015
3002
  keyName: "",
3016
- keyNameSuffix: "",
3003
+ // keyNameSuffix: "",
3017
3004
  label: "",
3018
3005
  submitFlag: true,
3019
3006
  disabled: !1,
@@ -3022,21 +3009,31 @@ export const advancedFields = [
3022
3009
  required: !1,
3023
3010
  labelWidth: null,
3024
3011
  labelHidden: !1,
3025
- onCreated: "if(this.formDataId)this.loadDataDefaultHandle();",
3012
+ onCreated: "if(this.dataId)this.loadDataDefaultHandle();",
3026
3013
  onMounted: "",
3014
+ onClick: "",
3027
3015
  vabUpload: 1,
3028
3016
  formScriptEnabled: true,
3029
3017
  formScriptCode: "getList",
3030
3018
  formScriptParam: null,
3031
- wfFlag: 1,
3032
- wfEdit: false,
3033
- enabledByWf: false,
3034
- hiddenByWf: false,
3035
- wfConfigData: [],
3019
+ formScriptSuccess: null,
3020
+ ...defaultWfConfig,
3036
3021
 
3037
3022
  showRuleFlag: 1,
3038
3023
  showRuleEnabled: 1,
3039
- showRules: []
3024
+ showRules: [],
3025
+
3026
+ tagFormCode: null,
3027
+ tagFormParam: null,
3028
+ tagLabelField: null,
3029
+ tagUniqueField: null,
3030
+ tagFormLabelField: null,
3031
+ tagFormUniqueField: null,
3032
+ tagFillConfig: [],
3033
+ tagConfirmCallback: null,
3034
+ tagDeleteCallback: null,
3035
+ tabDeleteEnabled: false,
3036
+
3040
3037
  }
3041
3038
  },
3042
3039
  {
@@ -3058,9 +3055,10 @@ export const advancedFields = [
3058
3055
  formScriptEnabled: true,
3059
3056
  formScriptCode: "",
3060
3057
  formScriptParam: null,
3058
+ formScriptSuccess: null,
3061
3059
  onCreated: "this.loadDataDefaultHandle()",
3062
3060
  onMounted: "",
3063
-
3061
+ ...defaultWfConfig,
3064
3062
  showRuleFlag: 1,
3065
3063
  showRuleEnabled: 1,
3066
3064
  showRules: []
@@ -2,7 +2,8 @@
2
2
  <vxe-grid :ref="widget.id" v-bind="vxeOption" :auto-resize="true" v-show="!widget.options.hidden"
3
3
  @resizable-change="$vxeTableUtil.onColumnWitchChange" @custom="$vxeTableUtil.customHandle"
4
4
  @checkbox-change="handleCheckboxChange" @checkbox-all="handleCheckboxAll"
5
- @cell-dblclick="handleCellDblclick" :class="dataTableConfig.class" :data="fieldModel">
5
+ @cell-dblclick="handleCellDblclick" :class="dataTableConfig.class" :data="fieldModel"
6
+ :span-method="mergeRowMethod">
6
7
  <template #form>
7
8
  <!-- <div v-if="widget.options.showSearchArea" class="clearfix screen-btns">
8
9
  <div class="fl">
@@ -148,7 +149,7 @@
148
149
  </vxe-button>
149
150
  </template>
150
151
 
151
- <template v-for="(subWidget, swIdx) in widget.widgetList" v-slot:[subWidget.options.name]="{slotFormData}">
152
+ <template v-for="(subWidget, swIdx) in widget.widgetList" v-slot:[subWidget.options.name]>
152
153
  <component
153
154
  v-if="'container' !== subWidget.category"
154
155
  :key="swIdx"
@@ -191,7 +192,7 @@
191
192
  :field="fieldWidget"
192
193
  :form-model="globalModel.formModel"
193
194
  :designer="null"
194
- :key="fieldWidget.id"
195
+ :key="fieldWidget.id+'-'+obj.rowIndex"
195
196
  :parent-widget="widget"
196
197
  :columnConfig="obj.column.params.columnConfig"
197
198
  :subFormRowIndex="obj.rowIndex"
@@ -209,7 +210,7 @@
209
210
  :field="obj.column.params.widget"
210
211
  :form-model="globalModel.formModel"
211
212
  :designer="null"
212
- :key="obj.column.params.widget.id"
213
+ :key="obj.column.params.widget.id+'-'+obj.rowIndex"
213
214
  :parent-widget="widget"
214
215
  :columnConfig="obj.column.params.columnConfig"
215
216
  :subFormRowIndex="obj.rowIndex"
@@ -227,7 +228,7 @@
227
228
  :field="obj.column.params.editWidget"
228
229
  :form-model="globalModel.formModel"
229
230
  :designer="null"
230
- :key="obj.column.params.editWidget.id"
231
+ :key="obj.column.params.editWidget.id+'-'+obj.rowIndex"
231
232
  :parent-widget="widget"
232
233
  :columnConfig="obj.column.params.columnConfig"
233
234
  :subFormRowIndex="obj.rowIndex"