cloud-web-corejs 1.0.54-dev.3 → 1.0.54-dev.300

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 (336) hide show
  1. package/package.json +8 -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/propertiesDialog.vue +1 -1
  6. package/src/components/VabUpload/view.vue +135 -119
  7. package/src/components/advancedSearchDialog/mixins.js +1 -1
  8. package/src/components/baseAttachment/index.vue +49 -40
  9. package/src/components/baseAttachment/mixins.js +1 -1
  10. package/src/components/errorMsg/mixins.js +89 -5
  11. package/src/components/excelExport/button.vue +57 -4
  12. package/src/components/excelExport/exportFieldDialog.vue +211 -0
  13. package/src/components/excelExport/index.js +44 -1
  14. package/src/components/excelExport/index.vue +64 -7
  15. package/src/components/excelExport/mixins.js +939 -1
  16. package/src/components/excelImport/index.js +13 -13
  17. package/src/components/excelImport/index.vue +9 -6
  18. package/src/components/excelImport/mixins.js +1 -1
  19. package/src/components/fileLibrary/fileObjAuthDialog.vue +125 -103
  20. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +12 -1
  21. package/src/components/fileLibrary/fileObjNotifyEdit.vue +192 -0
  22. package/src/components/fileLibrary/filterDialog.vue +383 -0
  23. package/src/components/fileLibrary/index.vue +25 -26
  24. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  25. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  26. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  27. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +346 -201
  28. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +33 -26
  29. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
  30. package/src/components/fileLibrary/mixins/indexMixins.js +85 -24
  31. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
  32. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
  33. package/src/components/fileLibrary/propertiesDialog.vue +18 -0
  34. package/src/components/fileLibrary/shareDialog.vue +1 -1
  35. package/src/components/formOplog/mixins.js +77 -1
  36. package/src/components/jsonImport/index.js +1 -1
  37. package/src/components/jsonImport/mixins.js +1 -1
  38. package/src/components/onlineTalk/index.vue +327 -5
  39. package/src/components/onlineTalk/mixins.js +1 -1
  40. package/src/components/statusTag/mixins.js +66 -1
  41. package/src/components/table/CellSlot.vue +1 -0
  42. package/src/components/table/index.js +12 -10
  43. package/src/components/table/tableForm.vue +99 -63
  44. package/src/components/table/tableFormMixin.js +1 -1
  45. package/src/components/table/util/index.js +331 -0
  46. package/src/components/table/vxeFilter/mixin.js +6 -6
  47. package/src/components/tempStorage/index.vue +9 -6
  48. package/src/components/tempStorage/tempStorageDialog.vue +3 -3
  49. package/src/components/vb-tabs/x-tabs.vue +3 -2
  50. package/src/components/wf/content.vue +125 -28
  51. package/src/components/wf/mixins/setCandidateDialog.js +218 -1
  52. package/src/components/wf/setCandidateDialog.vue +10 -0
  53. package/src/components/wf/setCandidateDialog2.vue +320 -0
  54. package/src/components/wf/wf.js +2062 -1
  55. package/src/components/wf/wfStartDialog.vue +70 -42
  56. package/src/components/wf/wfTaskUserRangeDialog.vue +136 -0
  57. package/src/components/wf/wfUtil.js +279 -1
  58. package/src/components/xform/form-designer/designer.js +1543 -2
  59. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +2 -1
  60. package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
  61. package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
  62. package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
  63. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +17 -4
  64. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +6 -1
  65. package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +2 -2
  66. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +37 -6
  67. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
  68. package/src/components/xform/form-designer/form-widget/dialog/preformDialog.vue +2 -2
  69. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +31 -11
  70. package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +2 -2
  71. package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
  72. package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
  73. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
  74. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  75. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +14 -6
  76. package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
  77. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
  78. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +21 -2
  79. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
  80. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
  81. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  82. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  83. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  84. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1520 -16
  85. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +632 -379
  86. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +6 -8
  87. package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +81 -0
  88. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
  89. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
  90. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
  91. package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +176 -0
  92. package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
  93. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +2 -2
  94. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +70 -3
  95. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +21 -5
  96. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
  97. package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
  98. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +17 -5
  99. package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
  100. package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +2 -1
  101. package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +22 -17
  102. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
  103. package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
  104. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +127 -0
  105. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
  106. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
  107. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +2 -170
  108. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +88 -8
  109. package/src/components/xform/form-designer/indexMixin.js +820 -1
  110. package/src/components/xform/form-designer/setting-panel/form-setting.vue +880 -158
  111. package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
  112. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  113. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +71 -7
  114. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
  115. package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
  116. package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
  117. package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
  118. package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
  119. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  120. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +126 -0
  121. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1077 -1042
  122. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  123. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1183 -500
  124. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
  125. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
  126. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
  127. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
  128. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
  129. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
  130. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
  131. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  132. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  133. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  134. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
  135. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
  136. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  137. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
  138. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
  139. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  140. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  141. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  142. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +26 -10
  143. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +86 -0
  144. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  145. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +47 -28
  146. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
  147. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  148. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
  149. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +30 -1
  150. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +46 -4
  151. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
  152. package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
  153. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
  154. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
  155. package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
  156. package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
  157. package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
  158. package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  159. package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  160. package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
  161. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +318 -0
  162. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
  163. package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
  164. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  165. package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +23 -0
  166. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
  167. package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
  168. package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
  169. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +384 -53
  170. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
  171. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +25 -10
  172. package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
  173. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  174. package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
  175. package/src/components/xform/form-designer/widget-panel/indexMixin.js +3 -2
  176. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1428 -865
  177. package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -1
  178. package/src/components/xform/form-render/container-item/data-table-item.vue +86 -42
  179. package/src/components/xform/form-render/container-item/data-table-mixin.js +2433 -18
  180. package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
  181. package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
  182. package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
  183. package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
  184. package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
  185. package/src/components/xform/form-render/container-item/tab-item.vue +11 -6
  186. package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
  187. package/src/components/xform/form-render/container-item/table-item.vue +4 -2
  188. package/src/components/xform/form-render/index.vue +4 -1
  189. package/src/components/xform/form-render/indexMixin.js +3018 -3
  190. package/src/components/xform/lang/zh-CN.js +17 -3
  191. package/src/components/xform/mixins/defaultHandle.js +330 -1
  192. package/src/components/xform/mixins/scriptHttp.js +174 -1
  193. package/src/components/xform/utils/emitter.js +4 -4
  194. package/src/components/xform/utils/format.js +21 -30
  195. package/src/components/xform/utils/formula-util.js +669 -0
  196. package/src/components/xform/utils/util.js +1450 -1
  197. package/src/components/xform/utils/validators.js +1 -5
  198. package/src/index.js +2 -2
  199. package/src/layout/components/AppMain.vue +5 -1
  200. package/src/layout/components/Sidebar/default.vue +1266 -1222
  201. package/src/layout/components/TagsView/index.vue +37 -12
  202. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  203. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  204. package/src/layout/components/extractedCode/viewDialog.vue +193 -0
  205. package/src/layout/components/notify_message/unreadDialog.vue +11 -5
  206. package/src/layout/components/watermark/index.vue +83 -0
  207. package/src/layout/defaultLayout.vue +1 -1
  208. package/src/mixins/selectDialog/index.js +1 -1
  209. package/src/mixins/tableTree/index.js +1 -1
  210. package/src/router/modules/customer.js +61 -8
  211. package/src/store/config/index.js +1 -1
  212. package/src/store/modules/permission.js +1 -1
  213. package/src/store/modules/settings.js +1 -1
  214. package/src/store/modules/tagsView.js +1 -14
  215. package/src/store/modules/user.js +1 -1
  216. package/src/utils/index.js +575 -3
  217. package/src/utils/pddLog.js +103 -0
  218. package/src/utils/pdfUtil.js +71 -0
  219. package/src/utils/request.js +351 -28
  220. package/src/utils/vab.js +19 -27
  221. package/src/views/bd/setting/bd_attach_setting/edit.vue +4 -4
  222. package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
  223. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
  224. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
  225. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
  226. package/src/views/bd/setting/bd_company_env/edit.vue +163 -0
  227. package/src/views/bd/setting/bd_company_env/list.vue +175 -0
  228. package/src/views/bd/setting/config_manage/list.vue +51 -0
  229. package/src/views/bd/setting/form_import_log/edit.vue +127 -0
  230. package/src/views/bd/setting/form_import_log/list.vue +206 -0
  231. package/src/views/bd/setting/form_script/edit.vue +9 -0
  232. package/src/views/bd/setting/form_script/edit1.vue +36 -3
  233. package/src/views/bd/setting/form_script/form_list.vue +1 -1
  234. package/src/views/bd/setting/form_script/list1.vue +4 -4
  235. package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
  236. package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
  237. package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
  238. package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
  239. package/src/views/bd/setting/form_script/mixins/list.js +236 -1
  240. package/src/views/bd/setting/form_script/mixins/list1.js +422 -14
  241. package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
  242. package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
  243. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  244. package/src/views/bd/setting/form_template/edit.vue +22 -1
  245. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  246. package/src/views/bd/setting/form_template/list.vue +7 -5
  247. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
  248. package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
  249. package/src/views/bd/setting/form_template/mixins/list.js +688 -22
  250. package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
  251. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
  252. package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
  253. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  254. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
  255. package/src/views/bd/setting/menu_kind/authDialog.vue +1 -1
  256. package/src/views/bd/setting/menu_kind/list.vue +4 -0
  257. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +2 -2
  258. package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
  259. package/src/views/bd/setting/push_data/edit.vue +139 -0
  260. package/src/views/bd/setting/push_data/list.vue +283 -0
  261. package/src/views/bd/setting/push_data_h/edit.vue +153 -0
  262. package/src/views/bd/setting/push_data_h/list.vue +293 -0
  263. package/src/views/bd/setting/request_async_setting/edit.vue +279 -0
  264. package/src/views/bd/setting/request_async_setting/list.vue +297 -0
  265. package/src/views/bd/setting/request_setting/edit.vue +258 -0
  266. package/src/views/bd/setting/request_setting/list.vue +248 -0
  267. package/src/views/bd/setting/table_model/edit.vue +875 -426
  268. package/src/views/bd/setting/table_model/list.vue +6 -4
  269. package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
  270. package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
  271. package/src/views/bd/setting/table_model/mixins/list.js +439 -14
  272. package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
  273. package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
  274. package/src/views/user/area/dialog.vue +21 -9
  275. package/src/views/user/bill_setting/edit.vue +1 -1
  276. package/src/views/user/bill_setting/list.vue +1 -1
  277. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  278. package/src/views/user/common_attribute/list.vue +1 -1
  279. package/src/views/user/common_script/edit.vue +1 -1
  280. package/src/views/user/common_script/list.vue +1 -1
  281. package/src/views/user/company_info/dialog.vue +164 -154
  282. package/src/views/user/company_info/edit.vue +9 -1
  283. package/src/views/user/extend_datasource/dialog.vue +1 -0
  284. package/src/views/user/extend_datasource/edit.vue +3 -0
  285. package/src/views/user/extend_datasource/list.vue +2 -1
  286. package/src/views/user/fieldTranslation/editDialog.vue +7 -7
  287. package/src/views/user/fieldTranslation/list.vue +32 -32
  288. package/src/views/user/file_type/edit.vue +30 -1
  289. package/src/views/user/file_type/list.vue +28 -0
  290. package/src/views/user/form/vform/designer.vue +775 -749
  291. package/src/views/user/form/vform/out_render.vue +1 -1
  292. package/src/views/user/form/vform/render.vue +8 -4
  293. package/src/views/user/form/view/edit.vue +38 -37
  294. package/src/views/user/form/view/list.vue +68 -15
  295. package/src/views/user/groups/edit.vue +2 -0
  296. package/src/views/user/groups/list.vue +1 -0
  297. package/src/views/user/home/default.vue +1024 -979
  298. package/src/views/user/home/dev.vue +29 -0
  299. package/src/views/user/home/index.vue +20 -8
  300. package/src/views/user/login/default.vue +36 -5
  301. package/src/views/user/login/indexMixin.js +117 -3
  302. package/src/views/user/notify_message/dialog.vue +1 -1
  303. package/src/views/user/notify_template/edit.vue +188 -187
  304. package/src/views/user/notify_template/edit2.vue +176 -0
  305. package/src/views/user/notify_template/list.vue +4 -1
  306. package/src/views/user/notify_template/list2.vue +190 -0
  307. package/src/views/user/outLink/form_view.vue +39 -12
  308. package/src/views/user/outLink/index.vue +17 -0
  309. package/src/views/user/outLink/view.vue +39 -13
  310. package/src/views/user/position/edit.vue +55 -54
  311. package/src/views/user/position/list.vue +4 -4
  312. package/src/views/user/project_tag/dialog.vue +9 -4
  313. package/src/views/user/project_tag/edit.vue +2 -2
  314. package/src/views/user/project_tag/list.vue +9 -4
  315. package/src/views/user/push_setting/list.vue +2 -2
  316. package/src/views/user/request_setting/edit.vue +258 -0
  317. package/src/views/user/request_setting/list.vue +248 -0
  318. package/src/views/user/role/dialog.vue +1 -1
  319. package/src/views/user/role/list.vue +4 -4
  320. package/src/views/user/sale_org/dialog.vue +1 -1
  321. package/src/views/user/sale_org/list.vue +4 -1
  322. package/src/views/user/system_notice/infoDialog.vue +25 -1
  323. package/src/views/user/user/dialog.vue +46 -23
  324. package/src/views/user/user/edit.vue +1059 -1021
  325. package/src/views/user/user/form_dialog.vue +158 -0
  326. package/src/views/user/user/form_edit.vue +117 -49
  327. package/src/views/user/user/form_info.vue +210 -0
  328. package/src/views/user/user/form_list.vue +1 -0
  329. package/src/views/user/user/list.vue +582 -563
  330. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
  331. package/src/views/user/wf/wf_manage/list.vue +30 -1
  332. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  333. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  334. package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
  335. package/src/views/user/wf/wf_obj_config/list.vue +138 -5
  336. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -0
@@ -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: "",
@@ -11,39 +12,44 @@ export const containers = [
11
12
  // isFullscreen: false,
12
13
  gutter: 6,
13
14
  // colHeight: null,
14
- width: '',
15
- containerClass: '',
16
- customClass: ""
17
- }
15
+ width: "",
16
+ containerClass: "",
17
+ customClass: "",
18
+ ...defaultWfConfig,
19
+ },
18
20
  },
19
21
  {
20
22
  type: "table",
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
- styleTableClass: '',
30
- fullWidth: false
31
- }
32
+ styleTableClass: "",
33
+ fullWidth: false,
34
+ ...defaultWfConfig,
35
+ },
32
36
  },
33
37
  {
34
38
  type: "tab",
35
39
  category: "container",
36
40
  icon: "tab",
37
41
  commonFlag: !0,
42
+ columnFlag: true,
38
43
  tabs: [],
39
44
  options: {
40
45
  name: "",
41
46
  hidden: !1,
42
- height: '',
47
+ height: "",
43
48
  // isFullscreen: false,
44
- tabClass: 'tab-boxCard tabCard-sty1',
45
- customClass: ""
46
- }
49
+ tabClass: "tab-boxCard tabCard-sty1",
50
+ customClass: "",
51
+ ...defaultWfConfig,
52
+ },
47
53
  },
48
54
  /* {
49
55
  type: "sub-form",
@@ -99,9 +105,9 @@ export const containers = [
99
105
  md: 12,
100
106
  sm: 12,
101
107
  xs: 12,
102
- alignType: '',
108
+ alignType: "",
103
109
  customClass: "",
104
- }
110
+ },
105
111
  },
106
112
  {
107
113
  type: "table-cell",
@@ -116,8 +122,8 @@ export const containers = [
116
122
  cellHeight: "",
117
123
  colspan: 1,
118
124
  rowspan: 1,
119
- customClass: ""
120
- }
125
+ customClass: "",
126
+ },
121
127
  },
122
128
  {
123
129
  type: "tab-pane",
@@ -131,8 +137,8 @@ export const containers = [
131
137
  hidden: !1,
132
138
  active: !1,
133
139
  disabled: !1,
134
- customClass: ""
135
- }
140
+ customClass: "",
141
+ },
136
142
  },
137
143
  {
138
144
  type: "data-table",
@@ -181,30 +187,41 @@ export const containers = [
181
187
  size: "small",
182
188
  round: !1,
183
189
  hidden: !0,
184
- disabled: !1
185
- }, {
190
+ disabled: !1,
191
+ },
192
+ {
186
193
  name: "edit",
187
194
  label: "编辑",
188
195
  type: "text",
189
196
  size: "small",
190
197
  round: !1,
191
198
  hidden: !1,
192
- disabled: !1
193
- }, {
199
+ disabled: !1,
200
+ },
201
+ {
194
202
  name: "delete",
195
203
  label: "删除",
196
204
  type: "text",
197
205
  size: "small",
198
206
  round: !1,
199
207
  hidden: !1,
200
- disabled: !1
201
- }],
208
+ disabled: !1,
209
+ },
210
+ ],
202
211
  pagination: {
203
212
  currentPage: 1,
204
213
  pageSizes: [10, 15, 20, 30, 50, 100, 200],
205
214
  pageSize: 20,
206
- total: 366
215
+ total: 366,
207
216
  },
217
+ gridPageSize: 100,
218
+ gridPageSizeList: [
219
+ { value: 50 },
220
+ { value: 100 },
221
+ { value: 200 },
222
+ { value: 500 },
223
+ ],
224
+
208
225
  dsEnabled: !1,
209
226
  dsName: "",
210
227
  tableData: [
@@ -256,10 +273,10 @@ export const containers = [
256
273
  scriptEnabled: false,
257
274
  accessParam: null,
258
275
 
259
- formScriptEnabled: true,
260
- formScriptCode: null,
261
- formScriptParam: null,
262
- formScriptCallback: null,
276
+ accessFormCode: null,
277
+
278
+ ...httpConfig,
279
+
263
280
  /*isLoadDataByAccess: false,
264
281
  scriptEnabled: false,
265
282
  scriptName: null,
@@ -277,10 +294,12 @@ export const containers = [
277
294
  sortScriptCode: null,
278
295
  importTemplateFile: null,
279
296
 
297
+ ...defaultWfConfig,
280
298
  showRuleFlag: 1,
281
299
  showRuleEnabled: 1,
282
300
  showRules: [],
283
- }
301
+ hideGridCheckBox: false,
302
+ },
284
303
  },
285
304
  /*{
286
305
  type: "table-column",
@@ -323,8 +342,8 @@ export const containers = [
323
342
  onOkButtonClick: "",
324
343
  onCancelButtonClick: "",
325
344
  onDialogOpened: "",
326
- onDialogBeforeClose: ""
327
- }
345
+ onDialogBeforeClose: "",
346
+ },
328
347
  },
329
348
  /*{
330
349
  type: "vf-drawer",
@@ -409,7 +428,7 @@ export const containers = [
409
428
  wfEnabled: false,
410
429
  onCreated: "",
411
430
  onMounted: "",
412
- }
431
+ },
413
432
  },
414
433
  {
415
434
  type: "detail-pane",
@@ -425,9 +444,10 @@ export const containers = [
425
444
  customClass: "",
426
445
  tableRef: "",
427
446
  detailPaneContainer: true,
428
- onCreated: "",
429
- onMounted: "",
430
- }
447
+ defaultCollapse: false,
448
+ /*onCreated: "",
449
+ onMounted: "",*/
450
+ },
431
451
  },
432
452
  {
433
453
  type: "detail-h5",
@@ -447,7 +467,7 @@ export const containers = [
447
467
  wfEnabled: false,
448
468
  onCreated: "",
449
469
  onMounted: "",
450
- }
470
+ },
451
471
  },
452
472
  {
453
473
  type: "list-h5",
@@ -470,73 +490,75 @@ export const containers = [
470
490
  accessUrl: null,
471
491
  tableColumns: [
472
492
  {
473
- "columnId": 1,
474
- "prop": "nick_name",
475
- "label": "姓名",
476
- "width": "150",
477
- "show": true,
478
- "align": "left",
479
- "fixed": "left",
480
- "sortable": true,
481
- "required": false,
482
- "showForRow": true,
483
- "formatS": "editInput",
484
- "columnOption": {}
493
+ columnId: 1,
494
+ prop: "nick_name",
495
+ label: "姓名",
496
+ width: "150",
497
+ show: true,
498
+ align: "left",
499
+ fixed: "left",
500
+ sortable: true,
501
+ required: false,
502
+ showForRow: true,
503
+ formatS: "editInput",
504
+ columnOption: {},
485
505
  },
486
506
  {
487
- "columnId": 1662195943228,
488
- "label": "登录账号",
489
- "prop": "login_account",
490
- "show": true,
491
- "sortable": true,
492
- "align": "left",
493
- "width": "150",
494
- "required": false,
495
- "showForRow": true,
496
- "formatS": "editInput",
497
- "columnOption": {}
507
+ columnId: 1662195943228,
508
+ label: "登录账号",
509
+ prop: "login_account",
510
+ show: true,
511
+ sortable: true,
512
+ align: "left",
513
+ width: "150",
514
+ required: false,
515
+ showForRow: true,
516
+ formatS: "editInput",
517
+ columnOption: {},
498
518
  },
499
519
  {
500
- "columnId": 1662195943423,
501
- "label": "是否启用",
502
- "prop": "enabled",
503
- "show": true,
504
- "sortable": true,
505
- "align": "left",
506
- "width": "150",
507
- "formatS": "render",
508
- "render": "if(params.row.enabled){\n return '启用';\n}else{\n return '禁用';\n}",
509
- "required": false,
510
- "showForRow": true,
511
- "columnOption": {}
520
+ columnId: 1662195943423,
521
+ label: "是否启用",
522
+ prop: "enabled",
523
+ show: true,
524
+ sortable: true,
525
+ align: "left",
526
+ width: "150",
527
+ formatS: "render",
528
+ render:
529
+ "if(params.row.enabled){\n return '启用';\n}else{\n return '禁用';\n}",
530
+ required: false,
531
+ showForRow: true,
532
+ columnOption: {},
512
533
  },
513
534
  {
514
- "columnId": 1662196087046,
515
- "label": "性别",
516
- "prop": "gender",
517
- "width": "150",
518
- "show": true,
519
- "sortable": true,
520
- "align": "left",
521
- "formatS": "render",
522
- "render": "if(params.row.gender==1){\n return '男';\n}else{\n return '女';\n}",
523
- "required": false,
524
- "showForRow": true,
525
- "columnOption": {}
535
+ columnId: 1662196087046,
536
+ label: "性别",
537
+ prop: "gender",
538
+ width: "150",
539
+ show: true,
540
+ sortable: true,
541
+ align: "left",
542
+ formatS: "render",
543
+ render:
544
+ "if(params.row.gender==1){\n return '男';\n}else{\n return '女';\n}",
545
+ required: false,
546
+ showForRow: true,
547
+ columnOption: {},
526
548
  },
527
549
  {
528
- "columnId": 1662196135287,
529
- "label": "创建时间",
530
- "prop": "create_time",
531
- "width": "150",
532
- "show": true,
533
- "sortable": true,
534
- "align": "left",
535
- "required": false,
536
- "showForRow": true,
537
- "formatS": "editDate",
538
- "columnOption": {}
539
- }
550
+ columnId: 1662196135287,
551
+ label: "创建时间",
552
+ prop: "create_time",
553
+ width: "150",
554
+ show: true,
555
+ sortable: true,
556
+ align: "left",
557
+ required: false,
558
+ showForRow: true,
559
+ formatS: "editDate",
560
+ columnOption: {},
561
+ },
540
562
  ],
541
563
  tableData: [
542
564
  /*{
@@ -574,7 +596,7 @@ export const containers = [
574
596
  ],
575
597
  onCreated: "",
576
598
  onMounted: "",
577
- }
599
+ },
578
600
  },
579
601
  {
580
602
  type: "tree-pane",
@@ -591,8 +613,8 @@ export const containers = [
591
613
  treePane: true,
592
614
  onCreated: "",
593
615
  onMounted: "",
594
- onTreeLabelClick: ""
595
- }
616
+ onTreeLabelClick: "",
617
+ },
596
618
  },
597
619
  {
598
620
  type: "h5-card",
@@ -604,10 +626,10 @@ export const containers = [
604
626
  options: {
605
627
  name: "",
606
628
  hidden: !1,
607
- height: '',
629
+ height: "",
608
630
  customClass: "",
609
- h5Card: true
610
- }
631
+ h5Card: true,
632
+ },
611
633
  },
612
634
  {
613
635
  type: "h5-card-pane",
@@ -622,8 +644,8 @@ export const containers = [
622
644
  hidden: !1,
623
645
  active: !1,
624
646
  disabled: !1,
625
- customClass: ""
626
- }
647
+ customClass: "",
648
+ },
627
649
  },
628
650
  {
629
651
  type: "h5-table",
@@ -636,8 +658,8 @@ export const containers = [
636
658
  name: "",
637
659
  hidden: !1,
638
660
  customClass: "",
639
- fullWidth: false
640
- }
661
+ fullWidth: false,
662
+ },
641
663
  },
642
664
  {
643
665
  type: "h5-table-cell",
@@ -652,8 +674,8 @@ export const containers = [
652
674
  cellHeight: "",
653
675
  colspan: 1,
654
676
  rowspan: 1,
655
- customClass: ""
656
- }
677
+ customClass: "",
678
+ },
657
679
  },
658
680
  {
659
681
  type: "tree",
@@ -691,63 +713,60 @@ export const containers = [
691
713
  onLoadNode: "",
692
714
  treeData: [
693
715
  {
694
- "id": 1,
695
- "label": "一级 1",
696
- "leaf": false,
697
- "children": [
716
+ id: 1,
717
+ label: "一级 1",
718
+ leaf: false,
719
+ children: [
698
720
  {
699
- "id": 2,
700
- "label": "二级 1-1",
701
- "leaf": false,
702
- "children": [
703
- {"id": 3, "label": "三级 1-1-1", "leaf": true}
704
- ]
705
- }
706
- ]
721
+ id: 2,
722
+ label: "二级 1-1",
723
+ leaf: false,
724
+ children: [{ id: 3, label: "三级 1-1-1", leaf: true }],
725
+ },
726
+ ],
707
727
  },
708
728
  {
709
- "id": 4,
710
- "label": "一级 2",
711
- "leaf": false,
712
- "children": [
729
+ id: 4,
730
+ label: "一级 2",
731
+ leaf: false,
732
+ children: [
713
733
  {
714
- "id": 5,
715
- "label": "二级 2-1",
716
- "leaf": false,
717
- "children": [{"id": 6, "label": "三级 2-1-1", "leaf": true}]
734
+ id: 5,
735
+ label: "二级 2-1",
736
+ leaf: false,
737
+ children: [{ id: 6, label: "三级 2-1-1", leaf: true }],
718
738
  },
719
739
  {
720
- "id": 7,
721
- "label": "二级 2-2",
722
- "leaf": false,
723
- "children": [{"id": 8, "label": "三级 2-2-1", "leaf": true}]
724
- }
725
- ]
740
+ id: 7,
741
+ label: "二级 2-2",
742
+ leaf: false,
743
+ children: [{ id: 8, label: "三级 2-2-1", leaf: true }],
744
+ },
745
+ ],
726
746
  },
727
747
  {
728
- "id": 9,
729
- "label": "一级 3",
730
- "leaf": false,
731
- "children": [
748
+ id: 9,
749
+ label: "一级 3",
750
+ leaf: false,
751
+ children: [
732
752
  {
733
- "id": 10,
734
- "label": "二级 3-1",
735
- "leaf": false,
736
- "children": [{"id": 11, "label": "三级 3-1-1", "leaf": true}]
753
+ id: 10,
754
+ label: "二级 3-1",
755
+ leaf: false,
756
+ children: [{ id: 11, label: "三级 3-1-1", leaf: true }],
737
757
  },
738
758
  {
739
- "id": 12,
740
- "label": "二级 3-2",
741
- "leaf": false,
742
- "children": [{"id": 13, "label": "三级 3-2-1", "leaf": true}]
743
- }
744
- ]
745
- }
746
- ]
747
- }
748
- }
749
- ]
750
-
759
+ id: 12,
760
+ label: "二级 3-2",
761
+ leaf: false,
762
+ children: [{ id: 13, label: "三级 3-2-1", leaf: true }],
763
+ },
764
+ ],
765
+ },
766
+ ],
767
+ },
768
+ },
769
+ ];
751
770
 
752
771
  export const defaultSearchDialogConfig = {
753
772
  formCode: null,
@@ -757,20 +776,167 @@ export const defaultSearchDialogConfig = {
757
776
  tableRef: null,
758
777
  tableUniqueKey: null,
759
778
  tableData: [],
760
- multipleChoices: true
761
- }
779
+ multipleChoices: true,
780
+ confirmCallback: null,
781
+ dialogQueryParam: null,
782
+ dialogCustomParam:null
783
+ };
784
+
785
+ export const defaultWfConfig = {
786
+ wfFlag: 1,
787
+ wfEdit: false,
788
+ enabledByWf: false,
789
+ hiddenByWf: false,
790
+ wfConfigData: [],
791
+ wfModifyDataEnabled: false,
792
+ wfModifyDataConfig: [],
793
+ };
794
+
795
+ export const defaultTextFlagConfig = {
796
+ widgetTextFlag: null,
797
+ textFlag: 1,
798
+ showTextEnabled: false,
799
+ showEncryptTextEnabled: false,
800
+ userTextRuleEnabled: false,
801
+ userTextRuleConfig: [],
802
+ textRule1: true,
803
+ textRule2: false,
804
+ textRule2Number: null,
805
+ textRule3: false,
806
+ textRule3Number: null,
807
+ widgetTextLinkConfig: null,
808
+ };
809
+
810
+ export const defaultWidgetShowRuleConfig = {
811
+ widgetShowRuleFlag: 1,
812
+ widgetShowRuleEnabled: false,
813
+ widgetShowRuleConfig: [],
814
+ };
815
+
816
+ const vabsearchConfig = {
817
+ name: "",
818
+ keyNameEnabled: !1,
819
+ keyName: "",
820
+ vabSearchName: "",
821
+ userDefaultVabSearch: false,
822
+ saleOrgDefaultVabSearch: false,
823
+ label: "",
824
+ labelColor: "",
825
+ submitFlag: true,
826
+ disabled: !1,
827
+ hidden: !1,
828
+ required: !1,
829
+ labelWidth: null,
830
+ labelHidden: !1,
831
+ readonly: true,
832
+ /*formCode: null,
833
+ formName: null,
834
+ formVersion: null,
835
+ showFormField: null,*/
836
+ /* gridConfig: {
837
+ tableColumns: [],
838
+ searchFields: [],
839
+ searchParams: ""
840
+ },*/
841
+ // vabSearchField: null,
842
+ vabsearchFlag: 1,
843
+ onSearchClear: "",
844
+ dialogModel: "1",
845
+ systemDialogUrl: null,
846
+ accessType: "1",
847
+ onCreated: "",
848
+ onMounted: "",
849
+ onChange: "",
850
+ onAppendButtonClick: "",
851
+ clickBindEvent: "1",
852
+ onBeforeClickButton: null,
853
+ searchDialogConfig: {
854
+ ...defaultSearchDialogConfig,
855
+ multipleChoices: false,
856
+ },
857
+ ...defaultWfConfig,
858
+ valueField: null,
859
+ multipleChoices: false,
860
+
861
+ showRuleFlag: 1,
862
+ showRuleEnabled: 1,
863
+ showRules: [],
864
+ };
865
+
866
+ const projectTagConfig = {
867
+ name: "",
868
+ keyNameEnabled: !1,
869
+ keyName: "",
870
+ // keyNameSuffix: "",
871
+ label: "",
872
+ labelColor: "",
873
+ submitFlag: true,
874
+ disabled: !1,
875
+ readonly: false,
876
+ hidden: !1,
877
+ required: !1,
878
+ labelWidth: null,
879
+ labelHidden: !1,
880
+ onCreated: "if(this.dataId)this.loadDataDefaultHandle();",
881
+ onMounted: "",
882
+ onClick: "",
883
+ // vabUpload: 1,
884
+
885
+ ...httpConfig,
886
+ formScriptCode: "getList",
887
+
888
+ ...defaultWfConfig,
889
+
890
+ showRuleFlag: 1,
891
+ showRuleEnabled: 1,
892
+ showRules: [],
893
+
894
+ tagFormCode: null,
895
+ tagFormParam: null,
896
+ tagLabelField: null,
897
+ tagUniqueField: null,
898
+ tagFormLabelField: null,
899
+ tagFormUniqueField: null,
900
+ tagFillConfig: [],
901
+ tagConfirmCallback: null,
902
+ tagDeleteCallback: null,
903
+ tabDeleteEnabled: true,
904
+ };
905
+
906
+ const httpConfig = {
907
+ httpFormCode: null,
908
+ formScriptEnabled: true,
909
+ formScriptCode: null,
910
+ formScriptParam: null,
911
+ formScriptSuccess: null,
912
+ formScriptCallback: null,
913
+ };
914
+
915
+ export const hiddenWidgetTypesOfWf = [
916
+ "button",
917
+ "search_button",
918
+ "table-export-button",
919
+ "add_button",
920
+ "import-button",
921
+ "import2-button",
922
+ "print-button",
923
+ ];
924
+ export const freeWidgetTypesOfWf = ["reset_button","copy_button", "a-link", "a-text"];
762
925
 
763
926
  export const basicFields = [
764
927
  {
765
928
  type: "input",
766
929
  icon: "text-field",
930
+ commonFlag: !0,
767
931
  formItemFlag: !0,
932
+ columnFlag: true,
768
933
  tableField: null,
769
934
  options: {
770
935
  name: "",
771
936
  keyNameEnabled: !1,
772
937
  keyName: "",
773
938
  label: "",
939
+ labelColor: "",
774
940
  submitFlag: true,
775
941
  /**showText: false,*/
776
942
  formField: "",
@@ -800,9 +966,9 @@ export const basicFields = [
800
966
  showWordLimit: !1,
801
967
  prefixIcon: "",
802
968
  suffixIcon: "",
803
- appendButton: !1,
969
+ /*appendButton: !1,
804
970
  appendButtonDisabled: !1,
805
- buttonIcon: "el-icon-search",
971
+ buttonIcon: "el-icon-search",*/
806
972
  onCreated: "",
807
973
  onMounted: "",
808
974
  onInput: "",
@@ -813,33 +979,28 @@ export const basicFields = [
813
979
  onAppendButtonClick: "",
814
980
  widgetWidth: "",
815
981
  accessType: "1",
816
- wfFlag: 1,
817
- wfEdit: false,
818
- enabledByWf: false,
819
- hiddenByWf: false,
820
- wfConfigData: [],
982
+ ...defaultWfConfig,
821
983
 
822
984
  showRuleFlag: 1,
823
985
  showRuleEnabled: 1,
824
986
  showRules: [],
825
- textFlag: 1,
826
- textRule1: false,
827
- textRule2: false,
828
- textRule3: false,
829
- textRule2Number: null,
830
- textRule3Number: null
831
- }
987
+
988
+ ...defaultTextFlagConfig,
989
+ },
832
990
  },
833
991
  {
834
992
  type: "input-batch",
835
993
  icon: "input-batch",
994
+ commonFlag: !0,
836
995
  formItemFlag: !0,
996
+ columnFlag: true,
837
997
  tableField: null,
838
998
  options: {
839
999
  name: "",
840
1000
  keyNameEnabled: !1,
841
1001
  keyName: "",
842
1002
  label: "",
1003
+ labelColor: "",
843
1004
  submitFlag: true,
844
1005
  formField: "",
845
1006
  labelAlign: "",
@@ -860,7 +1021,7 @@ export const basicFields = [
860
1021
  validation: "",
861
1022
  validationHint: "",
862
1023
  customClass: "",
863
- labelIconClass: null,
1024
+ /*labelIconClass: null,
864
1025
  labelIconPosition: "rear",
865
1026
  labelTooltip: null,
866
1027
  minLength: null,
@@ -870,7 +1031,7 @@ export const basicFields = [
870
1031
  suffixIcon: "",
871
1032
  appendButton: !1,
872
1033
  appendButtonDisabled: !1,
873
- buttonIcon: "el-icon-search",
1034
+ buttonIcon: "el-icon-search",*/
874
1035
  onCreated: "",
875
1036
  onMounted: "",
876
1037
  onInput: "",
@@ -878,37 +1039,29 @@ export const basicFields = [
878
1039
  onFocus: "",
879
1040
  onBlur: "",
880
1041
  onValidate: "",
881
- onAppendButtonClick: "",
1042
+ // onAppendButtonClick: "",
882
1043
  widgetWidth: "",
883
1044
  accessType: "1",
884
- wfFlag: 1,
885
- wfEdit: false,
886
- enabledByWf: false,
887
- hiddenByWf: false,
888
- wfConfigData: [],
1045
+ ...defaultWfConfig,
889
1046
 
890
1047
  showRuleFlag: 1,
891
1048
  showRuleEnabled: 1,
892
1049
  showRules: [],
893
- textFlag: 1,
894
- textRule1: false,
895
- textRule2: false,
896
- textRule3: false,
897
- textRule2Number: null,
898
- textRule3Number: null
899
-
900
- }
1050
+ },
901
1051
  },
902
1052
  {
903
1053
  type: "textarea",
904
1054
  icon: "textarea-field",
1055
+ commonFlag: !0,
905
1056
  formItemFlag: !0,
1057
+ columnFlag: true,
906
1058
  tableField: null,
907
1059
  options: {
908
1060
  name: "",
909
1061
  keyNameEnabled: !1,
910
1062
  keyName: "",
911
1063
  label: "",
1064
+ labelColor: "",
912
1065
  submitFlag: true,
913
1066
  /**showText: false,*/
914
1067
  labelAlign: "",
@@ -941,33 +1094,28 @@ export const basicFields = [
941
1094
  onBlur: "",
942
1095
  onValidate: "",
943
1096
  accessType: "1",
944
- wfFlag: 1,
945
- wfEdit: false,
946
- enabledByWf: false,
947
- hiddenByWf: false,
948
- wfConfigData: [],
1097
+ ...defaultWfConfig,
949
1098
 
950
1099
  showRuleFlag: 1,
951
1100
  showRuleEnabled: 1,
952
1101
  showRules: [],
953
- textFlag: 1,
954
- textRule1: false,
955
- textRule2: false,
956
- textRule3: false,
957
- textRule2Number: null,
958
- textRule3Number: null
959
- }
1102
+
1103
+ ...defaultTextFlagConfig,
1104
+ },
960
1105
  },
961
1106
  {
962
1107
  type: "number",
963
1108
  icon: "number-field",
1109
+ commonFlag: !0,
964
1110
  formItemFlag: !0,
1111
+ columnFlag: true,
965
1112
  tableField: null,
966
1113
  options: {
967
1114
  name: "",
968
1115
  keyNameEnabled: !1,
969
1116
  keyName: "",
970
1117
  label: "",
1118
+ labelColor: "",
971
1119
  submitFlag: true,
972
1120
  /**showText: false,*/
973
1121
  formField: "",
@@ -984,8 +1132,8 @@ export const basicFields = [
984
1132
  requiredHint: "",
985
1133
  validation: "",
986
1134
  validationHint: "",
987
- // formulaEnabled: !1,
988
- // formula: "",
1135
+ formulaEnabled: !1,
1136
+ formula: "",
989
1137
  customClass: "",
990
1138
  labelIconClass: null,
991
1139
  labelIconPosition: "rear",
@@ -1002,34 +1150,28 @@ export const basicFields = [
1002
1150
  onBlur: "",
1003
1151
  onValidate: "",
1004
1152
  accessType: "1",
1005
- wfFlag: 1,
1006
- wfEdit: false,
1007
- enabledByWf: false,
1008
- hiddenByWf: false,
1009
- wfConfigData: [],
1153
+ ...defaultWfConfig,
1010
1154
 
1011
1155
  showRuleFlag: 1,
1012
1156
  showRuleEnabled: 1,
1013
1157
  showRules: [],
1014
- textFlag: 1,
1015
- textRule1: false,
1016
- textRule2: false,
1017
- textRule3: false,
1018
- textRule2Number: null,
1019
- textRule3Number: null
1020
1158
 
1021
- }
1159
+ ...defaultTextFlagConfig,
1160
+ },
1022
1161
  },
1023
1162
  {
1024
1163
  type: "radio",
1025
1164
  icon: "radio-field",
1165
+ commonFlag: !0,
1026
1166
  formItemFlag: !0,
1167
+ columnFlag: true,
1027
1168
  tableField: null,
1028
1169
  options: {
1029
1170
  name: "",
1030
1171
  keyNameEnabled: !1,
1031
1172
  keyName: "",
1032
1173
  label: "",
1174
+ labelColor: "",
1033
1175
  submitFlag: true,
1034
1176
  /**showText: false,*/
1035
1177
  labelAlign: "",
@@ -1051,12 +1193,12 @@ export const basicFields = [
1051
1193
  optionItems: [
1052
1194
  {
1053
1195
  label: "radio 1",
1054
- value: "1"
1196
+ value: "1",
1055
1197
  },
1056
1198
  {
1057
1199
  label: "radio 2",
1058
- value: "2"
1059
- }
1200
+ value: "2",
1201
+ },
1060
1202
  ],
1061
1203
  required: !1,
1062
1204
  requiredHint: "",
@@ -1073,36 +1215,33 @@ export const basicFields = [
1073
1215
  onValidate: "",
1074
1216
  accessType: "1",
1075
1217
 
1218
+ ...httpConfig,
1076
1219
  formScriptEnabled: false,
1077
1220
  formScriptCode: "getList",
1078
- formScriptParam: null,
1079
- wfFlag: 1,
1080
- wfEdit: false,
1081
- enabledByWf: false,
1082
- hiddenByWf: false,
1083
- wfConfigData: [],
1221
+
1222
+ ...defaultWfConfig,
1223
+
1224
+ commonAttributeEnabled: false,
1225
+ commonAttributeCode: "",
1084
1226
 
1085
1227
  showRuleFlag: 1,
1086
1228
  showRuleEnabled: 1,
1087
1229
  showRules: [],
1088
- textFlag: 1,
1089
- textRule1: false,
1090
- textRule2: false,
1091
- textRule3: false,
1092
- textRule2Number: null,
1093
- textRule3Number: null
1094
- }
1230
+ },
1095
1231
  },
1096
1232
  {
1097
1233
  type: "checkbox",
1098
1234
  icon: "checkbox-field",
1235
+ commonFlag: !0,
1099
1236
  formItemFlag: !0,
1237
+ columnFlag: true,
1100
1238
  tableField: null,
1101
1239
  options: {
1102
1240
  name: "",
1103
1241
  keyNameEnabled: !1,
1104
1242
  keyName: "",
1105
1243
  label: "",
1244
+ labelColor: "",
1106
1245
  submitFlag: true,
1107
1246
  /**showText: false,*/
1108
1247
  labelAlign: "",
@@ -1124,12 +1263,12 @@ export const basicFields = [
1124
1263
  optionItems: [
1125
1264
  {
1126
1265
  label: "check 1",
1127
- value: "1"
1266
+ value: "1",
1128
1267
  },
1129
1268
  {
1130
1269
  label: "check 2",
1131
- value: "2"
1132
- }
1270
+ value: "2",
1271
+ },
1133
1272
  ],
1134
1273
  required: !1,
1135
1274
  requiredHint: "",
@@ -1146,37 +1285,33 @@ export const basicFields = [
1146
1285
  onValidate: "",
1147
1286
  accessType: "1",
1148
1287
 
1288
+ ...httpConfig,
1149
1289
  formScriptEnabled: false,
1150
1290
  formScriptCode: "getList",
1151
- formScriptParam: null,
1152
- wfFlag: 1,
1153
- wfEdit: false,
1154
- enabledByWf: false,
1155
- hiddenByWf: false,
1156
- wfConfigData: [],
1291
+
1292
+ ...defaultWfConfig,
1293
+
1294
+ commonAttributeEnabled: false,
1295
+ commonAttributeCode: "",
1157
1296
 
1158
1297
  showRuleFlag: 1,
1159
1298
  showRuleEnabled: 1,
1160
1299
  showRules: [],
1161
- textFlag: 1,
1162
- textRule1: false,
1163
- textRule2: false,
1164
- textRule3: false,
1165
- textRule2Number: null,
1166
- textRule3Number: null
1167
-
1168
- }
1300
+ },
1169
1301
  },
1170
1302
  {
1171
1303
  type: "select",
1172
1304
  icon: "select-field",
1305
+ commonFlag: !0,
1173
1306
  formItemFlag: !0,
1307
+ columnFlag: true,
1174
1308
  tableField: null,
1175
1309
  options: {
1176
1310
  name: "",
1177
1311
  keyNameEnabled: !1,
1178
1312
  keyName: "",
1179
1313
  label: "",
1314
+ labelColor: "",
1180
1315
  submitFlag: true,
1181
1316
  /**showText: false,*/
1182
1317
  formField: "",
@@ -1202,16 +1337,20 @@ export const basicFields = [
1202
1337
  dsName: "",
1203
1338
  labelKey: "label",
1204
1339
  valueKey: "value",
1205
- optionItems: [{
1206
- label: "select 1",
1207
- value: "1"
1208
- }, {
1209
- label: "select 2",
1210
- value: "2"
1211
- }, {
1212
- label: "select 3",
1213
- value: "3"
1214
- }],
1340
+ optionItems: [
1341
+ {
1342
+ label: "select 1",
1343
+ value: "1",
1344
+ },
1345
+ {
1346
+ label: "select 2",
1347
+ value: "2",
1348
+ },
1349
+ {
1350
+ label: "select 3",
1351
+ value: "3",
1352
+ },
1353
+ ],
1215
1354
  required: !1,
1216
1355
  requiredHint: "",
1217
1356
  validation: "",
@@ -1230,36 +1369,36 @@ export const basicFields = [
1230
1369
  onValidate: "",
1231
1370
  widgetWidth: "",
1232
1371
  accessType: "1",
1372
+
1373
+ ...httpConfig,
1233
1374
  formScriptEnabled: false,
1234
1375
  formScriptCode: "getList",
1235
- formScriptParam: null,
1236
- wfFlag: 1,
1237
- wfEdit: false,
1238
- enabledByWf: false,
1239
- hiddenByWf: false,
1240
- wfConfigData: [],
1376
+
1377
+ ...defaultWfConfig,
1378
+
1379
+ commonAttributeEnabled: false,
1380
+ commonAttributeCode: "",
1381
+
1382
+ showCollapseTags: false,
1241
1383
 
1242
1384
  showRuleFlag: 1,
1243
1385
  showRuleEnabled: 1,
1244
1386
  showRules: [],
1245
- textFlag: 1,
1246
- textRule1: false,
1247
- textRule2: false,
1248
- textRule3: false,
1249
- textRule2Number: null,
1250
- textRule3Number: null
1251
- }
1387
+ },
1252
1388
  },
1253
1389
  {
1254
1390
  type: "time",
1255
1391
  icon: "time-field",
1392
+ commonFlag: !0,
1256
1393
  formItemFlag: !0,
1394
+ columnFlag: true,
1257
1395
  tableField: null,
1258
1396
  options: {
1259
1397
  name: "",
1260
1398
  keyNameEnabled: !1,
1261
1399
  keyName: "",
1262
1400
  label: "",
1401
+ labelColor: "",
1263
1402
  submitFlag: true,
1264
1403
  /**showText: false,*/
1265
1404
  formField: "",
@@ -1291,34 +1430,28 @@ export const basicFields = [
1291
1430
  onBlur: "",
1292
1431
  onValidate: "",
1293
1432
  accessType: "1",
1294
- wfFlag: 1,
1295
- wfEdit: false,
1296
- enabledByWf: false,
1297
- hiddenByWf: false,
1298
- wfConfigData: [],
1433
+ ...defaultWfConfig,
1299
1434
 
1300
1435
  showRuleFlag: 1,
1301
1436
  showRuleEnabled: 1,
1302
1437
  showRules: [],
1303
- textFlag: 1,
1304
- textRule1: false,
1305
- textRule2: false,
1306
- textRule3: false,
1307
- textRule2Number: null,
1308
- textRule3Number: null
1309
1438
 
1310
- }
1439
+ ...defaultTextFlagConfig,
1440
+ },
1311
1441
  },
1312
1442
  {
1313
1443
  type: "time-range",
1314
1444
  icon: "time-range-field",
1445
+ commonFlag: !0,
1315
1446
  formItemFlag: !0,
1447
+ columnFlag: true,
1316
1448
  tableField: null,
1317
1449
  options: {
1318
1450
  name: "",
1319
1451
  keyNameEnabled: !1,
1320
1452
  keyName: "",
1321
1453
  label: "",
1454
+ labelColor: "",
1322
1455
  submitFlag: true,
1323
1456
  formField: "",
1324
1457
  labelAlign: "",
@@ -1350,34 +1483,26 @@ export const basicFields = [
1350
1483
  onBlur: "",
1351
1484
  onValidate: "",
1352
1485
  accessType: "1",
1353
- wfFlag: 1,
1354
- wfEdit: false,
1355
- enabledByWf: false,
1356
- hiddenByWf: false,
1357
- wfConfigData: [],
1486
+ ...defaultWfConfig,
1358
1487
 
1359
1488
  showRuleFlag: 1,
1360
1489
  showRuleEnabled: 1,
1361
1490
  showRules: [],
1362
- textFlag: 1,
1363
- textRule1: false,
1364
- textRule2: false,
1365
- textRule3: false,
1366
- textRule2Number: null,
1367
- textRule3Number: null
1368
-
1369
- }
1491
+ },
1370
1492
  },
1371
1493
  {
1372
1494
  type: "date",
1373
1495
  icon: "date-field",
1496
+ commonFlag: !0,
1374
1497
  formItemFlag: !0,
1498
+ columnFlag: true,
1375
1499
  tableField: null,
1376
1500
  options: {
1377
1501
  name: "",
1378
1502
  keyNameEnabled: !1,
1379
1503
  keyName: "",
1380
1504
  label: "",
1505
+ labelColor: "",
1381
1506
  submitFlag: true,
1382
1507
  /**showText: false,*/
1383
1508
  formField: "",
@@ -1411,34 +1536,28 @@ export const basicFields = [
1411
1536
  onBlur: "",
1412
1537
  onValidate: "",
1413
1538
  accessType: "1",
1414
- wfFlag: 1,
1415
- wfEdit: false,
1416
- enabledByWf: false,
1417
- hiddenByWf: false,
1418
- wfConfigData: [],
1539
+ ...defaultWfConfig,
1419
1540
 
1420
1541
  showRuleFlag: 1,
1421
1542
  showRuleEnabled: 1,
1422
1543
  showRules: [],
1423
- textFlag: 1,
1424
- textRule1: false,
1425
- textRule2: false,
1426
- textRule3: false,
1427
- textRule2Number: null,
1428
- textRule3Number: null
1429
1544
 
1430
- }
1545
+ ...defaultTextFlagConfig,
1546
+ },
1431
1547
  },
1432
1548
  {
1433
1549
  type: "date-range",
1434
1550
  icon: "date-range-field",
1551
+ commonFlag: !0,
1435
1552
  formItemFlag: !0,
1553
+ columnFlag: true,
1436
1554
  tableField: null,
1437
1555
  options: {
1438
1556
  name: "",
1439
1557
  keyNameEnabled: !1,
1440
1558
  keyName: "",
1441
1559
  label: "",
1560
+ labelColor: "",
1442
1561
  submitFlag: true,
1443
1562
  formField: "",
1444
1563
  labelAlign: "",
@@ -1457,6 +1576,7 @@ export const basicFields = [
1457
1576
  editable: !1,
1458
1577
  format: "yyyy-MM-dd",
1459
1578
  valueFormat: "yyyy-MM-dd",
1579
+ defaultTime: ["00:00:00", "23:59:59"],
1460
1580
  required: !1,
1461
1581
  requiredHint: "",
1462
1582
  validation: "",
@@ -1472,23 +1592,12 @@ export const basicFields = [
1472
1592
  onBlur: "",
1473
1593
  onValidate: "",
1474
1594
  accessType: "1",
1475
- wfFlag: 1,
1476
- wfEdit: false,
1477
- enabledByWf: false,
1478
- hiddenByWf: false,
1479
- wfConfigData: [],
1595
+ ...defaultWfConfig,
1480
1596
 
1481
1597
  showRuleFlag: 1,
1482
1598
  showRuleEnabled: 1,
1483
1599
  showRules: [],
1484
- textFlag: 1,
1485
- textRule1: false,
1486
- textRule2: false,
1487
- textRule3: false,
1488
- textRule2Number: null,
1489
- textRule3Number: null
1490
-
1491
- }
1600
+ },
1492
1601
  },
1493
1602
  /* {
1494
1603
  type: "switch",
@@ -1617,7 +1726,9 @@ export const basicFields = [
1617
1726
  {
1618
1727
  type: "static-text",
1619
1728
  icon: "static-text",
1729
+ commonFlag: !0,
1620
1730
  formItemFlag: !1,
1731
+ columnFlag: true,
1621
1732
  options: {
1622
1733
  name: "",
1623
1734
  columnWidth: "200px",
@@ -1628,23 +1739,21 @@ export const basicFields = [
1628
1739
  onCreated: "",
1629
1740
  onMounted: "",
1630
1741
  accessType: "1",
1742
+ ...defaultWfConfig,
1631
1743
 
1632
1744
  showRuleFlag: 1,
1633
1745
  showRuleEnabled: 1,
1634
1746
  showRules: [],
1635
- textFlag: 1,
1636
- textRule1: false,
1637
- textRule2: false,
1638
- textRule3: false,
1639
- textRule2Number: null,
1640
- textRule3Number: null
1641
1747
 
1642
- }
1748
+ ...defaultTextFlagConfig,
1749
+ },
1643
1750
  },
1644
1751
  {
1645
1752
  type: "html-text",
1646
1753
  icon: "html-text",
1754
+ commonFlag: !1,
1647
1755
  formItemFlag: !1,
1756
+ columnFlag: false,
1648
1757
  options: {
1649
1758
  name: "",
1650
1759
  columnWidth: "200px",
@@ -1654,18 +1763,12 @@ export const basicFields = [
1654
1763
  onCreated: "",
1655
1764
  onMounted: "",
1656
1765
  accessType: "1",
1766
+ ...defaultWfConfig,
1657
1767
 
1658
1768
  showRuleFlag: 1,
1659
1769
  showRuleEnabled: 1,
1660
1770
  showRules: [],
1661
- textFlag: 1,
1662
- textRule1: false,
1663
- textRule2: false,
1664
- textRule3: false,
1665
- textRule2Number: null,
1666
- textRule3Number: null
1667
-
1668
- }
1771
+ },
1669
1772
  },
1670
1773
  /* {
1671
1774
  type: 'title-head',
@@ -1687,10 +1790,13 @@ export const basicFields = [
1687
1790
  {
1688
1791
  type: "button",
1689
1792
  icon: "button",
1793
+ commonFlag: !0,
1690
1794
  formItemFlag: !1,
1795
+ columnFlag: true,
1691
1796
  options: {
1692
1797
  name: "",
1693
1798
  label: "",
1799
+ wfHideFlag: 1,
1694
1800
  columnWidth: "200px",
1695
1801
  size: "",
1696
1802
  displayStyle: "block",
@@ -1707,34 +1813,29 @@ export const basicFields = [
1707
1813
  onClick: "",
1708
1814
  accessType: "1",
1709
1815
  clickBindEvent: null,
1816
+ onBeforeClickButton: null,
1710
1817
  searchDialogConfig: {
1711
- ...defaultSearchDialogConfig
1818
+ ...defaultSearchDialogConfig,
1712
1819
  },
1713
1820
  addTableDataConfig: {
1714
1821
  tableRef: null,
1715
- tableData: {}
1822
+ tableData: {},
1716
1823
  },
1717
- wfFlag: 1,
1718
- wfEdit: false,
1719
- enabledByWf: false,
1720
- hiddenByWf: false,
1721
- wfConfigData: [],
1824
+ ...defaultWfConfig,
1825
+ hiddenByWf: true,
1826
+ ...defaultWidgetShowRuleConfig,
1722
1827
 
1723
1828
  showRuleFlag: 1,
1724
1829
  showRuleEnabled: 1,
1725
1830
  showRules: [],
1726
- textFlag: 1,
1727
- textRule1: false,
1728
- textRule2: false,
1729
- textRule3: false,
1730
- textRule2Number: null,
1731
- textRule3Number: null
1732
- }
1831
+ },
1733
1832
  },
1734
1833
  {
1735
1834
  type: "divider",
1736
1835
  icon: "divider",
1836
+ commonFlag: !0,
1737
1837
  formItemFlag: !1,
1838
+ columnFlag: true,
1738
1839
  options: {
1739
1840
  name: "",
1740
1841
  label: "",
@@ -1743,9 +1844,10 @@ export const basicFields = [
1743
1844
  contentPosition: "center",
1744
1845
  hidden: !1,
1745
1846
  customClass: "",
1847
+ ...defaultWfConfig,
1746
1848
  onCreated: "",
1747
- onMounted: ""
1748
- }
1849
+ onMounted: "",
1850
+ },
1749
1851
  },
1750
1852
  /*{
1751
1853
  type: "descriptions",
@@ -1804,18 +1906,22 @@ export const basicFields = [
1804
1906
  {
1805
1907
  type: "text",
1806
1908
  icon: "text",
1909
+ commonFlag: !0,
1807
1910
  formItemFlag: !0,
1911
+ columnFlag: true,
1808
1912
  tableField: null,
1809
1913
  options: {
1810
1914
  name: "",
1811
1915
  keyNameEnabled: !1,
1812
1916
  keyName: "",
1813
1917
  label: "",
1918
+ labelColor: "",
1814
1919
  submitFlag: true,
1815
1920
  formField: "",
1816
1921
  hidden: !1,
1817
1922
  required: !1,
1818
1923
  customClass: "",
1924
+ colorClass: "",
1819
1925
  defaultValue: "",
1820
1926
  labelAlign: "",
1821
1927
  labelWidth: null,
@@ -1823,29 +1929,32 @@ export const basicFields = [
1823
1929
  onCreated: "",
1824
1930
  onMounted: "",
1825
1931
  accessType: "1",
1826
- labelColor: '#555555',
1932
+ ...defaultWfConfig,
1933
+
1934
+ autoValueEnabled: false,
1935
+ autoValueHanlde: null,
1827
1936
 
1828
1937
  showRuleFlag: 1,
1829
1938
  showRuleEnabled: 1,
1830
1939
  showRules: [],
1831
- textFlag: 1,
1832
- textRule1: false,
1833
- textRule2: false,
1834
- textRule3: false,
1835
- textRule2Number: null,
1836
- textRule3Number: null
1837
- }
1940
+
1941
+ ...defaultTextFlagConfig,
1942
+ },
1838
1943
  },
1839
1944
  {
1840
1945
  type: "a-text",
1841
1946
  icon: "text-field",
1947
+ commonFlag: !0,
1842
1948
  formItemFlag: !0,
1949
+ columnFlag: true,
1843
1950
  tableField: null,
1844
1951
  options: {
1845
1952
  name: "",
1846
1953
  keyNameEnabled: !1,
1847
1954
  keyName: "",
1848
1955
  label: "",
1956
+ labelColor: "",
1957
+ displayStyle: "block",
1849
1958
  submitFlag: true,
1850
1959
  /**showText: false,*/
1851
1960
  formField: "",
@@ -1864,7 +1973,7 @@ export const basicFields = [
1864
1973
  aTextFlag: 1,
1865
1974
  underline: false,
1866
1975
  href: "",
1867
- coloClass: "f-red",
1976
+ colorClass: "f-red",
1868
1977
 
1869
1978
  onCreated: "",
1870
1979
  onMounted: "",
@@ -1872,78 +1981,95 @@ export const basicFields = [
1872
1981
  onChange: "",
1873
1982
  onClick: "",
1874
1983
  accessType: "1",
1875
- wfFlag: 1,
1876
- wfEdit: false,
1877
- enabledByWf: false,
1878
- hiddenByWf: false,
1879
- wfConfigData: [],
1984
+ ...defaultWfConfig,
1985
+ ...defaultWidgetShowRuleConfig,
1880
1986
 
1881
1987
  showRuleFlag: 1,
1882
1988
  showRuleEnabled: 1,
1883
1989
  showRules: [],
1884
- textFlag: 1,
1885
- textRule1: false,
1886
- textRule2: false,
1887
- textRule3: false,
1888
- textRule2Number: null,
1889
- textRule3Number: null
1890
- }
1990
+
1991
+ ...defaultTextFlagConfig,
1992
+ },
1891
1993
  },
1892
1994
  {
1893
1995
  type: "a-link",
1894
1996
  icon: "button",
1997
+ commonFlag: !0,
1895
1998
  formItemFlag: !1,
1999
+ columnFlag: true,
1896
2000
  options: {
1897
2001
  name: "",
1898
2002
  keyNameEnabled: !1,
1899
2003
  keyName: "",
1900
2004
  label: "",
2005
+ displayStyle: "block",
1901
2006
  labelHidden: !1,
1902
2007
  disabled: !1,
1903
2008
  hidden: !1,
1904
2009
  prefixIcon: "",
1905
2010
  suffixIcon: "",
1906
2011
  customClass: "",
2012
+ wfHideFlag: 1,
1907
2013
  aLinkFlag: 1,
1908
2014
  underline: false,
1909
2015
  href: "",
1910
- coloClass: "f-red",
2016
+ colorClass: "f-blue",
1911
2017
  isFormLabel: false,
1912
2018
  onCreated: "",
1913
2019
  onMounted: "",
1914
2020
  onClick: "",
1915
2021
  clickBindEvent: null,
2022
+ onBeforeClickButton: null,
1916
2023
  searchDialogConfig: {
1917
- ...defaultSearchDialogConfig
2024
+ ...defaultSearchDialogConfig,
1918
2025
  },
1919
2026
  addTableDataConfig: {
1920
2027
  tableRef: null,
1921
- tableData: {}
2028
+ tableData: {},
1922
2029
  },
1923
- wfFlag: 1,
1924
- wfEdit: false,
1925
- enabledByWf: false,
1926
- hiddenByWf: false,
1927
- wfConfigData: [],
2030
+ ...defaultWfConfig,
2031
+ ...defaultWidgetShowRuleConfig,
1928
2032
 
1929
2033
  showRuleFlag: 1,
1930
2034
  showRuleEnabled: 1,
1931
2035
  showRules: [],
1932
- textFlag: 1,
1933
- textRule1: false,
1934
- textRule2: false,
1935
- textRule3: false,
1936
- textRule2Number: null,
1937
- textRule3Number: null
1938
- }
2036
+
2037
+ ...defaultTextFlagConfig,
2038
+ },
1939
2039
  },
2040
+ {
2041
+ type: "a-link2",
2042
+ icon: "button",
2043
+ commonFlag: !1,
2044
+ formItemFlag: !1,
2045
+ columnFlag: false,
2046
+ options: {
2047
+ prefixIcon: "",
2048
+ suffixIcon: "",
2049
+ customClass: "",
2050
+ aLinkFlag: 1,
2051
+ underline: false,
2052
+ href: "",
2053
+ colorClass: "f-blue",
1940
2054
 
1941
- ]
2055
+ onClick: "",
2056
+ clickBindEvent: null,
2057
+ onBeforeClickButton: null,
2058
+ searchDialogConfig: {
2059
+ ...defaultSearchDialogConfig,
2060
+ },
2061
+ addTableDataConfig: {
2062
+ tableRef: null,
2063
+ tableData: {},
2064
+ },
2065
+ },
2066
+ },
2067
+ ];
1942
2068
 
1943
2069
  export const advancedFields = [
1944
2070
  {
1945
- type: 'echart-pie',
1946
- icon: 'echart-pie',
2071
+ type: "echart-pie",
2072
+ icon: "echart-pie",
1947
2073
  commonFlag: !0,
1948
2074
  formItemFlag: false,
1949
2075
  options: {
@@ -1952,89 +2078,102 @@ export const advancedFields = [
1952
2078
  hidden: !1,
1953
2079
  echarPieOption: {
1954
2080
  backgroundColor: "#fff",
1955
- color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2081
+ color: [
2082
+ "#5BC1D7",
2083
+ "#FF8A3D",
2084
+ "#56C271",
2085
+ "#694ED6",
2086
+ "#C033A1",
2087
+ "#FFCC10",
2088
+ ],
1956
2089
  title: {
1957
2090
  show: true,
1958
- top: '5px',
1959
- text: '这是饼图标题',
2091
+ top: "5px",
2092
+ text: "这是饼图标题",
1960
2093
  },
1961
2094
  grid: {
1962
- top: '80px',
1963
- left: '3%',
1964
- right: '6%',
1965
- bottom: '3%',
1966
- containLabel: true
2095
+ top: "80px",
2096
+ left: "3%",
2097
+ right: "6%",
2098
+ bottom: "3%",
2099
+ containLabel: true,
1967
2100
  },
1968
2101
  legend: {
1969
2102
  show: false,
1970
- right: '12px',
2103
+ right: "12px",
1971
2104
  itemGap: 20,
1972
2105
  itemWidth: 10,
1973
2106
  itemHeight: 10,
1974
- orient: 'horizontal'
2107
+ orient: "horizontal",
1975
2108
  },
1976
2109
  tooltip: {
1977
- trigger: 'axis',
2110
+ trigger: "axis",
1978
2111
  axisPointer: {
1979
- type: 'shadow',
2112
+ type: "shadow",
1980
2113
  label: {
1981
- backgroundColor: '#fff'
1982
- }
1983
- }
1984
- },
1985
- series: [{
1986
- // name: 'Access From',
1987
- type: 'pie',
1988
- radius: '60%',
1989
- center: ['50%', '48%'],
1990
- itemStyle: {
1991
- borderRadius: 10,
1992
- borderColor: '#FFF',
1993
- borderWidth: 2
1994
- },
1995
- label: {
1996
- show: true,
1997
- fontSize: 12,
1998
- color: "",
1999
- fontWeight: "normal"
2000
- },
2001
- data: [{
2002
- value: 1048,
2003
- name: 'Search Engine'
2004
- },
2005
- {
2006
- value: 735,
2007
- name: 'Direct'
2114
+ backgroundColor: "#fff",
2008
2115
  },
2009
- {
2010
- value: 580,
2011
- name: 'Email'
2116
+ },
2117
+ },
2118
+ series: [
2119
+ {
2120
+ // name: 'Access From',
2121
+ type: "pie",
2122
+ radius: "60%",
2123
+ center: ["50%", "48%"],
2124
+ itemStyle: {
2125
+ borderRadius: 10,
2126
+ borderColor: "#FFF",
2127
+ borderWidth: 2,
2012
2128
  },
2013
- {
2014
- value: 484,
2015
- name: 'Union Ads'
2129
+ label: {
2130
+ show: true,
2131
+ fontSize: 12,
2132
+ color: "",
2133
+ fontWeight: "normal",
2016
2134
  },
2017
- {
2018
- value: 300,
2019
- name: 'Video Ads'
2020
- }
2021
- ],
2022
- }]
2135
+ data: [
2136
+ {
2137
+ value: 1048,
2138
+ name: "Search Engine",
2139
+ },
2140
+ {
2141
+ value: 735,
2142
+ name: "Direct",
2143
+ },
2144
+ {
2145
+ value: 580,
2146
+ name: "Email",
2147
+ },
2148
+ {
2149
+ value: 484,
2150
+ name: "Union Ads",
2151
+ },
2152
+ {
2153
+ value: 300,
2154
+ name: "Video Ads",
2155
+ },
2156
+ ],
2157
+ },
2158
+ ],
2023
2159
  },
2024
- formScriptEnabled: true,
2025
- formScriptCode: "",
2026
- formScriptParam: null,
2160
+ echartConfig: "",
2161
+
2162
+ ...httpConfig,
2163
+
2164
+ onClick: "",
2027
2165
  onCreated: "",
2028
2166
  onMounted: "this.loadDataDefaultHandle()",
2029
2167
 
2168
+ ...defaultWfConfig,
2030
2169
  showRuleFlag: 1,
2031
2170
  showRuleEnabled: 1,
2032
- showRules: []
2033
- }
2171
+ showRules: [],
2172
+ },
2034
2173
  },
2035
2174
  {
2036
- type: 'echart-bar',
2037
- icon: 'echart',
2175
+ type: "echart-bar",
2176
+ icon: "echart",
2038
2177
  commonFlag: !0,
2039
2178
  formItemFlag: false,
2040
2179
  options: {
@@ -2043,44 +2182,52 @@ export const advancedFields = [
2043
2182
  hidden: !1,
2044
2183
  echarBarOption: {
2045
2184
  backgroundColor: "#fff",
2046
- color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2185
+ color: [
2186
+ "#5BC1D7",
2187
+ "#FF8A3D",
2188
+ "#56C271",
2189
+ "#694ED6",
2190
+ "#C033A1",
2191
+ "#FFCC10",
2192
+ ],
2193
+ colors: [],
2047
2194
  title: {
2048
2195
  show: true,
2049
- top: '5px',
2050
- text: '这是柱形图标题',
2196
+ top: "5px",
2197
+ text: "这是柱形图标题",
2051
2198
  },
2052
2199
  grid: {
2053
- top: '80px',
2054
- left: '3%',
2055
- right: '80',
2056
- bottom: '3%',
2057
- containLabel: true
2200
+ top: "80px",
2201
+ left: "3%",
2202
+ right: "80",
2203
+ bottom: "3%",
2204
+ containLabel: true,
2058
2205
  },
2059
2206
  legend: {
2060
- right: '12px',
2061
- top: '8px',
2062
- icon: 'circle',
2207
+ right: "12px",
2208
+ top: "8px",
2209
+ icon: "circle",
2063
2210
  itemWidth: 12,
2064
2211
 
2065
2212
  itemGap: 24,
2066
2213
  },
2067
2214
  tooltip: {
2068
- trigger: 'axis',
2215
+ trigger: "axis",
2069
2216
  axisPointer: {
2070
- type: 'shadow',
2217
+ type: "shadow",
2071
2218
  label: {
2072
- backgroundColor: '#fff'
2073
- }
2074
- }
2219
+ backgroundColor: "#fff",
2220
+ },
2221
+ },
2075
2222
  },
2076
2223
  xAxis: {
2077
- type: 'category',
2078
- data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
2224
+ type: "category",
2225
+ data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
2079
2226
  show: true,
2080
2227
  name: "X轴",
2081
2228
  nameTextStyle: {
2082
2229
  color: "#606266",
2083
- fontSize: 12
2230
+ fontSize: 12,
2084
2231
  },
2085
2232
  axisLabel: {
2086
2233
  color: "#606266",
@@ -2090,20 +2237,20 @@ export const advancedFields = [
2090
2237
  inverse: false,
2091
2238
  axisLine: {
2092
2239
  lineStyle: {
2093
- color: "#E6EBF5"
2094
- }
2240
+ color: "#E6EBF5",
2241
+ },
2095
2242
  },
2096
2243
  splitLine: {
2097
2244
  show: false,
2098
- }
2245
+ },
2099
2246
  },
2100
2247
  yAxis: {
2101
- type: 'value',
2248
+ type: "value",
2102
2249
  show: true,
2103
2250
  name: "Y轴",
2104
2251
  nameTextStyle: {
2105
2252
  color: "#606266",
2106
- fontSize: 12
2253
+ fontSize: 12,
2107
2254
  },
2108
2255
  axisLabel: {
2109
2256
  color: "#606266",
@@ -2114,96 +2261,109 @@ export const advancedFields = [
2114
2261
  axisLine: {
2115
2262
  show: false,
2116
2263
  lineStyle: {
2117
- color: ""
2118
- }
2264
+ color: "",
2265
+ },
2119
2266
  },
2120
2267
  splitLine: {
2121
2268
  show: true,
2122
2269
  lineStyle: {
2123
- color: "#E6EBF5"
2124
- }
2125
- }
2126
- },
2127
- series: [{
2128
- data: [120, 200, 150, 80, 70, 110, 130],
2129
- type: 'bar',
2130
- name: 'Video Ad',
2131
- label: {
2132
- show: false,
2133
- fontSize: 12,
2134
- color: "#FFF",
2135
- fontWeight: "normal",
2136
- position: 'insideTop',
2137
- },
2138
- backgroundStyle: {
2139
- color: 'rgba(180, 180, 180, 0.2)'
2270
+ color: "#E6EBF5",
2271
+ },
2140
2272
  },
2141
- barMaxWidth: 28,
2142
- barMinHeight: 0,
2143
- barGap: '15%',
2144
- itemStyle: {
2145
- color: {
2146
- type: 'linear',
2147
- x: 0.5,
2148
- y: 0.9,
2149
- r: 0.2,
2150
- colorStops: [{
2151
- offset: 1, color: '#08C084' // 0% 处的颜色
2152
- }, {
2153
- offset: 0, color: '#97EACE' // 100% 处的颜色
2154
- }],
2273
+ },
2274
+ series: [
2275
+ {
2276
+ data: [120, 200, 150, 80, 70, 110, 130],
2277
+ type: "bar",
2278
+ name: "Video Ad",
2279
+ label: {
2280
+ show: false,
2281
+ fontSize: 12,
2282
+ color: "#FFF",
2283
+ fontWeight: "normal",
2284
+ position: "insideTop",
2285
+ },
2286
+ backgroundStyle: {
2287
+ color: "rgba(180, 180, 180, 0.2)",
2288
+ },
2289
+ barMaxWidth: 28,
2290
+ barMinHeight: 0,
2291
+ barGap: "15%",
2292
+ itemStyle: {
2293
+ color: {
2294
+ type: "linear",
2295
+ x: 0.5,
2296
+ y: 0.9,
2297
+ r: 0.2,
2298
+ colorStops: [
2299
+ {
2300
+ offset: 1,
2301
+ color: "#08C084", // 0% 处的颜色
2302
+ },
2303
+ {
2304
+ offset: 0,
2305
+ color: "#97EACE", // 100% 处的颜色
2306
+ },
2307
+ ],
2308
+ },
2309
+ borderRadius: [20, 20, 0, 0],
2155
2310
  },
2156
- borderRadius: [20, 20, 0, 0]
2157
2311
  },
2312
+ {
2313
+ data: [140, 232, 101, 264, 90, 340, 250],
2314
+ type: "bar",
2315
+ name: "Video Ad1",
2158
2316
 
2159
- }, {
2160
- data: [140, 232, 101, 264, 90, 340, 250],
2161
- type: 'bar',
2162
- name: 'Video Ad1',
2163
-
2164
- label: {
2165
- show: false,
2166
- fontSize: 12,
2167
- color: "#FFF",
2168
- fontWeight: "normal",
2169
- position: 'insideTop',
2170
- },
2171
- backgroundStyle: {
2172
- color: 'rgba(180, 180, 180, 0.2)'
2173
- },
2174
- barMaxWidth: '28%',
2175
- barMinHeight: 0,
2176
- itemStyle: {
2177
- color: {
2178
- type: 'linear',
2179
- x: 0.5,
2180
- y: 0.9,
2181
- r: 0.2,
2182
- colorStops: [{
2183
- offset: 1, color: '#29ABE3' // 0% 处的颜色
2184
- }, {
2185
- offset: 0, color: '#AADEF4' // 100% 处的颜色
2186
- }],
2317
+ label: {
2318
+ show: false,
2319
+ fontSize: 12,
2320
+ color: "#FFF",
2321
+ fontWeight: "normal",
2322
+ position: "insideTop",
2323
+ },
2324
+ backgroundStyle: {
2325
+ color: "rgba(180, 180, 180, 0.2)",
2326
+ },
2327
+ barMaxWidth: "28%",
2328
+ barMinHeight: 0,
2329
+ itemStyle: {
2330
+ color: {
2331
+ type: "linear",
2332
+ x: 0.5,
2333
+ y: 0.9,
2334
+ r: 0.2,
2335
+ colorStops: [
2336
+ {
2337
+ offset: 1,
2338
+ color: "#29ABE3", // 0% 处的颜色
2339
+ },
2340
+ {
2341
+ offset: 0,
2342
+ color: "#AADEF4", // 100% 处的颜色
2343
+ },
2344
+ ],
2345
+ },
2346
+ borderRadius: [20, 20, 0, 0],
2187
2347
  },
2188
- borderRadius: [20, 20, 0, 0]
2189
2348
  },
2190
-
2191
- }]
2349
+ ],
2192
2350
  },
2193
- formScriptEnabled: true,
2194
- formScriptCode: "",
2195
- formScriptParam: null,
2351
+ echartConfig: "",
2352
+
2353
+ ...httpConfig,
2354
+
2355
+ onClick: "",
2196
2356
  onCreated: "",
2197
2357
  onMounted: "this.loadDataDefaultHandle()",
2198
-
2358
+ ...defaultWfConfig,
2199
2359
  showRuleFlag: 1,
2200
2360
  showRuleEnabled: 1,
2201
- showRules: []
2202
- }
2361
+ showRules: [],
2362
+ },
2203
2363
  },
2204
2364
  {
2205
- type: 'echart-category',
2206
- icon: 'echart-category',
2365
+ type: "echart-category",
2366
+ icon: "echart-category",
2207
2367
  commonFlag: !0,
2208
2368
  formItemFlag: false,
2209
2369
  options: {
@@ -2213,42 +2373,50 @@ export const advancedFields = [
2213
2373
  reqSources: [],
2214
2374
  echarCategoryOption: {
2215
2375
  backgroundColor: "#fff",
2216
- color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2376
+ color: [
2377
+ "#5BC1D7",
2378
+ "#FF8A3D",
2379
+ "#56C271",
2380
+ "#694ED6",
2381
+ "#C033A1",
2382
+ "#FFCC10",
2383
+ ],
2384
+ colors: [],
2217
2385
  title: {
2218
2386
  show: true,
2219
- top: '5px',
2220
- text: '这是折线图标题',
2387
+ top: "5px",
2388
+ text: "这是折线图标题",
2221
2389
  },
2222
2390
  grid: {
2223
- top: '80px',
2224
- left: '3%',
2225
- right: '80',
2226
- bottom: '3%',
2227
- containLabel: true
2391
+ top: "80px",
2392
+ left: "3%",
2393
+ right: "80",
2394
+ bottom: "3%",
2395
+ containLabel: true,
2228
2396
  },
2229
2397
  legend: {
2230
- right: '12px',
2231
- top: '8px',
2398
+ right: "12px",
2399
+ top: "8px",
2232
2400
  itemGap: 24,
2233
2401
  },
2234
2402
  tooltip: {
2235
- trigger: 'axis',
2403
+ trigger: "axis",
2236
2404
  axisPointer: {
2237
- type: 'shadow',
2405
+ type: "shadow",
2238
2406
  label: {
2239
- backgroundColor: '#fff'
2240
- }
2241
- }
2407
+ backgroundColor: "#fff",
2408
+ },
2409
+ },
2242
2410
  },
2243
2411
  xAxis: {
2244
- type: 'category',
2245
- data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
2412
+ type: "category",
2413
+ data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
2246
2414
  show: true,
2247
2415
  name: "X轴",
2248
2416
  boundaryGap: false,
2249
2417
  nameTextStyle: {
2250
2418
  color: "#606266",
2251
- fontSize: 12
2419
+ fontSize: 12,
2252
2420
  },
2253
2421
  axisLabel: {
2254
2422
  color: "#606266",
@@ -2258,24 +2426,24 @@ export const advancedFields = [
2258
2426
  inverse: false,
2259
2427
  axisLine: {
2260
2428
  lineStyle: {
2261
- color: "#E6EBF5"
2262
- }
2429
+ color: "#E6EBF5",
2430
+ },
2263
2431
  },
2264
2432
  splitLine: {
2265
2433
  show: true,
2266
2434
  lineStyle: {
2267
- type: 'dashed',
2268
- color: "#E6EBF595"
2269
- }
2270
- }
2435
+ type: "dashed",
2436
+ color: "#E6EBF595",
2437
+ },
2438
+ },
2271
2439
  },
2272
2440
  yAxis: {
2273
- type: 'value',
2441
+ type: "value",
2274
2442
  show: true,
2275
2443
  name: "Y轴",
2276
2444
  nameTextStyle: {
2277
2445
  color: "#606266",
2278
- fontSize: 12
2446
+ fontSize: 12,
2279
2447
  },
2280
2448
  axisLabel: {
2281
2449
  color: "#606266",
@@ -2286,110 +2454,167 @@ export const advancedFields = [
2286
2454
  axisLine: {
2287
2455
  show: false,
2288
2456
  lineStyle: {
2289
- color: ""
2290
- }
2457
+ color: "",
2458
+ },
2291
2459
  },
2292
2460
  splitLine: {
2293
2461
  show: true,
2294
2462
  lineStyle: {
2295
- color: "#E6EBF5"
2296
- }
2297
- }
2298
- },
2299
- series: [{
2300
- name: "R1",
2301
- data: [220, 282, 111, 234, 220, 340, 310],
2302
- type: 'line',
2303
- stack: 'Total',
2304
- label: {
2305
- show: true,
2306
- fontSize: 12,
2307
- color: "#212121",
2308
- fontWeight: "normal"
2309
- },
2310
- lineStyle: {
2311
- color: {
2312
- type: 'linear',
2313
- x: 0.5,
2314
- y: 0.5,
2315
- r: 0.5,
2316
- colorStops: [{
2317
- offset: 0, color: '#08C084' // 0% 处的颜色
2318
- }, {
2319
- offset: 1, color: '#97EACE' // 100% 处的颜色
2320
- }],
2463
+ color: "#E6EBF5",
2321
2464
  },
2322
- cap: 'round',
2323
- shadowColor: '#08C08450',
2324
- shadowBlur: 4,
2325
- shadowOffsetY: 6
2326
- },
2327
- emphasis: {
2328
- scale: 1,
2329
- focus: 'series'
2330
2465
  },
2331
- showSymbol: false,
2332
- smooth: true,
2333
- }, {
2334
- name: "R2",
2335
- data: [140, 232, 101, 264, 90, 340, 250],
2336
- type: 'line',
2337
- stack: 'Total',
2338
- label: {
2339
- show: true,
2340
- fontSize: 12,
2341
- color: "#212121",
2342
- fontWeight: "normal"
2343
- },
2344
- lineStyle: {
2345
- color: {
2346
- type: 'linear',
2347
- x: 0.5,
2348
- y: 0.5,
2349
- r: 0.5,
2350
- colorStops: [{
2351
- offset: 0, color: '#FF6116' // 0% 处的颜色
2352
- }, {
2353
- offset: 1, color: '#F9A980' // 100% 处的颜色
2354
- }],
2466
+ },
2467
+ series: [
2468
+ {
2469
+ name: "R1",
2470
+ data: [220, 282, 111, 234, 220, 340, 310],
2471
+ type: "line",
2472
+ stack: "Total",
2473
+ label: {
2474
+ show: true,
2475
+ fontSize: 12,
2476
+ color: "#212121",
2477
+ fontWeight: "normal",
2355
2478
  },
2356
- cap: 'round',
2357
- shadowColor: '#FF611650',
2358
- shadowBlur: 4,
2359
- shadowOffsetY: 6
2479
+ lineStyle: {
2480
+ color: {
2481
+ type: "linear",
2482
+ x: 0.5,
2483
+ y: 0.5,
2484
+ r: 0.5,
2485
+ colorStops: [
2486
+ {
2487
+ offset: 0,
2488
+ color: "#08C084", // 0% 处的颜色
2489
+ },
2490
+ {
2491
+ offset: 1,
2492
+ color: "#97EACE", // 100% 处的颜色
2493
+ },
2494
+ ],
2495
+ },
2496
+ cap: "round",
2497
+ shadowColor: "#08C08450",
2498
+ shadowBlur: 4,
2499
+ shadowOffsetY: 6,
2500
+ },
2501
+ itemStyle: {
2502
+ color: {
2503
+ type: "linear",
2504
+ x: 0.5,
2505
+ y: 0.5,
2506
+ r: 0.5,
2507
+ colorStops: [
2508
+ {
2509
+ offset: 0,
2510
+ color: "#08C084", // 0% 处的颜色
2511
+ },
2512
+ {
2513
+ offset: 1,
2514
+ color: "#97EACE", // 100% 处的颜色
2515
+ },
2516
+ ],
2517
+ },
2518
+ cap: "round",
2519
+ shadowColor: "#08C08450",
2520
+ shadowBlur: 4,
2521
+ shadowOffsetY: 6,
2522
+ },
2523
+ emphasis: {
2524
+ scale: 1,
2525
+ focus: "series",
2526
+ },
2527
+ showSymbol: false,
2528
+ smooth: true,
2360
2529
  },
2361
- emphasis: {
2362
- scale: 1,
2363
- focus: 'series'
2530
+ {
2531
+ name: "R2",
2532
+ data: [140, 232, 101, 264, 90, 340, 250],
2533
+ type: "line",
2534
+ stack: "Total",
2535
+ label: {
2536
+ show: true,
2537
+ fontSize: 12,
2538
+ color: "#212121",
2539
+ fontWeight: "normal",
2540
+ },
2541
+ lineStyle: {
2542
+ color: {
2543
+ type: "linear",
2544
+ x: 0.5,
2545
+ y: 0.5,
2546
+ r: 0.5,
2547
+ colorStops: [
2548
+ {
2549
+ offset: 0,
2550
+ color: "#FF6116", // 0% 处的颜色
2551
+ },
2552
+ {
2553
+ offset: 1,
2554
+ color: "#F9A980", // 100% 处的颜色
2555
+ },
2556
+ ],
2557
+ },
2558
+ cap: "round",
2559
+ shadowColor: "#FF611650",
2560
+ shadowBlur: 4,
2561
+ shadowOffsetY: 6,
2562
+ },
2563
+ itemStyle: {
2564
+ color: {
2565
+ type: "linear",
2566
+ x: 0.5,
2567
+ y: 0.5,
2568
+ r: 0.5,
2569
+ colorStops: [
2570
+ {
2571
+ offset: 0,
2572
+ color: "#FF6116", // 0% 处的颜色
2573
+ },
2574
+ {
2575
+ offset: 1,
2576
+ color: "#F9A980", // 100% 处的颜色
2577
+ },
2578
+ ],
2579
+ },
2580
+ cap: "round",
2581
+ shadowColor: "#FF611650",
2582
+ shadowBlur: 4,
2583
+ shadowOffsetY: 6,
2584
+ },
2585
+ emphasis: {
2586
+ scale: 1,
2587
+ focus: "series",
2588
+ },
2589
+ showSymbol: false,
2590
+ smooth: true,
2364
2591
  },
2365
- showSymbol: false,
2366
- smooth: true,
2367
- }]
2368
-
2592
+ ],
2369
2593
  },
2370
- formScriptEnabled: true,
2371
- formScriptCode: "",
2372
- formScriptParam: null,
2594
+ echartConfig: "",
2595
+
2596
+ ...httpConfig,
2597
+
2598
+ onClick: "",
2373
2599
  onCreated: "",
2374
2600
  onMounted: "this.loadDataDefaultHandle()",
2375
-
2601
+ ...defaultWfConfig,
2376
2602
  showRuleFlag: 1,
2377
2603
  showRuleEnabled: 1,
2378
- showRules: []
2379
- }
2604
+ showRules: [],
2605
+ },
2380
2606
  },
2381
2607
  {
2382
- type: 'echart',
2383
- icon: 'echart',
2608
+ type: "echart",
2609
+ icon: "echart",
2384
2610
  formItemFlag: false,
2385
2611
  options: {
2386
2612
  name: "",
2387
- echartHeight: '200',
2613
+ echartHeight: "200",
2388
2614
  hidden: !1,
2389
- echarPieOption: {}
2390
- }
2391
- }
2392
- ,
2615
+ echarPieOption: {},
2616
+ },
2617
+ },
2393
2618
  /*{
2394
2619
  type: 'news-list',
2395
2620
  icon: 'news-list',
@@ -2495,6 +2720,7 @@ export const advancedFields = [
2495
2720
  keyName: "",
2496
2721
  keyNameSuffix: "",
2497
2722
  label: "",
2723
+ labelColor: "",
2498
2724
  submitFlag: true,
2499
2725
  disabled: !1,
2500
2726
  hidden: !1,
@@ -2507,81 +2733,64 @@ export const advancedFields = [
2507
2733
  entityTableDesc: null,
2508
2734
  onCreated: "this.loadDataDefaultHandle();",
2509
2735
  onMounted: "",
2736
+ onAfterConfirmFile: "",
2510
2737
  vabUpload: 1,
2511
- formScriptEnabled: true,
2738
+
2739
+ ...httpConfig,
2512
2740
  formScriptCode: "getList",
2513
- formScriptParam: null,
2514
- wfFlag: 1,
2515
- wfEdit: false,
2516
- enabledByWf: false,
2517
- hiddenByWf: false,
2518
- wfConfigData: [],
2741
+
2742
+ ...defaultWfConfig,
2519
2743
 
2520
2744
  showRuleFlag: 1,
2521
2745
  showRuleEnabled: 1,
2522
- showRules: []
2523
- }
2746
+ showRules: [],
2747
+
2748
+ hiddenFileInfo: false,
2749
+ hiddenFileName: false,
2750
+ showFileSize: false,
2751
+ showFileCreateBy: false,
2752
+ showFileCreateDate: false,
2753
+ widgetSize: 2,
2754
+ },
2524
2755
  },
2525
2756
  {
2526
2757
  type: "vabsearch",
2527
2758
  icon: "searchbox",
2528
2759
  commonFlag: !0,
2760
+ columnFlag: true,
2529
2761
  formItemFlag: !0,
2530
2762
  tableField: null,
2531
2763
  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
-
2579
- }
2764
+ ...vabsearchConfig,
2765
+ },
2766
+ },
2767
+ {
2768
+ type: "singerSearch",
2769
+ icon: "searchbox",
2770
+ // commonFlag: !0,
2771
+ // columnFlag: true,
2772
+ formItemFlag: !0,
2773
+ tableField: null,
2774
+ options: {
2775
+ ...vabsearchConfig,
2776
+ },
2777
+ },
2778
+ {
2779
+ type: "multiSearch",
2780
+ icon: "searchbox",
2781
+ // commonFlag: !0,
2782
+ // columnFlag: true,
2783
+ formItemFlag: !0,
2784
+ tableField: null,
2785
+ options: {
2786
+ ...vabsearchConfig,
2787
+ },
2580
2788
  },
2581
2789
  {
2582
2790
  type: "search_button",
2583
2791
  icon: "button",
2584
2792
  commonFlag: !0,
2793
+ columnFlag: true,
2585
2794
  formItemFlag: !1,
2586
2795
  options: {
2587
2796
  name: "",
@@ -2602,33 +2811,31 @@ export const advancedFields = [
2602
2811
  },*/
2603
2812
  // vabSearchField: null,
2604
2813
  // onSearchConfirm: "",
2605
- dialogModel: '1',
2814
+ dialogModel: "1",
2606
2815
  systemDialogUrl: null,
2607
2816
  accessType: "1",
2608
2817
  onClick: "",
2609
2818
  onCreated: "",
2610
2819
  onMounted: "",
2611
- clickBindEvent: '1',
2820
+ clickBindEvent: "1",
2821
+ onBeforeClickButton: null,
2612
2822
  searchDialogConfig: {
2613
2823
  ...defaultSearchDialogConfig,
2614
- tableEnabled: true
2824
+ tableEnabled: true,
2615
2825
  },
2616
- wfFlag: 1,
2617
- wfEdit: false,
2618
- enabledByWf: false,
2619
- hiddenByWf: false,
2620
- wfConfigData: [],
2621
-
2826
+ ...defaultWfConfig,
2827
+ ...defaultWidgetShowRuleConfig,
2622
2828
  showRuleFlag: 1,
2623
2829
  showRuleEnabled: 1,
2624
- showRules: []
2625
- }
2830
+ showRules: [],
2831
+ },
2626
2832
  },
2627
2833
  {
2628
2834
  type: "save_button",
2629
2835
  targetType: "button",
2630
2836
  icon: "button",
2631
2837
  commonFlag: !0,
2838
+ columnFlag: true,
2632
2839
  formItemFlag: !1,
2633
2840
  options: {
2634
2841
  name: "",
@@ -2651,19 +2858,17 @@ export const advancedFields = [
2651
2858
  accessType: "1",
2652
2859
  saveButton: true,
2653
2860
  clickBindEvent: null,
2861
+ onBeforeClickButton: null,
2654
2862
  searchDialogConfig: {
2655
- ...defaultSearchDialogConfig
2863
+ ...defaultSearchDialogConfig,
2656
2864
  },
2657
- wfFlag: 1,
2658
- wfEdit: false,
2659
- enabledByWf: false,
2865
+ ...defaultWfConfig,
2866
+ ...defaultWidgetShowRuleConfig,
2660
2867
  hiddenByWf: true,
2661
- wfConfigData: [],
2662
2868
 
2663
2869
  showRuleFlag: 1,
2664
2870
  showRuleEnabled: 1,
2665
- showRules: []
2666
-
2871
+ showRules: [],
2667
2872
  },
2668
2873
  },
2669
2874
  {
@@ -2671,6 +2876,7 @@ export const advancedFields = [
2671
2876
  targetType: "button",
2672
2877
  icon: "button",
2673
2878
  commonFlag: !0,
2879
+ columnFlag: true,
2674
2880
  formItemFlag: !1,
2675
2881
  options: {
2676
2882
  name: "",
@@ -2691,18 +2897,15 @@ export const advancedFields = [
2691
2897
  onClick: "this.getFormRef().$baseReload()",
2692
2898
  accessType: "1",
2693
2899
  clickBindEvent: null,
2900
+ onBeforeClickButton: null,
2694
2901
  searchDialogConfig: {
2695
- ...defaultSearchDialogConfig
2902
+ ...defaultSearchDialogConfig,
2696
2903
  },
2697
- wfFlag: 1,
2698
- wfEdit: false,
2699
- enabledByWf: true,
2700
- hiddenByWf: false,
2701
- wfConfigData: [],
2702
-
2904
+ ...defaultWfConfig,
2905
+ ...defaultWidgetShowRuleConfig,
2703
2906
  showRuleFlag: 1,
2704
2907
  showRuleEnabled: 1,
2705
- showRules: []
2908
+ showRules: [],
2706
2909
  },
2707
2910
  },
2708
2911
  {
@@ -2710,6 +2913,7 @@ export const advancedFields = [
2710
2913
  icon: "list-export",
2711
2914
  formItemFlag: !1,
2712
2915
  commonFlag: !0,
2916
+ columnFlag: true,
2713
2917
  tableField: null,
2714
2918
  options: {
2715
2919
  name: "",
@@ -2717,28 +2921,57 @@ export const advancedFields = [
2717
2921
  keyName: "",
2718
2922
  hidden: !1,
2719
2923
  customClass: "",
2720
- exportFileName: '导出',
2721
- tableRef: '',
2924
+ exportFileName: "导出",
2925
+ tableRef: "",
2722
2926
  tableExportParam: "",
2927
+ showImageAtTable: false,
2928
+ tableExportFlag: 1,
2929
+
2723
2930
  onCreated: "",
2724
2931
  onMounted: "",
2725
- wfFlag: 1,
2726
- wfEdit: false,
2727
- enabledByWf: false,
2728
- hiddenByWf: false,
2729
- wfConfigData: [],
2730
-
2932
+ ...defaultWfConfig,
2933
+ ...defaultWidgetShowRuleConfig,
2731
2934
  showRuleFlag: 1,
2732
2935
  showRuleEnabled: 1,
2733
- showRules: []
2936
+ showRules: [],
2937
+ },
2938
+ },
2939
+ {
2940
+ type: "select-export-button",
2941
+ icon: "list-export",
2942
+ formItemFlag: !1,
2943
+ commonFlag: !0,
2944
+ columnFlag: true,
2945
+ options: {
2946
+ name: "",
2947
+ keyNameEnabled: !1,
2948
+ keyName: "",
2949
+ hidden: !1,
2950
+ label: "明细导出",
2951
+ customClass: "",
2952
+ buttonTypeFlag: 1,
2953
+ type: "",
2954
+ exportFileName: "明细导出",
2955
+ tableRef: "",
2956
+ tableExportParam: "",
2957
+ showImageAtTable: false,
2958
+ selectExportFlag: 1,
2734
2959
 
2735
- }
2960
+ onCreated: "",
2961
+ onMounted: "",
2962
+ ...defaultWfConfig,
2963
+ ...defaultWidgetShowRuleConfig,
2964
+ showRuleFlag: 1,
2965
+ showRuleEnabled: 1,
2966
+ showRules: [],
2967
+ },
2736
2968
  },
2737
2969
  {
2738
2970
  type: "add_button",
2739
2971
  targetType: "button",
2740
2972
  icon: "button",
2741
2973
  commonFlag: !0,
2974
+ columnFlag: true,
2742
2975
  formItemFlag: !1,
2743
2976
  options: {
2744
2977
  name: "",
@@ -2758,76 +2991,82 @@ export const advancedFields = [
2758
2991
  onMounted: "",
2759
2992
  onClick: "",
2760
2993
  clickBindEvent: null,
2994
+ onBeforeClickButton: null,
2761
2995
  searchDialogConfig: {
2762
- ...defaultSearchDialogConfig
2996
+ ...defaultSearchDialogConfig,
2763
2997
  },
2764
- wfFlag: 1,
2765
- wfEdit: false,
2766
- enabledByWf: false,
2767
- hiddenByWf: false,
2768
- wfConfigData: [],
2769
-
2998
+ ...defaultWfConfig,
2999
+ hiddenByWf: true,
3000
+ ...defaultWidgetShowRuleConfig,
2770
3001
  showRuleFlag: 1,
2771
3002
  showRuleEnabled: 1,
2772
- showRules: []
3003
+ showRules: [],
2773
3004
  },
2774
3005
  },
2775
3006
  {
2776
- type: "save_button",
2777
- targetType: "button",
3007
+ type: "import-button",
2778
3008
  icon: "button",
2779
3009
  commonFlag: !0,
3010
+ columnFlag: true,
2780
3011
  formItemFlag: !1,
2781
3012
  options: {
2782
3013
  name: "",
2783
- label: "保存",
3014
+ label: "导入",
2784
3015
  columnWidth: "200px",
2785
3016
  size: "",
2786
- displayStyle: "block",
3017
+
3018
+ // displayStyle: "block",
2787
3019
  disabled: !1,
2788
3020
  hidden: !1,
3021
+ buttonTypeFlag: 1,
2789
3022
  type: "primary",
2790
- plain: !1,
3023
+ /*plain: !1,
2791
3024
  round: !1,
2792
3025
  circle: !1,
2793
- icon: "el-icon-check",
3026
+ icon: "el-icon-download",*/
2794
3027
  customClass: "",
2795
3028
  onCreated: "",
2796
3029
  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,
3030
+ // clickBindEvent: null,
3031
+ onBeforeClickButton: null,
2802
3032
  searchDialogConfig: {
2803
- ...defaultSearchDialogConfig
3033
+ ...defaultSearchDialogConfig,
2804
3034
  },
2805
- wfFlag: 1,
2806
- wfEdit: false,
2807
- enabledByWf: false,
3035
+ ...defaultWfConfig,
2808
3036
  hiddenByWf: true,
2809
- wfConfigData: [],
3037
+ ...defaultWidgetShowRuleConfig,
3038
+ importFileLimitSize: 200,
3039
+ importEntity: "",
3040
+ importAttachCode: "",
3041
+ importAttachName: "",
3042
+ importScriptCode: "",
3043
+ onBeforeImport: "",
3044
+ enabledImportPreHandle: false,
3045
+ tableRef: "",
3046
+ onSuccessImport: "",
2810
3047
 
2811
3048
  showRuleFlag: 1,
2812
3049
  showRuleEnabled: 1,
2813
- showRules: []
2814
-
3050
+ showRules: [],
2815
3051
  },
2816
3052
  },
2817
3053
  {
2818
- type: "import-button",
3054
+ type: "import2-button",
2819
3055
  icon: "button",
2820
3056
  commonFlag: !0,
3057
+ columnFlag: true,
2821
3058
  formItemFlag: !1,
2822
3059
  options: {
2823
3060
  name: "",
2824
- label: "导入",
3061
+ label: "明细导入",
2825
3062
  columnWidth: "200px",
2826
3063
  size: "",
3064
+
2827
3065
  // displayStyle: "block",
2828
3066
  disabled: !1,
2829
3067
  hidden: !1,
2830
- type: "primary",
3068
+ buttonTypeFlag: 1,
3069
+ type: "",
2831
3070
  /*plain: !1,
2832
3071
  round: !1,
2833
3072
  circle: !1,
@@ -2836,29 +3075,32 @@ export const advancedFields = [
2836
3075
  onCreated: "",
2837
3076
  onMounted: "",
2838
3077
  // clickBindEvent: null,
3078
+ onBeforeClickButton: null,
2839
3079
  searchDialogConfig: {
2840
- ...defaultSearchDialogConfig
3080
+ ...defaultSearchDialogConfig,
2841
3081
  },
2842
- wfFlag: 1,
2843
- wfEdit: false,
2844
- enabledByWf: false,
2845
- hiddenByWf: false,
2846
- wfConfigData: [],
2847
- importEntity: '',
2848
- importAttachCode: '',
2849
- importScriptCode: '',
2850
- onBeforeImport: '',
2851
- enabledImportPreHandle: false,
3082
+ ...defaultWfConfig,
3083
+ hiddenByWf: true,
3084
+ ...defaultWidgetShowRuleConfig,
3085
+ frontImportFlag: 1,
3086
+ importFileLimitSize: 200,
3087
+ importAttachCode: "",
3088
+ importAttachName: "",
3089
+ tableRef: "",
3090
+ onConfirmImportEnabled: false,
3091
+ onConfirmImport: "",
3092
+ onSuccessImport: "",
2852
3093
 
2853
3094
  showRuleFlag: 1,
2854
3095
  showRuleEnabled: 1,
2855
- showRules: []
3096
+ showRules: [],
2856
3097
  },
2857
3098
  },
2858
3099
  {
2859
3100
  type: "print-button",
2860
3101
  icon: "button",
2861
3102
  commonFlag: !0,
3103
+ columnFlag: true,
2862
3104
  formItemFlag: !1,
2863
3105
  options: {
2864
3106
  name: "",
@@ -2877,25 +3119,24 @@ export const advancedFields = [
2877
3119
  onCreated: "",
2878
3120
  onMounted: "",
2879
3121
  // clickBindEvent: null,
3122
+ onBeforeClickButton: null,
2880
3123
  searchDialogConfig: {
2881
- ...defaultSearchDialogConfig
3124
+ ...defaultSearchDialogConfig,
2882
3125
  },
2883
- wfFlag: 1,
2884
- wfEdit: false,
2885
- enabledByWf: false,
2886
- hiddenByWf: false,
2887
- wfConfigData: [],
3126
+ ...defaultWfConfig,
3127
+ ...defaultWidgetShowRuleConfig,
2888
3128
  printTableRef: "",
2889
3129
  printItems: [],
2890
3130
 
2891
3131
  showRuleFlag: 1,
2892
3132
  showRuleEnabled: 1,
2893
- showRules: []
3133
+ showRules: [],
2894
3134
  },
2895
3135
  },
2896
3136
  {
2897
3137
  type: "baseAttachment",
2898
3138
  icon: "file-upload-field",
3139
+ columnFlag: true,
2899
3140
  formItemFlag: !0,
2900
3141
  tableField: null,
2901
3142
  options: {
@@ -2904,6 +3145,7 @@ export const advancedFields = [
2904
3145
  keyName: "",
2905
3146
  keyNameSuffix: "",
2906
3147
  label: "",
3148
+ labelColor: "",
2907
3149
  submitFlag: true,
2908
3150
  disabled: !1,
2909
3151
  hidden: !1,
@@ -2916,21 +3158,19 @@ export const advancedFields = [
2916
3158
  entityTableDesc: null,
2917
3159
  onCreated: "",
2918
3160
  onMounted: "",
2919
- wfFlag: 1,
2920
- wfEdit: false,
2921
- enabledByWf: false,
2922
- hiddenByWf: false,
2923
- wfConfigData: [],
3161
+ onAfterConfirmFile: "",
3162
+ ...defaultWfConfig,
2924
3163
 
2925
3164
  showRuleFlag: 1,
2926
3165
  showRuleEnabled: 1,
2927
- showRules: []
2928
- }
3166
+ showRules: [],
3167
+ },
2929
3168
  },
2930
3169
  {
2931
3170
  type: "status",
2932
3171
  icon: "status",
2933
3172
  commonFlag: !0,
3173
+ columnFlag: true,
2934
3174
  formItemFlag: !0,
2935
3175
  tableField: null,
2936
3176
  options: {
@@ -2938,6 +3178,7 @@ export const advancedFields = [
2938
3178
  keyNameEnabled: !1,
2939
3179
  keyName: "",
2940
3180
  label: "",
3181
+ labelColor: "",
2941
3182
  submitFlag: true,
2942
3183
  disabled: !1,
2943
3184
  hidden: !1,
@@ -2949,144 +3190,466 @@ export const advancedFields = [
2949
3190
  statusParam: [],
2950
3191
  onCreated: "",
2951
3192
  onMounted: "",
3193
+ ...defaultWfConfig,
2952
3194
 
2953
3195
  showRuleFlag: 1,
2954
3196
  showRuleEnabled: 1,
2955
- showRules: []
2956
- }
3197
+ showRules: [],
3198
+ },
2957
3199
  },
2958
3200
  {
2959
- type: 'census',
2960
- icon: 'census',
3201
+ type: "census",
3202
+ icon: "census",
2961
3203
  commonFlag: !0,
2962
3204
  formItemFlag: false,
2963
3205
  options: {
2964
- name: '',
3206
+ name: "",
2965
3207
  keyNameEnabled: !1,
2966
3208
  keyName: "",
2967
- columnWidth: '200px',
3209
+ columnWidth: "200px",
2968
3210
  hidden: false,
2969
- customClass: '', //自定义css类名
2970
- space: '5',
2971
- censusClass: 'form-count',
3211
+ customClass: "", //自定义css类名
3212
+ space: "5",
3213
+ censusClass: "form-count",
2972
3214
  censusItems: [
2973
3215
  {
2974
3216
  number: "1002",
2975
- txt: '总数量',
2976
- detailItems: [{
2977
- txt: '跟进商机',
2978
- number: '26'
2979
- }, {
2980
- txt: '累计商机',
2981
- number: '26'
2982
- }]
3217
+ txt: "总数量",
3218
+ detailItems: [
3219
+ {
3220
+ txt: "跟进商机",
3221
+ number: "26",
3222
+ },
3223
+ {
3224
+ txt: "累计商机",
3225
+ number: "26",
3226
+ },
3227
+ ],
2983
3228
  },
2984
3229
  {
2985
3230
  number: "603",
2986
- txt: '总人数',
3231
+ txt: "总人数",
2987
3232
  detailItems: [],
2988
3233
  },
2989
3234
  {
2990
3235
  number: "5004",
2991
- txt: '总订单',
2992
- detailItems: []
2993
- }
3236
+ txt: "总订单",
3237
+ detailItems: [],
3238
+ },
2994
3239
  ],
2995
- formScriptEnabled: true,
2996
- formScriptCode: "",
2997
- formScriptParam: null,
3240
+
3241
+ ...httpConfig,
3242
+
2998
3243
  onCreated: "",
2999
3244
  onMounted: "",
3000
-
3245
+ ...defaultWfConfig,
3001
3246
  showRuleFlag: 1,
3002
3247
  showRuleEnabled: 1,
3003
- showRules: []
3004
- }
3248
+ showRules: [],
3249
+ },
3005
3250
  },
3251
+
3006
3252
  {
3007
3253
  type: "project-tag",
3008
3254
  icon: "uploadbox",
3009
- // commonFlag: !0,
3255
+ commonFlag: !0,
3256
+ columnFlag: true,
3010
3257
  formItemFlag: !0,
3011
3258
  tableField: null,
3259
+ options: {
3260
+ ...projectTagConfig,
3261
+ },
3262
+ },
3263
+ {
3264
+ type: "table2",
3265
+ category: "container",
3266
+ icon: "table",
3267
+ commonFlag: !0,
3268
+ formItemFlag: !0,
3269
+ rows: [],
3012
3270
  options: {
3013
3271
  name: "",
3014
- keyNameEnabled: !1,
3272
+ keyNameEnabled: !0,
3015
3273
  keyName: "",
3016
- keyNameSuffix: "",
3017
- label: "",
3274
+ hidden: !1,
3275
+ customClass: "",
3276
+ styleTableClass: "",
3277
+ // fullWidth: false,
3018
3278
  submitFlag: true,
3279
+
3280
+ ...httpConfig,
3281
+
3282
+ onCreated: "this.loadDataDefaultHandle()",
3283
+ onMounted: "",
3284
+ ...defaultWfConfig,
3285
+ showRuleFlag: 1,
3286
+ showRuleEnabled: 1,
3287
+ showRules: [],
3288
+ },
3289
+ },
3290
+ {
3291
+ type: "dropdown-menu",
3292
+ icon: "tab",
3293
+ // commonFlag: !0,
3294
+ // columnFlag: true,
3295
+ widgetList: [],
3296
+ options: {
3297
+ name: "",
3298
+ label: "",
3299
+ hidden: !1,
3019
3300
  disabled: !1,
3020
- readonly: false,
3301
+ height: "",
3302
+ // isFullscreen: false,
3303
+ tabClass: "tab-boxCard tabCard-sty1",
3304
+ customClass: "",
3305
+ dropdownMenuFlag: 1,
3306
+ ...defaultWfConfig,
3307
+ onCreated: "",
3308
+ onMounted: "",
3309
+ },
3310
+ },
3311
+ {
3312
+ type: "dropdown-item",
3313
+ icon: "tab-pane",
3314
+ internal: !0,
3315
+ options: {
3316
+ name: "",
3317
+ label: "",
3318
+ hidden: !1,
3319
+ active: !1,
3320
+ disabled: !1,
3321
+ customClass: "",
3322
+ dropdownItemFlag: 1,
3323
+
3324
+ onClick: "",
3325
+ clickBindEvent: null,
3326
+ onBeforeClickButton: null,
3327
+ searchDialogConfig: {
3328
+ ...defaultSearchDialogConfig,
3329
+ },
3330
+ addTableDataConfig: {
3331
+ tableRef: null,
3332
+ tableData: {},
3333
+ },
3334
+ },
3335
+ }
3336
+ ];
3337
+
3338
+ export const businessFields = [
3339
+ {
3340
+ type: "create_by-text",
3341
+ targetType: "text",
3342
+ icon: "text",
3343
+ commonFlag: !0,
3344
+ formItemFlag: !0,
3345
+ columnFlag: true,
3346
+ tableField: null,
3347
+ options: {
3348
+ name: "",
3349
+ keyNameEnabled: !0,
3350
+ keyName: "_createBy",
3351
+ label: "创建人",
3352
+ submitFlag: true,
3353
+ formField: "",
3021
3354
  hidden: !1,
3022
3355
  required: !1,
3356
+ customClass: "",
3357
+ defaultValue: "",
3358
+ labelAlign: "",
3023
3359
  labelWidth: null,
3024
3360
  labelHidden: !1,
3025
- onCreated: "if(this.formDataId)this.loadDataDefaultHandle();",
3361
+ onCreated: "",
3026
3362
  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: [],
3363
+ accessType: "1",
3364
+ labelColor: "",
3365
+ ...defaultWfConfig,
3366
+
3367
+ autoValueEnabled: false,
3368
+ autoValueHanlde: null,
3036
3369
 
3037
3370
  showRuleFlag: 1,
3038
3371
  showRuleEnabled: 1,
3039
- showRules: []
3040
- }
3372
+ showRules: [],
3373
+
3374
+ ...defaultTextFlagConfig,
3375
+ },
3041
3376
  },
3042
3377
  {
3043
- type: "table2",
3044
- category: "container",
3045
- icon: "table",
3378
+ type: "modify_by-text",
3379
+ targetType: "text",
3380
+ icon: "text",
3046
3381
  commonFlag: !0,
3047
3382
  formItemFlag: !0,
3048
- rows: [],
3383
+ columnFlag: true,
3384
+ tableField: null,
3049
3385
  options: {
3050
3386
  name: "",
3051
3387
  keyNameEnabled: !0,
3052
- keyName: "",
3388
+ keyName: "_modifyBy",
3389
+ label: "更新人",
3390
+ submitFlag: true,
3391
+ formField: "",
3053
3392
  hidden: !1,
3393
+ required: !1,
3054
3394
  customClass: "",
3055
- styleTableClass: '',
3056
- // fullWidth: false,
3395
+ defaultValue: "",
3396
+ labelAlign: "",
3397
+ labelWidth: null,
3398
+ labelHidden: !1,
3399
+ onCreated: "",
3400
+ onMounted: "",
3401
+ accessType: "1",
3402
+ labelColor: "",
3403
+ ...defaultWfConfig,
3404
+
3405
+ autoValueEnabled: false,
3406
+ autoValueHanlde: null,
3407
+
3408
+ showRuleFlag: 1,
3409
+ showRuleEnabled: 1,
3410
+ showRules: [],
3411
+
3412
+ ...defaultTextFlagConfig,
3413
+ },
3414
+ },
3415
+ {
3416
+ type: "create_date-text",
3417
+ targetType: "text",
3418
+ icon: "text",
3419
+ commonFlag: !0,
3420
+ formItemFlag: !0,
3421
+ columnFlag: true,
3422
+ tableField: null,
3423
+ options: {
3424
+ name: "",
3425
+ keyNameEnabled: !0,
3426
+ keyName: "create_date",
3427
+ label: "创建时间",
3057
3428
  submitFlag: true,
3058
- formScriptEnabled: true,
3059
- formScriptCode: "",
3060
- formScriptParam: null,
3061
- onCreated: "this.loadDataDefaultHandle()",
3429
+ formField: "",
3430
+ hidden: !1,
3431
+ required: !1,
3432
+ customClass: "",
3433
+ defaultValue: "",
3434
+ labelAlign: "",
3435
+ labelWidth: null,
3436
+ labelHidden: !1,
3437
+ onCreated: "",
3062
3438
  onMounted: "",
3439
+ accessType: "1",
3440
+ labelColor: "",
3441
+ ...defaultWfConfig,
3442
+
3443
+ autoValueEnabled: false,
3444
+ autoValueHanlde: null,
3063
3445
 
3064
3446
  showRuleFlag: 1,
3065
3447
  showRuleEnabled: 1,
3066
- showRules: []
3067
- }
3448
+ showRules: [],
3449
+
3450
+ ...defaultTextFlagConfig,
3451
+ },
3452
+ },
3453
+ {
3454
+ type: "modify_date-text",
3455
+ targetType: "text",
3456
+ icon: "text",
3457
+ commonFlag: !0,
3458
+ formItemFlag: !0,
3459
+ columnFlag: true,
3460
+ tableField: null,
3461
+ options: {
3462
+ name: "",
3463
+ keyNameEnabled: !0,
3464
+ keyName: "modify_date",
3465
+ label: "更新时间",
3466
+ submitFlag: true,
3467
+ formField: "",
3468
+ hidden: !1,
3469
+ required: !1,
3470
+ customClass: "",
3471
+ defaultValue: "",
3472
+ labelAlign: "",
3473
+ labelWidth: null,
3474
+ labelHidden: !1,
3475
+ onCreated: "",
3476
+ onMounted: "",
3477
+ accessType: "1",
3478
+ labelColor: "",
3479
+ ...defaultWfConfig,
3480
+
3481
+ autoValueEnabled: false,
3482
+ autoValueHanlde: null,
3483
+
3484
+ showRuleFlag: 1,
3485
+ showRuleEnabled: 1,
3486
+ showRules: [],
3487
+
3488
+ ...defaultTextFlagConfig,
3489
+ },
3490
+ },
3491
+
3492
+ {
3493
+ type: "user-vabsearch",
3494
+ targetType: "singerSearch",
3495
+ icon: "searchbox",
3496
+ commonFlag: !0,
3497
+ columnFlag: true,
3498
+ formItemFlag: !0,
3499
+ tableField: null,
3500
+ options: {
3501
+ ...vabsearchConfig,
3502
+ vabSearchName: "nick_name",
3503
+ userDefaultVabSearch: true,
3504
+ label: "用户",
3505
+ labelColor: "",
3506
+ searchDialogConfig: {
3507
+ ...defaultSearchDialogConfig,
3508
+ multipleChoices: false,
3509
+ formCode: "user_dialog",
3510
+ valueSourceField: "id",
3511
+ labelSourceField: "nick_name",
3512
+ },
3513
+ },
3514
+ },
3515
+ {
3516
+ type: "saleOrg-vabsearch",
3517
+ targetType: "singerSearch",
3518
+ icon: "searchbox",
3519
+ commonFlag: !0,
3520
+ columnFlag: true,
3521
+ formItemFlag: !0,
3522
+ tableField: null,
3523
+ options: {
3524
+ ...vabsearchConfig,
3525
+ vabSearchName: "sale_org_name",
3526
+ saleOrgDefaultVabSearch: true,
3527
+ label: "机构",
3528
+ labelColor: "",
3529
+ searchDialogConfig: {
3530
+ ...defaultSearchDialogConfig,
3531
+ multipleChoices: false,
3532
+ formCode: "sale_org_dialog",
3533
+ valueSourceField: "id",
3534
+ labelSourceField: "name",
3535
+ },
3536
+ },
3537
+ },
3538
+
3539
+ {
3540
+ type: "user-project-tag",
3541
+ targetType: "project-tag",
3542
+ icon: "uploadbox",
3543
+ commonFlag: !0,
3544
+ columnFlag: true,
3545
+ formItemFlag: !0,
3546
+ tableField: null,
3547
+ options: {
3548
+ ...projectTagConfig,
3549
+ label: "用户",
3550
+ labelColor: "",
3551
+ tagFormCode: "user_dialog",
3552
+ tagLabelField: "nick_name",
3553
+ tagUniqueField: "id",
3554
+ tagFormLabelField: "nick_name",
3555
+ tagFormUniqueField: "id",
3556
+ tabDeleteEnabled: true,
3557
+ },
3558
+ },
3559
+ {
3560
+ type: "saleOrg-project-tag",
3561
+ targetType: "project-tag",
3562
+ icon: "uploadbox",
3563
+ commonFlag: !0,
3564
+ columnFlag: true,
3565
+ formItemFlag: !0,
3566
+ tableField: null,
3567
+ options: {
3568
+ ...projectTagConfig,
3569
+ label: "机构",
3570
+ labelColor: "",
3571
+ tagFormCode: "sale_org_dialog",
3572
+ tagLabelField: "name",
3573
+ tagUniqueField: "id",
3574
+ tagFormLabelField: "name",
3575
+ tagFormUniqueField: "id",
3576
+ tabDeleteEnabled: true,
3577
+ },
3578
+ },
3579
+ {
3580
+ type: "copy_button",
3581
+ icon: "button",
3582
+ commonFlag: !0,
3583
+ columnFlag: true,
3584
+ formItemFlag: !1,
3585
+ options: {
3586
+ name: "",
3587
+ label: "复制",
3588
+ columnWidth: "200px",
3589
+ size: "",
3590
+ // displayStyle: "block",
3591
+ disabled: !1,
3592
+ hidden: !1,
3593
+ type: "primary",
3594
+
3595
+ customClass: "",
3596
+ onCreated: "",
3597
+ onMounted: "",
3598
+ copyButton: true,
3599
+ copyDataHandle: "",
3600
+ ...defaultWfConfig,
3601
+ ...defaultWidgetShowRuleConfig,
3602
+ hiddenByWf: true,
3603
+
3604
+ showRuleFlag: 1,
3605
+ showRuleEnabled: 1,
3606
+ showRules: [],
3607
+ },
3068
3608
  },
3069
- ]
3609
+ {
3610
+ type: "tempStorage",
3611
+ icon: "uploadbox",
3612
+ commonFlag: !0,
3613
+ columnFlag: true,
3614
+ formItemFlag: !0,
3615
+ options: {
3616
+ name: "",
3617
+ // label: "暂存",
3618
+ columnWidth: "200px",
3619
+ disabled: !1,
3620
+ hidden: !1,
3621
+
3622
+ tempStorageFlag:1,
3623
+ tempStorageCode:null,
3624
+
3625
+ customClass: "",
3626
+ onCreated: "",
3627
+ onMounted: "",
3628
+
3629
+ ...defaultWidgetShowRuleConfig,
3630
+ },
3631
+ },
3632
+ ];
3070
3633
 
3071
3634
  export const keyNamePrefixMap = {
3072
3635
  vabUpload: "attachments_",
3073
- baseAttachment: "attachments_"
3074
- }
3636
+ baseAttachment: "attachments_",
3637
+ };
3075
3638
 
3076
- export const customFields = []
3639
+ export const customFields = [];
3077
3640
 
3078
3641
  export function addContainerWidgetSchema(containerSchema) {
3079
- containers.push(containerSchema)
3642
+ containers.push(containerSchema);
3080
3643
  }
3081
3644
 
3082
3645
  export function addBasicFieldSchema(fieldSchema) {
3083
- basicFields.push(fieldSchema)
3646
+ basicFields.push(fieldSchema);
3084
3647
  }
3085
3648
 
3086
3649
  export function addAdvancedFieldSchema(fieldSchema) {
3087
- advancedFields.push(fieldSchema)
3650
+ advancedFields.push(fieldSchema);
3088
3651
  }
3089
3652
 
3090
3653
  export function addCustomWidgetSchema(widgetSchema) {
3091
- customFields.push(widgetSchema)
3654
+ customFields.push(widgetSchema);
3092
3655
  }