cloud-web-corejs 1.0.54-dev.19 → 1.0.54-dev.191

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 (215) hide show
  1. package/package.json +10 -4
  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 +22 -6
  6. package/src/components/advancedSearchDialog/mixins.js +1 -1
  7. package/src/components/baseAttachment/index.vue +22 -13
  8. package/src/components/baseAttachment/mixins.js +1 -1
  9. package/src/components/excelExport/exportFieldDialog.vue +16 -6
  10. package/src/components/excelExport/index.js +2 -1
  11. package/src/components/excelExport/index.vue +8 -6
  12. package/src/components/excelExport/mixins.js +1 -2
  13. package/src/components/excelImport/index.vue +1 -0
  14. package/src/components/excelImport/mixins.js +1 -1
  15. package/src/components/fileLibrary/fileObjAuthDialog.vue +1 -1
  16. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +7 -1
  17. package/src/components/fileLibrary/fileObjNotifyEdit.vue +90 -68
  18. package/src/components/fileLibrary/filterDialog.vue +383 -0
  19. package/src/components/fileLibrary/index.vue +23 -24
  20. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  21. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  22. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  23. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +337 -207
  24. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +33 -26
  25. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
  26. package/src/components/fileLibrary/mixins/indexMixins.js +77 -27
  27. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
  28. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
  29. package/src/components/fileLibrary/propertiesDialog.vue +18 -0
  30. package/src/components/fileLibrary/shareDialog.vue +1 -1
  31. package/src/components/jsonImport/mixins.js +1 -1
  32. package/src/components/onlineTalk/index.vue +327 -5
  33. package/src/components/onlineTalk/mixins.js +1 -1
  34. package/src/components/table/CellSlot.vue +1 -0
  35. package/src/components/table/index.js +12 -10
  36. package/src/components/table/tableForm.vue +99 -63
  37. package/src/components/table/tableFormMixin.js +1 -1
  38. package/src/components/table/vxeFilter/mixin.js +1 -1
  39. package/src/components/vb-tabs/x-tabs.vue +3 -2
  40. package/src/components/wf/wf.js +1 -1
  41. package/src/components/wf/wfStartDialog.vue +1 -1
  42. package/src/components/wf/wfUtil.js +1 -1
  43. package/src/components/xform/form-designer/designer.js +1 -1
  44. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +16 -4
  45. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
  46. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +37 -6
  47. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
  48. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +23 -7
  49. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
  50. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  51. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +14 -6
  52. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
  53. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  54. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  55. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  56. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1389 -16
  57. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +196 -6
  58. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +5 -8
  59. package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +80 -0
  60. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
  61. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
  62. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
  63. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +67 -3
  64. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +13 -5
  65. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
  66. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +12 -3
  67. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
  68. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
  69. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
  70. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +4 -1
  71. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +88 -8
  72. package/src/components/xform/form-designer/indexMixin.js +866 -1
  73. package/src/components/xform/form-designer/setting-panel/form-setting.vue +67 -36
  74. package/src/components/xform/form-designer/setting-panel/indexMixin.js +322 -1
  75. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +1 -1
  76. package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
  77. package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
  78. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  79. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +125 -0
  80. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1054 -1042
  81. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  82. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +812 -455
  83. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
  84. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
  85. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
  86. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
  87. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  88. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  89. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  90. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +27 -2
  91. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  92. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  93. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  94. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  95. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +19 -8
  96. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +80 -0
  97. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  98. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  99. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +30 -1
  100. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +42 -4
  101. package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
  102. package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  103. package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  104. package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
  105. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +177 -0
  106. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +22 -18
  107. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  108. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +216 -17
  109. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +242 -27
  110. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +220 -0
  111. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +8 -0
  112. package/src/components/xform/form-designer/toolbar-panel/index.vue +4 -7
  113. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  114. package/src/components/xform/form-designer/widget-panel/indexMixin.js +277 -1
  115. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +321 -276
  116. package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -1
  117. package/src/components/xform/form-render/container-item/data-table-item.vue +37 -15
  118. package/src/components/xform/form-render/container-item/data-table-mixin.js +2167 -18
  119. package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
  120. package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
  121. package/src/components/xform/form-render/container-item/tab-item.vue +11 -6
  122. package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
  123. package/src/components/xform/form-render/container-item/table-item.vue +4 -2
  124. package/src/components/xform/form-render/indexMixin.js +2029 -1
  125. package/src/components/xform/lang/zh-CN.js +3 -2
  126. package/src/components/xform/mixins/defaultHandle.js +1 -1
  127. package/src/components/xform/mixins/scriptHttp.js +3 -1
  128. package/src/components/xform/utils/emitter.js +4 -4
  129. package/src/components/xform/utils/util.js +1 -1
  130. package/src/layout/components/Sidebar/default.vue +50 -6
  131. package/src/layout/components/TagsView/index.vue +0 -1
  132. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  133. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  134. package/src/layout/components/extractedCode/viewDialog.vue +192 -0
  135. package/src/mixins/selectDialog/index.js +241 -1
  136. package/src/mixins/tableTree/index.js +1 -1
  137. package/src/router/modules/customer.js +15 -0
  138. package/src/store/config/index.js +1 -1
  139. package/src/store/modules/permission.js +1 -1
  140. package/src/store/modules/settings.js +1 -1
  141. package/src/store/modules/user.js +1 -1
  142. package/src/utils/index.js +4 -2
  143. package/src/utils/pddLog.js +103 -0
  144. package/src/utils/request.js +28 -28
  145. package/src/utils/vab.js +19 -27
  146. package/src/views/bd/setting/form_import_log/edit.vue +127 -0
  147. package/src/views/bd/setting/form_import_log/list.vue +205 -0
  148. package/src/views/bd/setting/form_script/edit1.vue +1 -1
  149. package/src/views/bd/setting/form_script/mixins/edit.js +3 -1
  150. package/src/views/bd/setting/form_script/mixins/edit1.js +1 -1
  151. package/src/views/bd/setting/form_script/mixins/list.js +1 -1
  152. package/src/views/bd/setting/form_script/mixins/list1.js +14 -14
  153. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  154. package/src/views/bd/setting/form_template/edit.vue +9 -1
  155. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  156. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
  157. package/src/views/bd/setting/form_template/mixins/edit.js +1 -1
  158. package/src/views/bd/setting/form_template/mixins/list.js +25 -22
  159. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
  160. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  161. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
  162. package/src/views/bd/setting/menu_kind/list.vue +4 -0
  163. package/src/views/bd/setting/menu_kind/mixins/list.js +1 -1
  164. package/src/views/bd/setting/table_model/edit.vue +834 -426
  165. package/src/views/bd/setting/table_model/mixins/dialog.js +72 -1
  166. package/src/views/bd/setting/table_model/mixins/edit.js +1117 -13
  167. package/src/views/bd/setting/table_model/mixins/list.js +14 -14
  168. package/src/views/user/area/dialog.vue +21 -9
  169. package/src/views/user/bill_setting/edit.vue +1 -1
  170. package/src/views/user/bill_setting/list.vue +1 -1
  171. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  172. package/src/views/user/common_attribute/list.vue +1 -1
  173. package/src/views/user/common_script/edit.vue +1 -1
  174. package/src/views/user/common_script/list.vue +1 -1
  175. package/src/views/user/company_info/dialog.vue +164 -154
  176. package/src/views/user/company_info/edit.vue +1 -1
  177. package/src/views/user/extend_datasource/dialog.vue +1 -0
  178. package/src/views/user/extend_datasource/edit.vue +3 -0
  179. package/src/views/user/extend_datasource/list.vue +2 -1
  180. package/src/views/user/file_type/edit.vue +30 -1
  181. package/src/views/user/file_type/list.vue +28 -0
  182. package/src/views/user/form/vform/designer.vue +772 -749
  183. package/src/views/user/form/view/list.vue +27 -9
  184. package/src/views/user/groups/edit.vue +2 -0
  185. package/src/views/user/groups/list.vue +1 -0
  186. package/src/views/user/home/default.vue +1022 -979
  187. package/src/views/user/home/dev.vue +29 -0
  188. package/src/views/user/home/index.vue +16 -6
  189. package/src/views/user/login/default.vue +4 -2
  190. package/src/views/user/login/index2.vue +131 -0
  191. package/src/views/user/notify_message/dialog.vue +1 -1
  192. package/src/views/user/notify_template/edit.vue +188 -187
  193. package/src/views/user/notify_template/edit2.vue +176 -0
  194. package/src/views/user/notify_template/list.vue +4 -1
  195. package/src/views/user/notify_template/list2.vue +190 -0
  196. package/src/views/user/outLink/form_view.vue +39 -12
  197. package/src/views/user/outLink/index.vue +17 -0
  198. package/src/views/user/outLink/view.vue +39 -13
  199. package/src/views/user/position/list.vue +4 -4
  200. package/src/views/user/push_setting/list.vue +2 -2
  201. package/src/views/user/role/dialog.vue +1 -1
  202. package/src/views/user/role/list.vue +4 -4
  203. package/src/views/user/sale_org/dialog.vue +1 -1
  204. package/src/views/user/sale_org/list.vue +4 -1
  205. package/src/views/user/user/dialog.vue +1 -1
  206. package/src/views/user/user/edit.vue +39 -19
  207. package/src/views/user/user/form_edit.vue +63 -2
  208. package/src/views/user/user/form_info.vue +210 -0
  209. package/src/views/user/user/form_list.vue +1 -0
  210. package/src/views/user/user/list.vue +4 -4
  211. package/src/views/user/wf/wf_manage/list.vue +1 -1
  212. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  213. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  214. package/src/views/user/wf/wf_obj_config/list.vue +94 -8
  215. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
@@ -4,6 +4,7 @@ export const containers = [
4
4
  category: "container",
5
5
  icon: "grid",
6
6
  commonFlag: !0,
7
+ columnFlag: true,
7
8
  cols: [],
8
9
  options: {
9
10
  name: "",
@@ -13,7 +14,8 @@ export const containers = [
13
14
  // colHeight: null,
14
15
  width: '',
15
16
  containerClass: '',
16
- customClass: ""
17
+ customClass: "",
18
+ ...defaultWfConfig,
17
19
  }
18
20
  },
19
21
  {
@@ -21,13 +23,15 @@ export const containers = [
21
23
  category: "container",
22
24
  icon: "table",
23
25
  commonFlag: !0,
26
+ columnFlag: true,
24
27
  rows: [],
25
28
  options: {
26
29
  name: "",
27
30
  hidden: !1,
28
31
  customClass: "",
29
32
  styleTableClass: '',
30
- fullWidth: false
33
+ fullWidth: false,
34
+ ...defaultWfConfig,
31
35
  }
32
36
  },
33
37
  {
@@ -35,6 +39,7 @@ export const containers = [
35
39
  category: "container",
36
40
  icon: "tab",
37
41
  commonFlag: !0,
42
+ columnFlag: true,
38
43
  tabs: [],
39
44
  options: {
40
45
  name: "",
@@ -42,7 +47,8 @@ export const containers = [
42
47
  height: '',
43
48
  // isFullscreen: false,
44
49
  tabClass: 'tab-boxCard tabCard-sty1',
45
- customClass: ""
50
+ customClass: "",
51
+ ...defaultWfConfig,
46
52
  }
47
53
  },
48
54
  /* {
@@ -259,6 +265,7 @@ export const containers = [
259
265
  formScriptEnabled: true,
260
266
  formScriptCode: null,
261
267
  formScriptParam: null,
268
+ formScriptSuccess: null,
262
269
  formScriptCallback: null,
263
270
  /*isLoadDataByAccess: false,
264
271
  scriptEnabled: false,
@@ -277,9 +284,11 @@ export const containers = [
277
284
  sortScriptCode: null,
278
285
  importTemplateFile: null,
279
286
 
287
+ ...defaultWfConfig,
280
288
  showRuleFlag: 1,
281
289
  showRuleEnabled: 1,
282
290
  showRules: [],
291
+ hideGridCheckBox: false
283
292
  }
284
293
  },
285
294
  /*{
@@ -748,7 +757,6 @@ export const containers = [
748
757
  }
749
758
  ]
750
759
 
751
-
752
760
  export const defaultSearchDialogConfig = {
753
761
  formCode: null,
754
762
  tableEnabled: false,
@@ -757,14 +765,48 @@ export const defaultSearchDialogConfig = {
757
765
  tableRef: null,
758
766
  tableUniqueKey: null,
759
767
  tableData: [],
760
- multipleChoices: true
768
+ multipleChoices: true,
769
+ confirmCallback: null
770
+ }
771
+
772
+ export const defaultWfConfig = {
773
+ wfFlag: 1,
774
+ wfEdit: false,
775
+ enabledByWf: false,
776
+ hiddenByWf: false,
777
+ wfConfigData: [],
778
+ wfModifyDataEnabled: false,
779
+ wfModifyDataConfig: [],
780
+ }
781
+
782
+ export const defaultTextFlagConfig = {
783
+ widgetTextFlag: null,
784
+ textFlag: 1,
785
+ showTextEnabled: false,
786
+ showEncryptTextEnabled: false,
787
+ userTextRuleEnabled: false,
788
+ userTextRuleConfig: [],
789
+ textRule1: true,
790
+ textRule2: false,
791
+ textRule2Number: null,
792
+ textRule3: false,
793
+ textRule3Number: null,
794
+ widgetTextLinkConfig: null
795
+ }
796
+
797
+ export const defaultWidgetShowRuleConfig = {
798
+ widgetShowRuleFlag: 1,
799
+ widgetShowRuleEnabled: false,
800
+ widgetShowRuleConfig: [],
761
801
  }
762
802
 
763
803
  export const basicFields = [
764
804
  {
765
805
  type: "input",
766
806
  icon: "text-field",
807
+ commonFlag: !0,
767
808
  formItemFlag: !0,
809
+ columnFlag: true,
768
810
  tableField: null,
769
811
  options: {
770
812
  name: "",
@@ -813,27 +855,21 @@ export const basicFields = [
813
855
  onAppendButtonClick: "",
814
856
  widgetWidth: "",
815
857
  accessType: "1",
816
- wfFlag: 1,
817
- wfEdit: false,
818
- enabledByWf: false,
819
- hiddenByWf: false,
820
- wfConfigData: [],
858
+ ...defaultWfConfig,
821
859
 
822
860
  showRuleFlag: 1,
823
861
  showRuleEnabled: 1,
824
862
  showRules: [],
825
- textFlag: 1,
826
- textRule1: false,
827
- textRule2: false,
828
- textRule3: false,
829
- textRule2Number: null,
830
- textRule3Number: null
863
+
864
+ ...defaultTextFlagConfig
831
865
  }
832
866
  },
833
867
  {
834
868
  type: "input-batch",
835
869
  icon: "input-batch",
870
+ commonFlag: !0,
836
871
  formItemFlag: !0,
872
+ columnFlag: true,
837
873
  tableField: null,
838
874
  options: {
839
875
  name: "",
@@ -881,28 +917,21 @@ export const basicFields = [
881
917
  onAppendButtonClick: "",
882
918
  widgetWidth: "",
883
919
  accessType: "1",
884
- wfFlag: 1,
885
- wfEdit: false,
886
- enabledByWf: false,
887
- hiddenByWf: false,
888
- wfConfigData: [],
920
+ ...defaultWfConfig,
889
921
 
890
922
  showRuleFlag: 1,
891
923
  showRuleEnabled: 1,
892
924
  showRules: [],
893
- textFlag: 1,
894
- textRule1: false,
895
- textRule2: false,
896
- textRule3: false,
897
- textRule2Number: null,
898
- textRule3Number: null
925
+
899
926
 
900
927
  }
901
928
  },
902
929
  {
903
930
  type: "textarea",
904
931
  icon: "textarea-field",
932
+ commonFlag: !0,
905
933
  formItemFlag: !0,
934
+ columnFlag: true,
906
935
  tableField: null,
907
936
  options: {
908
937
  name: "",
@@ -941,27 +970,21 @@ export const basicFields = [
941
970
  onBlur: "",
942
971
  onValidate: "",
943
972
  accessType: "1",
944
- wfFlag: 1,
945
- wfEdit: false,
946
- enabledByWf: false,
947
- hiddenByWf: false,
948
- wfConfigData: [],
973
+ ...defaultWfConfig,
949
974
 
950
975
  showRuleFlag: 1,
951
976
  showRuleEnabled: 1,
952
977
  showRules: [],
953
- textFlag: 1,
954
- textRule1: false,
955
- textRule2: false,
956
- textRule3: false,
957
- textRule2Number: null,
958
- textRule3Number: null
978
+
979
+ ...defaultTextFlagConfig
959
980
  }
960
981
  },
961
982
  {
962
983
  type: "number",
963
984
  icon: "number-field",
985
+ commonFlag: !0,
964
986
  formItemFlag: !0,
987
+ columnFlag: true,
965
988
  tableField: null,
966
989
  options: {
967
990
  name: "",
@@ -984,8 +1007,8 @@ export const basicFields = [
984
1007
  requiredHint: "",
985
1008
  validation: "",
986
1009
  validationHint: "",
987
- // formulaEnabled: !1,
988
- // formula: "",
1010
+ formulaEnabled: !1,
1011
+ formula: "",
989
1012
  customClass: "",
990
1013
  labelIconClass: null,
991
1014
  labelIconPosition: "rear",
@@ -1002,28 +1025,22 @@ export const basicFields = [
1002
1025
  onBlur: "",
1003
1026
  onValidate: "",
1004
1027
  accessType: "1",
1005
- wfFlag: 1,
1006
- wfEdit: false,
1007
- enabledByWf: false,
1008
- hiddenByWf: false,
1009
- wfConfigData: [],
1028
+ ...defaultWfConfig,
1010
1029
 
1011
1030
  showRuleFlag: 1,
1012
1031
  showRuleEnabled: 1,
1013
1032
  showRules: [],
1014
- textFlag: 1,
1015
- textRule1: false,
1016
- textRule2: false,
1017
- textRule3: false,
1018
- textRule2Number: null,
1019
- textRule3Number: null
1033
+
1034
+ ...defaultTextFlagConfig
1020
1035
 
1021
1036
  }
1022
1037
  },
1023
1038
  {
1024
1039
  type: "radio",
1025
1040
  icon: "radio-field",
1041
+ commonFlag: !0,
1026
1042
  formItemFlag: !0,
1043
+ columnFlag: true,
1027
1044
  tableField: null,
1028
1045
  options: {
1029
1046
  name: "",
@@ -1076,27 +1093,24 @@ export const basicFields = [
1076
1093
  formScriptEnabled: false,
1077
1094
  formScriptCode: "getList",
1078
1095
  formScriptParam: null,
1079
- wfFlag: 1,
1080
- wfEdit: false,
1081
- enabledByWf: false,
1082
- hiddenByWf: false,
1083
- wfConfigData: [],
1096
+ formScriptSuccess: null,
1097
+ ...defaultWfConfig,
1098
+
1099
+ commonAttributeEnabled: false,
1100
+ commonAttributeCode: "",
1084
1101
 
1085
1102
  showRuleFlag: 1,
1086
1103
  showRuleEnabled: 1,
1087
1104
  showRules: [],
1088
- textFlag: 1,
1089
- textRule1: false,
1090
- textRule2: false,
1091
- textRule3: false,
1092
- textRule2Number: null,
1093
- textRule3Number: null
1105
+
1094
1106
  }
1095
1107
  },
1096
1108
  {
1097
1109
  type: "checkbox",
1098
1110
  icon: "checkbox-field",
1111
+ commonFlag: !0,
1099
1112
  formItemFlag: !0,
1113
+ columnFlag: true,
1100
1114
  tableField: null,
1101
1115
  options: {
1102
1116
  name: "",
@@ -1149,28 +1163,25 @@ export const basicFields = [
1149
1163
  formScriptEnabled: false,
1150
1164
  formScriptCode: "getList",
1151
1165
  formScriptParam: null,
1152
- wfFlag: 1,
1153
- wfEdit: false,
1154
- enabledByWf: false,
1155
- hiddenByWf: false,
1156
- wfConfigData: [],
1166
+ formScriptSuccess: null,
1167
+ ...defaultWfConfig,
1168
+
1169
+ commonAttributeEnabled: false,
1170
+ commonAttributeCode: "",
1157
1171
 
1158
1172
  showRuleFlag: 1,
1159
1173
  showRuleEnabled: 1,
1160
1174
  showRules: [],
1161
- textFlag: 1,
1162
- textRule1: false,
1163
- textRule2: false,
1164
- textRule3: false,
1165
- textRule2Number: null,
1166
- textRule3Number: null
1175
+
1167
1176
 
1168
1177
  }
1169
1178
  },
1170
1179
  {
1171
1180
  type: "select",
1172
1181
  icon: "select-field",
1182
+ commonFlag: !0,
1173
1183
  formItemFlag: !0,
1184
+ columnFlag: true,
1174
1185
  tableField: null,
1175
1186
  options: {
1176
1187
  name: "",
@@ -1233,27 +1244,23 @@ export const basicFields = [
1233
1244
  formScriptEnabled: false,
1234
1245
  formScriptCode: "getList",
1235
1246
  formScriptParam: null,
1236
- wfFlag: 1,
1237
- wfEdit: false,
1238
- enabledByWf: false,
1239
- hiddenByWf: false,
1240
- wfConfigData: [],
1247
+ formScriptSuccess: null,
1248
+ ...defaultWfConfig,
1249
+
1250
+ commonAttributeEnabled: false,
1251
+ commonAttributeCode: "",
1241
1252
 
1242
1253
  showRuleFlag: 1,
1243
1254
  showRuleEnabled: 1,
1244
1255
  showRules: [],
1245
- textFlag: 1,
1246
- textRule1: false,
1247
- textRule2: false,
1248
- textRule3: false,
1249
- textRule2Number: null,
1250
- textRule3Number: null
1251
1256
  }
1252
1257
  },
1253
1258
  {
1254
1259
  type: "time",
1255
1260
  icon: "time-field",
1261
+ commonFlag: !0,
1256
1262
  formItemFlag: !0,
1263
+ columnFlag: true,
1257
1264
  tableField: null,
1258
1265
  options: {
1259
1266
  name: "",
@@ -1291,28 +1298,22 @@ export const basicFields = [
1291
1298
  onBlur: "",
1292
1299
  onValidate: "",
1293
1300
  accessType: "1",
1294
- wfFlag: 1,
1295
- wfEdit: false,
1296
- enabledByWf: false,
1297
- hiddenByWf: false,
1298
- wfConfigData: [],
1301
+ ...defaultWfConfig,
1299
1302
 
1300
1303
  showRuleFlag: 1,
1301
1304
  showRuleEnabled: 1,
1302
1305
  showRules: [],
1303
- textFlag: 1,
1304
- textRule1: false,
1305
- textRule2: false,
1306
- textRule3: false,
1307
- textRule2Number: null,
1308
- textRule3Number: null
1306
+
1307
+ ...defaultTextFlagConfig
1309
1308
 
1310
1309
  }
1311
1310
  },
1312
1311
  {
1313
1312
  type: "time-range",
1314
1313
  icon: "time-range-field",
1314
+ commonFlag: !0,
1315
1315
  formItemFlag: !0,
1316
+ columnFlag: true,
1316
1317
  tableField: null,
1317
1318
  options: {
1318
1319
  name: "",
@@ -1350,28 +1351,21 @@ export const basicFields = [
1350
1351
  onBlur: "",
1351
1352
  onValidate: "",
1352
1353
  accessType: "1",
1353
- wfFlag: 1,
1354
- wfEdit: false,
1355
- enabledByWf: false,
1356
- hiddenByWf: false,
1357
- wfConfigData: [],
1354
+ ...defaultWfConfig,
1358
1355
 
1359
1356
  showRuleFlag: 1,
1360
1357
  showRuleEnabled: 1,
1361
1358
  showRules: [],
1362
- textFlag: 1,
1363
- textRule1: false,
1364
- textRule2: false,
1365
- textRule3: false,
1366
- textRule2Number: null,
1367
- textRule3Number: null
1359
+
1368
1360
 
1369
1361
  }
1370
1362
  },
1371
1363
  {
1372
1364
  type: "date",
1373
1365
  icon: "date-field",
1366
+ commonFlag: !0,
1374
1367
  formItemFlag: !0,
1368
+ columnFlag: true,
1375
1369
  tableField: null,
1376
1370
  options: {
1377
1371
  name: "",
@@ -1411,28 +1405,22 @@ export const basicFields = [
1411
1405
  onBlur: "",
1412
1406
  onValidate: "",
1413
1407
  accessType: "1",
1414
- wfFlag: 1,
1415
- wfEdit: false,
1416
- enabledByWf: false,
1417
- hiddenByWf: false,
1418
- wfConfigData: [],
1408
+ ...defaultWfConfig,
1419
1409
 
1420
1410
  showRuleFlag: 1,
1421
1411
  showRuleEnabled: 1,
1422
1412
  showRules: [],
1423
- textFlag: 1,
1424
- textRule1: false,
1425
- textRule2: false,
1426
- textRule3: false,
1427
- textRule2Number: null,
1428
- textRule3Number: null
1413
+
1414
+ ...defaultTextFlagConfig
1429
1415
 
1430
1416
  }
1431
1417
  },
1432
1418
  {
1433
1419
  type: "date-range",
1434
1420
  icon: "date-range-field",
1421
+ commonFlag: !0,
1435
1422
  formItemFlag: !0,
1423
+ columnFlag: true,
1436
1424
  tableField: null,
1437
1425
  options: {
1438
1426
  name: "",
@@ -1457,6 +1445,7 @@ export const basicFields = [
1457
1445
  editable: !1,
1458
1446
  format: "yyyy-MM-dd",
1459
1447
  valueFormat: "yyyy-MM-dd",
1448
+ defaultTime: ['00:00:00', '23:59:59'],
1460
1449
  required: !1,
1461
1450
  requiredHint: "",
1462
1451
  validation: "",
@@ -1472,21 +1461,11 @@ export const basicFields = [
1472
1461
  onBlur: "",
1473
1462
  onValidate: "",
1474
1463
  accessType: "1",
1475
- wfFlag: 1,
1476
- wfEdit: false,
1477
- enabledByWf: false,
1478
- hiddenByWf: false,
1479
- wfConfigData: [],
1464
+ ...defaultWfConfig,
1480
1465
 
1481
1466
  showRuleFlag: 1,
1482
1467
  showRuleEnabled: 1,
1483
1468
  showRules: [],
1484
- textFlag: 1,
1485
- textRule1: false,
1486
- textRule2: false,
1487
- textRule3: false,
1488
- textRule2Number: null,
1489
- textRule3Number: null
1490
1469
 
1491
1470
  }
1492
1471
  },
@@ -1617,7 +1596,9 @@ export const basicFields = [
1617
1596
  {
1618
1597
  type: "static-text",
1619
1598
  icon: "static-text",
1599
+ commonFlag: !0,
1620
1600
  formItemFlag: !1,
1601
+ columnFlag: true,
1621
1602
  options: {
1622
1603
  name: "",
1623
1604
  columnWidth: "200px",
@@ -1628,23 +1609,22 @@ export const basicFields = [
1628
1609
  onCreated: "",
1629
1610
  onMounted: "",
1630
1611
  accessType: "1",
1612
+ ...defaultWfConfig,
1631
1613
 
1632
1614
  showRuleFlag: 1,
1633
1615
  showRuleEnabled: 1,
1634
1616
  showRules: [],
1635
- textFlag: 1,
1636
- textRule1: false,
1637
- textRule2: false,
1638
- textRule3: false,
1639
- textRule2Number: null,
1640
- textRule3Number: null
1617
+
1618
+ ...defaultTextFlagConfig
1641
1619
 
1642
1620
  }
1643
1621
  },
1644
1622
  {
1645
1623
  type: "html-text",
1646
1624
  icon: "html-text",
1625
+ commonFlag: !0,
1647
1626
  formItemFlag: !1,
1627
+ columnFlag: true,
1648
1628
  options: {
1649
1629
  name: "",
1650
1630
  columnWidth: "200px",
@@ -1654,16 +1634,11 @@ export const basicFields = [
1654
1634
  onCreated: "",
1655
1635
  onMounted: "",
1656
1636
  accessType: "1",
1637
+ ...defaultWfConfig,
1657
1638
 
1658
1639
  showRuleFlag: 1,
1659
1640
  showRuleEnabled: 1,
1660
1641
  showRules: [],
1661
- textFlag: 1,
1662
- textRule1: false,
1663
- textRule2: false,
1664
- textRule3: false,
1665
- textRule2Number: null,
1666
- textRule3Number: null
1667
1642
 
1668
1643
  }
1669
1644
  },
@@ -1687,7 +1662,9 @@ export const basicFields = [
1687
1662
  {
1688
1663
  type: "button",
1689
1664
  icon: "button",
1665
+ commonFlag: !0,
1690
1666
  formItemFlag: !1,
1667
+ columnFlag: true,
1691
1668
  options: {
1692
1669
  name: "",
1693
1670
  label: "",
@@ -1714,27 +1691,21 @@ export const basicFields = [
1714
1691
  tableRef: null,
1715
1692
  tableData: {}
1716
1693
  },
1717
- wfFlag: 1,
1718
- wfEdit: false,
1719
- enabledByWf: false,
1720
- hiddenByWf: false,
1721
- wfConfigData: [],
1694
+ ...defaultWfConfig,
1695
+ ...defaultWidgetShowRuleConfig,
1722
1696
 
1723
1697
  showRuleFlag: 1,
1724
1698
  showRuleEnabled: 1,
1725
1699
  showRules: [],
1726
- textFlag: 1,
1727
- textRule1: false,
1728
- textRule2: false,
1729
- textRule3: false,
1730
- textRule2Number: null,
1731
- textRule3Number: null
1700
+
1732
1701
  }
1733
1702
  },
1734
1703
  {
1735
1704
  type: "divider",
1736
1705
  icon: "divider",
1706
+ commonFlag: !0,
1737
1707
  formItemFlag: !1,
1708
+ columnFlag: true,
1738
1709
  options: {
1739
1710
  name: "",
1740
1711
  label: "",
@@ -1743,6 +1714,7 @@ export const basicFields = [
1743
1714
  contentPosition: "center",
1744
1715
  hidden: !1,
1745
1716
  customClass: "",
1717
+ ...defaultWfConfig,
1746
1718
  onCreated: "",
1747
1719
  onMounted: ""
1748
1720
  }
@@ -1804,7 +1776,9 @@ export const basicFields = [
1804
1776
  {
1805
1777
  type: "text",
1806
1778
  icon: "text",
1779
+ commonFlag: !0,
1807
1780
  formItemFlag: !0,
1781
+ columnFlag: true,
1808
1782
  tableField: null,
1809
1783
  options: {
1810
1784
  name: "",
@@ -1824,28 +1798,31 @@ export const basicFields = [
1824
1798
  onMounted: "",
1825
1799
  accessType: "1",
1826
1800
  labelColor: '#555555',
1801
+ ...defaultWfConfig,
1802
+
1803
+ autoValueEnabled: false,
1804
+ autoValueHanlde: null,
1827
1805
 
1828
1806
  showRuleFlag: 1,
1829
1807
  showRuleEnabled: 1,
1830
1808
  showRules: [],
1831
- textFlag: 1,
1832
- textRule1: false,
1833
- textRule2: false,
1834
- textRule3: false,
1835
- textRule2Number: null,
1836
- textRule3Number: null
1809
+
1810
+ ...defaultTextFlagConfig
1837
1811
  }
1838
1812
  },
1839
1813
  {
1840
1814
  type: "a-text",
1841
1815
  icon: "text-field",
1816
+ commonFlag: !0,
1842
1817
  formItemFlag: !0,
1818
+ columnFlag: true,
1843
1819
  tableField: null,
1844
1820
  options: {
1845
1821
  name: "",
1846
1822
  keyNameEnabled: !1,
1847
1823
  keyName: "",
1848
1824
  label: "",
1825
+ displayStyle: "block",
1849
1826
  submitFlag: true,
1850
1827
  /**showText: false,*/
1851
1828
  formField: "",
@@ -1872,32 +1849,28 @@ export const basicFields = [
1872
1849
  onChange: "",
1873
1850
  onClick: "",
1874
1851
  accessType: "1",
1875
- wfFlag: 1,
1876
- wfEdit: false,
1877
- enabledByWf: false,
1878
- hiddenByWf: false,
1879
- wfConfigData: [],
1852
+ ...defaultWfConfig,
1853
+ ...defaultWidgetShowRuleConfig,
1880
1854
 
1881
1855
  showRuleFlag: 1,
1882
1856
  showRuleEnabled: 1,
1883
1857
  showRules: [],
1884
- textFlag: 1,
1885
- textRule1: false,
1886
- textRule2: false,
1887
- textRule3: false,
1888
- textRule2Number: null,
1889
- textRule3Number: null
1858
+
1859
+ ...defaultTextFlagConfig
1890
1860
  }
1891
1861
  },
1892
1862
  {
1893
1863
  type: "a-link",
1894
1864
  icon: "button",
1865
+ commonFlag: !0,
1895
1866
  formItemFlag: !1,
1867
+ columnFlag: true,
1896
1868
  options: {
1897
1869
  name: "",
1898
1870
  keyNameEnabled: !1,
1899
1871
  keyName: "",
1900
1872
  label: "",
1873
+ displayStyle: "block",
1901
1874
  labelHidden: !1,
1902
1875
  disabled: !1,
1903
1876
  hidden: !1,
@@ -1907,7 +1880,7 @@ export const basicFields = [
1907
1880
  aLinkFlag: 1,
1908
1881
  underline: false,
1909
1882
  href: "",
1910
- coloClass: "f-red",
1883
+ coloClass: "f-blue",
1911
1884
  isFormLabel: false,
1912
1885
  onCreated: "",
1913
1886
  onMounted: "",
@@ -1920,21 +1893,40 @@ export const basicFields = [
1920
1893
  tableRef: null,
1921
1894
  tableData: {}
1922
1895
  },
1923
- wfFlag: 1,
1924
- wfEdit: false,
1925
- enabledByWf: false,
1926
- hiddenByWf: false,
1927
- wfConfigData: [],
1896
+ ...defaultWfConfig,
1897
+ ...defaultWidgetShowRuleConfig,
1928
1898
 
1929
1899
  showRuleFlag: 1,
1930
1900
  showRuleEnabled: 1,
1931
1901
  showRules: [],
1932
- textFlag: 1,
1933
- textRule1: false,
1934
- textRule2: false,
1935
- textRule3: false,
1936
- textRule2Number: null,
1937
- textRule3Number: null
1902
+
1903
+ ...defaultTextFlagConfig
1904
+ }
1905
+ },
1906
+ {
1907
+ type: "a-link2",
1908
+ icon: "button",
1909
+ commonFlag: !1,
1910
+ formItemFlag: !1,
1911
+ columnFlag: false,
1912
+ options: {
1913
+ prefixIcon: "",
1914
+ suffixIcon: "",
1915
+ customClass: "",
1916
+ aLinkFlag: 1,
1917
+ underline: false,
1918
+ href: "",
1919
+ coloClass: "f-blue",
1920
+
1921
+ onClick: "",
1922
+ clickBindEvent: null,
1923
+ searchDialogConfig: {
1924
+ ...defaultSearchDialogConfig
1925
+ },
1926
+ addTableDataConfig: {
1927
+ tableRef: null,
1928
+ tableData: {}
1929
+ },
1938
1930
  }
1939
1931
  },
1940
1932
 
@@ -1998,10 +1990,11 @@ export const advancedFields = [
1998
1990
  color: "",
1999
1991
  fontWeight: "normal"
2000
1992
  },
2001
- data: [{
2002
- value: 1048,
2003
- name: 'Search Engine'
2004
- },
1993
+ data: [
1994
+ {
1995
+ value: 1048,
1996
+ name: 'Search Engine'
1997
+ },
2005
1998
  {
2006
1999
  value: 735,
2007
2000
  name: 'Direct'
@@ -2021,12 +2014,16 @@ export const advancedFields = [
2021
2014
  ],
2022
2015
  }]
2023
2016
  },
2017
+ echartConfig: '',
2024
2018
  formScriptEnabled: true,
2025
2019
  formScriptCode: "",
2026
2020
  formScriptParam: null,
2021
+ formScriptSuccess: null,
2022
+ onClick: "",
2027
2023
  onCreated: "",
2028
2024
  onMounted: "this.loadDataDefaultHandle()",
2029
2025
 
2026
+ ...defaultWfConfig,
2030
2027
  showRuleFlag: 1,
2031
2028
  showRuleEnabled: 1,
2032
2029
  showRules: []
@@ -2044,6 +2041,7 @@ export const advancedFields = [
2044
2041
  echarBarOption: {
2045
2042
  backgroundColor: "#fff",
2046
2043
  color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2044
+ colors: [],
2047
2045
  title: {
2048
2046
  show: true,
2049
2047
  top: '5px',
@@ -2190,12 +2188,15 @@ export const advancedFields = [
2190
2188
 
2191
2189
  }]
2192
2190
  },
2191
+ echartConfig: '',
2193
2192
  formScriptEnabled: true,
2194
2193
  formScriptCode: "",
2195
2194
  formScriptParam: null,
2195
+ formScriptSuccess: null,
2196
+ onClick: "",
2196
2197
  onCreated: "",
2197
2198
  onMounted: "this.loadDataDefaultHandle()",
2198
-
2199
+ ...defaultWfConfig,
2199
2200
  showRuleFlag: 1,
2200
2201
  showRuleEnabled: 1,
2201
2202
  showRules: []
@@ -2214,6 +2215,7 @@ export const advancedFields = [
2214
2215
  echarCategoryOption: {
2215
2216
  backgroundColor: "#fff",
2216
2217
  color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2218
+ colors: [],
2217
2219
  title: {
2218
2220
  show: true,
2219
2221
  top: '5px',
@@ -2324,6 +2326,23 @@ export const advancedFields = [
2324
2326
  shadowBlur: 4,
2325
2327
  shadowOffsetY: 6
2326
2328
  },
2329
+ itemStyle: {
2330
+ color: {
2331
+ type: 'linear',
2332
+ x: 0.5,
2333
+ y: 0.5,
2334
+ r: 0.5,
2335
+ colorStops: [{
2336
+ offset: 0, color: '#08C084' // 0% 处的颜色
2337
+ }, {
2338
+ offset: 1, color: '#97EACE' // 100% 处的颜色
2339
+ }],
2340
+ },
2341
+ cap: 'round',
2342
+ shadowColor: '#08C08450',
2343
+ shadowBlur: 4,
2344
+ shadowOffsetY: 6
2345
+ },
2327
2346
  emphasis: {
2328
2347
  scale: 1,
2329
2348
  focus: 'series'
@@ -2358,6 +2377,23 @@ export const advancedFields = [
2358
2377
  shadowBlur: 4,
2359
2378
  shadowOffsetY: 6
2360
2379
  },
2380
+ itemStyle: {
2381
+ color: {
2382
+ type: 'linear',
2383
+ x: 0.5,
2384
+ y: 0.5,
2385
+ r: 0.5,
2386
+ colorStops: [{
2387
+ offset: 0, color: '#FF6116' // 0% 处的颜色
2388
+ }, {
2389
+ offset: 1, color: '#F9A980' // 100% 处的颜色
2390
+ }],
2391
+ },
2392
+ cap: 'round',
2393
+ shadowColor: '#FF611650',
2394
+ shadowBlur: 4,
2395
+ shadowOffsetY: 6
2396
+ },
2361
2397
  emphasis: {
2362
2398
  scale: 1,
2363
2399
  focus: 'series'
@@ -2367,12 +2403,15 @@ export const advancedFields = [
2367
2403
  }]
2368
2404
 
2369
2405
  },
2406
+ echartConfig: '',
2370
2407
  formScriptEnabled: true,
2371
2408
  formScriptCode: "",
2372
2409
  formScriptParam: null,
2410
+ formScriptSuccess: null,
2411
+ onClick: "",
2373
2412
  onCreated: "",
2374
2413
  onMounted: "this.loadDataDefaultHandle()",
2375
-
2414
+ ...defaultWfConfig,
2376
2415
  showRuleFlag: 1,
2377
2416
  showRuleEnabled: 1,
2378
2417
  showRules: []
@@ -2507,25 +2546,31 @@ export const advancedFields = [
2507
2546
  entityTableDesc: null,
2508
2547
  onCreated: "this.loadDataDefaultHandle();",
2509
2548
  onMounted: "",
2549
+ onAfterConfirmFile: "",
2510
2550
  vabUpload: 1,
2511
2551
  formScriptEnabled: true,
2512
2552
  formScriptCode: "getList",
2513
2553
  formScriptParam: null,
2514
- wfFlag: 1,
2515
- wfEdit: false,
2516
- enabledByWf: false,
2517
- hiddenByWf: false,
2518
- wfConfigData: [],
2554
+ formScriptSuccess: null,
2555
+ ...defaultWfConfig,
2519
2556
 
2520
2557
  showRuleFlag: 1,
2521
2558
  showRuleEnabled: 1,
2522
- showRules: []
2559
+ showRules: [],
2560
+
2561
+ hiddenFileInfo: false,
2562
+ hiddenFileName: false,
2563
+ showFileSize: false,
2564
+ showFileCreateBy: false,
2565
+ showFileCreateDate: false,
2566
+ widgetSize: 2
2523
2567
  }
2524
2568
  },
2525
2569
  {
2526
2570
  type: "vabsearch",
2527
2571
  icon: "searchbox",
2528
2572
  commonFlag: !0,
2573
+ columnFlag: true,
2529
2574
  formItemFlag: !0,
2530
2575
  tableField: null,
2531
2576
  options: {
@@ -2564,11 +2609,7 @@ export const advancedFields = [
2564
2609
  ...defaultSearchDialogConfig,
2565
2610
  multipleChoices: false
2566
2611
  },
2567
- wfFlag: 1,
2568
- wfEdit: false,
2569
- enabledByWf: false,
2570
- hiddenByWf: false,
2571
- wfConfigData: [],
2612
+ ...defaultWfConfig,
2572
2613
  valueField: null,
2573
2614
  multipleChoices: false,
2574
2615
 
@@ -2582,6 +2623,7 @@ export const advancedFields = [
2582
2623
  type: "search_button",
2583
2624
  icon: "button",
2584
2625
  commonFlag: !0,
2626
+ columnFlag: true,
2585
2627
  formItemFlag: !1,
2586
2628
  options: {
2587
2629
  name: "",
@@ -2613,12 +2655,8 @@ export const advancedFields = [
2613
2655
  ...defaultSearchDialogConfig,
2614
2656
  tableEnabled: true
2615
2657
  },
2616
- wfFlag: 1,
2617
- wfEdit: false,
2618
- enabledByWf: false,
2619
- hiddenByWf: false,
2620
- wfConfigData: [],
2621
-
2658
+ ...defaultWfConfig,
2659
+ ...defaultWidgetShowRuleConfig,
2622
2660
  showRuleFlag: 1,
2623
2661
  showRuleEnabled: 1,
2624
2662
  showRules: []
@@ -2629,6 +2667,7 @@ export const advancedFields = [
2629
2667
  targetType: "button",
2630
2668
  icon: "button",
2631
2669
  commonFlag: !0,
2670
+ columnFlag: true,
2632
2671
  formItemFlag: !1,
2633
2672
  options: {
2634
2673
  name: "",
@@ -2654,11 +2693,9 @@ export const advancedFields = [
2654
2693
  searchDialogConfig: {
2655
2694
  ...defaultSearchDialogConfig
2656
2695
  },
2657
- wfFlag: 1,
2658
- wfEdit: false,
2659
- enabledByWf: false,
2696
+ ...defaultWfConfig,
2697
+ ...defaultWidgetShowRuleConfig,
2660
2698
  hiddenByWf: true,
2661
- wfConfigData: [],
2662
2699
 
2663
2700
  showRuleFlag: 1,
2664
2701
  showRuleEnabled: 1,
@@ -2671,6 +2708,7 @@ export const advancedFields = [
2671
2708
  targetType: "button",
2672
2709
  icon: "button",
2673
2710
  commonFlag: !0,
2711
+ columnFlag: true,
2674
2712
  formItemFlag: !1,
2675
2713
  options: {
2676
2714
  name: "",
@@ -2694,12 +2732,8 @@ export const advancedFields = [
2694
2732
  searchDialogConfig: {
2695
2733
  ...defaultSearchDialogConfig
2696
2734
  },
2697
- wfFlag: 1,
2698
- wfEdit: false,
2699
- enabledByWf: true,
2700
- hiddenByWf: false,
2701
- wfConfigData: [],
2702
-
2735
+ ...defaultWfConfig,
2736
+ ...defaultWidgetShowRuleConfig,
2703
2737
  showRuleFlag: 1,
2704
2738
  showRuleEnabled: 1,
2705
2739
  showRules: []
@@ -2710,6 +2744,7 @@ export const advancedFields = [
2710
2744
  icon: "list-export",
2711
2745
  formItemFlag: !1,
2712
2746
  commonFlag: !0,
2747
+ columnFlag: true,
2713
2748
  tableField: null,
2714
2749
  options: {
2715
2750
  name: "",
@@ -2720,14 +2755,12 @@ export const advancedFields = [
2720
2755
  exportFileName: '导出',
2721
2756
  tableRef: '',
2722
2757
  tableExportParam: "",
2758
+ showImageAtTable: false,
2759
+
2723
2760
  onCreated: "",
2724
2761
  onMounted: "",
2725
- wfFlag: 1,
2726
- wfEdit: false,
2727
- enabledByWf: false,
2728
- hiddenByWf: false,
2729
- wfConfigData: [],
2730
-
2762
+ ...defaultWfConfig,
2763
+ ...defaultWidgetShowRuleConfig,
2731
2764
  showRuleFlag: 1,
2732
2765
  showRuleEnabled: 1,
2733
2766
  showRules: []
@@ -2739,6 +2772,7 @@ export const advancedFields = [
2739
2772
  targetType: "button",
2740
2773
  icon: "button",
2741
2774
  commonFlag: !0,
2775
+ columnFlag: true,
2742
2776
  formItemFlag: !1,
2743
2777
  options: {
2744
2778
  name: "",
@@ -2761,73 +2795,74 @@ export const advancedFields = [
2761
2795
  searchDialogConfig: {
2762
2796
  ...defaultSearchDialogConfig
2763
2797
  },
2764
- wfFlag: 1,
2765
- wfEdit: false,
2766
- enabledByWf: false,
2767
- hiddenByWf: false,
2768
- wfConfigData: [],
2769
-
2798
+ ...defaultWfConfig,
2799
+ ...defaultWidgetShowRuleConfig,
2770
2800
  showRuleFlag: 1,
2771
2801
  showRuleEnabled: 1,
2772
2802
  showRules: []
2773
2803
  },
2774
2804
  },
2775
2805
  {
2776
- type: "save_button",
2777
- targetType: "button",
2806
+ type: "import-button",
2778
2807
  icon: "button",
2779
2808
  commonFlag: !0,
2809
+ columnFlag: true,
2780
2810
  formItemFlag: !1,
2781
2811
  options: {
2782
2812
  name: "",
2783
- label: "保存",
2813
+ label: "导入",
2784
2814
  columnWidth: "200px",
2785
2815
  size: "",
2786
- displayStyle: "block",
2816
+
2817
+ // displayStyle: "block",
2787
2818
  disabled: !1,
2788
2819
  hidden: !1,
2820
+ buttonTypeFlag: 1,
2789
2821
  type: "primary",
2790
- plain: !1,
2822
+ /*plain: !1,
2791
2823
  round: !1,
2792
2824
  circle: !1,
2793
- icon: "el-icon-check",
2825
+ icon: "el-icon-download",*/
2794
2826
  customClass: "",
2795
2827
  onCreated: "",
2796
2828
  onMounted: "",
2797
- // onClick: "let formRef = this.getFormRef();\r\nformRef.validate(valid => {\r\n if (valid) {\r\n let formData = formRef.getRealFormData(); \r\n let reqData = {\r\n formCode:formCode,\r\n data:formData\r\n };\r\n this.formHttp({\r\n scriptCode: 'xx',\r\n data: reqData,\r\n successMsg:true,\r\n isConfirm: true,\r\n confirmText: \"您确定要保存吗?\",\r\n success: res => {\r\n formRef.reloadForm({\r\n updateParam: {\r\n _dataId: res.objx\r\n }\r\n });\r\n }\r\n });\r\n }\r\n});",
2798
- onClick: "this.saveDefaultHandle();",
2799
- accessType: "1",
2800
- saveButton: true,
2801
- clickBindEvent: null,
2829
+ // clickBindEvent: null,
2802
2830
  searchDialogConfig: {
2803
2831
  ...defaultSearchDialogConfig
2804
2832
  },
2805
- wfFlag: 1,
2806
- wfEdit: false,
2807
- enabledByWf: false,
2808
- hiddenByWf: true,
2809
- wfConfigData: [],
2833
+ ...defaultWfConfig,
2834
+ ...defaultWidgetShowRuleConfig,
2835
+ importFileLimitSize: 200,
2836
+ importEntity: '',
2837
+ importAttachCode: '',
2838
+ importScriptCode: '',
2839
+ onBeforeImport: '',
2840
+ enabledImportPreHandle: false,
2841
+ tableRef: '',
2842
+ onSuccessImport: '',
2810
2843
 
2811
2844
  showRuleFlag: 1,
2812
2845
  showRuleEnabled: 1,
2813
2846
  showRules: []
2814
-
2815
2847
  },
2816
2848
  },
2817
2849
  {
2818
- type: "import-button",
2850
+ type: "import2-button",
2819
2851
  icon: "button",
2820
2852
  commonFlag: !0,
2853
+ columnFlag: true,
2821
2854
  formItemFlag: !1,
2822
2855
  options: {
2823
2856
  name: "",
2824
- label: "导入",
2857
+ label: "明细导入",
2825
2858
  columnWidth: "200px",
2826
2859
  size: "",
2860
+
2827
2861
  // displayStyle: "block",
2828
2862
  disabled: !1,
2829
2863
  hidden: !1,
2830
- type: "primary",
2864
+ buttonTypeFlag: 1,
2865
+ type: "",
2831
2866
  /*plain: !1,
2832
2867
  round: !1,
2833
2868
  circle: !1,
@@ -2839,16 +2874,15 @@ export const advancedFields = [
2839
2874
  searchDialogConfig: {
2840
2875
  ...defaultSearchDialogConfig
2841
2876
  },
2842
- wfFlag: 1,
2843
- wfEdit: false,
2844
- enabledByWf: false,
2845
- hiddenByWf: false,
2846
- wfConfigData: [],
2847
- importEntity: '',
2877
+ ...defaultWfConfig,
2878
+ ...defaultWidgetShowRuleConfig,
2879
+ frontImportFlag: 1,
2880
+ importFileLimitSize: 200,
2848
2881
  importAttachCode: '',
2849
- importScriptCode: '',
2850
- onBeforeImport: '',
2851
- enabledImportPreHandle: false,
2882
+ tableRef: '',
2883
+ onConfirmImportEnabled: false,
2884
+ onConfirmImport: '',
2885
+ onSuccessImport: '',
2852
2886
 
2853
2887
  showRuleFlag: 1,
2854
2888
  showRuleEnabled: 1,
@@ -2859,6 +2893,7 @@ export const advancedFields = [
2859
2893
  type: "print-button",
2860
2894
  icon: "button",
2861
2895
  commonFlag: !0,
2896
+ columnFlag: true,
2862
2897
  formItemFlag: !1,
2863
2898
  options: {
2864
2899
  name: "",
@@ -2880,11 +2915,8 @@ export const advancedFields = [
2880
2915
  searchDialogConfig: {
2881
2916
  ...defaultSearchDialogConfig
2882
2917
  },
2883
- wfFlag: 1,
2884
- wfEdit: false,
2885
- enabledByWf: false,
2886
- hiddenByWf: false,
2887
- wfConfigData: [],
2918
+ ...defaultWfConfig,
2919
+ ...defaultWidgetShowRuleConfig,
2888
2920
  printTableRef: "",
2889
2921
  printItems: [],
2890
2922
 
@@ -2896,6 +2928,7 @@ export const advancedFields = [
2896
2928
  {
2897
2929
  type: "baseAttachment",
2898
2930
  icon: "file-upload-field",
2931
+ columnFlag: true,
2899
2932
  formItemFlag: !0,
2900
2933
  tableField: null,
2901
2934
  options: {
@@ -2916,11 +2949,8 @@ export const advancedFields = [
2916
2949
  entityTableDesc: null,
2917
2950
  onCreated: "",
2918
2951
  onMounted: "",
2919
- wfFlag: 1,
2920
- wfEdit: false,
2921
- enabledByWf: false,
2922
- hiddenByWf: false,
2923
- wfConfigData: [],
2952
+ onAfterConfirmFile: "",
2953
+ ...defaultWfConfig,
2924
2954
 
2925
2955
  showRuleFlag: 1,
2926
2956
  showRuleEnabled: 1,
@@ -2931,6 +2961,7 @@ export const advancedFields = [
2931
2961
  type: "status",
2932
2962
  icon: "status",
2933
2963
  commonFlag: !0,
2964
+ columnFlag: true,
2934
2965
  formItemFlag: !0,
2935
2966
  tableField: null,
2936
2967
  options: {
@@ -2949,6 +2980,7 @@ export const advancedFields = [
2949
2980
  statusParam: [],
2950
2981
  onCreated: "",
2951
2982
  onMounted: "",
2983
+ ...defaultWfConfig,
2952
2984
 
2953
2985
  showRuleFlag: 1,
2954
2986
  showRuleEnabled: 1,
@@ -2995,9 +3027,10 @@ export const advancedFields = [
2995
3027
  formScriptEnabled: true,
2996
3028
  formScriptCode: "",
2997
3029
  formScriptParam: null,
3030
+ formScriptSuccess: null,
2998
3031
  onCreated: "",
2999
3032
  onMounted: "",
3000
-
3033
+ ...defaultWfConfig,
3001
3034
  showRuleFlag: 1,
3002
3035
  showRuleEnabled: 1,
3003
3036
  showRules: []
@@ -3006,14 +3039,15 @@ export const advancedFields = [
3006
3039
  {
3007
3040
  type: "project-tag",
3008
3041
  icon: "uploadbox",
3009
- // commonFlag: !0,
3042
+ commonFlag: !0,
3043
+ columnFlag: true,
3010
3044
  formItemFlag: !0,
3011
3045
  tableField: null,
3012
3046
  options: {
3013
3047
  name: "",
3014
3048
  keyNameEnabled: !1,
3015
3049
  keyName: "",
3016
- keyNameSuffix: "",
3050
+ // keyNameSuffix: "",
3017
3051
  label: "",
3018
3052
  submitFlag: true,
3019
3053
  disabled: !1,
@@ -3022,21 +3056,31 @@ export const advancedFields = [
3022
3056
  required: !1,
3023
3057
  labelWidth: null,
3024
3058
  labelHidden: !1,
3025
- onCreated: "if(this.formDataId)this.loadDataDefaultHandle();",
3059
+ onCreated: "if(this.dataId)this.loadDataDefaultHandle();",
3026
3060
  onMounted: "",
3027
- vabUpload: 1,
3061
+ onClick: "",
3062
+ // vabUpload: 1,
3028
3063
  formScriptEnabled: true,
3029
3064
  formScriptCode: "getList",
3030
3065
  formScriptParam: null,
3031
- wfFlag: 1,
3032
- wfEdit: false,
3033
- enabledByWf: false,
3034
- hiddenByWf: false,
3035
- wfConfigData: [],
3066
+ formScriptSuccess: null,
3067
+ ...defaultWfConfig,
3036
3068
 
3037
3069
  showRuleFlag: 1,
3038
3070
  showRuleEnabled: 1,
3039
- showRules: []
3071
+ showRules: [],
3072
+
3073
+ tagFormCode: null,
3074
+ tagFormParam: null,
3075
+ tagLabelField: null,
3076
+ tagUniqueField: null,
3077
+ tagFormLabelField: null,
3078
+ tagFormUniqueField: null,
3079
+ tagFillConfig: [],
3080
+ tagConfirmCallback: null,
3081
+ tagDeleteCallback: null,
3082
+ tabDeleteEnabled: false,
3083
+
3040
3084
  }
3041
3085
  },
3042
3086
  {
@@ -3058,9 +3102,10 @@ export const advancedFields = [
3058
3102
  formScriptEnabled: true,
3059
3103
  formScriptCode: "",
3060
3104
  formScriptParam: null,
3105
+ formScriptSuccess: null,
3061
3106
  onCreated: "this.loadDataDefaultHandle()",
3062
3107
  onMounted: "",
3063
-
3108
+ ...defaultWfConfig,
3064
3109
  showRuleFlag: 1,
3065
3110
  showRuleEnabled: 1,
3066
3111
  showRules: []