cloud-web-corejs 1.0.54-dev.22 → 1.0.54-dev.221

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 (253) hide show
  1. package/package.json +6 -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 +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 +3 -2
  13. package/src/components/excelImport/mixins.js +1 -1
  14. package/src/components/fileLibrary/fileObjAuthDialog.vue +1 -1
  15. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +7 -1
  16. package/src/components/fileLibrary/fileObjNotifyEdit.vue +90 -68
  17. package/src/components/fileLibrary/filterDialog.vue +383 -0
  18. package/src/components/fileLibrary/index.vue +23 -24
  19. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  20. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  21. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  22. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +337 -207
  23. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +33 -26
  24. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
  25. package/src/components/fileLibrary/mixins/indexMixins.js +77 -27
  26. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
  27. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
  28. package/src/components/fileLibrary/propertiesDialog.vue +18 -0
  29. package/src/components/fileLibrary/shareDialog.vue +1 -1
  30. package/src/components/jsonImport/index.js +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/util/index.js +328 -0
  39. package/src/components/table/vxeFilter/mixin.js +1 -1
  40. package/src/components/vb-tabs/x-tabs.vue +3 -2
  41. package/src/components/wf/content.vue +2 -0
  42. package/src/components/wf/setCandidateDialog.vue +1 -0
  43. package/src/components/wf/wf.js +3 -1
  44. package/src/components/wf/wfStartDialog.vue +1 -1
  45. package/src/components/wf/wfUtil.js +1 -1
  46. package/src/components/xform/form-designer/designer.js +1 -1
  47. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +2 -1
  48. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +16 -4
  49. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
  50. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +37 -6
  51. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
  52. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +26 -7
  53. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
  54. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  55. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +14 -6
  56. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
  57. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
  58. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
  59. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  60. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  61. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  62. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +21 -16
  63. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +200 -6
  64. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +6 -8
  65. package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +81 -0
  66. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
  67. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
  68. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
  69. package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +176 -0
  70. package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
  71. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
  72. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +70 -3
  73. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +13 -5
  74. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
  75. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +13 -3
  76. package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
  77. package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +3 -2
  78. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
  79. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
  80. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
  81. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +2 -170
  82. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +88 -8
  83. package/src/components/xform/form-designer/indexMixin.js +1 -1
  84. package/src/components/xform/form-designer/setting-panel/form-setting.vue +312 -56
  85. package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
  86. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  87. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +8 -3
  88. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +1 -1
  89. package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
  90. package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
  91. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  92. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +126 -0
  93. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1077 -1042
  94. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  95. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1043 -496
  96. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
  97. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
  98. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
  99. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
  100. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
  101. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  102. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  103. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  104. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +48 -5
  105. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  106. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
  107. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
  108. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  109. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  110. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  111. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +26 -10
  112. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +86 -0
  113. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  114. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +47 -28
  115. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  116. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
  117. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +30 -1
  118. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +46 -4
  119. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
  120. package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
  121. package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
  122. package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  123. package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  124. package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
  125. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +318 -0
  126. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +22 -18
  127. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  128. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +216 -17
  129. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +216 -29
  130. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +220 -0
  131. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +11 -0
  132. package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
  133. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  134. package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
  135. package/src/components/xform/form-designer/widget-panel/indexMixin.js +3 -2
  136. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +747 -355
  137. package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -1
  138. package/src/components/xform/form-render/container-item/data-table-item.vue +45 -15
  139. package/src/components/xform/form-render/container-item/data-table-mixin.js +2361 -18
  140. package/src/components/xform/form-render/container-item/data-table-mixin2.js +2169 -0
  141. package/src/components/xform/form-render/container-item/detail-pane-item.vue +15 -2
  142. package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
  143. package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
  144. package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
  145. package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
  146. package/src/components/xform/form-render/container-item/tab-item.vue +11 -6
  147. package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
  148. package/src/components/xform/form-render/container-item/table-item.vue +4 -2
  149. package/src/components/xform/form-render/indexMixin.js +2429 -3
  150. package/src/components/xform/lang/zh-CN.js +14 -3
  151. package/src/components/xform/mixins/defaultHandle.js +1 -1
  152. package/src/components/xform/mixins/scriptHttp.js +182 -1
  153. package/src/components/xform/utils/emitter.js +4 -4
  154. package/src/components/xform/utils/format.js +21 -30
  155. package/src/components/xform/utils/formula-util.js +669 -0
  156. package/src/components/xform/utils/util.js +1 -1
  157. package/src/layout/components/AppMain.vue +5 -1
  158. package/src/layout/components/Sidebar/default.vue +50 -6
  159. package/src/layout/components/TagsView/index.vue +0 -1
  160. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  161. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  162. package/src/layout/components/extractedCode/viewDialog.vue +192 -0
  163. package/src/layout/components/watermark/index.vue +83 -0
  164. package/src/mixins/selectDialog/index.js +1 -1
  165. package/src/mixins/tableTree/index.js +1 -1
  166. package/src/router/modules/customer.js +15 -0
  167. package/src/store/config/index.js +760 -1
  168. package/src/store/modules/permission.js +1 -1
  169. package/src/store/modules/settings.js +1 -1
  170. package/src/store/modules/user.js +1 -1
  171. package/src/utils/index.js +4 -2
  172. package/src/utils/pddLog.js +103 -0
  173. package/src/utils/request.js +28 -28
  174. package/src/utils/vab.js +19 -27
  175. package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
  176. package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
  177. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
  178. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
  179. package/src/views/bd/setting/form_import_log/edit.vue +127 -0
  180. package/src/views/bd/setting/form_import_log/list.vue +205 -0
  181. package/src/views/bd/setting/form_script/edit1.vue +14 -3
  182. package/src/views/bd/setting/form_script/form_list.vue +1 -1
  183. package/src/views/bd/setting/form_script/mixins/edit.js +3 -1
  184. package/src/views/bd/setting/form_script/mixins/edit1.js +1 -1
  185. package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
  186. package/src/views/bd/setting/form_script/mixins/list.js +212 -1
  187. package/src/views/bd/setting/form_script/mixins/list1.js +381 -14
  188. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  189. package/src/views/bd/setting/form_template/edit.vue +9 -1
  190. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  191. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
  192. package/src/views/bd/setting/form_template/mixins/edit.js +1 -1
  193. package/src/views/bd/setting/form_template/mixins/list.js +645 -22
  194. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
  195. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  196. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
  197. package/src/views/bd/setting/menu_kind/list.vue +4 -0
  198. package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
  199. package/src/views/bd/setting/table_model/edit.vue +834 -426
  200. package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
  201. package/src/views/bd/setting/table_model/mixins/edit.js +12 -13
  202. package/src/views/bd/setting/table_model/mixins/list.js +399 -14
  203. package/src/views/user/area/dialog.vue +21 -9
  204. package/src/views/user/bill_setting/edit.vue +1 -1
  205. package/src/views/user/bill_setting/list.vue +1 -1
  206. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  207. package/src/views/user/common_attribute/list.vue +1 -1
  208. package/src/views/user/common_script/edit.vue +1 -1
  209. package/src/views/user/common_script/list.vue +1 -1
  210. package/src/views/user/company_info/dialog.vue +164 -154
  211. package/src/views/user/company_info/edit.vue +1 -1
  212. package/src/views/user/extend_datasource/dialog.vue +1 -0
  213. package/src/views/user/extend_datasource/edit.vue +3 -0
  214. package/src/views/user/extend_datasource/list.vue +2 -1
  215. package/src/views/user/file_type/edit.vue +30 -1
  216. package/src/views/user/file_type/list.vue +28 -0
  217. package/src/views/user/form/vform/designer.vue +775 -749
  218. package/src/views/user/form/view/list.vue +27 -9
  219. package/src/views/user/groups/edit.vue +2 -0
  220. package/src/views/user/groups/list.vue +1 -0
  221. package/src/views/user/home/default.vue +1022 -979
  222. package/src/views/user/home/dev.vue +29 -0
  223. package/src/views/user/home/index.vue +16 -6
  224. package/src/views/user/login/default.vue +36 -5
  225. package/src/views/user/login/indexMixin.js +117 -3
  226. package/src/views/user/notify_message/dialog.vue +1 -1
  227. package/src/views/user/notify_template/edit.vue +188 -187
  228. package/src/views/user/notify_template/edit2.vue +176 -0
  229. package/src/views/user/notify_template/list.vue +4 -1
  230. package/src/views/user/notify_template/list2.vue +190 -0
  231. package/src/views/user/outLink/form_view.vue +39 -12
  232. package/src/views/user/outLink/index.vue +17 -0
  233. package/src/views/user/outLink/view.vue +39 -13
  234. package/src/views/user/position/list.vue +4 -4
  235. package/src/views/user/project_tag/list.vue +9 -4
  236. package/src/views/user/push_setting/list.vue +2 -2
  237. package/src/views/user/request_setting/edit.vue +252 -0
  238. package/src/views/user/request_setting/list.vue +249 -0
  239. package/src/views/user/role/dialog.vue +1 -1
  240. package/src/views/user/role/list.vue +4 -4
  241. package/src/views/user/sale_org/dialog.vue +1 -1
  242. package/src/views/user/sale_org/list.vue +4 -1
  243. package/src/views/user/user/dialog.vue +1 -1
  244. package/src/views/user/user/edit.vue +39 -19
  245. package/src/views/user/user/form_edit.vue +63 -2
  246. package/src/views/user/user/form_info.vue +210 -0
  247. package/src/views/user/user/form_list.vue +1 -0
  248. package/src/views/user/user/list.vue +4 -11
  249. package/src/views/user/wf/wf_manage/list.vue +1 -1
  250. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  251. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  252. package/src/views/user/wf/wf_obj_config/list.vue +94 -8
  253. 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
  /* {
@@ -205,6 +211,14 @@ export const containers = [
205
211
  pageSize: 20,
206
212
  total: 366
207
213
  },
214
+ gridPageSize: 100,
215
+ gridPageSizeList: [
216
+ {value: 50},
217
+ {value: 100},
218
+ {value: 200},
219
+ {value: 500}
220
+ ],
221
+
208
222
  dsEnabled: !1,
209
223
  dsName: "",
210
224
  tableData: [
@@ -256,10 +270,10 @@ export const containers = [
256
270
  scriptEnabled: false,
257
271
  accessParam: null,
258
272
 
259
- formScriptEnabled: true,
260
- formScriptCode: null,
261
- formScriptParam: null,
262
- formScriptCallback: null,
273
+ accessFormCode: null,
274
+
275
+ ...httpConfig,
276
+
263
277
  /*isLoadDataByAccess: false,
264
278
  scriptEnabled: false,
265
279
  scriptName: null,
@@ -277,9 +291,11 @@ export const containers = [
277
291
  sortScriptCode: null,
278
292
  importTemplateFile: null,
279
293
 
294
+ ...defaultWfConfig,
280
295
  showRuleFlag: 1,
281
296
  showRuleEnabled: 1,
282
297
  showRules: [],
298
+ hideGridCheckBox: false
283
299
  }
284
300
  },
285
301
  /*{
@@ -748,7 +764,6 @@ export const containers = [
748
764
  }
749
765
  ]
750
766
 
751
-
752
767
  export const defaultSearchDialogConfig = {
753
768
  formCode: null,
754
769
  tableEnabled: false,
@@ -757,14 +772,149 @@ export const defaultSearchDialogConfig = {
757
772
  tableRef: null,
758
773
  tableUniqueKey: null,
759
774
  tableData: [],
760
- multipleChoices: true
775
+ multipleChoices: true,
776
+ confirmCallback: null,
777
+ dialogQueryParam: null
778
+ }
779
+
780
+ export const defaultWfConfig = {
781
+ wfFlag: 1,
782
+ wfEdit: false,
783
+ enabledByWf: false,
784
+ hiddenByWf: false,
785
+ wfConfigData: [],
786
+ wfModifyDataEnabled: false,
787
+ wfModifyDataConfig: [],
761
788
  }
762
789
 
790
+ export const defaultTextFlagConfig = {
791
+ widgetTextFlag: null,
792
+ textFlag: 1,
793
+ showTextEnabled: false,
794
+ showEncryptTextEnabled: false,
795
+ userTextRuleEnabled: false,
796
+ userTextRuleConfig: [],
797
+ textRule1: true,
798
+ textRule2: false,
799
+ textRule2Number: null,
800
+ textRule3: false,
801
+ textRule3Number: null,
802
+ widgetTextLinkConfig: null
803
+ }
804
+
805
+ export const defaultWidgetShowRuleConfig = {
806
+ widgetShowRuleFlag: 1,
807
+ widgetShowRuleEnabled: false,
808
+ widgetShowRuleConfig: [],
809
+ }
810
+
811
+ const vabsearchConfig = {
812
+ name: "",
813
+ keyNameEnabled: !1,
814
+ keyName: "",
815
+ vabSearchName: "",
816
+ userDefaultVabSearch: false,
817
+ saleOrgDefaultVabSearch: false,
818
+ label: "",
819
+ submitFlag: true,
820
+ disabled: !1,
821
+ hidden: !1,
822
+ required: !1,
823
+ labelWidth: null,
824
+ labelHidden: !1,
825
+ readonly: true,
826
+ /*formCode: null,
827
+ formName: null,
828
+ formVersion: null,
829
+ showFormField: null,*/
830
+ /* gridConfig: {
831
+ tableColumns: [],
832
+ searchFields: [],
833
+ searchParams: ""
834
+ },*/
835
+ // vabSearchField: null,
836
+ vabsearchFlag: 1,
837
+ onSearchClear: "",
838
+ dialogModel: '1',
839
+ systemDialogUrl: null,
840
+ accessType: "1",
841
+ onCreated: "",
842
+ onMounted: "",
843
+ onChange: "",
844
+ onAppendButtonClick: "",
845
+ clickBindEvent: '1',
846
+ searchDialogConfig: {
847
+ ...defaultSearchDialogConfig,
848
+ multipleChoices: false
849
+ },
850
+ ...defaultWfConfig,
851
+ valueField: null,
852
+ multipleChoices: false,
853
+
854
+ showRuleFlag: 1,
855
+ showRuleEnabled: 1,
856
+ showRules: []
857
+ }
858
+
859
+ const projectTagConfig = {
860
+ name: "",
861
+ keyNameEnabled: !1,
862
+ keyName: "",
863
+ // keyNameSuffix: "",
864
+ label: "",
865
+ submitFlag: true,
866
+ disabled: !1,
867
+ readonly: false,
868
+ hidden: !1,
869
+ required: !1,
870
+ labelWidth: null,
871
+ labelHidden: !1,
872
+ onCreated: "if(this.dataId)this.loadDataDefaultHandle();",
873
+ onMounted: "",
874
+ onClick: "",
875
+ // vabUpload: 1,
876
+
877
+ ...httpConfig,
878
+ formScriptCode: "getList",
879
+
880
+ ...defaultWfConfig,
881
+
882
+ showRuleFlag: 1,
883
+ showRuleEnabled: 1,
884
+ showRules: [],
885
+
886
+ tagFormCode: null,
887
+ tagFormParam: null,
888
+ tagLabelField: null,
889
+ tagUniqueField: null,
890
+ tagFormLabelField: null,
891
+ tagFormUniqueField: null,
892
+ tagFillConfig: [],
893
+ tagConfirmCallback: null,
894
+ tagDeleteCallback: null,
895
+ tabDeleteEnabled: true,
896
+
897
+ }
898
+
899
+ const httpConfig = {
900
+ httpFormCode: null,
901
+ formScriptEnabled: true,
902
+ formScriptCode: null,
903
+ formScriptParam: null,
904
+ formScriptSuccess: null,
905
+ formScriptCallback: null,
906
+ }
907
+
908
+ export const hiddenWidgetTypesOfWf = ["button", "search_button", "table-export-button", "add_button", "import-button", "import2-button", "print-button"];
909
+ export const freeWidgetTypesOfWf = ["reset_button", "a-link", "a-text"];
910
+
763
911
  export const basicFields = [
764
912
  {
765
913
  type: "input",
766
914
  icon: "text-field",
915
+ commonFlag: !0,
767
916
  formItemFlag: !0,
917
+ columnFlag: true,
768
918
  tableField: null,
769
919
  options: {
770
920
  name: "",
@@ -813,27 +963,21 @@ export const basicFields = [
813
963
  onAppendButtonClick: "",
814
964
  widgetWidth: "",
815
965
  accessType: "1",
816
- wfFlag: 1,
817
- wfEdit: false,
818
- enabledByWf: false,
819
- hiddenByWf: false,
820
- wfConfigData: [],
966
+ ...defaultWfConfig,
821
967
 
822
968
  showRuleFlag: 1,
823
969
  showRuleEnabled: 1,
824
970
  showRules: [],
825
- textFlag: 1,
826
- textRule1: false,
827
- textRule2: false,
828
- textRule3: false,
829
- textRule2Number: null,
830
- textRule3Number: null
971
+
972
+ ...defaultTextFlagConfig
831
973
  }
832
974
  },
833
975
  {
834
976
  type: "input-batch",
835
977
  icon: "input-batch",
978
+ commonFlag: !0,
836
979
  formItemFlag: !0,
980
+ columnFlag: true,
837
981
  tableField: null,
838
982
  options: {
839
983
  name: "",
@@ -881,28 +1025,21 @@ export const basicFields = [
881
1025
  onAppendButtonClick: "",
882
1026
  widgetWidth: "",
883
1027
  accessType: "1",
884
- wfFlag: 1,
885
- wfEdit: false,
886
- enabledByWf: false,
887
- hiddenByWf: false,
888
- wfConfigData: [],
1028
+ ...defaultWfConfig,
889
1029
 
890
1030
  showRuleFlag: 1,
891
1031
  showRuleEnabled: 1,
892
1032
  showRules: [],
893
- textFlag: 1,
894
- textRule1: false,
895
- textRule2: false,
896
- textRule3: false,
897
- textRule2Number: null,
898
- textRule3Number: null
1033
+
899
1034
 
900
1035
  }
901
1036
  },
902
1037
  {
903
1038
  type: "textarea",
904
1039
  icon: "textarea-field",
1040
+ commonFlag: !0,
905
1041
  formItemFlag: !0,
1042
+ columnFlag: true,
906
1043
  tableField: null,
907
1044
  options: {
908
1045
  name: "",
@@ -941,27 +1078,21 @@ export const basicFields = [
941
1078
  onBlur: "",
942
1079
  onValidate: "",
943
1080
  accessType: "1",
944
- wfFlag: 1,
945
- wfEdit: false,
946
- enabledByWf: false,
947
- hiddenByWf: false,
948
- wfConfigData: [],
1081
+ ...defaultWfConfig,
949
1082
 
950
1083
  showRuleFlag: 1,
951
1084
  showRuleEnabled: 1,
952
1085
  showRules: [],
953
- textFlag: 1,
954
- textRule1: false,
955
- textRule2: false,
956
- textRule3: false,
957
- textRule2Number: null,
958
- textRule3Number: null
1086
+
1087
+ ...defaultTextFlagConfig
959
1088
  }
960
1089
  },
961
1090
  {
962
1091
  type: "number",
963
1092
  icon: "number-field",
1093
+ commonFlag: !0,
964
1094
  formItemFlag: !0,
1095
+ columnFlag: true,
965
1096
  tableField: null,
966
1097
  options: {
967
1098
  name: "",
@@ -984,8 +1115,8 @@ export const basicFields = [
984
1115
  requiredHint: "",
985
1116
  validation: "",
986
1117
  validationHint: "",
987
- // formulaEnabled: !1,
988
- // formula: "",
1118
+ formulaEnabled: !1,
1119
+ formula: "",
989
1120
  customClass: "",
990
1121
  labelIconClass: null,
991
1122
  labelIconPosition: "rear",
@@ -1002,28 +1133,22 @@ export const basicFields = [
1002
1133
  onBlur: "",
1003
1134
  onValidate: "",
1004
1135
  accessType: "1",
1005
- wfFlag: 1,
1006
- wfEdit: false,
1007
- enabledByWf: false,
1008
- hiddenByWf: false,
1009
- wfConfigData: [],
1136
+ ...defaultWfConfig,
1010
1137
 
1011
1138
  showRuleFlag: 1,
1012
1139
  showRuleEnabled: 1,
1013
1140
  showRules: [],
1014
- textFlag: 1,
1015
- textRule1: false,
1016
- textRule2: false,
1017
- textRule3: false,
1018
- textRule2Number: null,
1019
- textRule3Number: null
1141
+
1142
+ ...defaultTextFlagConfig
1020
1143
 
1021
1144
  }
1022
1145
  },
1023
1146
  {
1024
1147
  type: "radio",
1025
1148
  icon: "radio-field",
1149
+ commonFlag: !0,
1026
1150
  formItemFlag: !0,
1151
+ columnFlag: true,
1027
1152
  tableField: null,
1028
1153
  options: {
1029
1154
  name: "",
@@ -1073,30 +1198,27 @@ export const basicFields = [
1073
1198
  onValidate: "",
1074
1199
  accessType: "1",
1075
1200
 
1201
+ ...httpConfig,
1076
1202
  formScriptEnabled: false,
1077
1203
  formScriptCode: "getList",
1078
- formScriptParam: null,
1079
- wfFlag: 1,
1080
- wfEdit: false,
1081
- enabledByWf: false,
1082
- hiddenByWf: false,
1083
- wfConfigData: [],
1204
+
1205
+ ...defaultWfConfig,
1206
+
1207
+ commonAttributeEnabled: false,
1208
+ commonAttributeCode: "",
1084
1209
 
1085
1210
  showRuleFlag: 1,
1086
1211
  showRuleEnabled: 1,
1087
1212
  showRules: [],
1088
- textFlag: 1,
1089
- textRule1: false,
1090
- textRule2: false,
1091
- textRule3: false,
1092
- textRule2Number: null,
1093
- textRule3Number: null
1213
+
1094
1214
  }
1095
1215
  },
1096
1216
  {
1097
1217
  type: "checkbox",
1098
1218
  icon: "checkbox-field",
1219
+ commonFlag: !0,
1099
1220
  formItemFlag: !0,
1221
+ columnFlag: true,
1100
1222
  tableField: null,
1101
1223
  options: {
1102
1224
  name: "",
@@ -1146,31 +1268,28 @@ export const basicFields = [
1146
1268
  onValidate: "",
1147
1269
  accessType: "1",
1148
1270
 
1271
+ ...httpConfig,
1149
1272
  formScriptEnabled: false,
1150
1273
  formScriptCode: "getList",
1151
- formScriptParam: null,
1152
- wfFlag: 1,
1153
- wfEdit: false,
1154
- enabledByWf: false,
1155
- hiddenByWf: false,
1156
- wfConfigData: [],
1274
+
1275
+ ...defaultWfConfig,
1276
+
1277
+ commonAttributeEnabled: false,
1278
+ commonAttributeCode: "",
1157
1279
 
1158
1280
  showRuleFlag: 1,
1159
1281
  showRuleEnabled: 1,
1160
1282
  showRules: [],
1161
- textFlag: 1,
1162
- textRule1: false,
1163
- textRule2: false,
1164
- textRule3: false,
1165
- textRule2Number: null,
1166
- textRule3Number: null
1283
+
1167
1284
 
1168
1285
  }
1169
1286
  },
1170
1287
  {
1171
1288
  type: "select",
1172
1289
  icon: "select-field",
1290
+ commonFlag: !0,
1173
1291
  formItemFlag: !0,
1292
+ columnFlag: true,
1174
1293
  tableField: null,
1175
1294
  options: {
1176
1295
  name: "",
@@ -1230,30 +1349,29 @@ export const basicFields = [
1230
1349
  onValidate: "",
1231
1350
  widgetWidth: "",
1232
1351
  accessType: "1",
1352
+
1353
+ ...httpConfig,
1233
1354
  formScriptEnabled: false,
1234
1355
  formScriptCode: "getList",
1235
- formScriptParam: null,
1236
- wfFlag: 1,
1237
- wfEdit: false,
1238
- enabledByWf: false,
1239
- hiddenByWf: false,
1240
- wfConfigData: [],
1356
+
1357
+ ...defaultWfConfig,
1358
+
1359
+ commonAttributeEnabled: false,
1360
+ commonAttributeCode: "",
1361
+
1362
+ showCollapseTags: false,
1241
1363
 
1242
1364
  showRuleFlag: 1,
1243
1365
  showRuleEnabled: 1,
1244
1366
  showRules: [],
1245
- textFlag: 1,
1246
- textRule1: false,
1247
- textRule2: false,
1248
- textRule3: false,
1249
- textRule2Number: null,
1250
- textRule3Number: null
1251
1367
  }
1252
1368
  },
1253
1369
  {
1254
1370
  type: "time",
1255
1371
  icon: "time-field",
1372
+ commonFlag: !0,
1256
1373
  formItemFlag: !0,
1374
+ columnFlag: true,
1257
1375
  tableField: null,
1258
1376
  options: {
1259
1377
  name: "",
@@ -1291,28 +1409,22 @@ export const basicFields = [
1291
1409
  onBlur: "",
1292
1410
  onValidate: "",
1293
1411
  accessType: "1",
1294
- wfFlag: 1,
1295
- wfEdit: false,
1296
- enabledByWf: false,
1297
- hiddenByWf: false,
1298
- wfConfigData: [],
1412
+ ...defaultWfConfig,
1299
1413
 
1300
1414
  showRuleFlag: 1,
1301
1415
  showRuleEnabled: 1,
1302
1416
  showRules: [],
1303
- textFlag: 1,
1304
- textRule1: false,
1305
- textRule2: false,
1306
- textRule3: false,
1307
- textRule2Number: null,
1308
- textRule3Number: null
1417
+
1418
+ ...defaultTextFlagConfig
1309
1419
 
1310
1420
  }
1311
1421
  },
1312
1422
  {
1313
1423
  type: "time-range",
1314
1424
  icon: "time-range-field",
1425
+ commonFlag: !0,
1315
1426
  formItemFlag: !0,
1427
+ columnFlag: true,
1316
1428
  tableField: null,
1317
1429
  options: {
1318
1430
  name: "",
@@ -1350,28 +1462,21 @@ export const basicFields = [
1350
1462
  onBlur: "",
1351
1463
  onValidate: "",
1352
1464
  accessType: "1",
1353
- wfFlag: 1,
1354
- wfEdit: false,
1355
- enabledByWf: false,
1356
- hiddenByWf: false,
1357
- wfConfigData: [],
1465
+ ...defaultWfConfig,
1358
1466
 
1359
1467
  showRuleFlag: 1,
1360
1468
  showRuleEnabled: 1,
1361
1469
  showRules: [],
1362
- textFlag: 1,
1363
- textRule1: false,
1364
- textRule2: false,
1365
- textRule3: false,
1366
- textRule2Number: null,
1367
- textRule3Number: null
1470
+
1368
1471
 
1369
1472
  }
1370
1473
  },
1371
1474
  {
1372
1475
  type: "date",
1373
1476
  icon: "date-field",
1477
+ commonFlag: !0,
1374
1478
  formItemFlag: !0,
1479
+ columnFlag: true,
1375
1480
  tableField: null,
1376
1481
  options: {
1377
1482
  name: "",
@@ -1411,28 +1516,22 @@ export const basicFields = [
1411
1516
  onBlur: "",
1412
1517
  onValidate: "",
1413
1518
  accessType: "1",
1414
- wfFlag: 1,
1415
- wfEdit: false,
1416
- enabledByWf: false,
1417
- hiddenByWf: false,
1418
- wfConfigData: [],
1519
+ ...defaultWfConfig,
1419
1520
 
1420
1521
  showRuleFlag: 1,
1421
1522
  showRuleEnabled: 1,
1422
1523
  showRules: [],
1423
- textFlag: 1,
1424
- textRule1: false,
1425
- textRule2: false,
1426
- textRule3: false,
1427
- textRule2Number: null,
1428
- textRule3Number: null
1524
+
1525
+ ...defaultTextFlagConfig
1429
1526
 
1430
1527
  }
1431
1528
  },
1432
1529
  {
1433
1530
  type: "date-range",
1434
1531
  icon: "date-range-field",
1532
+ commonFlag: !0,
1435
1533
  formItemFlag: !0,
1534
+ columnFlag: true,
1436
1535
  tableField: null,
1437
1536
  options: {
1438
1537
  name: "",
@@ -1457,6 +1556,7 @@ export const basicFields = [
1457
1556
  editable: !1,
1458
1557
  format: "yyyy-MM-dd",
1459
1558
  valueFormat: "yyyy-MM-dd",
1559
+ defaultTime: ['00:00:00', '23:59:59'],
1460
1560
  required: !1,
1461
1561
  requiredHint: "",
1462
1562
  validation: "",
@@ -1472,21 +1572,11 @@ export const basicFields = [
1472
1572
  onBlur: "",
1473
1573
  onValidate: "",
1474
1574
  accessType: "1",
1475
- wfFlag: 1,
1476
- wfEdit: false,
1477
- enabledByWf: false,
1478
- hiddenByWf: false,
1479
- wfConfigData: [],
1575
+ ...defaultWfConfig,
1480
1576
 
1481
1577
  showRuleFlag: 1,
1482
1578
  showRuleEnabled: 1,
1483
1579
  showRules: [],
1484
- textFlag: 1,
1485
- textRule1: false,
1486
- textRule2: false,
1487
- textRule3: false,
1488
- textRule2Number: null,
1489
- textRule3Number: null
1490
1580
 
1491
1581
  }
1492
1582
  },
@@ -1617,7 +1707,9 @@ export const basicFields = [
1617
1707
  {
1618
1708
  type: "static-text",
1619
1709
  icon: "static-text",
1710
+ commonFlag: !0,
1620
1711
  formItemFlag: !1,
1712
+ columnFlag: true,
1621
1713
  options: {
1622
1714
  name: "",
1623
1715
  columnWidth: "200px",
@@ -1628,23 +1720,22 @@ export const basicFields = [
1628
1720
  onCreated: "",
1629
1721
  onMounted: "",
1630
1722
  accessType: "1",
1723
+ ...defaultWfConfig,
1631
1724
 
1632
1725
  showRuleFlag: 1,
1633
1726
  showRuleEnabled: 1,
1634
1727
  showRules: [],
1635
- textFlag: 1,
1636
- textRule1: false,
1637
- textRule2: false,
1638
- textRule3: false,
1639
- textRule2Number: null,
1640
- textRule3Number: null
1728
+
1729
+ ...defaultTextFlagConfig
1641
1730
 
1642
1731
  }
1643
1732
  },
1644
1733
  {
1645
1734
  type: "html-text",
1646
1735
  icon: "html-text",
1736
+ commonFlag: !0,
1647
1737
  formItemFlag: !1,
1738
+ columnFlag: true,
1648
1739
  options: {
1649
1740
  name: "",
1650
1741
  columnWidth: "200px",
@@ -1654,16 +1745,11 @@ export const basicFields = [
1654
1745
  onCreated: "",
1655
1746
  onMounted: "",
1656
1747
  accessType: "1",
1748
+ ...defaultWfConfig,
1657
1749
 
1658
1750
  showRuleFlag: 1,
1659
1751
  showRuleEnabled: 1,
1660
1752
  showRules: [],
1661
- textFlag: 1,
1662
- textRule1: false,
1663
- textRule2: false,
1664
- textRule3: false,
1665
- textRule2Number: null,
1666
- textRule3Number: null
1667
1753
 
1668
1754
  }
1669
1755
  },
@@ -1687,10 +1773,13 @@ export const basicFields = [
1687
1773
  {
1688
1774
  type: "button",
1689
1775
  icon: "button",
1776
+ commonFlag: !0,
1690
1777
  formItemFlag: !1,
1778
+ columnFlag: true,
1691
1779
  options: {
1692
1780
  name: "",
1693
1781
  label: "",
1782
+ wfHideFlag: 1,
1694
1783
  columnWidth: "200px",
1695
1784
  size: "",
1696
1785
  displayStyle: "block",
@@ -1714,27 +1803,22 @@ export const basicFields = [
1714
1803
  tableRef: null,
1715
1804
  tableData: {}
1716
1805
  },
1717
- wfFlag: 1,
1718
- wfEdit: false,
1719
- enabledByWf: false,
1720
- hiddenByWf: false,
1721
- wfConfigData: [],
1806
+ ...defaultWfConfig,
1807
+ hiddenByWf: true,
1808
+ ...defaultWidgetShowRuleConfig,
1722
1809
 
1723
1810
  showRuleFlag: 1,
1724
1811
  showRuleEnabled: 1,
1725
1812
  showRules: [],
1726
- textFlag: 1,
1727
- textRule1: false,
1728
- textRule2: false,
1729
- textRule3: false,
1730
- textRule2Number: null,
1731
- textRule3Number: null
1813
+
1732
1814
  }
1733
1815
  },
1734
1816
  {
1735
1817
  type: "divider",
1736
1818
  icon: "divider",
1819
+ commonFlag: !0,
1737
1820
  formItemFlag: !1,
1821
+ columnFlag: true,
1738
1822
  options: {
1739
1823
  name: "",
1740
1824
  label: "",
@@ -1743,6 +1827,7 @@ export const basicFields = [
1743
1827
  contentPosition: "center",
1744
1828
  hidden: !1,
1745
1829
  customClass: "",
1830
+ ...defaultWfConfig,
1746
1831
  onCreated: "",
1747
1832
  onMounted: ""
1748
1833
  }
@@ -1804,7 +1889,9 @@ export const basicFields = [
1804
1889
  {
1805
1890
  type: "text",
1806
1891
  icon: "text",
1892
+ commonFlag: !0,
1807
1893
  formItemFlag: !0,
1894
+ columnFlag: true,
1808
1895
  tableField: null,
1809
1896
  options: {
1810
1897
  name: "",
@@ -1824,28 +1911,31 @@ export const basicFields = [
1824
1911
  onMounted: "",
1825
1912
  accessType: "1",
1826
1913
  labelColor: '#555555',
1914
+ ...defaultWfConfig,
1915
+
1916
+ autoValueEnabled: false,
1917
+ autoValueHanlde: null,
1827
1918
 
1828
1919
  showRuleFlag: 1,
1829
1920
  showRuleEnabled: 1,
1830
1921
  showRules: [],
1831
- textFlag: 1,
1832
- textRule1: false,
1833
- textRule2: false,
1834
- textRule3: false,
1835
- textRule2Number: null,
1836
- textRule3Number: null
1922
+
1923
+ ...defaultTextFlagConfig
1837
1924
  }
1838
1925
  },
1839
1926
  {
1840
1927
  type: "a-text",
1841
1928
  icon: "text-field",
1929
+ commonFlag: !0,
1842
1930
  formItemFlag: !0,
1931
+ columnFlag: true,
1843
1932
  tableField: null,
1844
1933
  options: {
1845
1934
  name: "",
1846
1935
  keyNameEnabled: !1,
1847
1936
  keyName: "",
1848
1937
  label: "",
1938
+ displayStyle: "block",
1849
1939
  submitFlag: true,
1850
1940
  /**showText: false,*/
1851
1941
  formField: "",
@@ -1872,42 +1962,39 @@ export const basicFields = [
1872
1962
  onChange: "",
1873
1963
  onClick: "",
1874
1964
  accessType: "1",
1875
- wfFlag: 1,
1876
- wfEdit: false,
1877
- enabledByWf: false,
1878
- hiddenByWf: false,
1879
- wfConfigData: [],
1965
+ ...defaultWfConfig,
1966
+ ...defaultWidgetShowRuleConfig,
1880
1967
 
1881
1968
  showRuleFlag: 1,
1882
1969
  showRuleEnabled: 1,
1883
1970
  showRules: [],
1884
- textFlag: 1,
1885
- textRule1: false,
1886
- textRule2: false,
1887
- textRule3: false,
1888
- textRule2Number: null,
1889
- textRule3Number: null
1971
+
1972
+ ...defaultTextFlagConfig
1890
1973
  }
1891
1974
  },
1892
1975
  {
1893
1976
  type: "a-link",
1894
1977
  icon: "button",
1978
+ commonFlag: !0,
1895
1979
  formItemFlag: !1,
1980
+ columnFlag: true,
1896
1981
  options: {
1897
1982
  name: "",
1898
1983
  keyNameEnabled: !1,
1899
1984
  keyName: "",
1900
1985
  label: "",
1986
+ displayStyle: "block",
1901
1987
  labelHidden: !1,
1902
1988
  disabled: !1,
1903
1989
  hidden: !1,
1904
1990
  prefixIcon: "",
1905
1991
  suffixIcon: "",
1906
1992
  customClass: "",
1993
+ wfHideFlag: 1,
1907
1994
  aLinkFlag: 1,
1908
1995
  underline: false,
1909
1996
  href: "",
1910
- coloClass: "f-red",
1997
+ coloClass: "f-blue",
1911
1998
  isFormLabel: false,
1912
1999
  onCreated: "",
1913
2000
  onMounted: "",
@@ -1920,21 +2007,40 @@ export const basicFields = [
1920
2007
  tableRef: null,
1921
2008
  tableData: {}
1922
2009
  },
1923
- wfFlag: 1,
1924
- wfEdit: false,
1925
- enabledByWf: false,
1926
- hiddenByWf: false,
1927
- wfConfigData: [],
2010
+ ...defaultWfConfig,
2011
+ ...defaultWidgetShowRuleConfig,
1928
2012
 
1929
2013
  showRuleFlag: 1,
1930
2014
  showRuleEnabled: 1,
1931
2015
  showRules: [],
1932
- textFlag: 1,
1933
- textRule1: false,
1934
- textRule2: false,
1935
- textRule3: false,
1936
- textRule2Number: null,
1937
- textRule3Number: null
2016
+
2017
+ ...defaultTextFlagConfig
2018
+ }
2019
+ },
2020
+ {
2021
+ type: "a-link2",
2022
+ icon: "button",
2023
+ commonFlag: !1,
2024
+ formItemFlag: !1,
2025
+ columnFlag: false,
2026
+ options: {
2027
+ prefixIcon: "",
2028
+ suffixIcon: "",
2029
+ customClass: "",
2030
+ aLinkFlag: 1,
2031
+ underline: false,
2032
+ href: "",
2033
+ coloClass: "f-blue",
2034
+
2035
+ onClick: "",
2036
+ clickBindEvent: null,
2037
+ searchDialogConfig: {
2038
+ ...defaultSearchDialogConfig
2039
+ },
2040
+ addTableDataConfig: {
2041
+ tableRef: null,
2042
+ tableData: {}
2043
+ },
1938
2044
  }
1939
2045
  },
1940
2046
 
@@ -1998,10 +2104,11 @@ export const advancedFields = [
1998
2104
  color: "",
1999
2105
  fontWeight: "normal"
2000
2106
  },
2001
- data: [{
2002
- value: 1048,
2003
- name: 'Search Engine'
2004
- },
2107
+ data: [
2108
+ {
2109
+ value: 1048,
2110
+ name: 'Search Engine'
2111
+ },
2005
2112
  {
2006
2113
  value: 735,
2007
2114
  name: 'Direct'
@@ -2021,12 +2128,15 @@ export const advancedFields = [
2021
2128
  ],
2022
2129
  }]
2023
2130
  },
2024
- formScriptEnabled: true,
2025
- formScriptCode: "",
2026
- formScriptParam: null,
2131
+ echartConfig: '',
2132
+
2133
+ ...httpConfig,
2134
+
2135
+ onClick: "",
2027
2136
  onCreated: "",
2028
2137
  onMounted: "this.loadDataDefaultHandle()",
2029
2138
 
2139
+ ...defaultWfConfig,
2030
2140
  showRuleFlag: 1,
2031
2141
  showRuleEnabled: 1,
2032
2142
  showRules: []
@@ -2044,6 +2154,7 @@ export const advancedFields = [
2044
2154
  echarBarOption: {
2045
2155
  backgroundColor: "#fff",
2046
2156
  color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2157
+ colors: [],
2047
2158
  title: {
2048
2159
  show: true,
2049
2160
  top: '5px',
@@ -2190,12 +2301,14 @@ export const advancedFields = [
2190
2301
 
2191
2302
  }]
2192
2303
  },
2193
- formScriptEnabled: true,
2194
- formScriptCode: "",
2195
- formScriptParam: null,
2304
+ echartConfig: '',
2305
+
2306
+ ...httpConfig,
2307
+
2308
+ onClick: "",
2196
2309
  onCreated: "",
2197
2310
  onMounted: "this.loadDataDefaultHandle()",
2198
-
2311
+ ...defaultWfConfig,
2199
2312
  showRuleFlag: 1,
2200
2313
  showRuleEnabled: 1,
2201
2314
  showRules: []
@@ -2214,6 +2327,7 @@ export const advancedFields = [
2214
2327
  echarCategoryOption: {
2215
2328
  backgroundColor: "#fff",
2216
2329
  color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2330
+ colors: [],
2217
2331
  title: {
2218
2332
  show: true,
2219
2333
  top: '5px',
@@ -2324,6 +2438,23 @@ export const advancedFields = [
2324
2438
  shadowBlur: 4,
2325
2439
  shadowOffsetY: 6
2326
2440
  },
2441
+ itemStyle: {
2442
+ color: {
2443
+ type: 'linear',
2444
+ x: 0.5,
2445
+ y: 0.5,
2446
+ r: 0.5,
2447
+ colorStops: [{
2448
+ offset: 0, color: '#08C084' // 0% 处的颜色
2449
+ }, {
2450
+ offset: 1, color: '#97EACE' // 100% 处的颜色
2451
+ }],
2452
+ },
2453
+ cap: 'round',
2454
+ shadowColor: '#08C08450',
2455
+ shadowBlur: 4,
2456
+ shadowOffsetY: 6
2457
+ },
2327
2458
  emphasis: {
2328
2459
  scale: 1,
2329
2460
  focus: 'series'
@@ -2358,6 +2489,23 @@ export const advancedFields = [
2358
2489
  shadowBlur: 4,
2359
2490
  shadowOffsetY: 6
2360
2491
  },
2492
+ itemStyle: {
2493
+ color: {
2494
+ type: 'linear',
2495
+ x: 0.5,
2496
+ y: 0.5,
2497
+ r: 0.5,
2498
+ colorStops: [{
2499
+ offset: 0, color: '#FF6116' // 0% 处的颜色
2500
+ }, {
2501
+ offset: 1, color: '#F9A980' // 100% 处的颜色
2502
+ }],
2503
+ },
2504
+ cap: 'round',
2505
+ shadowColor: '#FF611650',
2506
+ shadowBlur: 4,
2507
+ shadowOffsetY: 6
2508
+ },
2361
2509
  emphasis: {
2362
2510
  scale: 1,
2363
2511
  focus: 'series'
@@ -2367,12 +2515,14 @@ export const advancedFields = [
2367
2515
  }]
2368
2516
 
2369
2517
  },
2370
- formScriptEnabled: true,
2371
- formScriptCode: "",
2372
- formScriptParam: null,
2518
+ echartConfig: '',
2519
+
2520
+ ...httpConfig,
2521
+
2522
+ onClick: "",
2373
2523
  onCreated: "",
2374
2524
  onMounted: "this.loadDataDefaultHandle()",
2375
-
2525
+ ...defaultWfConfig,
2376
2526
  showRuleFlag: 1,
2377
2527
  showRuleEnabled: 1,
2378
2528
  showRules: []
@@ -2507,81 +2657,64 @@ export const advancedFields = [
2507
2657
  entityTableDesc: null,
2508
2658
  onCreated: "this.loadDataDefaultHandle();",
2509
2659
  onMounted: "",
2660
+ onAfterConfirmFile: "",
2510
2661
  vabUpload: 1,
2511
- formScriptEnabled: true,
2662
+
2663
+ ...httpConfig,
2512
2664
  formScriptCode: "getList",
2513
- formScriptParam: null,
2514
- wfFlag: 1,
2515
- wfEdit: false,
2516
- enabledByWf: false,
2517
- hiddenByWf: false,
2518
- wfConfigData: [],
2665
+
2666
+ ...defaultWfConfig,
2519
2667
 
2520
2668
  showRuleFlag: 1,
2521
2669
  showRuleEnabled: 1,
2522
- showRules: []
2670
+ showRules: [],
2671
+
2672
+ hiddenFileInfo: false,
2673
+ hiddenFileName: false,
2674
+ showFileSize: false,
2675
+ showFileCreateBy: false,
2676
+ showFileCreateDate: false,
2677
+ widgetSize: 2
2523
2678
  }
2524
2679
  },
2525
2680
  {
2526
2681
  type: "vabsearch",
2527
2682
  icon: "searchbox",
2528
2683
  commonFlag: !0,
2684
+ columnFlag: true,
2529
2685
  formItemFlag: !0,
2530
2686
  tableField: null,
2531
2687
  options: {
2532
- name: "",
2533
- keyNameEnabled: !1,
2534
- keyName: "",
2535
- vabSearchName: "",
2536
- label: "",
2537
- submitFlag: true,
2538
- disabled: !1,
2539
- hidden: !1,
2540
- required: !1,
2541
- labelWidth: null,
2542
- labelHidden: !1,
2543
- readonly: true,
2544
- /*formCode: null,
2545
- formName: null,
2546
- formVersion: null,
2547
- showFormField: null,*/
2548
- /* gridConfig: {
2549
- tableColumns: [],
2550
- searchFields: [],
2551
- searchParams: ""
2552
- },*/
2553
- // vabSearchField: null,
2554
- onSearchClear: "",
2555
- dialogModel: '1',
2556
- systemDialogUrl: null,
2557
- accessType: "1",
2558
- onCreated: "",
2559
- onMounted: "",
2560
- onChange: "",
2561
- onAppendButtonClick: "",
2562
- clickBindEvent: '1',
2563
- searchDialogConfig: {
2564
- ...defaultSearchDialogConfig,
2565
- multipleChoices: false
2566
- },
2567
- wfFlag: 1,
2568
- wfEdit: false,
2569
- enabledByWf: false,
2570
- hiddenByWf: false,
2571
- wfConfigData: [],
2572
- valueField: null,
2573
- multipleChoices: false,
2574
-
2575
- showRuleFlag: 1,
2576
- showRuleEnabled: 1,
2577
- showRules: []
2578
-
2688
+ ...vabsearchConfig
2689
+ }
2690
+ },
2691
+ {
2692
+ type: "singerSearch",
2693
+ icon: "searchbox",
2694
+ // commonFlag: !0,
2695
+ // columnFlag: true,
2696
+ formItemFlag: !0,
2697
+ tableField: null,
2698
+ options: {
2699
+ ...vabsearchConfig
2700
+ }
2701
+ },
2702
+ {
2703
+ type: "multiSearch",
2704
+ icon: "searchbox",
2705
+ // commonFlag: !0,
2706
+ // columnFlag: true,
2707
+ formItemFlag: !0,
2708
+ tableField: null,
2709
+ options: {
2710
+ ...vabsearchConfig
2579
2711
  }
2580
2712
  },
2581
2713
  {
2582
2714
  type: "search_button",
2583
2715
  icon: "button",
2584
2716
  commonFlag: !0,
2717
+ columnFlag: true,
2585
2718
  formItemFlag: !1,
2586
2719
  options: {
2587
2720
  name: "",
@@ -2613,12 +2746,8 @@ export const advancedFields = [
2613
2746
  ...defaultSearchDialogConfig,
2614
2747
  tableEnabled: true
2615
2748
  },
2616
- wfFlag: 1,
2617
- wfEdit: false,
2618
- enabledByWf: false,
2619
- hiddenByWf: false,
2620
- wfConfigData: [],
2621
-
2749
+ ...defaultWfConfig,
2750
+ ...defaultWidgetShowRuleConfig,
2622
2751
  showRuleFlag: 1,
2623
2752
  showRuleEnabled: 1,
2624
2753
  showRules: []
@@ -2629,6 +2758,7 @@ export const advancedFields = [
2629
2758
  targetType: "button",
2630
2759
  icon: "button",
2631
2760
  commonFlag: !0,
2761
+ columnFlag: true,
2632
2762
  formItemFlag: !1,
2633
2763
  options: {
2634
2764
  name: "",
@@ -2654,11 +2784,9 @@ export const advancedFields = [
2654
2784
  searchDialogConfig: {
2655
2785
  ...defaultSearchDialogConfig
2656
2786
  },
2657
- wfFlag: 1,
2658
- wfEdit: false,
2659
- enabledByWf: false,
2787
+ ...defaultWfConfig,
2788
+ ...defaultWidgetShowRuleConfig,
2660
2789
  hiddenByWf: true,
2661
- wfConfigData: [],
2662
2790
 
2663
2791
  showRuleFlag: 1,
2664
2792
  showRuleEnabled: 1,
@@ -2671,6 +2799,7 @@ export const advancedFields = [
2671
2799
  targetType: "button",
2672
2800
  icon: "button",
2673
2801
  commonFlag: !0,
2802
+ columnFlag: true,
2674
2803
  formItemFlag: !1,
2675
2804
  options: {
2676
2805
  name: "",
@@ -2694,12 +2823,8 @@ export const advancedFields = [
2694
2823
  searchDialogConfig: {
2695
2824
  ...defaultSearchDialogConfig
2696
2825
  },
2697
- wfFlag: 1,
2698
- wfEdit: false,
2699
- enabledByWf: true,
2700
- hiddenByWf: false,
2701
- wfConfigData: [],
2702
-
2826
+ ...defaultWfConfig,
2827
+ ...defaultWidgetShowRuleConfig,
2703
2828
  showRuleFlag: 1,
2704
2829
  showRuleEnabled: 1,
2705
2830
  showRules: []
@@ -2710,6 +2835,7 @@ export const advancedFields = [
2710
2835
  icon: "list-export",
2711
2836
  formItemFlag: !1,
2712
2837
  commonFlag: !0,
2838
+ columnFlag: true,
2713
2839
  tableField: null,
2714
2840
  options: {
2715
2841
  name: "",
@@ -2720,14 +2846,12 @@ export const advancedFields = [
2720
2846
  exportFileName: '导出',
2721
2847
  tableRef: '',
2722
2848
  tableExportParam: "",
2849
+ showImageAtTable: false,
2850
+
2723
2851
  onCreated: "",
2724
2852
  onMounted: "",
2725
- wfFlag: 1,
2726
- wfEdit: false,
2727
- enabledByWf: false,
2728
- hiddenByWf: false,
2729
- wfConfigData: [],
2730
-
2853
+ ...defaultWfConfig,
2854
+ ...defaultWidgetShowRuleConfig,
2731
2855
  showRuleFlag: 1,
2732
2856
  showRuleEnabled: 1,
2733
2857
  showRules: []
@@ -2739,6 +2863,7 @@ export const advancedFields = [
2739
2863
  targetType: "button",
2740
2864
  icon: "button",
2741
2865
  commonFlag: !0,
2866
+ columnFlag: true,
2742
2867
  formItemFlag: !1,
2743
2868
  options: {
2744
2869
  name: "",
@@ -2761,73 +2886,77 @@ export const advancedFields = [
2761
2886
  searchDialogConfig: {
2762
2887
  ...defaultSearchDialogConfig
2763
2888
  },
2764
- wfFlag: 1,
2765
- wfEdit: false,
2766
- enabledByWf: false,
2767
- hiddenByWf: false,
2768
- wfConfigData: [],
2769
-
2889
+ ...defaultWfConfig,
2890
+ hiddenByWf: true,
2891
+ ...defaultWidgetShowRuleConfig,
2770
2892
  showRuleFlag: 1,
2771
2893
  showRuleEnabled: 1,
2772
2894
  showRules: []
2773
2895
  },
2774
2896
  },
2775
2897
  {
2776
- type: "save_button",
2777
- targetType: "button",
2898
+ type: "import-button",
2778
2899
  icon: "button",
2779
2900
  commonFlag: !0,
2901
+ columnFlag: true,
2780
2902
  formItemFlag: !1,
2781
2903
  options: {
2782
2904
  name: "",
2783
- label: "保存",
2905
+ label: "导入",
2784
2906
  columnWidth: "200px",
2785
2907
  size: "",
2786
- displayStyle: "block",
2908
+
2909
+ // displayStyle: "block",
2787
2910
  disabled: !1,
2788
2911
  hidden: !1,
2912
+ buttonTypeFlag: 1,
2789
2913
  type: "primary",
2790
- plain: !1,
2914
+ /*plain: !1,
2791
2915
  round: !1,
2792
2916
  circle: !1,
2793
- icon: "el-icon-check",
2917
+ icon: "el-icon-download",*/
2794
2918
  customClass: "",
2795
2919
  onCreated: "",
2796
2920
  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,
2921
+ // clickBindEvent: null,
2802
2922
  searchDialogConfig: {
2803
2923
  ...defaultSearchDialogConfig
2804
2924
  },
2805
- wfFlag: 1,
2806
- wfEdit: false,
2807
- enabledByWf: false,
2925
+ ...defaultWfConfig,
2808
2926
  hiddenByWf: true,
2809
- wfConfigData: [],
2927
+ ...defaultWidgetShowRuleConfig,
2928
+ importFileLimitSize: 200,
2929
+ importEntity: '',
2930
+ importAttachCode: '',
2931
+ importAttachName: '',
2932
+ importScriptCode: '',
2933
+ onBeforeImport: '',
2934
+ enabledImportPreHandle: false,
2935
+ tableRef: '',
2936
+ onSuccessImport: '',
2810
2937
 
2811
2938
  showRuleFlag: 1,
2812
2939
  showRuleEnabled: 1,
2813
2940
  showRules: []
2814
-
2815
2941
  },
2816
2942
  },
2817
2943
  {
2818
- type: "import-button",
2944
+ type: "import2-button",
2819
2945
  icon: "button",
2820
2946
  commonFlag: !0,
2947
+ columnFlag: true,
2821
2948
  formItemFlag: !1,
2822
2949
  options: {
2823
2950
  name: "",
2824
- label: "导入",
2951
+ label: "明细导入",
2825
2952
  columnWidth: "200px",
2826
2953
  size: "",
2954
+
2827
2955
  // displayStyle: "block",
2828
2956
  disabled: !1,
2829
2957
  hidden: !1,
2830
- type: "primary",
2958
+ buttonTypeFlag: 1,
2959
+ type: "",
2831
2960
  /*plain: !1,
2832
2961
  round: !1,
2833
2962
  circle: !1,
@@ -2839,16 +2968,17 @@ export const advancedFields = [
2839
2968
  searchDialogConfig: {
2840
2969
  ...defaultSearchDialogConfig
2841
2970
  },
2842
- wfFlag: 1,
2843
- wfEdit: false,
2844
- enabledByWf: false,
2845
- hiddenByWf: false,
2846
- wfConfigData: [],
2847
- importEntity: '',
2971
+ ...defaultWfConfig,
2972
+ hiddenByWf: true,
2973
+ ...defaultWidgetShowRuleConfig,
2974
+ frontImportFlag: 1,
2975
+ importFileLimitSize: 200,
2848
2976
  importAttachCode: '',
2849
- importScriptCode: '',
2850
- onBeforeImport: '',
2851
- enabledImportPreHandle: false,
2977
+ importAttachName: '',
2978
+ tableRef: '',
2979
+ onConfirmImportEnabled: false,
2980
+ onConfirmImport: '',
2981
+ onSuccessImport: '',
2852
2982
 
2853
2983
  showRuleFlag: 1,
2854
2984
  showRuleEnabled: 1,
@@ -2859,6 +2989,7 @@ export const advancedFields = [
2859
2989
  type: "print-button",
2860
2990
  icon: "button",
2861
2991
  commonFlag: !0,
2992
+ columnFlag: true,
2862
2993
  formItemFlag: !1,
2863
2994
  options: {
2864
2995
  name: "",
@@ -2880,11 +3011,8 @@ export const advancedFields = [
2880
3011
  searchDialogConfig: {
2881
3012
  ...defaultSearchDialogConfig
2882
3013
  },
2883
- wfFlag: 1,
2884
- wfEdit: false,
2885
- enabledByWf: false,
2886
- hiddenByWf: false,
2887
- wfConfigData: [],
3014
+ ...defaultWfConfig,
3015
+ ...defaultWidgetShowRuleConfig,
2888
3016
  printTableRef: "",
2889
3017
  printItems: [],
2890
3018
 
@@ -2896,6 +3024,7 @@ export const advancedFields = [
2896
3024
  {
2897
3025
  type: "baseAttachment",
2898
3026
  icon: "file-upload-field",
3027
+ columnFlag: true,
2899
3028
  formItemFlag: !0,
2900
3029
  tableField: null,
2901
3030
  options: {
@@ -2916,11 +3045,8 @@ export const advancedFields = [
2916
3045
  entityTableDesc: null,
2917
3046
  onCreated: "",
2918
3047
  onMounted: "",
2919
- wfFlag: 1,
2920
- wfEdit: false,
2921
- enabledByWf: false,
2922
- hiddenByWf: false,
2923
- wfConfigData: [],
3048
+ onAfterConfirmFile: "",
3049
+ ...defaultWfConfig,
2924
3050
 
2925
3051
  showRuleFlag: 1,
2926
3052
  showRuleEnabled: 1,
@@ -2931,6 +3057,7 @@ export const advancedFields = [
2931
3057
  type: "status",
2932
3058
  icon: "status",
2933
3059
  commonFlag: !0,
3060
+ columnFlag: true,
2934
3061
  formItemFlag: !0,
2935
3062
  tableField: null,
2936
3063
  options: {
@@ -2949,6 +3076,7 @@ export const advancedFields = [
2949
3076
  statusParam: [],
2950
3077
  onCreated: "",
2951
3078
  onMounted: "",
3079
+ ...defaultWfConfig,
2952
3080
 
2953
3081
  showRuleFlag: 1,
2954
3082
  showRuleEnabled: 1,
@@ -2992,80 +3120,344 @@ export const advancedFields = [
2992
3120
  detailItems: []
2993
3121
  }
2994
3122
  ],
2995
- formScriptEnabled: true,
2996
- formScriptCode: "",
2997
- formScriptParam: null,
3123
+
3124
+ ...httpConfig,
3125
+
2998
3126
  onCreated: "",
2999
3127
  onMounted: "",
3000
-
3128
+ ...defaultWfConfig,
3001
3129
  showRuleFlag: 1,
3002
3130
  showRuleEnabled: 1,
3003
3131
  showRules: []
3004
3132
  }
3005
3133
  },
3134
+
3006
3135
  {
3007
3136
  type: "project-tag",
3008
3137
  icon: "uploadbox",
3009
- // commonFlag: !0,
3138
+ commonFlag: !0,
3139
+ columnFlag: true,
3010
3140
  formItemFlag: !0,
3011
3141
  tableField: null,
3142
+ options: {
3143
+ ...projectTagConfig
3144
+ }
3145
+ },
3146
+ {
3147
+ type: "table2",
3148
+ category: "container",
3149
+ icon: "table",
3150
+ commonFlag: !0,
3151
+ formItemFlag: !0,
3152
+ rows: [],
3012
3153
  options: {
3013
3154
  name: "",
3014
- keyNameEnabled: !1,
3155
+ keyNameEnabled: !0,
3015
3156
  keyName: "",
3016
- keyNameSuffix: "",
3017
- label: "",
3157
+ hidden: !1,
3158
+ customClass: "",
3159
+ styleTableClass: '',
3160
+ // fullWidth: false,
3018
3161
  submitFlag: true,
3162
+
3163
+ ...httpConfig,
3164
+
3165
+ onCreated: "this.loadDataDefaultHandle()",
3166
+ onMounted: "",
3167
+ ...defaultWfConfig,
3168
+ showRuleFlag: 1,
3169
+ showRuleEnabled: 1,
3170
+ showRules: []
3171
+ }
3172
+ },
3173
+ {
3174
+ type: "dropdown-menu",
3175
+ icon: "tab",
3176
+ // commonFlag: !0,
3177
+ // columnFlag: true,
3178
+ widgetList: [],
3179
+ options: {
3180
+ name: "",
3181
+ label: "",
3182
+ hidden: !1,
3183
+ disabled: !1,
3184
+ height: '',
3185
+ // isFullscreen: false,
3186
+ tabClass: 'tab-boxCard tabCard-sty1',
3187
+ customClass: "",
3188
+ dropdownMenuFlag: 1,
3189
+ ...defaultWfConfig,
3190
+ onCreated: "",
3191
+ onMounted: "",
3192
+ }
3193
+ },
3194
+ {
3195
+ type: "dropdown-item",
3196
+ icon: "tab-pane",
3197
+ internal: !0,
3198
+ options: {
3199
+ name: "",
3200
+ label: "",
3201
+ hidden: !1,
3202
+ active: !1,
3019
3203
  disabled: !1,
3020
- readonly: false,
3204
+ customClass: "",
3205
+ dropdownItemFlag: 1,
3206
+
3207
+ onClick: "",
3208
+ clickBindEvent: null,
3209
+ searchDialogConfig: {
3210
+ ...defaultSearchDialogConfig
3211
+ },
3212
+ addTableDataConfig: {
3213
+ tableRef: null,
3214
+ tableData: {}
3215
+ },
3216
+ }
3217
+ },
3218
+ ]
3219
+
3220
+
3221
+ export const businessFields = [
3222
+ {
3223
+ type: "create_by-text",
3224
+ targetType: "text",
3225
+ icon: "text",
3226
+ commonFlag: !0,
3227
+ formItemFlag: !0,
3228
+ columnFlag: true,
3229
+ tableField: null,
3230
+ options: {
3231
+ name: "",
3232
+ keyNameEnabled: !0,
3233
+ keyName: "_createBy",
3234
+ label: "创建人",
3235
+ submitFlag: true,
3236
+ formField: "",
3021
3237
  hidden: !1,
3022
3238
  required: !1,
3239
+ customClass: "",
3240
+ defaultValue: "",
3241
+ labelAlign: "",
3023
3242
  labelWidth: null,
3024
3243
  labelHidden: !1,
3025
- onCreated: "if(this.formDataId)this.loadDataDefaultHandle();",
3244
+ onCreated: "",
3026
3245
  onMounted: "",
3027
- vabUpload: 1,
3028
- formScriptEnabled: true,
3029
- formScriptCode: "getList",
3030
- formScriptParam: null,
3031
- wfFlag: 1,
3032
- wfEdit: false,
3033
- enabledByWf: false,
3034
- hiddenByWf: false,
3035
- wfConfigData: [],
3246
+ accessType: "1",
3247
+ labelColor: '#555555',
3248
+ ...defaultWfConfig,
3249
+
3250
+ autoValueEnabled: false,
3251
+ autoValueHanlde: null,
3036
3252
 
3037
3253
  showRuleFlag: 1,
3038
3254
  showRuleEnabled: 1,
3039
- showRules: []
3255
+ showRules: [],
3256
+
3257
+ ...defaultTextFlagConfig
3040
3258
  }
3041
3259
  },
3042
3260
  {
3043
- type: "table2",
3044
- category: "container",
3045
- icon: "table",
3261
+ type: "modify_by-text",
3262
+ targetType: "text",
3263
+ icon: "text",
3046
3264
  commonFlag: !0,
3047
3265
  formItemFlag: !0,
3048
- rows: [],
3266
+ columnFlag: true,
3267
+ tableField: null,
3049
3268
  options: {
3050
3269
  name: "",
3051
3270
  keyNameEnabled: !0,
3052
- keyName: "",
3271
+ keyName: "_modifyBy",
3272
+ label: "更新人",
3273
+ submitFlag: true,
3274
+ formField: "",
3053
3275
  hidden: !1,
3276
+ required: !1,
3054
3277
  customClass: "",
3055
- styleTableClass: '',
3056
- // fullWidth: false,
3278
+ defaultValue: "",
3279
+ labelAlign: "",
3280
+ labelWidth: null,
3281
+ labelHidden: !1,
3282
+ onCreated: "",
3283
+ onMounted: "",
3284
+ accessType: "1",
3285
+ labelColor: '#555555',
3286
+ ...defaultWfConfig,
3287
+
3288
+ autoValueEnabled: false,
3289
+ autoValueHanlde: null,
3290
+
3291
+ showRuleFlag: 1,
3292
+ showRuleEnabled: 1,
3293
+ showRules: [],
3294
+
3295
+ ...defaultTextFlagConfig
3296
+ }
3297
+ },
3298
+ {
3299
+ type: "create_date-text",
3300
+ targetType: "text",
3301
+ icon: "text",
3302
+ commonFlag: !0,
3303
+ formItemFlag: !0,
3304
+ columnFlag: true,
3305
+ tableField: null,
3306
+ options: {
3307
+ name: "",
3308
+ keyNameEnabled: !0,
3309
+ keyName: "create_date",
3310
+ label: "创建时间",
3057
3311
  submitFlag: true,
3058
- formScriptEnabled: true,
3059
- formScriptCode: "",
3060
- formScriptParam: null,
3061
- onCreated: "this.loadDataDefaultHandle()",
3312
+ formField: "",
3313
+ hidden: !1,
3314
+ required: !1,
3315
+ customClass: "",
3316
+ defaultValue: "",
3317
+ labelAlign: "",
3318
+ labelWidth: null,
3319
+ labelHidden: !1,
3320
+ onCreated: "",
3062
3321
  onMounted: "",
3322
+ accessType: "1",
3323
+ labelColor: '#555555',
3324
+ ...defaultWfConfig,
3325
+
3326
+ autoValueEnabled: false,
3327
+ autoValueHanlde: null,
3063
3328
 
3064
3329
  showRuleFlag: 1,
3065
3330
  showRuleEnabled: 1,
3066
- showRules: []
3331
+ showRules: [],
3332
+
3333
+ ...defaultTextFlagConfig
3067
3334
  }
3068
3335
  },
3336
+ {
3337
+ type: "modify_date-text",
3338
+ targetType: "text",
3339
+ icon: "text",
3340
+ commonFlag: !0,
3341
+ formItemFlag: !0,
3342
+ columnFlag: true,
3343
+ tableField: null,
3344
+ options: {
3345
+ name: "",
3346
+ keyNameEnabled: !0,
3347
+ keyName: "modify_date",
3348
+ label: "更新时间",
3349
+ submitFlag: true,
3350
+ formField: "",
3351
+ hidden: !1,
3352
+ required: !1,
3353
+ customClass: "",
3354
+ defaultValue: "",
3355
+ labelAlign: "",
3356
+ labelWidth: null,
3357
+ labelHidden: !1,
3358
+ onCreated: "",
3359
+ onMounted: "",
3360
+ accessType: "1",
3361
+ labelColor: '#555555',
3362
+ ...defaultWfConfig,
3363
+
3364
+ autoValueEnabled: false,
3365
+ autoValueHanlde: null,
3366
+
3367
+ showRuleFlag: 1,
3368
+ showRuleEnabled: 1,
3369
+ showRules: [],
3370
+
3371
+ ...defaultTextFlagConfig
3372
+ }
3373
+ },
3374
+
3375
+ {
3376
+ type: "user-vabsearch",
3377
+ targetType: "singerSearch",
3378
+ icon: "searchbox",
3379
+ commonFlag: !0,
3380
+ columnFlag: true,
3381
+ formItemFlag: !0,
3382
+ tableField: null,
3383
+ options: {
3384
+ ...vabsearchConfig,
3385
+ vabSearchName: "nick_name",
3386
+ userDefaultVabSearch: true,
3387
+ label: "用户",
3388
+ searchDialogConfig: {
3389
+ ...defaultSearchDialogConfig,
3390
+ multipleChoices: false,
3391
+ formCode: "user_dialog",
3392
+ valueSourceField: "id",
3393
+ labelSourceField: "nick_name",
3394
+ },
3395
+ }
3396
+ },
3397
+ {
3398
+ type: "saleOrg-vabsearch",
3399
+ targetType: "singerSearch",
3400
+ icon: "searchbox",
3401
+ commonFlag: !0,
3402
+ columnFlag: true,
3403
+ formItemFlag: !0,
3404
+ tableField: null,
3405
+ options: {
3406
+ ...vabsearchConfig,
3407
+ vabSearchName: "sale_org_name",
3408
+ saleOrgDefaultVabSearch: true,
3409
+ label: "机构",
3410
+ searchDialogConfig: {
3411
+ ...defaultSearchDialogConfig,
3412
+ multipleChoices: false,
3413
+ formCode: "sale_org_dialog",
3414
+ valueSourceField: "id",
3415
+ labelSourceField: "name"
3416
+ },
3417
+ }
3418
+ },
3419
+
3420
+ {
3421
+ type: "user-project-tag",
3422
+ targetType: "project-tag",
3423
+ icon: "uploadbox",
3424
+ commonFlag: !0,
3425
+ columnFlag: true,
3426
+ formItemFlag: !0,
3427
+ tableField: null,
3428
+ options: {
3429
+ ...projectTagConfig,
3430
+ label: "用户",
3431
+ tagFormCode: "user_dialog",
3432
+ tagLabelField: "nick_name",
3433
+ tagUniqueField: "id",
3434
+ tagFormLabelField: "nick_name",
3435
+ tagFormUniqueField: "id",
3436
+ tabDeleteEnabled: true,
3437
+ }
3438
+ },
3439
+ {
3440
+ type: "saleOrg-project-tag",
3441
+ targetType: "project-tag",
3442
+ icon: "uploadbox",
3443
+ commonFlag: !0,
3444
+ columnFlag: true,
3445
+ formItemFlag: !0,
3446
+ tableField: null,
3447
+ options: {
3448
+ ...projectTagConfig,
3449
+ label: "机构",
3450
+ tagFormCode: "sale_org_dialog",
3451
+ tagLabelField: "name",
3452
+ tagUniqueField: "id",
3453
+ tagFormLabelField: "name",
3454
+ tagFormUniqueField: "id",
3455
+ tabDeleteEnabled: true,
3456
+
3457
+ }
3458
+ },
3459
+
3460
+
3069
3461
  ]
3070
3462
 
3071
3463
  export const keyNamePrefixMap = {