cloud-web-corejs 1.0.54-dev.33 → 1.0.54-dev.330

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