cloud-web-corejs 1.0.54-dev.52 → 1.0.54-dev.521

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 (408) hide show
  1. package/package.json +14 -3
  2. package/src/App.vue +30 -34
  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/image-viewer.vue +2 -2
  7. package/src/components/VabUpload/index.js +2 -1
  8. package/src/components/VabUpload/mixins.js +2 -2
  9. package/src/components/VabUpload/privateProfileDialogMixins.js +1 -1063
  10. package/src/components/VabUpload/propertiesDialog.vue +1 -1
  11. package/src/components/VabUpload/view.vue +209 -120
  12. package/src/components/advancedSearchDialog/mixins.js +1 -1
  13. package/src/components/base-textarea/index.vue +104 -0
  14. package/src/components/baseAlert/mixins.js +1 -1
  15. package/src/components/baseAttachment/index.vue +49 -40
  16. package/src/components/baseAttachment/mixins.js +2 -1
  17. package/src/components/baseInputExport/index.vue +19 -12
  18. package/src/components/baseInputExport/mixins.js +1 -1
  19. package/src/components/baseTabs/mixins.js +1 -1
  20. package/src/components/code-editor/index.vue +102 -63
  21. package/src/components/confirmDialog/index.vue +24 -17
  22. package/src/components/confirmDialog/mixins.js +1 -1
  23. package/src/components/errorMsg/index.vue +42 -34
  24. package/src/components/errorMsg/mixins.js +6 -5
  25. package/src/components/excelExport/button.vue +57 -4
  26. package/src/components/excelExport/index.js +6 -6
  27. package/src/components/excelExport/index.vue +56 -2
  28. package/src/components/excelExport/mixins.js +3 -2
  29. package/src/components/excelImport/mixins.js +2 -1
  30. package/src/components/fileLibrary/fileObjAuthDialog.vue +179 -89
  31. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
  32. package/src/components/fileLibrary/filterDialog.vue +454 -0
  33. package/src/components/fileLibrary/index.vue +594 -254
  34. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  35. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  36. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  37. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +339 -211
  38. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +31 -27
  39. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +4 -4
  40. package/src/components/fileLibrary/mixins/indexMixins.js +220 -101
  41. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +64 -4
  42. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +3 -3
  43. package/src/components/fileLibrary/propertiesDialog.vue +113 -74
  44. package/src/components/fileLibrary/shareDialog.vue +1 -1
  45. package/src/components/formOplog/mixins.js +1 -1
  46. package/src/components/jsonImport/index.js +1 -1
  47. package/src/components/jsonImport/mixins.js +2 -1
  48. package/src/components/langImport/mixins.js +17 -16
  49. package/src/components/obsUpload/index.js +1 -0
  50. package/src/components/obsUpload/index.vue +231 -0
  51. package/src/components/obsUpload/mixins.js +8 -0
  52. package/src/components/scriptDescription/button.vue +12 -4
  53. package/src/components/scriptTest/mixins.js +1 -1
  54. package/src/components/statusTag/mixins.js +1 -1
  55. package/src/components/table/CellSlot.vue +1 -0
  56. package/src/components/table/index.js +12 -11
  57. package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +11028 -0
  58. package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +200 -0
  59. package/src/components/table/tableForm.vue +99 -63
  60. package/src/components/table/tableFormMixin.js +1 -1
  61. package/src/components/table/util/index.js +328 -0
  62. package/src/components/table/vxeFilter/mixin.js +6 -6
  63. package/src/components/tempStorage/index.vue +76 -55
  64. package/src/components/tempStorage/tempStorageDialog.vue +179 -54
  65. package/src/components/vb-tabs/x-tabs.vue +56 -30
  66. package/src/components/wf/addOpinionButton.vue +57 -0
  67. package/src/components/wf/content.vue +834 -362
  68. package/src/components/wf/mixins/addOpinionButton.js +3 -0
  69. package/src/components/wf/mixins/setCandidateButton.js +6 -0
  70. package/src/components/wf/mixins/setCandidateDialog.js +2 -1
  71. package/src/components/wf/mixins/setCandidateDialog2.js +6 -0
  72. package/src/components/wf/mixins/wfFlowEleScriptDialog.js +3 -0
  73. package/src/components/wf/mixins/wfTaskUserRangeDialog.js +3 -0
  74. package/src/components/wf/setCandidateButton.vue +40 -0
  75. package/src/components/wf/setCandidateDialog.vue +10 -0
  76. package/src/components/wf/setCandidateDialog2.vue +105 -0
  77. package/src/components/wf/wf.js +2156 -1
  78. package/src/components/wf/wfFlowEleScriptDialog.vue +89 -0
  79. package/src/components/wf/wfStartDialog.vue +66 -42
  80. package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
  81. package/src/components/wf/wfUtil.js +279 -1
  82. package/src/components/xform/form-designer/designer.js +5 -3
  83. package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +434 -0
  84. package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -3
  85. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +9 -8
  86. package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -1
  87. package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
  88. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +971 -0
  89. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +971 -0
  90. package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
  91. package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
  92. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +82 -49
  93. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
  94. package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +799 -0
  95. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +38 -7
  96. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +1639 -0
  97. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +9 -8
  98. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +133 -72
  99. package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +2 -2
  100. package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
  101. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
  102. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  103. package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +19 -1
  104. package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +40 -28
  105. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +18 -7
  106. package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +4 -1
  107. package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
  108. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +14 -2
  109. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +30 -4
  110. package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +133 -0
  111. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
  112. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
  113. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  114. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  115. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  116. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +25 -16
  117. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +705 -379
  118. package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +964 -0
  119. package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
  120. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +22 -11
  121. package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +90 -0
  122. package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +7 -2
  123. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
  124. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
  125. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
  126. package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +179 -0
  127. package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
  128. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +114 -81
  129. package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +186 -0
  130. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +44 -27
  131. package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +116 -0
  132. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +154 -47
  133. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +26 -6
  134. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
  135. package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
  136. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +24 -9
  137. package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
  138. package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
  139. package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +12 -1
  140. package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +31 -17
  141. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +7 -2
  142. package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
  143. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +147 -0
  144. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +106 -33
  145. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
  146. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +3 -171
  147. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +260 -58
  148. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +753 -0
  149. package/src/components/xform/form-designer/indexMixin.js +3 -772
  150. package/src/components/xform/form-designer/setting-panel/form-setting.vue +977 -169
  151. package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
  152. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  153. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +537 -302
  154. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
  155. package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
  156. package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
  157. package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
  158. package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
  159. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  160. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +125 -0
  161. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +946 -1042
  162. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  163. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1127 -512
  164. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
  165. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
  166. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
  167. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
  168. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
  169. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
  170. package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +31 -2
  171. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
  172. package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +32 -0
  173. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  174. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  175. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +14 -7
  176. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
  177. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
  178. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  179. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
  180. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
  181. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  182. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  183. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  184. package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +36 -0
  185. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +77 -20
  186. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -0
  187. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +44 -15
  188. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -0
  189. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  190. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
  191. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
  192. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  193. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
  194. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +33 -1
  195. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +66 -0
  196. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +89 -19
  197. package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +137 -0
  198. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
  199. package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
  200. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
  201. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
  202. package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
  203. package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
  204. package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
  205. package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  206. package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +124 -50
  207. package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +31 -0
  208. package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
  209. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +349 -0
  210. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
  211. package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
  212. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  213. package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +42 -0
  214. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
  215. package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
  216. package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
  217. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +372 -50
  218. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
  219. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +33 -11
  220. package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
  221. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  222. package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
  223. package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -18
  224. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1657 -869
  225. package/src/components/xform/form-render/container-item/containerItemMixin.js +12 -11
  226. package/src/components/xform/form-render/container-item/data-table-item.vue +194 -199
  227. package/src/components/xform/form-render/container-item/data-table-mixin.js +22 -18
  228. package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
  229. package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
  230. package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
  231. package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
  232. package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
  233. package/src/components/xform/form-render/container-item/tab-item.vue +62 -25
  234. package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
  235. package/src/components/xform/form-render/container-item/table-item.vue +4 -2
  236. package/src/components/xform/form-render/container-item/table2-cell-item.vue +53 -34
  237. package/src/components/xform/form-render/container-item/table2-item.vue +141 -88
  238. package/src/components/xform/form-render/container-item/tree-item.vue +32 -11
  239. package/src/components/xform/form-render/index.vue +77 -20
  240. package/src/components/xform/form-render/indexMixin copy.js +3462 -0
  241. package/src/components/xform/form-render/indexMixin.js +3517 -12
  242. package/src/components/xform/lang/zh-CN.js +27 -4
  243. package/src/components/xform/mixins/defaultHandle.js +1 -1
  244. package/src/components/xform/mixins/scriptHttp.js +3 -1
  245. package/src/components/xform/utils/emitter.js +4 -4
  246. package/src/components/xform/utils/format.js +35 -34
  247. package/src/components/xform/utils/formula-util.js +966 -0
  248. package/src/components/xform/utils/util.js +1 -1
  249. package/src/components/xform/utils/validators.js +1 -5
  250. package/src/components/xform/utils/vue2js-generator.js +2 -2
  251. package/src/index.js +215 -190
  252. package/src/lang/index.js +56 -51
  253. package/src/lang/locale/en/login.js +20 -0
  254. package/src/lang/locale/zh/login.js +20 -0
  255. package/src/layout/components/AppMain.vue +5 -1
  256. package/src/layout/components/Sidebar/default.vue +1423 -1222
  257. package/src/layout/components/TagsView/index.vue +37 -12
  258. package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
  259. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  260. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  261. package/src/layout/components/extractedCode/viewDialog.vue +193 -0
  262. package/src/layout/components/watermark/index.vue +83 -0
  263. package/src/layout/defaultLayout.vue +1 -1
  264. package/src/layout/index.vue +3 -5
  265. package/src/mixins/selectDialog/index.js +1 -1
  266. package/src/mixins/table/index.js +151 -0
  267. package/src/mixins/tableTree/index.js +1 -1
  268. package/src/permission.js +1 -18
  269. package/src/router/modules/customer.js +89 -8
  270. package/src/store/config/index.js +1 -1
  271. package/src/store/getters.js +3 -1
  272. package/src/store/modules/permission.js +1 -1
  273. package/src/store/modules/settings.js +1 -1
  274. package/src/store/modules/tagsView.js +1 -14
  275. package/src/store/modules/user.js +1 -29
  276. package/src/utils/index.js +1 -7
  277. package/src/utils/pddLog.js +103 -0
  278. package/src/utils/pdfUtil.js +71 -0
  279. package/src/utils/request.js +1 -1
  280. package/src/utils/vab.js +19 -27
  281. package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
  282. package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
  283. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
  284. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
  285. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
  286. package/src/views/bd/setting/bd_company_env/edit.vue +193 -0
  287. package/src/views/bd/setting/bd_company_env/list.vue +175 -0
  288. package/src/views/bd/setting/config_manage/list.vue +83 -0
  289. package/src/views/bd/setting/form_import_log/edit.vue +127 -0
  290. package/src/views/bd/setting/form_import_log/list.vue +206 -0
  291. package/src/views/bd/setting/form_script/edit.vue +9 -0
  292. package/src/views/bd/setting/form_script/edit1.vue +36 -3
  293. package/src/views/bd/setting/form_script/form_list.vue +99 -37
  294. package/src/views/bd/setting/form_script/list1.vue +181 -118
  295. package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
  296. package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
  297. package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
  298. package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
  299. package/src/views/bd/setting/form_script/mixins/list.js +236 -1
  300. package/src/views/bd/setting/form_script/mixins/list1.js +423 -14
  301. package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
  302. package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
  303. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +2 -2
  304. package/src/views/bd/setting/form_template/edit.vue +22 -1
  305. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  306. package/src/views/bd/setting/form_template/list.vue +326 -214
  307. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +11 -10
  308. package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
  309. package/src/views/bd/setting/form_template/mixins/list.js +689 -22
  310. package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
  311. package/src/views/bd/setting/form_template/mixins/wf_list.js +1 -423
  312. package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
  313. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +4 -4
  314. package/src/views/bd/setting/form_template/wf_list.vue +1 -1
  315. package/src/views/bd/setting/logic_param/edit.vue +146 -0
  316. package/src/views/bd/setting/logic_param/edit1.vue +106 -0
  317. package/src/views/bd/setting/logic_param/edit2.vue +139 -0
  318. package/src/views/bd/setting/logic_param/list.vue +74 -0
  319. package/src/views/bd/setting/logic_param/list1.vue +12 -0
  320. package/src/views/bd/setting/logic_param/list2.vue +12 -0
  321. package/src/views/bd/setting/logic_param/mixins/edit.js +3 -0
  322. package/src/views/bd/setting/logic_param/mixins/list.js +9 -0
  323. package/src/views/bd/setting/menu_kind/list.vue +172 -83
  324. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
  325. package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
  326. package/src/views/bd/setting/push_data/edit.vue +139 -0
  327. package/src/views/bd/setting/push_data/list.vue +283 -0
  328. package/src/views/bd/setting/push_data_h/edit.vue +153 -0
  329. package/src/views/bd/setting/push_data_h/list.vue +293 -0
  330. package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
  331. package/src/views/bd/setting/request_async_setting/list.vue +372 -0
  332. package/src/views/bd/setting/request_setting/edit.vue +300 -0
  333. package/src/views/bd/setting/request_setting/list.vue +311 -0
  334. package/src/views/bd/setting/table_model/edit.vue +875 -426
  335. package/src/views/bd/setting/table_model/list.vue +190 -128
  336. package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
  337. package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
  338. package/src/views/bd/setting/table_model/mixins/list.js +440 -14
  339. package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
  340. package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
  341. package/src/views/user/access_log/list.vue +418 -349
  342. package/src/views/user/area/dialog.vue +223 -117
  343. package/src/views/user/area/list.vue +318 -0
  344. package/src/views/user/bill_setting/edit.vue +1 -1
  345. package/src/views/user/bill_setting/list.vue +1 -1
  346. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  347. package/src/views/user/common_attribute/list.vue +5 -2
  348. package/src/views/user/common_script/edit.vue +1 -1
  349. package/src/views/user/common_script/list.vue +1 -1
  350. package/src/views/user/company_info/dialog.vue +164 -163
  351. package/src/views/user/company_info/edit.vue +1 -1
  352. package/src/views/user/extend_datasource/dialog.vue +4 -0
  353. package/src/views/user/extend_datasource/edit.vue +5 -1
  354. package/src/views/user/extend_datasource/list.vue +5 -1
  355. package/src/views/user/fieldTranslation/editDialog.vue +7 -7
  356. package/src/views/user/fieldTranslation/list.vue +32 -32
  357. package/src/views/user/form/vform/designer.vue +776 -749
  358. package/src/views/user/form/vform/out_render.vue +1 -1
  359. package/src/views/user/form/vform/render.vue +59 -37
  360. package/src/views/user/form/view/edit.vue +38 -37
  361. package/src/views/user/form/view/list.vue +261 -49
  362. package/src/views/user/home/bears/index.vue +1032 -0
  363. package/src/views/user/home/default.vue +1025 -979
  364. package/src/views/user/home/dev.vue +29 -0
  365. package/src/views/user/home/index.vue +16 -6
  366. package/src/views/user/home/taili/index.vue +1034 -0
  367. package/src/views/user/ledger_library/list.vue +10 -12
  368. package/src/views/user/login/default.vue +165 -36
  369. package/src/views/user/login/index.vue +4 -6
  370. package/src/views/user/login/indexMixin.js +184 -8
  371. package/src/views/user/menu/list.vue +24 -1
  372. package/src/views/user/notify_message/dialog.vue +38 -22
  373. package/src/views/user/notify_template/edit.vue +188 -187
  374. package/src/views/user/notify_template/edit2.vue +176 -0
  375. package/src/views/user/notify_template/list.vue +4 -1
  376. package/src/views/user/notify_template/list2.vue +190 -0
  377. package/src/views/user/outLink/form_view.vue +211 -184
  378. package/src/views/user/outLink/index.vue +67 -11
  379. package/src/views/user/outLink/view.vue +28 -23
  380. package/src/views/user/position/list.vue +4 -4
  381. package/src/views/user/project_tag/dialog.vue +9 -4
  382. package/src/views/user/project_tag/edit.vue +2 -2
  383. package/src/views/user/project_tag/list.vue +9 -4
  384. package/src/views/user/push_setting/list.vue +2 -2
  385. package/src/views/user/request_setting/edit.vue +258 -0
  386. package/src/views/user/request_setting/list.vue +248 -0
  387. package/src/views/user/role/authConfig.vue +89 -0
  388. package/src/views/user/role/dialog.vue +70 -48
  389. package/src/views/user/role/edit.vue +609 -429
  390. package/src/views/user/role/list.vue +4 -4
  391. package/src/views/user/sale_org/dialog.vue +1 -1
  392. package/src/views/user/sale_org/list.vue +4 -1
  393. package/src/views/user/user/dialog.vue +46 -23
  394. package/src/views/user/user/edit.vue +1059 -1021
  395. package/src/views/user/user/form_dialog.vue +158 -0
  396. package/src/views/user/user/form_info.vue +210 -0
  397. package/src/views/user/user/list.vue +647 -563
  398. package/src/views/user/user/modifyPasswordDialog.vue +64 -53
  399. package/src/views/user/wf/wfReport/index.vue +618 -0
  400. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
  401. package/src/views/user/wf/wf_manage/list.vue +371 -249
  402. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  403. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  404. package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
  405. package/src/views/user/wf/wf_obj_config/list.vue +114 -9
  406. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
  407. package/src/views/user/wf/wf_transfer_setting/edit.vue +282 -0
  408. 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,34 @@ 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,
1951
+ formatType: null,
1952
+ renderHandle: null,
1827
1953
 
1828
1954
  showRuleFlag: 1,
1829
1955
  showRuleEnabled: 1,
1830
1956
  showRules: [],
1831
- textFlag: 1,
1832
- textRule1: false,
1833
- textRule2: false,
1834
- textRule3: false,
1835
- textRule2Number: null,
1836
- textRule3Number: null
1837
- }
1957
+
1958
+ ...defaultTextFlagConfig,
1959
+ },
1838
1960
  },
1839
1961
  {
1840
1962
  type: "a-text",
1841
1963
  icon: "text-field",
1964
+ commonFlag: !0,
1842
1965
  formItemFlag: !0,
1966
+ columnFlag: true,
1843
1967
  tableField: null,
1844
1968
  options: {
1845
1969
  name: "",
1846
1970
  keyNameEnabled: !1,
1847
1971
  keyName: "",
1848
1972
  label: "",
1973
+ labelColor: "",
1974
+ displayStyle: "block",
1849
1975
  submitFlag: true,
1850
1976
  /**showText: false,*/
1851
1977
  formField: "",
@@ -1864,7 +1990,9 @@ export const basicFields = [
1864
1990
  aTextFlag: 1,
1865
1991
  underline: false,
1866
1992
  href: "",
1867
- coloClass: "f-red",
1993
+ colorClass: "f-red",
1994
+ formatType: null,
1995
+ renderHandle: null,
1868
1996
 
1869
1997
  onCreated: "",
1870
1998
  onMounted: "",
@@ -1872,78 +2000,95 @@ export const basicFields = [
1872
2000
  onChange: "",
1873
2001
  onClick: "",
1874
2002
  accessType: "1",
1875
- wfFlag: 1,
1876
- wfEdit: false,
1877
- enabledByWf: false,
1878
- hiddenByWf: false,
1879
- wfConfigData: [],
2003
+ ...defaultWfConfig,
2004
+ ...defaultWidgetShowRuleConfig,
1880
2005
 
1881
2006
  showRuleFlag: 1,
1882
2007
  showRuleEnabled: 1,
1883
2008
  showRules: [],
1884
- textFlag: 1,
1885
- textRule1: false,
1886
- textRule2: false,
1887
- textRule3: false,
1888
- textRule2Number: null,
1889
- textRule3Number: null
1890
- }
2009
+
2010
+ ...defaultTextFlagConfig,
2011
+ },
1891
2012
  },
1892
2013
  {
1893
2014
  type: "a-link",
1894
2015
  icon: "button",
2016
+ commonFlag: !0,
1895
2017
  formItemFlag: !1,
2018
+ columnFlag: true,
1896
2019
  options: {
1897
2020
  name: "",
1898
2021
  keyNameEnabled: !1,
1899
2022
  keyName: "",
1900
2023
  label: "",
2024
+ displayStyle: "block",
1901
2025
  labelHidden: !1,
1902
2026
  disabled: !1,
1903
2027
  hidden: !1,
1904
2028
  prefixIcon: "",
1905
2029
  suffixIcon: "",
1906
2030
  customClass: "",
2031
+ wfHideFlag: 1,
1907
2032
  aLinkFlag: 1,
1908
2033
  underline: false,
1909
2034
  href: "",
1910
- coloClass: "f-red",
2035
+ colorClass: "f-blue",
1911
2036
  isFormLabel: false,
1912
2037
  onCreated: "",
1913
2038
  onMounted: "",
1914
2039
  onClick: "",
1915
2040
  clickBindEvent: null,
2041
+ onBeforeClickButton: null,
1916
2042
  searchDialogConfig: {
1917
- ...defaultSearchDialogConfig
2043
+ ...defaultSearchDialogConfig,
1918
2044
  },
1919
2045
  addTableDataConfig: {
1920
2046
  tableRef: null,
1921
- tableData: {}
2047
+ tableData: {},
1922
2048
  },
1923
- wfFlag: 1,
1924
- wfEdit: false,
1925
- enabledByWf: false,
1926
- hiddenByWf: false,
1927
- wfConfigData: [],
2049
+ ...defaultWfConfig,
2050
+ ...defaultWidgetShowRuleConfig,
1928
2051
 
1929
2052
  showRuleFlag: 1,
1930
2053
  showRuleEnabled: 1,
1931
2054
  showRules: [],
1932
- textFlag: 1,
1933
- textRule1: false,
1934
- textRule2: false,
1935
- textRule3: false,
1936
- textRule2Number: null,
1937
- textRule3Number: null
1938
- }
2055
+
2056
+ ...defaultTextFlagConfig,
2057
+ },
1939
2058
  },
2059
+ {
2060
+ type: "a-link2",
2061
+ icon: "button",
2062
+ commonFlag: !1,
2063
+ formItemFlag: !1,
2064
+ columnFlag: false,
2065
+ options: {
2066
+ prefixIcon: "",
2067
+ suffixIcon: "",
2068
+ customClass: "",
2069
+ aLinkFlag: 1,
2070
+ underline: false,
2071
+ href: "",
2072
+ colorClass: "f-blue",
1940
2073
 
1941
- ]
2074
+ onClick: "",
2075
+ clickBindEvent: null,
2076
+ onBeforeClickButton: null,
2077
+ searchDialogConfig: {
2078
+ ...defaultSearchDialogConfig,
2079
+ },
2080
+ addTableDataConfig: {
2081
+ tableRef: null,
2082
+ tableData: {},
2083
+ },
2084
+ },
2085
+ },
2086
+ ];
1942
2087
 
1943
2088
  export const advancedFields = [
1944
2089
  {
1945
- type: 'echart-pie',
1946
- icon: 'echart-pie',
2090
+ type: "echart-pie",
2091
+ icon: "echart-pie",
1947
2092
  commonFlag: !0,
1948
2093
  formItemFlag: false,
1949
2094
  options: {
@@ -1952,89 +2097,102 @@ export const advancedFields = [
1952
2097
  hidden: !1,
1953
2098
  echarPieOption: {
1954
2099
  backgroundColor: "#fff",
1955
- color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2100
+ color: [
2101
+ "#5BC1D7",
2102
+ "#FF8A3D",
2103
+ "#56C271",
2104
+ "#694ED6",
2105
+ "#C033A1",
2106
+ "#FFCC10",
2107
+ ],
1956
2108
  title: {
1957
2109
  show: true,
1958
- top: '5px',
1959
- text: '这是饼图标题',
2110
+ top: "5px",
2111
+ text: "这是饼图标题",
1960
2112
  },
1961
2113
  grid: {
1962
- top: '80px',
1963
- left: '3%',
1964
- right: '6%',
1965
- bottom: '3%',
1966
- containLabel: true
2114
+ top: "80px",
2115
+ left: "3%",
2116
+ right: "6%",
2117
+ bottom: "3%",
2118
+ containLabel: true,
1967
2119
  },
1968
2120
  legend: {
1969
2121
  show: false,
1970
- right: '12px',
2122
+ right: "12px",
1971
2123
  itemGap: 20,
1972
2124
  itemWidth: 10,
1973
2125
  itemHeight: 10,
1974
- orient: 'horizontal'
2126
+ orient: "horizontal",
1975
2127
  },
1976
2128
  tooltip: {
1977
- trigger: 'axis',
2129
+ trigger: "axis",
1978
2130
  axisPointer: {
1979
- type: 'shadow',
2131
+ type: "shadow",
1980
2132
  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'
2133
+ backgroundColor: "#fff",
2008
2134
  },
2009
- {
2010
- value: 580,
2011
- name: 'Email'
2135
+ },
2136
+ },
2137
+ series: [
2138
+ {
2139
+ // name: 'Access From',
2140
+ type: "pie",
2141
+ radius: "60%",
2142
+ center: ["50%", "48%"],
2143
+ itemStyle: {
2144
+ borderRadius: 10,
2145
+ borderColor: "#FFF",
2146
+ borderWidth: 2,
2012
2147
  },
2013
- {
2014
- value: 484,
2015
- name: 'Union Ads'
2148
+ label: {
2149
+ show: true,
2150
+ fontSize: 12,
2151
+ color: "",
2152
+ fontWeight: "normal",
2016
2153
  },
2017
- {
2018
- value: 300,
2019
- name: 'Video Ads'
2020
- }
2021
- ],
2022
- }]
2154
+ data: [
2155
+ {
2156
+ value: 1048,
2157
+ name: "Search Engine",
2158
+ },
2159
+ {
2160
+ value: 735,
2161
+ name: "Direct",
2162
+ },
2163
+ {
2164
+ value: 580,
2165
+ name: "Email",
2166
+ },
2167
+ {
2168
+ value: 484,
2169
+ name: "Union Ads",
2170
+ },
2171
+ {
2172
+ value: 300,
2173
+ name: "Video Ads",
2174
+ },
2175
+ ],
2176
+ },
2177
+ ],
2023
2178
  },
2024
- formScriptEnabled: true,
2025
- formScriptCode: "",
2026
- formScriptParam: null,
2179
+ echartConfig: "",
2180
+
2181
+ ...httpConfig,
2182
+
2183
+ onClick: "",
2027
2184
  onCreated: "",
2028
2185
  onMounted: "this.loadDataDefaultHandle()",
2029
2186
 
2187
+ ...defaultWfConfig,
2030
2188
  showRuleFlag: 1,
2031
2189
  showRuleEnabled: 1,
2032
- showRules: []
2033
- }
2190
+ showRules: [],
2191
+ },
2034
2192
  },
2035
2193
  {
2036
- type: 'echart-bar',
2037
- icon: 'echart',
2194
+ type: "echart-bar",
2195
+ icon: "echart",
2038
2196
  commonFlag: !0,
2039
2197
  formItemFlag: false,
2040
2198
  options: {
@@ -2043,44 +2201,52 @@ export const advancedFields = [
2043
2201
  hidden: !1,
2044
2202
  echarBarOption: {
2045
2203
  backgroundColor: "#fff",
2046
- color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2204
+ color: [
2205
+ "#5BC1D7",
2206
+ "#FF8A3D",
2207
+ "#56C271",
2208
+ "#694ED6",
2209
+ "#C033A1",
2210
+ "#FFCC10",
2211
+ ],
2212
+ colors: [],
2047
2213
  title: {
2048
2214
  show: true,
2049
- top: '5px',
2050
- text: '这是柱形图标题',
2215
+ top: "5px",
2216
+ text: "这是柱形图标题",
2051
2217
  },
2052
2218
  grid: {
2053
- top: '80px',
2054
- left: '3%',
2055
- right: '80',
2056
- bottom: '3%',
2057
- containLabel: true
2219
+ top: "80px",
2220
+ left: "3%",
2221
+ right: "80",
2222
+ bottom: "3%",
2223
+ containLabel: true,
2058
2224
  },
2059
2225
  legend: {
2060
- right: '12px',
2061
- top: '8px',
2062
- icon: 'circle',
2226
+ right: "12px",
2227
+ top: "8px",
2228
+ icon: "circle",
2063
2229
  itemWidth: 12,
2064
2230
 
2065
2231
  itemGap: 24,
2066
2232
  },
2067
2233
  tooltip: {
2068
- trigger: 'axis',
2234
+ trigger: "axis",
2069
2235
  axisPointer: {
2070
- type: 'shadow',
2236
+ type: "shadow",
2071
2237
  label: {
2072
- backgroundColor: '#fff'
2073
- }
2074
- }
2238
+ backgroundColor: "#fff",
2239
+ },
2240
+ },
2075
2241
  },
2076
2242
  xAxis: {
2077
- type: 'category',
2078
- data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
2243
+ type: "category",
2244
+ data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
2079
2245
  show: true,
2080
2246
  name: "X轴",
2081
2247
  nameTextStyle: {
2082
2248
  color: "#606266",
2083
- fontSize: 12
2249
+ fontSize: 12,
2084
2250
  },
2085
2251
  axisLabel: {
2086
2252
  color: "#606266",
@@ -2090,20 +2256,20 @@ export const advancedFields = [
2090
2256
  inverse: false,
2091
2257
  axisLine: {
2092
2258
  lineStyle: {
2093
- color: "#E6EBF5"
2094
- }
2259
+ color: "#E6EBF5",
2260
+ },
2095
2261
  },
2096
2262
  splitLine: {
2097
2263
  show: false,
2098
- }
2264
+ },
2099
2265
  },
2100
2266
  yAxis: {
2101
- type: 'value',
2267
+ type: "value",
2102
2268
  show: true,
2103
2269
  name: "Y轴",
2104
2270
  nameTextStyle: {
2105
2271
  color: "#606266",
2106
- fontSize: 12
2272
+ fontSize: 12,
2107
2273
  },
2108
2274
  axisLabel: {
2109
2275
  color: "#606266",
@@ -2114,96 +2280,109 @@ export const advancedFields = [
2114
2280
  axisLine: {
2115
2281
  show: false,
2116
2282
  lineStyle: {
2117
- color: ""
2118
- }
2283
+ color: "",
2284
+ },
2119
2285
  },
2120
2286
  splitLine: {
2121
2287
  show: true,
2122
2288
  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)'
2289
+ color: "#E6EBF5",
2290
+ },
2140
2291
  },
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
- }],
2292
+ },
2293
+ series: [
2294
+ {
2295
+ data: [120, 200, 150, 80, 70, 110, 130],
2296
+ type: "bar",
2297
+ name: "Video Ad",
2298
+ label: {
2299
+ show: false,
2300
+ fontSize: 12,
2301
+ color: "#FFF",
2302
+ fontWeight: "normal",
2303
+ position: "insideTop",
2304
+ },
2305
+ backgroundStyle: {
2306
+ color: "rgba(180, 180, 180, 0.2)",
2307
+ },
2308
+ barMaxWidth: 28,
2309
+ barMinHeight: 0,
2310
+ barGap: "15%",
2311
+ itemStyle: {
2312
+ color: {
2313
+ type: "linear",
2314
+ x: 0.5,
2315
+ y: 0.9,
2316
+ r: 0.2,
2317
+ colorStops: [
2318
+ {
2319
+ offset: 1,
2320
+ color: "#08C084", // 0% 处的颜色
2321
+ },
2322
+ {
2323
+ offset: 0,
2324
+ color: "#97EACE", // 100% 处的颜色
2325
+ },
2326
+ ],
2327
+ },
2328
+ borderRadius: [20, 20, 0, 0],
2155
2329
  },
2156
- borderRadius: [20, 20, 0, 0]
2157
2330
  },
2331
+ {
2332
+ data: [140, 232, 101, 264, 90, 340, 250],
2333
+ type: "bar",
2334
+ name: "Video Ad1",
2158
2335
 
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
- }],
2336
+ label: {
2337
+ show: false,
2338
+ fontSize: 12,
2339
+ color: "#FFF",
2340
+ fontWeight: "normal",
2341
+ position: "insideTop",
2342
+ },
2343
+ backgroundStyle: {
2344
+ color: "rgba(180, 180, 180, 0.2)",
2345
+ },
2346
+ barMaxWidth: "28%",
2347
+ barMinHeight: 0,
2348
+ itemStyle: {
2349
+ color: {
2350
+ type: "linear",
2351
+ x: 0.5,
2352
+ y: 0.9,
2353
+ r: 0.2,
2354
+ colorStops: [
2355
+ {
2356
+ offset: 1,
2357
+ color: "#29ABE3", // 0% 处的颜色
2358
+ },
2359
+ {
2360
+ offset: 0,
2361
+ color: "#AADEF4", // 100% 处的颜色
2362
+ },
2363
+ ],
2364
+ },
2365
+ borderRadius: [20, 20, 0, 0],
2187
2366
  },
2188
- borderRadius: [20, 20, 0, 0]
2189
2367
  },
2190
-
2191
- }]
2368
+ ],
2192
2369
  },
2193
- formScriptEnabled: true,
2194
- formScriptCode: "",
2195
- formScriptParam: null,
2370
+ echartConfig: "",
2371
+
2372
+ ...httpConfig,
2373
+
2374
+ onClick: "",
2196
2375
  onCreated: "",
2197
2376
  onMounted: "this.loadDataDefaultHandle()",
2198
-
2377
+ ...defaultWfConfig,
2199
2378
  showRuleFlag: 1,
2200
2379
  showRuleEnabled: 1,
2201
- showRules: []
2202
- }
2203
- },
2380
+ showRules: [],
2381
+ },
2382
+ },
2204
2383
  {
2205
- type: 'echart-category',
2206
- icon: 'echart-category',
2384
+ type: "echart-category",
2385
+ icon: "echart-category",
2207
2386
  commonFlag: !0,
2208
2387
  formItemFlag: false,
2209
2388
  options: {
@@ -2213,42 +2392,50 @@ export const advancedFields = [
2213
2392
  reqSources: [],
2214
2393
  echarCategoryOption: {
2215
2394
  backgroundColor: "#fff",
2216
- color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2395
+ color: [
2396
+ "#5BC1D7",
2397
+ "#FF8A3D",
2398
+ "#56C271",
2399
+ "#694ED6",
2400
+ "#C033A1",
2401
+ "#FFCC10",
2402
+ ],
2403
+ colors: [],
2217
2404
  title: {
2218
2405
  show: true,
2219
- top: '5px',
2220
- text: '这是折线图标题',
2406
+ top: "5px",
2407
+ text: "这是折线图标题",
2221
2408
  },
2222
2409
  grid: {
2223
- top: '80px',
2224
- left: '3%',
2225
- right: '80',
2226
- bottom: '3%',
2227
- containLabel: true
2410
+ top: "80px",
2411
+ left: "3%",
2412
+ right: "80",
2413
+ bottom: "3%",
2414
+ containLabel: true,
2228
2415
  },
2229
2416
  legend: {
2230
- right: '12px',
2231
- top: '8px',
2417
+ right: "12px",
2418
+ top: "8px",
2232
2419
  itemGap: 24,
2233
2420
  },
2234
2421
  tooltip: {
2235
- trigger: 'axis',
2422
+ trigger: "axis",
2236
2423
  axisPointer: {
2237
- type: 'shadow',
2424
+ type: "shadow",
2238
2425
  label: {
2239
- backgroundColor: '#fff'
2240
- }
2241
- }
2426
+ backgroundColor: "#fff",
2427
+ },
2428
+ },
2242
2429
  },
2243
2430
  xAxis: {
2244
- type: 'category',
2245
- data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
2431
+ type: "category",
2432
+ data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
2246
2433
  show: true,
2247
2434
  name: "X轴",
2248
2435
  boundaryGap: false,
2249
2436
  nameTextStyle: {
2250
2437
  color: "#606266",
2251
- fontSize: 12
2438
+ fontSize: 12,
2252
2439
  },
2253
2440
  axisLabel: {
2254
2441
  color: "#606266",
@@ -2258,24 +2445,24 @@ export const advancedFields = [
2258
2445
  inverse: false,
2259
2446
  axisLine: {
2260
2447
  lineStyle: {
2261
- color: "#E6EBF5"
2262
- }
2448
+ color: "#E6EBF5",
2449
+ },
2263
2450
  },
2264
2451
  splitLine: {
2265
2452
  show: true,
2266
2453
  lineStyle: {
2267
- type: 'dashed',
2268
- color: "#E6EBF595"
2269
- }
2270
- }
2454
+ type: "dashed",
2455
+ color: "#E6EBF595",
2456
+ },
2457
+ },
2271
2458
  },
2272
2459
  yAxis: {
2273
- type: 'value',
2460
+ type: "value",
2274
2461
  show: true,
2275
2462
  name: "Y轴",
2276
2463
  nameTextStyle: {
2277
2464
  color: "#606266",
2278
- fontSize: 12
2465
+ fontSize: 12,
2279
2466
  },
2280
2467
  axisLabel: {
2281
2468
  color: "#606266",
@@ -2286,110 +2473,167 @@ export const advancedFields = [
2286
2473
  axisLine: {
2287
2474
  show: false,
2288
2475
  lineStyle: {
2289
- color: ""
2290
- }
2476
+ color: "",
2477
+ },
2291
2478
  },
2292
2479
  splitLine: {
2293
2480
  show: true,
2294
2481
  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
- }],
2482
+ color: "#E6EBF5",
2321
2483
  },
2322
- cap: 'round',
2323
- shadowColor: '#08C08450',
2324
- shadowBlur: 4,
2325
- shadowOffsetY: 6
2326
- },
2327
- emphasis: {
2328
- scale: 1,
2329
- focus: 'series'
2330
2484
  },
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
- }],
2485
+ },
2486
+ series: [
2487
+ {
2488
+ name: "R1",
2489
+ data: [220, 282, 111, 234, 220, 340, 310],
2490
+ type: "line",
2491
+ stack: "Total",
2492
+ label: {
2493
+ show: true,
2494
+ fontSize: 12,
2495
+ color: "#212121",
2496
+ fontWeight: "normal",
2497
+ },
2498
+ lineStyle: {
2499
+ color: {
2500
+ type: "linear",
2501
+ x: 0.5,
2502
+ y: 0.5,
2503
+ r: 0.5,
2504
+ colorStops: [
2505
+ {
2506
+ offset: 0,
2507
+ color: "#08C084", // 0% 处的颜色
2508
+ },
2509
+ {
2510
+ offset: 1,
2511
+ color: "#97EACE", // 100% 处的颜色
2512
+ },
2513
+ ],
2514
+ },
2515
+ cap: "round",
2516
+ shadowColor: "#08C08450",
2517
+ shadowBlur: 4,
2518
+ shadowOffsetY: 6,
2519
+ },
2520
+ itemStyle: {
2521
+ color: {
2522
+ type: "linear",
2523
+ x: 0.5,
2524
+ y: 0.5,
2525
+ r: 0.5,
2526
+ colorStops: [
2527
+ {
2528
+ offset: 0,
2529
+ color: "#08C084", // 0% 处的颜色
2530
+ },
2531
+ {
2532
+ offset: 1,
2533
+ color: "#97EACE", // 100% 处的颜色
2534
+ },
2535
+ ],
2536
+ },
2537
+ cap: "round",
2538
+ shadowColor: "#08C08450",
2539
+ shadowBlur: 4,
2540
+ shadowOffsetY: 6,
2355
2541
  },
2356
- cap: 'round',
2357
- shadowColor: '#FF611650',
2358
- shadowBlur: 4,
2359
- shadowOffsetY: 6
2542
+ emphasis: {
2543
+ scale: 1,
2544
+ focus: "series",
2545
+ },
2546
+ showSymbol: false,
2547
+ smooth: true,
2360
2548
  },
2361
- emphasis: {
2362
- scale: 1,
2363
- focus: 'series'
2549
+ {
2550
+ name: "R2",
2551
+ data: [140, 232, 101, 264, 90, 340, 250],
2552
+ type: "line",
2553
+ stack: "Total",
2554
+ label: {
2555
+ show: true,
2556
+ fontSize: 12,
2557
+ color: "#212121",
2558
+ fontWeight: "normal",
2559
+ },
2560
+ lineStyle: {
2561
+ color: {
2562
+ type: "linear",
2563
+ x: 0.5,
2564
+ y: 0.5,
2565
+ r: 0.5,
2566
+ colorStops: [
2567
+ {
2568
+ offset: 0,
2569
+ color: "#FF6116", // 0% 处的颜色
2570
+ },
2571
+ {
2572
+ offset: 1,
2573
+ color: "#F9A980", // 100% 处的颜色
2574
+ },
2575
+ ],
2576
+ },
2577
+ cap: "round",
2578
+ shadowColor: "#FF611650",
2579
+ shadowBlur: 4,
2580
+ shadowOffsetY: 6,
2581
+ },
2582
+ itemStyle: {
2583
+ color: {
2584
+ type: "linear",
2585
+ x: 0.5,
2586
+ y: 0.5,
2587
+ r: 0.5,
2588
+ colorStops: [
2589
+ {
2590
+ offset: 0,
2591
+ color: "#FF6116", // 0% 处的颜色
2592
+ },
2593
+ {
2594
+ offset: 1,
2595
+ color: "#F9A980", // 100% 处的颜色
2596
+ },
2597
+ ],
2598
+ },
2599
+ cap: "round",
2600
+ shadowColor: "#FF611650",
2601
+ shadowBlur: 4,
2602
+ shadowOffsetY: 6,
2603
+ },
2604
+ emphasis: {
2605
+ scale: 1,
2606
+ focus: "series",
2607
+ },
2608
+ showSymbol: false,
2609
+ smooth: true,
2364
2610
  },
2365
- showSymbol: false,
2366
- smooth: true,
2367
- }]
2368
-
2611
+ ],
2369
2612
  },
2370
- formScriptEnabled: true,
2371
- formScriptCode: "",
2372
- formScriptParam: null,
2613
+ echartConfig: "",
2614
+
2615
+ ...httpConfig,
2616
+
2617
+ onClick: "",
2373
2618
  onCreated: "",
2374
2619
  onMounted: "this.loadDataDefaultHandle()",
2375
-
2620
+ ...defaultWfConfig,
2376
2621
  showRuleFlag: 1,
2377
2622
  showRuleEnabled: 1,
2378
- showRules: []
2379
- }
2623
+ showRules: [],
2624
+ },
2380
2625
  },
2381
2626
  {
2382
- type: 'echart',
2383
- icon: 'echart',
2627
+ type: "echart",
2628
+ icon: "echart",
2384
2629
  formItemFlag: false,
2385
2630
  options: {
2386
2631
  name: "",
2387
- echartHeight: '200',
2632
+ echartHeight: "200",
2388
2633
  hidden: !1,
2389
- echarPieOption: {}
2390
- }
2391
- }
2392
- ,
2634
+ echarPieOption: {},
2635
+ },
2636
+ },
2393
2637
  /*{
2394
2638
  type: 'news-list',
2395
2639
  icon: 'news-list',
@@ -2495,6 +2739,7 @@ export const advancedFields = [
2495
2739
  keyName: "",
2496
2740
  keyNameSuffix: "",
2497
2741
  label: "",
2742
+ labelColor: "",
2498
2743
  submitFlag: true,
2499
2744
  disabled: !1,
2500
2745
  hidden: !1,
@@ -2502,86 +2747,75 @@ export const advancedFields = [
2502
2747
  labelWidth: null,
2503
2748
  labelHidden: !0,
2504
2749
  limit: null,
2750
+ hideRemoveButton: false,
2505
2751
  accessType: "1",
2506
2752
  entityTableCode: null,
2507
2753
  entityTableDesc: null,
2508
2754
  onCreated: "this.loadDataDefaultHandle();",
2509
2755
  onMounted: "",
2756
+ onAfterConfirmFile: "",
2510
2757
  vabUpload: 1,
2511
- formScriptEnabled: true,
2758
+
2759
+ ...httpConfig,
2512
2760
  formScriptCode: "getList",
2513
- formScriptParam: null,
2514
- wfFlag: 1,
2515
- wfEdit: false,
2516
- enabledByWf: false,
2517
- hiddenByWf: false,
2518
- wfConfigData: [],
2761
+
2762
+ ...defaultWfConfig,
2519
2763
 
2520
2764
  showRuleFlag: 1,
2521
2765
  showRuleEnabled: 1,
2522
- showRules: []
2523
- }
2766
+ showRules: [],
2767
+
2768
+ hiddenFileInfo: false,
2769
+ hiddenFileName: false,
2770
+ showFileSize: false,
2771
+ showFileCreateBy: false,
2772
+ showFileCreateDate: false,
2773
+ widgetSize: 2,
2774
+
2775
+ customUploadEnabled: false,
2776
+ uploadUrl: null,
2777
+ uploadHeaders: {},
2778
+ uploadRresponseAdapter: {},
2779
+ },
2524
2780
  },
2525
2781
  {
2526
2782
  type: "vabsearch",
2527
2783
  icon: "searchbox",
2528
2784
  commonFlag: !0,
2785
+ columnFlag: true,
2529
2786
  formItemFlag: !0,
2530
2787
  tableField: null,
2531
2788
  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
- }
2789
+ ...vabsearchConfig,
2790
+ },
2791
+ },
2792
+ {
2793
+ type: "singerSearch",
2794
+ icon: "searchbox",
2795
+ // commonFlag: !0,
2796
+ // columnFlag: true,
2797
+ formItemFlag: !0,
2798
+ tableField: null,
2799
+ options: {
2800
+ ...vabsearchConfig,
2801
+ },
2802
+ },
2803
+ {
2804
+ type: "multiSearch",
2805
+ icon: "searchbox",
2806
+ // commonFlag: !0,
2807
+ // columnFlag: true,
2808
+ formItemFlag: !0,
2809
+ tableField: null,
2810
+ options: {
2811
+ ...vabsearchConfig,
2812
+ },
2580
2813
  },
2581
2814
  {
2582
2815
  type: "search_button",
2583
2816
  icon: "button",
2584
2817
  commonFlag: !0,
2818
+ columnFlag: true,
2585
2819
  formItemFlag: !1,
2586
2820
  options: {
2587
2821
  name: "",
@@ -2602,33 +2836,31 @@ export const advancedFields = [
2602
2836
  },*/
2603
2837
  // vabSearchField: null,
2604
2838
  // onSearchConfirm: "",
2605
- dialogModel: '1',
2839
+ dialogModel: "1",
2606
2840
  systemDialogUrl: null,
2607
2841
  accessType: "1",
2608
2842
  onClick: "",
2609
2843
  onCreated: "",
2610
2844
  onMounted: "",
2611
- clickBindEvent: '1',
2845
+ clickBindEvent: "1",
2846
+ onBeforeClickButton: null,
2612
2847
  searchDialogConfig: {
2613
2848
  ...defaultSearchDialogConfig,
2614
- tableEnabled: true
2849
+ tableEnabled: true,
2615
2850
  },
2616
- wfFlag: 1,
2617
- wfEdit: false,
2618
- enabledByWf: false,
2619
- hiddenByWf: false,
2620
- wfConfigData: [],
2621
-
2851
+ ...defaultWfConfig,
2852
+ ...defaultWidgetShowRuleConfig,
2622
2853
  showRuleFlag: 1,
2623
2854
  showRuleEnabled: 1,
2624
- showRules: []
2625
- }
2855
+ showRules: [],
2856
+ },
2626
2857
  },
2627
2858
  {
2628
2859
  type: "save_button",
2629
2860
  targetType: "button",
2630
2861
  icon: "button",
2631
2862
  commonFlag: !0,
2863
+ columnFlag: true,
2632
2864
  formItemFlag: !1,
2633
2865
  options: {
2634
2866
  name: "",
@@ -2651,19 +2883,17 @@ export const advancedFields = [
2651
2883
  accessType: "1",
2652
2884
  saveButton: true,
2653
2885
  clickBindEvent: null,
2886
+ onBeforeClickButton: null,
2654
2887
  searchDialogConfig: {
2655
- ...defaultSearchDialogConfig
2888
+ ...defaultSearchDialogConfig,
2656
2889
  },
2657
- wfFlag: 1,
2658
- wfEdit: false,
2659
- enabledByWf: false,
2890
+ ...defaultWfConfig,
2891
+ ...defaultWidgetShowRuleConfig,
2660
2892
  hiddenByWf: true,
2661
- wfConfigData: [],
2662
2893
 
2663
2894
  showRuleFlag: 1,
2664
2895
  showRuleEnabled: 1,
2665
- showRules: []
2666
-
2896
+ showRules: [],
2667
2897
  },
2668
2898
  },
2669
2899
  {
@@ -2671,6 +2901,7 @@ export const advancedFields = [
2671
2901
  targetType: "button",
2672
2902
  icon: "button",
2673
2903
  commonFlag: !0,
2904
+ columnFlag: true,
2674
2905
  formItemFlag: !1,
2675
2906
  options: {
2676
2907
  name: "",
@@ -2691,18 +2922,15 @@ export const advancedFields = [
2691
2922
  onClick: "this.getFormRef().$baseReload()",
2692
2923
  accessType: "1",
2693
2924
  clickBindEvent: null,
2925
+ onBeforeClickButton: null,
2694
2926
  searchDialogConfig: {
2695
- ...defaultSearchDialogConfig
2927
+ ...defaultSearchDialogConfig,
2696
2928
  },
2697
- wfFlag: 1,
2698
- wfEdit: false,
2699
- enabledByWf: true,
2700
- hiddenByWf: false,
2701
- wfConfigData: [],
2702
-
2929
+ ...defaultWfConfig,
2930
+ ...defaultWidgetShowRuleConfig,
2703
2931
  showRuleFlag: 1,
2704
2932
  showRuleEnabled: 1,
2705
- showRules: []
2933
+ showRules: [],
2706
2934
  },
2707
2935
  },
2708
2936
  {
@@ -2710,35 +2938,67 @@ export const advancedFields = [
2710
2938
  icon: "list-export",
2711
2939
  formItemFlag: !1,
2712
2940
  commonFlag: !0,
2941
+ columnFlag: true,
2713
2942
  tableField: null,
2714
2943
  options: {
2715
2944
  name: "",
2716
2945
  keyNameEnabled: !1,
2717
2946
  keyName: "",
2947
+ disabled: !1,
2718
2948
  hidden: !1,
2719
2949
  customClass: "",
2720
- exportFileName: '导出',
2721
- tableRef: '',
2950
+ exportFileName: "导出",
2951
+ tableRef: "",
2722
2952
  tableExportParam: "",
2953
+ showImageAtTable: false,
2954
+ tableExportFlag: 1,
2955
+
2723
2956
  onCreated: "",
2724
2957
  onMounted: "",
2725
- wfFlag: 1,
2726
- wfEdit: false,
2727
- enabledByWf: false,
2728
- hiddenByWf: false,
2729
- wfConfigData: [],
2730
-
2958
+ ...defaultWfConfig,
2959
+ ...defaultWidgetShowRuleConfig,
2731
2960
  showRuleFlag: 1,
2732
2961
  showRuleEnabled: 1,
2733
- showRules: []
2962
+ showRules: [],
2963
+ },
2964
+ },
2965
+ {
2966
+ type: "select-export-button",
2967
+ icon: "list-export",
2968
+ formItemFlag: !1,
2969
+ commonFlag: !0,
2970
+ columnFlag: true,
2971
+ options: {
2972
+ name: "",
2973
+ keyNameEnabled: !1,
2974
+ keyName: "",
2975
+ disabled: !1,
2976
+ hidden: !1,
2977
+ label: "明细导出",
2978
+ customClass: "",
2979
+ buttonTypeFlag: 1,
2980
+ type: "",
2981
+ exportFileName: "明细导出",
2982
+ tableRef: "",
2983
+ tableExportParam: "",
2984
+ showImageAtTable: false,
2985
+ selectExportFlag: 1,
2734
2986
 
2735
- }
2987
+ onCreated: "",
2988
+ onMounted: "",
2989
+ ...defaultWfConfig,
2990
+ ...defaultWidgetShowRuleConfig,
2991
+ showRuleFlag: 1,
2992
+ showRuleEnabled: 1,
2993
+ showRules: [],
2994
+ },
2736
2995
  },
2737
2996
  {
2738
2997
  type: "add_button",
2739
2998
  targetType: "button",
2740
2999
  icon: "button",
2741
3000
  commonFlag: !0,
3001
+ columnFlag: true,
2742
3002
  formItemFlag: !1,
2743
3003
  options: {
2744
3004
  name: "",
@@ -2758,76 +3018,87 @@ export const advancedFields = [
2758
3018
  onMounted: "",
2759
3019
  onClick: "",
2760
3020
  clickBindEvent: null,
3021
+ onBeforeClickButton: null,
2761
3022
  searchDialogConfig: {
2762
- ...defaultSearchDialogConfig
3023
+ ...defaultSearchDialogConfig,
2763
3024
  },
2764
- wfFlag: 1,
2765
- wfEdit: false,
2766
- enabledByWf: false,
2767
- hiddenByWf: false,
2768
- wfConfigData: [],
2769
-
3025
+ ...defaultWfConfig,
3026
+ hiddenByWf: true,
3027
+ ...defaultWidgetShowRuleConfig,
2770
3028
  showRuleFlag: 1,
2771
3029
  showRuleEnabled: 1,
2772
- showRules: []
3030
+ showRules: [],
2773
3031
  },
2774
3032
  },
2775
3033
  {
2776
- type: "save_button",
2777
- targetType: "button",
3034
+ type: "import-button",
2778
3035
  icon: "button",
2779
3036
  commonFlag: !0,
3037
+ columnFlag: true,
2780
3038
  formItemFlag: !1,
2781
3039
  options: {
2782
3040
  name: "",
2783
- label: "保存",
3041
+ label: "导入",
2784
3042
  columnWidth: "200px",
2785
3043
  size: "",
2786
- displayStyle: "block",
3044
+
3045
+ // displayStyle: "block",
2787
3046
  disabled: !1,
2788
3047
  hidden: !1,
3048
+ buttonTypeFlag: 1,
2789
3049
  type: "primary",
2790
- plain: !1,
3050
+ /*plain: !1,
2791
3051
  round: !1,
2792
3052
  circle: !1,
2793
- icon: "el-icon-check",
3053
+ icon: "el-icon-download",*/
2794
3054
  customClass: "",
2795
3055
  onCreated: "",
2796
3056
  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,
3057
+ // clickBindEvent: null,
3058
+ onBeforeClickButton: null,
2802
3059
  searchDialogConfig: {
2803
- ...defaultSearchDialogConfig
3060
+ ...defaultSearchDialogConfig,
2804
3061
  },
2805
- wfFlag: 1,
2806
- wfEdit: false,
2807
- enabledByWf: false,
3062
+ ...defaultWfConfig,
2808
3063
  hiddenByWf: true,
2809
- wfConfigData: [],
3064
+ ...defaultWidgetShowRuleConfig,
3065
+ importMultiple:false,
3066
+ importMultiSize: 1,
3067
+ importFileLimitSize: 200,
3068
+ importEntity: "",
3069
+ importAttachCode: "",
3070
+ importAttachName: "",
3071
+ importScriptCode: "",
3072
+ onBeforeImport: "",
3073
+ enabledImportPreHandle: false,
3074
+ tableRef: "",
3075
+ onSuccessImport: "",
3076
+ hideCancelButton:false,
3077
+ multipleSheet: false,
3078
+ onBeforeClickButton:null,
2810
3079
 
2811
3080
  showRuleFlag: 1,
2812
3081
  showRuleEnabled: 1,
2813
- showRules: []
2814
-
3082
+ showRules: [],
2815
3083
  },
2816
3084
  },
2817
3085
  {
2818
- type: "import-button",
3086
+ type: "import2-button",
2819
3087
  icon: "button",
2820
3088
  commonFlag: !0,
3089
+ columnFlag: true,
2821
3090
  formItemFlag: !1,
2822
3091
  options: {
2823
3092
  name: "",
2824
- label: "导入",
3093
+ label: "明细导入",
2825
3094
  columnWidth: "200px",
2826
3095
  size: "",
3096
+
2827
3097
  // displayStyle: "block",
2828
3098
  disabled: !1,
2829
3099
  hidden: !1,
2830
- type: "primary",
3100
+ buttonTypeFlag: 1,
3101
+ type: "",
2831
3102
  /*plain: !1,
2832
3103
  round: !1,
2833
3104
  circle: !1,
@@ -2836,29 +3107,34 @@ export const advancedFields = [
2836
3107
  onCreated: "",
2837
3108
  onMounted: "",
2838
3109
  // clickBindEvent: null,
3110
+ onBeforeClickButton: null,
2839
3111
  searchDialogConfig: {
2840
- ...defaultSearchDialogConfig
3112
+ ...defaultSearchDialogConfig,
2841
3113
  },
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,
3114
+ ...defaultWfConfig,
3115
+ hiddenByWf: true,
3116
+ ...defaultWidgetShowRuleConfig,
3117
+ frontImportFlag: 1,
3118
+ importFileLimitSize: 200,
3119
+ importAttachCode: "",
3120
+ importAttachName: "",
3121
+ tableRef: "",
3122
+ onConfirmImportEnabled: false,
3123
+ onConfirmImport: "",
3124
+ onSuccessImport: "",
3125
+ hideCancelButton:false,
3126
+ onBeforeClickButton:null,
2852
3127
 
2853
3128
  showRuleFlag: 1,
2854
3129
  showRuleEnabled: 1,
2855
- showRules: []
3130
+ showRules: [],
2856
3131
  },
2857
3132
  },
2858
3133
  {
2859
3134
  type: "print-button",
2860
3135
  icon: "button",
2861
3136
  commonFlag: !0,
3137
+ columnFlag: true,
2862
3138
  formItemFlag: !1,
2863
3139
  options: {
2864
3140
  name: "",
@@ -2877,25 +3153,68 @@ export const advancedFields = [
2877
3153
  onCreated: "",
2878
3154
  onMounted: "",
2879
3155
  // clickBindEvent: null,
3156
+ onBeforeClickButton: null,
2880
3157
  searchDialogConfig: {
2881
- ...defaultSearchDialogConfig
3158
+ ...defaultSearchDialogConfig,
2882
3159
  },
2883
- wfFlag: 1,
2884
- wfEdit: false,
2885
- enabledByWf: false,
2886
- hiddenByWf: false,
2887
- wfConfigData: [],
3160
+ ...defaultWfConfig,
3161
+ ...defaultWidgetShowRuleConfig,
3162
+
3163
+ // customLabelEnabled: false,
3164
+ printButtonFlag:1,
2888
3165
  printTableRef: "",
2889
3166
  printItems: [],
3167
+ // printCustomCondition: "",
3168
+
3169
+ showRuleFlag: 1,
3170
+ showRuleEnabled: 1,
3171
+ showRules: [],
3172
+ },
3173
+ },
3174
+ {
3175
+ type: "print-detail-button",
3176
+ icon: "button",
3177
+ commonFlag: !0,
3178
+ columnFlag: false,
3179
+ formItemFlag: !1,
3180
+ options: {
3181
+ name: "",
3182
+ label: "导出/打印",
3183
+ columnWidth: "200px",
3184
+ size: "",
3185
+ // displayStyle: "block",
3186
+ disabled: !1,
3187
+ hidden: !1,
3188
+ type: "primary",
3189
+ /*plain: !1,
3190
+ round: !1,
3191
+ circle: !1,
3192
+ icon: "el-icon-download",*/
3193
+ customClass: "",
3194
+ onCreated: "",
3195
+ onMounted: "",
3196
+ // clickBindEvent: null,
3197
+ onBeforeClickButton: null,
3198
+ searchDialogConfig: {
3199
+ ...defaultSearchDialogConfig,
3200
+ },
3201
+ ...defaultWfConfig,
3202
+ ...defaultWidgetShowRuleConfig,
3203
+
3204
+ printDetailButtonFlag:1,
3205
+ // customLabelEnabled: false,
3206
+ printItems: [],
3207
+ printCustomCondition: "return {\n id:[dataId]\n}",
2890
3208
 
2891
3209
  showRuleFlag: 1,
2892
3210
  showRuleEnabled: 1,
2893
- showRules: []
3211
+ showRules: [],
2894
3212
  },
2895
3213
  },
2896
3214
  {
2897
3215
  type: "baseAttachment",
2898
3216
  icon: "file-upload-field",
3217
+ columnFlag: true,
2899
3218
  formItemFlag: !0,
2900
3219
  tableField: null,
2901
3220
  options: {
@@ -2904,6 +3223,7 @@ export const advancedFields = [
2904
3223
  keyName: "",
2905
3224
  keyNameSuffix: "",
2906
3225
  label: "",
3226
+ labelColor: "",
2907
3227
  submitFlag: true,
2908
3228
  disabled: !1,
2909
3229
  hidden: !1,
@@ -2916,21 +3236,19 @@ export const advancedFields = [
2916
3236
  entityTableDesc: null,
2917
3237
  onCreated: "",
2918
3238
  onMounted: "",
2919
- wfFlag: 1,
2920
- wfEdit: false,
2921
- enabledByWf: false,
2922
- hiddenByWf: false,
2923
- wfConfigData: [],
3239
+ onAfterConfirmFile: "",
3240
+ ...defaultWfConfig,
2924
3241
 
2925
3242
  showRuleFlag: 1,
2926
3243
  showRuleEnabled: 1,
2927
- showRules: []
2928
- }
3244
+ showRules: [],
3245
+ },
2929
3246
  },
2930
3247
  {
2931
3248
  type: "status",
2932
3249
  icon: "status",
2933
3250
  commonFlag: !0,
3251
+ columnFlag: true,
2934
3252
  formItemFlag: !0,
2935
3253
  tableField: null,
2936
3254
  options: {
@@ -2938,6 +3256,7 @@ export const advancedFields = [
2938
3256
  keyNameEnabled: !1,
2939
3257
  keyName: "",
2940
3258
  label: "",
3259
+ labelColor: "",
2941
3260
  submitFlag: true,
2942
3261
  disabled: !1,
2943
3262
  hidden: !1,
@@ -2947,146 +3266,615 @@ export const advancedFields = [
2947
3266
  optionItemValueType: 0,
2948
3267
  statusType: "common",
2949
3268
  statusParam: [],
3269
+
3270
+ ...httpConfig,
3271
+ formScriptEnabled:false,
3272
+
2950
3273
  onCreated: "",
2951
3274
  onMounted: "",
3275
+ ...defaultWfConfig,
2952
3276
 
2953
3277
  showRuleFlag: 1,
2954
3278
  showRuleEnabled: 1,
2955
- showRules: []
2956
- }
3279
+ showRules: [],
3280
+ },
2957
3281
  },
2958
3282
  {
2959
- type: 'census',
2960
- icon: 'census',
3283
+ type: "census",
3284
+ icon: "census",
2961
3285
  commonFlag: !0,
2962
3286
  formItemFlag: false,
2963
3287
  options: {
2964
- name: '',
3288
+ name: "",
2965
3289
  keyNameEnabled: !1,
2966
3290
  keyName: "",
2967
- columnWidth: '200px',
3291
+ columnWidth: "200px",
2968
3292
  hidden: false,
2969
- customClass: '', //自定义css类名
2970
- space: '5',
2971
- censusClass: 'form-count',
3293
+ customClass: "", //自定义css类名
3294
+ space: "5",
3295
+ censusClass: "form-count",
2972
3296
  censusItems: [
2973
3297
  {
2974
3298
  number: "1002",
2975
- txt: '总数量',
2976
- detailItems: [{
2977
- txt: '跟进商机',
2978
- number: '26'
2979
- }, {
2980
- txt: '累计商机',
2981
- number: '26'
2982
- }]
3299
+ txt: "总数量",
3300
+ detailItems: [
3301
+ {
3302
+ txt: "跟进商机",
3303
+ number: "26",
3304
+ },
3305
+ {
3306
+ txt: "累计商机",
3307
+ number: "26",
3308
+ },
3309
+ ],
2983
3310
  },
2984
3311
  {
2985
3312
  number: "603",
2986
- txt: '总人数',
3313
+ txt: "总人数",
2987
3314
  detailItems: [],
2988
3315
  },
2989
3316
  {
2990
3317
  number: "5004",
2991
- txt: '总订单',
2992
- detailItems: []
2993
- }
3318
+ txt: "总订单",
3319
+ detailItems: [],
3320
+ },
2994
3321
  ],
2995
- formScriptEnabled: true,
2996
- formScriptCode: "",
2997
- formScriptParam: null,
3322
+
3323
+ ...httpConfig,
3324
+
2998
3325
  onCreated: "",
2999
3326
  onMounted: "",
3000
-
3327
+ onClick: "",
3328
+ ...defaultWfConfig,
3001
3329
  showRuleFlag: 1,
3002
3330
  showRuleEnabled: 1,
3003
- showRules: []
3004
- }
3331
+ showRules: [],
3332
+ },
3005
3333
  },
3334
+
3006
3335
  {
3007
3336
  type: "project-tag",
3008
3337
  icon: "uploadbox",
3009
- // commonFlag: !0,
3338
+ commonFlag: !0,
3339
+ columnFlag: true,
3010
3340
  formItemFlag: !0,
3011
3341
  tableField: null,
3342
+ options: {
3343
+ ...projectTagConfig,
3344
+ formScriptEnabled: true
3345
+ },
3346
+ },
3347
+ {
3348
+ type: "table2",
3349
+ category: "container",
3350
+ icon: "table",
3351
+ commonFlag: !0,
3352
+ formItemFlag: !0,
3353
+ rows: [],
3012
3354
  options: {
3013
3355
  name: "",
3014
- keyNameEnabled: !1,
3356
+ keyNameEnabled: !0,
3015
3357
  keyName: "",
3016
- keyNameSuffix: "",
3017
- label: "",
3018
- submitFlag: true,
3019
- disabled: !1,
3020
- readonly: false,
3021
3358
  hidden: !1,
3022
- required: !1,
3023
- labelWidth: null,
3024
- labelHidden: !1,
3025
- onCreated: "if(this.formDataId)this.loadDataDefaultHandle();",
3359
+ customClass: "",
3360
+ styleTableClass: "",
3361
+ // fullWidth: false,
3362
+ submitFlag: true,
3363
+
3364
+ ...httpConfig,
3365
+
3366
+ onCreated: "this.loadDataDefaultHandle()",
3026
3367
  onMounted: "",
3027
- vabUpload: 1,
3368
+ ...defaultWfConfig,
3369
+ showRuleFlag: 1,
3370
+ showRuleEnabled: 1,
3371
+ showRules: [],
3372
+ },
3373
+ },
3374
+ {
3375
+ type: "dropdown-menu",
3376
+ icon: "tab",
3377
+ // commonFlag: !0,
3378
+ // columnFlag: true,
3379
+ widgetList: [],
3380
+ options: {
3381
+ name: "",
3382
+ label: "",
3383
+ hidden: !1,
3384
+ disabled: !1,
3385
+ height: "",
3386
+ // isFullscreen: false,
3387
+ tabClass: "tab-boxCard tabCard-sty1",
3388
+ customClass: "",
3389
+ dropdownMenuFlag: 1,
3390
+ ...defaultWfConfig,
3391
+ onCreated: "",
3392
+ onMounted: "",
3393
+ },
3394
+ },
3395
+ {
3396
+ type: "dropdown-item",
3397
+ icon: "tab-pane",
3398
+ internal: !0,
3399
+ options: {
3400
+ name: "",
3401
+ label: "",
3402
+ hidden: !1,
3403
+ active: !1,
3404
+ disabled: !1,
3405
+ customClass: "",
3406
+ dropdownItemFlag: 1,
3407
+
3408
+ onClick: "",
3409
+ clickBindEvent: null,
3410
+ onBeforeClickButton: null,
3411
+ searchDialogConfig: {
3412
+ ...defaultSearchDialogConfig,
3413
+ },
3414
+ addTableDataConfig: {
3415
+ tableRef: null,
3416
+ tableData: {},
3417
+ },
3418
+ },
3419
+ },
3420
+ {
3421
+ type: "gantt",
3422
+ icon: "uploadbox",
3423
+ commonFlag: !0,
3424
+ formItemFlag: !1,
3425
+ options: {
3426
+ name: "",
3427
+ // label: "操作日志",
3428
+ // disabled: !1,
3429
+ hidden: !1,
3430
+
3431
+ ...httpConfig,
3028
3432
  formScriptEnabled: true,
3029
- formScriptCode: "getList",
3030
- formScriptParam: null,
3031
- wfFlag: 1,
3032
- wfEdit: false,
3033
- enabledByWf: false,
3034
- hiddenByWf: false,
3035
- wfConfigData: [],
3433
+ formScriptCode: null,
3434
+ ganttConfig: "",
3435
+
3436
+ customClass: "",
3437
+ onCreated: "",
3438
+ onMounted: "",
3439
+
3440
+ },
3441
+ },
3442
+
3443
+ {
3444
+ type: "download-button",
3445
+ icon: "button",
3446
+ commonFlag: !0,
3447
+ columnFlag: true,
3448
+ formItemFlag: !1,
3449
+ options: {
3450
+ name: "",
3451
+ label: "附件下载",
3452
+ columnWidth: "200px",
3453
+ size: "",
3454
+
3455
+ // displayStyle: "block",
3456
+ disabled: !1,
3457
+ hidden: !1,
3458
+ buttonTypeFlag: 1,
3459
+ type: "",
3460
+ /*plain: !1,
3461
+ round: !1,
3462
+ circle: !1,
3463
+ icon: "el-icon-download",*/
3464
+ customClass: "",
3465
+ ...httpConfig,
3466
+
3467
+ downloadButtonFlag: 1,
3468
+ dataTableName: null,
3469
+ attachmentType: null,
3470
+ fileName: null,
3036
3471
 
3472
+ onCreated: "",
3473
+ onMounted: "",
3474
+ ...defaultWfConfig,
3037
3475
  showRuleFlag: 1,
3038
3476
  showRuleEnabled: 1,
3039
- showRules: []
3040
- }
3477
+ showRules: [],
3478
+ },
3041
3479
  },
3480
+ ];
3481
+
3482
+ export const businessFields = [
3042
3483
  {
3043
- type: "table2",
3044
- category: "container",
3045
- icon: "table",
3484
+ type: "create_by-text",
3485
+ targetType: "text",
3486
+ icon: "text",
3046
3487
  commonFlag: !0,
3047
3488
  formItemFlag: !0,
3048
- rows: [],
3489
+ columnFlag: true,
3490
+ tableField: null,
3049
3491
  options: {
3050
3492
  name: "",
3051
3493
  keyNameEnabled: !0,
3052
- keyName: "",
3494
+ keyName: "_createBy",
3495
+ label: "创建人",
3496
+ submitFlag: true,
3497
+ formField: "",
3053
3498
  hidden: !1,
3499
+ required: !1,
3054
3500
  customClass: "",
3055
- styleTableClass: '',
3056
- // fullWidth: false,
3501
+ defaultValue: "",
3502
+ labelAlign: "",
3503
+ labelWidth: null,
3504
+ labelHidden: !1,
3505
+ onCreated: "",
3506
+ onMounted: "",
3507
+ accessType: "1",
3508
+ labelColor: "",
3509
+ ...defaultWfConfig,
3510
+
3511
+ autoValueEnabled: false,
3512
+ autoValueHanlde: null,
3513
+
3514
+ showRuleFlag: 1,
3515
+ showRuleEnabled: 1,
3516
+ showRules: [],
3517
+
3518
+ ...defaultTextFlagConfig,
3519
+ },
3520
+ },
3521
+ {
3522
+ type: "modify_by-text",
3523
+ targetType: "text",
3524
+ icon: "text",
3525
+ commonFlag: !0,
3526
+ formItemFlag: !0,
3527
+ columnFlag: true,
3528
+ tableField: null,
3529
+ options: {
3530
+ name: "",
3531
+ keyNameEnabled: !0,
3532
+ keyName: "_modifyBy",
3533
+ label: "更新人",
3057
3534
  submitFlag: true,
3535
+ formField: "",
3536
+ hidden: !1,
3537
+ required: !1,
3538
+ customClass: "",
3539
+ defaultValue: "",
3540
+ labelAlign: "",
3541
+ labelWidth: null,
3542
+ labelHidden: !1,
3543
+ onCreated: "",
3544
+ onMounted: "",
3545
+ accessType: "1",
3546
+ labelColor: "",
3547
+ ...defaultWfConfig,
3548
+
3549
+ autoValueEnabled: false,
3550
+ autoValueHanlde: null,
3551
+
3552
+ showRuleFlag: 1,
3553
+ showRuleEnabled: 1,
3554
+ showRules: [],
3555
+
3556
+ ...defaultTextFlagConfig,
3557
+ },
3558
+ },
3559
+ {
3560
+ type: "create_date-text",
3561
+ targetType: "text",
3562
+ icon: "text",
3563
+ commonFlag: !0,
3564
+ formItemFlag: !0,
3565
+ columnFlag: true,
3566
+ tableField: null,
3567
+ options: {
3568
+ name: "",
3569
+ keyNameEnabled: !0,
3570
+ keyName: "create_date",
3571
+ label: "创建时间",
3572
+ submitFlag: true,
3573
+ formField: "",
3574
+ hidden: !1,
3575
+ required: !1,
3576
+ customClass: "",
3577
+ defaultValue: "",
3578
+ labelAlign: "",
3579
+ labelWidth: null,
3580
+ labelHidden: !1,
3581
+ onCreated: "",
3582
+ onMounted: "",
3583
+ accessType: "1",
3584
+ labelColor: "",
3585
+ ...defaultWfConfig,
3586
+
3587
+ autoValueEnabled: false,
3588
+ autoValueHanlde: null,
3589
+
3590
+ showRuleFlag: 1,
3591
+ showRuleEnabled: 1,
3592
+ showRules: [],
3593
+
3594
+ ...defaultTextFlagConfig,
3595
+ },
3596
+ },
3597
+ {
3598
+ type: "modify_date-text",
3599
+ targetType: "text",
3600
+ icon: "text",
3601
+ commonFlag: !0,
3602
+ formItemFlag: !0,
3603
+ columnFlag: true,
3604
+ tableField: null,
3605
+ options: {
3606
+ name: "",
3607
+ keyNameEnabled: !0,
3608
+ keyName: "modify_date",
3609
+ label: "更新时间",
3610
+ submitFlag: true,
3611
+ formField: "",
3612
+ hidden: !1,
3613
+ required: !1,
3614
+ customClass: "",
3615
+ defaultValue: "",
3616
+ labelAlign: "",
3617
+ labelWidth: null,
3618
+ labelHidden: !1,
3619
+ onCreated: "",
3620
+ onMounted: "",
3621
+ accessType: "1",
3622
+ labelColor: "",
3623
+ ...defaultWfConfig,
3624
+
3625
+ autoValueEnabled: false,
3626
+ autoValueHanlde: null,
3627
+
3628
+ showRuleFlag: 1,
3629
+ showRuleEnabled: 1,
3630
+ showRules: [],
3631
+
3632
+ ...defaultTextFlagConfig,
3633
+ },
3634
+ },
3635
+
3636
+ {
3637
+ type: "user-vabsearch",
3638
+ targetType: "singerSearch",
3639
+ icon: "searchbox",
3640
+ commonFlag: !0,
3641
+ columnFlag: true,
3642
+ formItemFlag: !0,
3643
+ tableField: null,
3644
+ options: {
3645
+ ...vabsearchConfig,
3646
+ vabSearchName: "nick_name",
3647
+ userDefaultVabSearch: true,
3648
+ label: "用户",
3649
+ labelColor: "",
3650
+ searchDialogConfig: {
3651
+ ...defaultSearchDialogConfig,
3652
+ multipleChoices: false,
3653
+ formCode: "user_dialog",
3654
+ valueSourceField: "id",
3655
+ labelSourceField: "nick_name",
3656
+ },
3657
+ },
3658
+ },
3659
+ {
3660
+ type: "saleOrg-vabsearch",
3661
+ targetType: "singerSearch",
3662
+ icon: "searchbox",
3663
+ commonFlag: !0,
3664
+ columnFlag: true,
3665
+ formItemFlag: !0,
3666
+ tableField: null,
3667
+ options: {
3668
+ ...vabsearchConfig,
3669
+ vabSearchName: "sale_org_name",
3670
+ saleOrgDefaultVabSearch: true,
3671
+ label: "机构",
3672
+ labelColor: "",
3673
+ searchDialogConfig: {
3674
+ ...defaultSearchDialogConfig,
3675
+ multipleChoices: false,
3676
+ formCode: "sale_org_dialog",
3677
+ valueSourceField: "id",
3678
+ labelSourceField: "name",
3679
+ },
3680
+ },
3681
+ },
3682
+
3683
+ {
3684
+ type: "user-project-tag",
3685
+ targetType: "project-tag",
3686
+ icon: "uploadbox",
3687
+ commonFlag: !0,
3688
+ columnFlag: true,
3689
+ formItemFlag: !0,
3690
+ tableField: null,
3691
+ options: {
3692
+ ...projectTagConfig,
3058
3693
  formScriptEnabled: true,
3059
- formScriptCode: "",
3060
- formScriptParam: null,
3061
- onCreated: "this.loadDataDefaultHandle()",
3694
+ label: "用户",
3695
+ labelColor: "",
3696
+ tagFormCode: "user_dialog",
3697
+ tagLabelField: "nick_name",
3698
+ tagUniqueField: "id",
3699
+ tagFormLabelField: "nick_name",
3700
+ tagFormUniqueField: "id",
3701
+ tabDeleteEnabled: true,
3702
+ },
3703
+ },
3704
+ {
3705
+ type: "saleOrg-project-tag",
3706
+ targetType: "project-tag",
3707
+ icon: "uploadbox",
3708
+ commonFlag: !0,
3709
+ columnFlag: true,
3710
+ formItemFlag: !0,
3711
+ tableField: null,
3712
+ options: {
3713
+ ...projectTagConfig,
3714
+ formScriptEnabled: true,
3715
+ label: "机构",
3716
+ labelColor: "",
3717
+ tagFormCode: "sale_org_dialog",
3718
+ tagLabelField: "name",
3719
+ tagUniqueField: "id",
3720
+ tagFormLabelField: "name",
3721
+ tagFormUniqueField: "id",
3722
+ tabDeleteEnabled: true,
3723
+ },
3724
+ },
3725
+ {
3726
+ type: "copy_button",
3727
+ icon: "button",
3728
+ commonFlag: !0,
3729
+ columnFlag: true,
3730
+ formItemFlag: !1,
3731
+ options: {
3732
+ name: "",
3733
+ label: "复制",
3734
+ columnWidth: "200px",
3735
+ size: "",
3736
+ // displayStyle: "block",
3737
+ disabled: !1,
3738
+ hidden: !1,
3739
+ type: "primary",
3740
+
3741
+ customClass: "",
3742
+ onCreated: "",
3062
3743
  onMounted: "",
3744
+ copyButton: true,
3745
+ copyDataHandle: "",
3746
+ ...defaultWfConfig,
3747
+ ...defaultWidgetShowRuleConfig,
3748
+ hiddenByWf: true,
3063
3749
 
3064
3750
  showRuleFlag: 1,
3065
3751
  showRuleEnabled: 1,
3066
- showRules: []
3067
- }
3752
+ showRules: [],
3753
+ },
3068
3754
  },
3069
- ]
3755
+ {
3756
+ type: "tempStorage",
3757
+ icon: "uploadbox",
3758
+ commonFlag: !0,
3759
+ columnFlag: true,
3760
+ formItemFlag: !1,
3761
+ options: {
3762
+ name: "",
3763
+ // label: "暂存",
3764
+ columnWidth: "200px",
3765
+ disabled: !1,
3766
+ hidden: !1,
3767
+
3768
+ tempStorageFlag:1,
3769
+ tempStorageCode:null,
3770
+ tempStorageConfirm:null,
3771
+
3772
+ customClass: "",
3773
+ onCreated: "",
3774
+ onMounted: "",
3775
+
3776
+ ...defaultWidgetShowRuleConfig,
3777
+ },
3778
+ },
3779
+ {
3780
+ type: "oplog",
3781
+ icon: "uploadbox",
3782
+ commonFlag: !0,
3783
+ formItemFlag: !1,
3784
+ options: {
3785
+ name: "",
3786
+ // label: "操作日志",
3787
+ // disabled: !1,
3788
+ hidden: !1,
3789
+
3790
+ oplogFlag:1,
3791
+ formScriptCode: "listUserLog",
3792
+ oplogTypeCode:null,
3793
+ oplogBusinessKey:null,
3794
+
3795
+
3796
+ customClass: "",
3797
+ onCreated: "",
3798
+ onMounted: "",
3799
+
3800
+ },
3801
+ },
3802
+ {
3803
+ type: "vabUpload2",
3804
+ icon: "uploadbox",
3805
+ commonFlag: !0,
3806
+ formItemFlag: !0,
3807
+ tableField: null,
3808
+ options: {
3809
+ name: "",
3810
+ keyNameEnabled: !1,
3811
+ keyName: "",
3812
+ label: "",
3813
+ labelColor: "",
3814
+ submitFlag: true,
3815
+ disabled: !1,
3816
+ hidden: !1,
3817
+ required: !1,
3818
+ labelWidth: null,
3819
+ labelHidden: !0,
3820
+ limit: null,
3821
+ hideRemoveButton: false,
3822
+ accessType: "1",
3823
+ entityTableCode: null,
3824
+ entityTableDesc: null,
3825
+ onCreated: "",
3826
+ onMounted: "",
3827
+ onAfterConfirmFile: "",
3828
+ vabUpload2Flag: 1,
3829
+
3830
+ vabupload2_scriptCode: "/intf/getHxFileUploadConfig",
3831
+ vabupload2_uploadParam: "return {\n entityName: \"msdyn_workorder\",\n entityId: dataId,\n backendwriteback: \"10\",\n fileCategory: \"工单\",\n}",
3832
+ vabupload2_deleteParam: "return {\r\n entityName: \"msdyn_workorder\",\r\n entityId: dataId,\r\n backendwriteback: \"10\",\r\n}",
3833
+ // vabupload2_getFileParam:"",
3834
+
3835
+ // ...httpConfig,
3836
+ // formScriptCode: "getList",
3837
+
3838
+ ...defaultWfConfig,
3839
+
3840
+ showRuleFlag: 1,
3841
+ showRuleEnabled: 1,
3842
+ showRules: [],
3843
+
3844
+ hiddenFileInfo: false,
3845
+ hiddenFileName: false,
3846
+ showFileSize: false,
3847
+ showFileCreateBy: false,
3848
+ showFileCreateDate: false,
3849
+ widgetSize: 2,
3850
+
3851
+ customUploadEnabled: false,
3852
+ uploadUrl: null,
3853
+ uploadHeaders: {},
3854
+ uploadRresponseAdapter: {},
3855
+ },
3856
+ },
3857
+ ];
3070
3858
 
3071
3859
  export const keyNamePrefixMap = {
3072
3860
  vabUpload: "attachments_",
3073
- baseAttachment: "attachments_"
3074
- }
3861
+ baseAttachment: "attachments_",
3862
+ };
3075
3863
 
3076
- export const customFields = []
3864
+ export const customFields = [];
3077
3865
 
3078
3866
  export function addContainerWidgetSchema(containerSchema) {
3079
- containers.push(containerSchema)
3867
+ containers.push(containerSchema);
3080
3868
  }
3081
3869
 
3082
3870
  export function addBasicFieldSchema(fieldSchema) {
3083
- basicFields.push(fieldSchema)
3871
+ basicFields.push(fieldSchema);
3084
3872
  }
3085
3873
 
3086
3874
  export function addAdvancedFieldSchema(fieldSchema) {
3087
- advancedFields.push(fieldSchema)
3875
+ advancedFields.push(fieldSchema);
3088
3876
  }
3089
3877
 
3090
3878
  export function addCustomWidgetSchema(widgetSchema) {
3091
- customFields.push(widgetSchema)
3879
+ customFields.push(widgetSchema);
3092
3880
  }