cloud-web-corejs 1.0.54-dev.67 → 1.0.54-dev.672

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