cloud-web-corejs 1.0.54-dev.48 → 1.0.54-dev.481

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