cloud-web-corejs 1.0.54-dev.54 → 1.0.54-dev.540

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