cloud-web-corejs 1.0.54-dev.45 → 1.0.54-dev.450

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