cloud-web-corejs 1.0.54-dev.53 → 1.0.54-dev.531

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