cloud-web-corejs 1.0.54-dev.35 → 1.0.54-dev.351

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