cloud-web-corejs 1.0.54-dev.51 → 1.0.54-dev.510

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