cloud-web-corejs 1.0.54-dev.66 → 1.0.54-dev.661

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 (511) 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 +4 -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/echart-bar-mixin.js +2 -1
  169. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +2 -1
  170. package/src/components/xform/form-designer/form-widget/field-widget/mixins/utc-transform-mixin.js +75 -0
  171. package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +179 -0
  172. package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
  173. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +114 -81
  174. package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +186 -0
  175. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +55 -28
  176. package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +119 -0
  177. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +154 -47
  178. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +26 -6
  179. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
  180. package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
  181. package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +92 -0
  182. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +24 -9
  183. package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
  184. package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
  185. package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +12 -1
  186. package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +8 -3
  187. package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +82 -49
  188. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +38 -38
  189. package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
  190. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +147 -0
  191. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +111 -34
  192. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +4 -3
  193. package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +2 -1
  194. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +3 -171
  195. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +191 -66
  196. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +753 -0
  197. package/src/components/xform/form-designer/form-widget/indexMixin.js +1 -1
  198. package/src/components/xform/form-designer/indexMixin.js +3 -2
  199. package/src/components/xform/form-designer/refMixinDesign.js +1 -28
  200. package/src/components/xform/form-designer/setting-panel/form-setting.vue +981 -172
  201. package/src/components/xform/form-designer/setting-panel/index.vue +41 -32
  202. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  203. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +537 -302
  204. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
  205. package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
  206. package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
  207. package/src/components/xform/form-designer/setting-panel/property-editor/buttonIcon-editor.vue +14 -15
  208. package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
  209. package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
  210. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  211. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +125 -0
  212. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +998 -1042
  213. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/edit-tree-button-group-config-dialog.vue +281 -0
  214. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +432 -0
  215. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  216. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1404 -533
  217. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +3 -3
  218. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
  219. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
  220. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
  221. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
  222. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
  223. package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +31 -2
  224. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
  225. package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +32 -0
  226. package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +133 -0
  227. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  228. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +5 -3
  229. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +23 -8
  230. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
  231. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/icon-editor.vue +14 -15
  232. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
  233. package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-dateLimit-editor.vue +157 -0
  234. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
  235. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
  236. package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +36 -0
  237. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +77 -20
  238. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -0
  239. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +44 -15
  240. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -0
  241. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  242. package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/preWrap-editor.vue +23 -0
  243. package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/textContent-editor.vue +1 -1
  244. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
  245. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
  246. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +71 -0
  247. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
  248. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +33 -1
  249. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +66 -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 +305 -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 +224 -187
  276. package/src/components/xform/form-designer/setting-panel/widgetPropertyDialogMixin.js +173 -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 +1743 -950
  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 +3478 -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 +3719 -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/zh-CN.js +29 -4
  303. package/src/components/xform/mixins/defaultHandle.js +367 -2
  304. package/src/components/xform/mixins/scriptHttp.js +3 -1
  305. package/src/components/xform/utils/emitter.js +4 -4
  306. package/src/components/xform/utils/formHttp.js +162 -0
  307. package/src/components/xform/utils/format.js +41 -34
  308. package/src/components/xform/utils/formula-util.js +969 -0
  309. package/src/components/xform/utils/smart-vue-i18n/index.js +2 -1
  310. package/src/components/xform/utils/util.js +1406 -1
  311. package/src/components/xform/utils/validators.js +2 -5
  312. package/src/components/xform/utils/vue2js-generator.js +2 -2
  313. package/src/components/xhsPrint/index.js +44 -1
  314. package/src/components/xhsPrint/mixins.js +269 -1
  315. package/src/directive/LimitNumber/index.js +125 -1
  316. package/src/directive/el-dialog-center/index.js +34 -1
  317. package/src/directive/el-drag-dialog/drag.js +86 -1
  318. package/src/directive/el-readonly/index.js +15 -1
  319. package/src/directive/permission/hasPermi.js +34 -1
  320. package/src/index.js +215 -190
  321. package/src/lang/index.js +56 -51
  322. package/src/lang/locale/en/login.js +27 -0
  323. package/src/lang/locale/zh/login.js +26 -0
  324. package/src/layout/components/AppMain.vue +8 -1
  325. package/src/layout/components/Sidebar/default.vue +1604 -1222
  326. package/src/layout/components/Sidebar/index.vue +6 -1
  327. package/src/layout/components/TagsView/index.vue +43 -12
  328. package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
  329. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  330. package/src/layout/components/extractedCode/queryDialog.vue +103 -0
  331. package/src/layout/components/extractedCode/viewDialog.vue +207 -0
  332. package/src/layout/components/langTool.vue +33 -30
  333. package/src/layout/components/watermark/index.vue +83 -0
  334. package/src/layout/defaultLayout.vue +17 -9
  335. package/src/mixins/selectDialog/index.js +266 -1
  336. package/src/mixins/tableTree/index.js +199 -4
  337. package/src/mixins/wf/index.js +33 -1
  338. package/src/permission.js +135 -18
  339. package/src/resources/js/base/common.js +109 -109
  340. package/src/router/index.js +4 -7
  341. package/src/router/modules/customer.js +12 -18
  342. package/src/router/modules/system.js +4 -0
  343. package/src/store/config/index.js +83 -14
  344. package/src/store/getters.js +4 -1
  345. package/src/store/modules/permission.js +46 -41
  346. package/src/store/modules/settings.js +1 -1
  347. package/src/store/modules/tagsView.js +5 -8
  348. package/src/store/modules/user.js +367 -16
  349. package/src/utils/aes.js +2 -1
  350. package/src/utils/auth.js +1 -1
  351. package/src/utils/global.js +1 -1
  352. package/src/utils/index.js +2 -3
  353. package/src/utils/keepAlive.js +1 -1
  354. package/src/utils/pddLog.js +92 -0
  355. package/src/utils/pdfUtil.js +71 -0
  356. package/src/utils/request.js +1 -1
  357. package/src/utils/vab.js +1283 -27
  358. package/src/utils/validate.js +1 -1
  359. package/src/utils/wf.js +4 -4
  360. package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
  361. package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
  362. package/src/views/bd/setting/bd_attach_setting/mixins/dialog.js +84 -1
  363. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +116 -5
  364. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
  365. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
  366. package/src/views/bd/setting/bd_company_env/edit.vue +193 -0
  367. package/src/views/bd/setting/bd_company_env/list.vue +175 -0
  368. package/src/views/bd/setting/config_manage/list.vue +83 -0
  369. package/src/views/bd/setting/formVersion/button.vue +55 -0
  370. package/src/views/bd/setting/formVersion/compareBasicSection.vue +126 -0
  371. package/src/views/bd/setting/formVersion/compareCodeSection.vue +535 -0
  372. package/src/views/bd/setting/formVersion/compareContMixin.scss +71 -0
  373. package/src/views/bd/setting/formVersion/compareContent.vue +63 -0
  374. package/src/views/bd/setting/formVersion/compareDialog.vue +88 -0
  375. package/src/views/bd/setting/formVersion/compareMixin.js +93 -0
  376. package/src/views/bd/setting/formVersion/fieldCompare.vue +54 -0
  377. package/src/views/bd/setting/formVersion/formScriptCompareView.vue +94 -0
  378. package/src/views/bd/setting/formVersion/formTemplateCompareView.vue +74 -0
  379. package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +400 -0
  380. package/src/views/bd/setting/formVersion/link.vue +58 -0
  381. package/src/views/bd/setting/formVersion/preformDialog.vue +87 -0
  382. package/src/views/bd/setting/formVersion/reverButton.vue +82 -0
  383. package/src/views/bd/setting/formVersion/tableDetailDiff.js +78 -0
  384. package/src/views/bd/setting/formVersion/tableModelCompareView.vue +468 -0
  385. package/src/views/bd/setting/formVersion/textDiff.js +102 -0
  386. package/src/views/bd/setting/form_import_log/edit.vue +130 -0
  387. package/src/views/bd/setting/form_import_log/list.vue +211 -0
  388. package/src/views/bd/setting/form_script/edit.vue +196 -74
  389. package/src/views/bd/setting/form_script/edit1.vue +410 -187
  390. package/src/views/bd/setting/form_script/form_list.vue +118 -37
  391. package/src/views/bd/setting/form_script/list.vue +90 -21
  392. package/src/views/bd/setting/form_script/list1.vue +200 -118
  393. package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
  394. package/src/views/bd/setting/form_script/mixins/edit.js +265 -7
  395. package/src/views/bd/setting/form_script/mixins/edit1.js +259 -9
  396. package/src/views/bd/setting/form_script/mixins/form_list.js +322 -14
  397. package/src/views/bd/setting/form_script/mixins/list.js +278 -4
  398. package/src/views/bd/setting/form_script/mixins/list1.js +480 -14
  399. package/src/views/bd/setting/form_script/mixins/list2.js +10 -1
  400. package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
  401. package/src/views/bd/setting/form_script/mixins/preformDialog.js +34 -1
  402. package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
  403. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +3 -3
  404. package/src/views/bd/setting/form_template/edit.vue +355 -184
  405. package/src/views/bd/setting/form_template/formDesignerDialog.vue +171 -0
  406. package/src/views/bd/setting/form_template/list.vue +296 -214
  407. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +279 -1
  408. package/src/views/bd/setting/form_template/mixins/dialog.js +103 -1
  409. package/src/views/bd/setting/form_template/mixins/edit.js +277 -9
  410. package/src/views/bd/setting/form_template/mixins/editWfObjConfigDialog.js +92 -1
  411. package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +91 -1
  412. package/src/views/bd/setting/form_template/mixins/itemEdit.js +104 -1
  413. package/src/views/bd/setting/form_template/mixins/itemList.js +234 -1
  414. package/src/views/bd/setting/form_template/mixins/list.js +672 -22
  415. package/src/views/bd/setting/form_template/mixins/list2.js +411 -0
  416. package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
  417. package/src/views/bd/setting/form_template/mixins/preformDialog.js +28 -3
  418. package/src/views/bd/setting/form_template/mixins/wf_list.js +421 -3
  419. package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
  420. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +2 -2
  421. package/src/views/bd/setting/form_template/wf_list.vue +161 -127
  422. package/src/views/bd/setting/logic_param/edit.vue +146 -0
  423. package/src/views/bd/setting/logic_param/edit1.vue +106 -0
  424. package/src/views/bd/setting/logic_param/edit2.vue +139 -0
  425. package/src/views/bd/setting/logic_param/list.vue +74 -0
  426. package/src/views/bd/setting/logic_param/list1.vue +12 -0
  427. package/src/views/bd/setting/logic_param/list2.vue +12 -0
  428. package/src/views/bd/setting/logic_param/mixins/edit.js +93 -0
  429. package/src/views/bd/setting/logic_param/mixins/list.js +376 -0
  430. package/src/views/bd/setting/menu_kind/list.vue +172 -83
  431. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
  432. package/src/views/bd/setting/menu_kind/mixins/dialog.js +139 -1
  433. package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
  434. package/src/views/bd/setting/push_data/edit.vue +139 -0
  435. package/src/views/bd/setting/push_data/list.vue +283 -0
  436. package/src/views/bd/setting/push_data_h/edit.vue +153 -0
  437. package/src/views/bd/setting/push_data_h/list.vue +293 -0
  438. package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
  439. package/src/views/bd/setting/request_async_setting/list.vue +372 -0
  440. package/src/views/bd/setting/request_setting/edit.vue +300 -0
  441. package/src/views/bd/setting/request_setting/list.vue +301 -0
  442. package/src/views/bd/setting/table_model/edit.vue +1079 -426
  443. package/src/views/bd/setting/table_model/list.vue +213 -128
  444. package/src/views/bd/setting/table_model/mixins/dialog.js +71 -1
  445. package/src/views/bd/setting/table_model/mixins/edit.js +1309 -13
  446. package/src/views/bd/setting/table_model/mixins/list.js +429 -2
  447. package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
  448. package/src/views/bd/setting/table_model/mixins/zdDialog.js +114 -3
  449. package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
  450. package/src/views/bd/setting/utils/index.js +60 -1
  451. package/src/views/user/access_log/list.vue +418 -349
  452. package/src/views/user/area/dialog.vue +223 -117
  453. package/src/views/user/area/list.vue +318 -0
  454. package/src/views/user/common_attribute/list.vue +4 -1
  455. package/src/views/user/company_info/dialog.vue +195 -163
  456. package/src/views/user/extend_datasource/dialog.vue +3 -0
  457. package/src/views/user/extend_datasource/edit.vue +2 -1
  458. package/src/views/user/extend_datasource/list.vue +3 -0
  459. package/src/views/user/fieldTranslation/editDialog.vue +8 -8
  460. package/src/views/user/fieldTranslation/list.vue +33 -33
  461. package/src/views/user/form/vform/designer.vue +790 -749
  462. package/src/views/user/form/vform/out_render.vue +1 -1
  463. package/src/views/user/form/vform/render.vue +67 -37
  464. package/src/views/user/form/view/edit.vue +38 -37
  465. package/src/views/user/form/view/list.vue +287 -49
  466. package/src/views/user/home/default.vue +1117 -979
  467. package/src/views/user/home/dev.vue +29 -0
  468. package/src/views/user/home/index.vue +18 -7
  469. package/src/views/user/login/default.vue +165 -36
  470. package/src/views/user/login/index.vue +4 -6
  471. package/src/views/user/login/indexMixin.js +329 -118
  472. package/src/views/user/menu/list.vue +27 -1
  473. package/src/views/user/notify_message/dialog.vue +44 -22
  474. package/src/views/user/notify_template/edit.vue +188 -187
  475. package/src/views/user/notify_template/edit2.vue +176 -0
  476. package/src/views/user/notify_template/list.vue +4 -1
  477. package/src/views/user/notify_template/list2.vue +190 -0
  478. package/src/views/user/outLink/form_view.vue +211 -211
  479. package/src/views/user/outLink/index.vue +67 -11
  480. package/src/views/user/position/list.vue +112 -72
  481. package/src/views/user/project_tag/dialog.vue +9 -4
  482. package/src/views/user/project_tag/edit.vue +2 -2
  483. package/src/views/user/project_tag/list.vue +9 -4
  484. package/src/views/user/request_setting/edit.vue +258 -0
  485. package/src/views/user/request_setting/list.vue +248 -0
  486. package/src/views/user/role/authConfig.vue +89 -0
  487. package/src/views/user/role/dialog.vue +70 -48
  488. package/src/views/user/role/edit.vue +609 -429
  489. package/src/views/user/role/list.vue +4 -4
  490. package/src/views/user/sale_org/dialog.vue +1 -1
  491. package/src/views/user/sale_org/list.vue +4 -1
  492. package/src/views/user/system_notice/infoDialog.vue +2 -1
  493. package/src/views/user/user/dialog.vue +46 -23
  494. package/src/views/user/user/edit.vue +1391 -1021
  495. package/src/views/user/user/form_dialog.vue +158 -0
  496. package/src/views/user/user/form_info.vue +210 -0
  497. package/src/views/user/user/info.vue +253 -140
  498. package/src/views/user/user/list.vue +652 -563
  499. package/src/views/user/user/modifyPasswordDialog.vue +64 -53
  500. package/src/views/user/wf/wfReport/index.vue +619 -0
  501. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
  502. package/src/views/user/wf/wf_manage/list.vue +379 -250
  503. package/src/views/user/wf/wf_manage/list2.vue +854 -0
  504. package/src/views/user/wf/wf_manage/wfContentDialog.vue +25 -22
  505. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  506. package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
  507. package/src/views/user/wf/wf_obj_config/list.vue +114 -9
  508. package/src/views/user/wf/wf_transfer_setting/edit.vue +282 -0
  509. package/src/views/user/wf/wf_transfer_setting/list.vue +319 -0
  510. package/src/views/user/workbench_menu/list.vue +555 -0
  511. 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,176 @@ 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
+ const vabsearchConfig = {
803
+ name: "",
804
+ keyNameEnabled: !1,
805
+ keyName: "",
806
+ vabSearchName: "",
807
+ userDefaultVabSearch: false,
808
+ saleOrgDefaultVabSearch: false,
809
+ label: "",
810
+ labelColor: "",
811
+ submitFlag: true,
812
+ disabled: !1,
813
+ hidden: !1,
814
+ required: !1,
815
+ labelWidth: null,
816
+ labelHidden: !1,
817
+ readonly: true,
818
+ /*formCode: null,
819
+ formName: null,
820
+ formVersion: null,
821
+ showFormField: null,*/
822
+ /* gridConfig: {
823
+ tableColumns: [],
824
+ searchFields: [],
825
+ searchParams: ""
826
+ },*/
827
+ // vabSearchField: null,
828
+ vabsearchFlag: 1,
829
+ onSearchClear: "",
830
+ dialogModel: "1",
831
+ systemDialogUrl: null,
832
+ accessType: "1",
833
+ onCreated: "",
834
+ onMounted: "",
835
+ onChange: "",
836
+ onAppendButtonClick: "",
837
+ clickBindEvent: "1",
838
+ onBeforeClickButton: null,
839
+ searchDialogConfig: {
840
+ ...defaultSearchDialogConfig,
841
+ multipleChoices: false,
842
+ },
843
+ ...defaultWfConfig,
844
+ valueField: null,
845
+ multipleChoices: false,
846
+
847
+ showRuleFlag: 1,
848
+ showRuleEnabled: 1,
849
+ showRules: [],
850
+ };
851
+
852
+ const projectTagConfig = {
853
+ name: "",
854
+ keyNameEnabled: !1,
855
+ keyName: "",
856
+ // keyNameSuffix: "",
857
+ label: "",
858
+ labelColor: "",
859
+ submitFlag: true,
860
+ disabled: !1,
861
+ readonly: false,
862
+ hidden: !1,
863
+ required: !1,
864
+ labelWidth: null,
865
+ labelHidden: !1,
866
+ onCreated: "if(dataId)this.loadDataDefaultHandle();",
867
+ onMounted: "",
868
+ onClick: "",
869
+ // vabUpload: 1,
870
+
871
+ ...httpConfig,
872
+ formScriptCode: "getList",
873
+
874
+ ...defaultWfConfig,
875
+
876
+ showRuleFlag: 1,
877
+ showRuleEnabled: 1,
878
+ showRules: [],
879
+
880
+ tagFormCode: null,
881
+ tagFormParam: null,
882
+ tagLabelField: null,
883
+ tagUniqueField: null,
884
+ tagFormLabelField: null,
885
+ tagFormUniqueField: null,
886
+ tagFillConfig: [],
887
+ tagConfirmCallback: null,
888
+ tagDeleteCallback: null,
889
+ tabDeleteEnabled: true,
890
+ tagWidth: "",
891
+ };
892
+
893
+ const httpConfig = {
894
+ httpFormCode: null,
895
+ formScriptEnabled: true,
896
+ commonAttributeEnabled: false,
897
+ formScriptCode: null,
898
+ formScriptParam: null,
899
+ formScriptSuccess: null,
900
+ formScriptCallback: null,
901
+ };
902
+
903
+ export const hiddenWidgetTypesOfWf = [
904
+ "button",
905
+ "search_button",
906
+ "table-export-button",
907
+ "add_button",
908
+ "import-button",
909
+ "import2-button",
910
+ "print-button",
911
+ "dropdown-item",
912
+ ];
913
+ export const freeWidgetTypesOfWf = [
914
+ "reset_button",
915
+ "copy_button",
916
+ "a-link",
917
+ "a-text",
918
+ "dropdown",
919
+ ];
762
920
 
763
921
  export const basicFields = [
764
922
  {
765
923
  type: "input",
766
924
  icon: "text-field",
925
+ commonFlag: !0,
767
926
  formItemFlag: !0,
927
+ columnFlag: true,
768
928
  tableField: null,
769
929
  options: {
770
930
  name: "",
771
931
  keyNameEnabled: !1,
772
932
  keyName: "",
773
933
  label: "",
934
+ labelColor: "",
774
935
  submitFlag: true,
775
936
  /**showText: false,*/
776
937
  formField: "",
@@ -800,9 +961,9 @@ export const basicFields = [
800
961
  showWordLimit: !1,
801
962
  prefixIcon: "",
802
963
  suffixIcon: "",
803
- appendButton: !1,
964
+ /*appendButton: !1,
804
965
  appendButtonDisabled: !1,
805
- buttonIcon: "el-icon-search",
966
+ buttonIcon: "el-icon-search",*/
806
967
  onCreated: "",
807
968
  onMounted: "",
808
969
  onInput: "",
@@ -813,33 +974,28 @@ export const basicFields = [
813
974
  onAppendButtonClick: "",
814
975
  widgetWidth: "",
815
976
  accessType: "1",
816
- wfFlag: 1,
817
- wfEdit: false,
818
- enabledByWf: false,
819
- hiddenByWf: false,
820
- wfConfigData: [],
977
+ ...defaultWfConfig,
821
978
 
822
979
  showRuleFlag: 1,
823
980
  showRuleEnabled: 1,
824
981
  showRules: [],
825
- textFlag: 1,
826
- textRule1: false,
827
- textRule2: false,
828
- textRule3: false,
829
- textRule2Number: null,
830
- textRule3Number: null
831
- }
982
+
983
+ ...defaultTextFlagConfig,
984
+ },
832
985
  },
833
986
  {
834
987
  type: "input-batch",
835
988
  icon: "input-batch",
989
+ commonFlag: !0,
836
990
  formItemFlag: !0,
991
+ columnFlag: true,
837
992
  tableField: null,
838
993
  options: {
839
994
  name: "",
840
995
  keyNameEnabled: !1,
841
996
  keyName: "",
842
997
  label: "",
998
+ labelColor: "",
843
999
  submitFlag: true,
844
1000
  formField: "",
845
1001
  labelAlign: "",
@@ -860,7 +1016,7 @@ export const basicFields = [
860
1016
  validation: "",
861
1017
  validationHint: "",
862
1018
  customClass: "",
863
- labelIconClass: null,
1019
+ /*labelIconClass: null,
864
1020
  labelIconPosition: "rear",
865
1021
  labelTooltip: null,
866
1022
  minLength: null,
@@ -870,7 +1026,7 @@ export const basicFields = [
870
1026
  suffixIcon: "",
871
1027
  appendButton: !1,
872
1028
  appendButtonDisabled: !1,
873
- buttonIcon: "el-icon-search",
1029
+ buttonIcon: "el-icon-search",*/
874
1030
  onCreated: "",
875
1031
  onMounted: "",
876
1032
  onInput: "",
@@ -878,37 +1034,29 @@ export const basicFields = [
878
1034
  onFocus: "",
879
1035
  onBlur: "",
880
1036
  onValidate: "",
881
- onAppendButtonClick: "",
1037
+ // onAppendButtonClick: "",
882
1038
  widgetWidth: "",
883
1039
  accessType: "1",
884
- wfFlag: 1,
885
- wfEdit: false,
886
- enabledByWf: false,
887
- hiddenByWf: false,
888
- wfConfigData: [],
1040
+ ...defaultWfConfig,
889
1041
 
890
1042
  showRuleFlag: 1,
891
1043
  showRuleEnabled: 1,
892
1044
  showRules: [],
893
- textFlag: 1,
894
- textRule1: false,
895
- textRule2: false,
896
- textRule3: false,
897
- textRule2Number: null,
898
- textRule3Number: null
899
-
900
- }
1045
+ },
901
1046
  },
902
1047
  {
903
1048
  type: "textarea",
904
1049
  icon: "textarea-field",
1050
+ commonFlag: !0,
905
1051
  formItemFlag: !0,
1052
+ columnFlag: true,
906
1053
  tableField: null,
907
1054
  options: {
908
1055
  name: "",
909
1056
  keyNameEnabled: !1,
910
1057
  keyName: "",
911
1058
  label: "",
1059
+ labelColor: "",
912
1060
  submitFlag: true,
913
1061
  /**showText: false,*/
914
1062
  labelAlign: "",
@@ -941,33 +1089,28 @@ export const basicFields = [
941
1089
  onBlur: "",
942
1090
  onValidate: "",
943
1091
  accessType: "1",
944
- wfFlag: 1,
945
- wfEdit: false,
946
- enabledByWf: false,
947
- hiddenByWf: false,
948
- wfConfigData: [],
1092
+ ...defaultWfConfig,
949
1093
 
950
1094
  showRuleFlag: 1,
951
1095
  showRuleEnabled: 1,
952
1096
  showRules: [],
953
- textFlag: 1,
954
- textRule1: false,
955
- textRule2: false,
956
- textRule3: false,
957
- textRule2Number: null,
958
- textRule3Number: null
959
- }
1097
+
1098
+ ...defaultTextFlagConfig,
1099
+ },
960
1100
  },
961
1101
  {
962
1102
  type: "number",
963
1103
  icon: "number-field",
1104
+ commonFlag: !0,
964
1105
  formItemFlag: !0,
1106
+ columnFlag: true,
965
1107
  tableField: null,
966
1108
  options: {
967
1109
  name: "",
968
1110
  keyNameEnabled: !1,
969
1111
  keyName: "",
970
1112
  label: "",
1113
+ labelColor: "",
971
1114
  submitFlag: true,
972
1115
  /**showText: false,*/
973
1116
  formField: "",
@@ -984,8 +1127,8 @@ export const basicFields = [
984
1127
  requiredHint: "",
985
1128
  validation: "",
986
1129
  validationHint: "",
987
- // formulaEnabled: !1,
988
- // formula: "",
1130
+ formulaEnabled: !1,
1131
+ formula: "",
989
1132
  customClass: "",
990
1133
  labelIconClass: null,
991
1134
  labelIconPosition: "rear",
@@ -1002,34 +1145,28 @@ export const basicFields = [
1002
1145
  onBlur: "",
1003
1146
  onValidate: "",
1004
1147
  accessType: "1",
1005
- wfFlag: 1,
1006
- wfEdit: false,
1007
- enabledByWf: false,
1008
- hiddenByWf: false,
1009
- wfConfigData: [],
1148
+ ...defaultWfConfig,
1010
1149
 
1011
1150
  showRuleFlag: 1,
1012
1151
  showRuleEnabled: 1,
1013
1152
  showRules: [],
1014
- textFlag: 1,
1015
- textRule1: false,
1016
- textRule2: false,
1017
- textRule3: false,
1018
- textRule2Number: null,
1019
- textRule3Number: null
1020
1153
 
1021
- }
1154
+ ...defaultTextFlagConfig,
1155
+ },
1022
1156
  },
1023
1157
  {
1024
1158
  type: "radio",
1025
1159
  icon: "radio-field",
1160
+ commonFlag: !0,
1026
1161
  formItemFlag: !0,
1162
+ columnFlag: true,
1027
1163
  tableField: null,
1028
1164
  options: {
1029
1165
  name: "",
1030
1166
  keyNameEnabled: !1,
1031
1167
  keyName: "",
1032
1168
  label: "",
1169
+ labelColor: "",
1033
1170
  submitFlag: true,
1034
1171
  /**showText: false,*/
1035
1172
  labelAlign: "",
@@ -1051,12 +1188,14 @@ export const basicFields = [
1051
1188
  optionItems: [
1052
1189
  {
1053
1190
  label: "radio 1",
1054
- value: "1"
1191
+ value: "1",
1192
+ disabled: false,
1055
1193
  },
1056
1194
  {
1057
1195
  label: "radio 2",
1058
- value: "2"
1059
- }
1196
+ value: "2",
1197
+ disabled: false,
1198
+ },
1060
1199
  ],
1061
1200
  required: !1,
1062
1201
  requiredHint: "",
@@ -1073,36 +1212,33 @@ export const basicFields = [
1073
1212
  onValidate: "",
1074
1213
  accessType: "1",
1075
1214
 
1215
+ ...httpConfig,
1076
1216
  formScriptEnabled: false,
1077
1217
  formScriptCode: "getList",
1078
- formScriptParam: null,
1079
- wfFlag: 1,
1080
- wfEdit: false,
1081
- enabledByWf: false,
1082
- hiddenByWf: false,
1083
- wfConfigData: [],
1218
+
1219
+ ...defaultWfConfig,
1220
+
1221
+ commonAttributeEnabled: false,
1222
+ commonAttributeCode: "",
1084
1223
 
1085
1224
  showRuleFlag: 1,
1086
1225
  showRuleEnabled: 1,
1087
1226
  showRules: [],
1088
- textFlag: 1,
1089
- textRule1: false,
1090
- textRule2: false,
1091
- textRule3: false,
1092
- textRule2Number: null,
1093
- textRule3Number: null
1094
- }
1227
+ },
1095
1228
  },
1096
1229
  {
1097
1230
  type: "checkbox",
1098
1231
  icon: "checkbox-field",
1232
+ commonFlag: !0,
1099
1233
  formItemFlag: !0,
1234
+ columnFlag: true,
1100
1235
  tableField: null,
1101
1236
  options: {
1102
1237
  name: "",
1103
1238
  keyNameEnabled: !1,
1104
1239
  keyName: "",
1105
1240
  label: "",
1241
+ labelColor: "",
1106
1242
  submitFlag: true,
1107
1243
  /**showText: false,*/
1108
1244
  labelAlign: "",
@@ -1124,12 +1260,14 @@ export const basicFields = [
1124
1260
  optionItems: [
1125
1261
  {
1126
1262
  label: "check 1",
1127
- value: "1"
1263
+ value: "1",
1264
+ disabled: false,
1128
1265
  },
1129
1266
  {
1130
1267
  label: "check 2",
1131
- value: "2"
1132
- }
1268
+ value: "2",
1269
+ disabled: false,
1270
+ },
1133
1271
  ],
1134
1272
  required: !1,
1135
1273
  requiredHint: "",
@@ -1146,37 +1284,33 @@ export const basicFields = [
1146
1284
  onValidate: "",
1147
1285
  accessType: "1",
1148
1286
 
1287
+ ...httpConfig,
1149
1288
  formScriptEnabled: false,
1150
1289
  formScriptCode: "getList",
1151
- formScriptParam: null,
1152
- wfFlag: 1,
1153
- wfEdit: false,
1154
- enabledByWf: false,
1155
- hiddenByWf: false,
1156
- wfConfigData: [],
1290
+
1291
+ ...defaultWfConfig,
1292
+
1293
+ commonAttributeEnabled: false,
1294
+ commonAttributeCode: "",
1157
1295
 
1158
1296
  showRuleFlag: 1,
1159
1297
  showRuleEnabled: 1,
1160
1298
  showRules: [],
1161
- textFlag: 1,
1162
- textRule1: false,
1163
- textRule2: false,
1164
- textRule3: false,
1165
- textRule2Number: null,
1166
- textRule3Number: null
1167
-
1168
- }
1299
+ },
1169
1300
  },
1170
1301
  {
1171
1302
  type: "select",
1172
1303
  icon: "select-field",
1304
+ commonFlag: !0,
1173
1305
  formItemFlag: !0,
1306
+ columnFlag: true,
1174
1307
  tableField: null,
1175
1308
  options: {
1176
1309
  name: "",
1177
1310
  keyNameEnabled: !1,
1178
1311
  keyName: "",
1179
1312
  label: "",
1313
+ labelColor: "",
1180
1314
  submitFlag: true,
1181
1315
  /**showText: false,*/
1182
1316
  formField: "",
@@ -1202,16 +1336,23 @@ export const basicFields = [
1202
1336
  dsName: "",
1203
1337
  labelKey: "label",
1204
1338
  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
- }],
1339
+ optionItems: [
1340
+ {
1341
+ label: "select 1",
1342
+ value: "1",
1343
+ disabled: false,
1344
+ },
1345
+ {
1346
+ label: "select 2",
1347
+ value: "2",
1348
+ disabled: false,
1349
+ },
1350
+ {
1351
+ label: "select 3",
1352
+ value: "3",
1353
+ disabled: false,
1354
+ },
1355
+ ],
1215
1356
  required: !1,
1216
1357
  requiredHint: "",
1217
1358
  validation: "",
@@ -1230,36 +1371,36 @@ export const basicFields = [
1230
1371
  onValidate: "",
1231
1372
  widgetWidth: "",
1232
1373
  accessType: "1",
1374
+
1375
+ ...httpConfig,
1233
1376
  formScriptEnabled: false,
1234
1377
  formScriptCode: "getList",
1235
- formScriptParam: null,
1236
- wfFlag: 1,
1237
- wfEdit: false,
1238
- enabledByWf: false,
1239
- hiddenByWf: false,
1240
- wfConfigData: [],
1378
+
1379
+ ...defaultWfConfig,
1380
+
1381
+ commonAttributeEnabled: false,
1382
+ commonAttributeCode: "",
1383
+
1384
+ showCollapseTags: false,
1241
1385
 
1242
1386
  showRuleFlag: 1,
1243
1387
  showRuleEnabled: 1,
1244
1388
  showRules: [],
1245
- textFlag: 1,
1246
- textRule1: false,
1247
- textRule2: false,
1248
- textRule3: false,
1249
- textRule2Number: null,
1250
- textRule3Number: null
1251
- }
1389
+ },
1252
1390
  },
1253
1391
  {
1254
1392
  type: "time",
1255
1393
  icon: "time-field",
1394
+ commonFlag: !0,
1256
1395
  formItemFlag: !0,
1396
+ columnFlag: true,
1257
1397
  tableField: null,
1258
1398
  options: {
1259
1399
  name: "",
1260
1400
  keyNameEnabled: !1,
1261
1401
  keyName: "",
1262
1402
  label: "",
1403
+ labelColor: "",
1263
1404
  submitFlag: true,
1264
1405
  /**showText: false,*/
1265
1406
  formField: "",
@@ -1276,6 +1417,7 @@ export const basicFields = [
1276
1417
  clearable: !0,
1277
1418
  editable: !1,
1278
1419
  format: "HH:mm:ss",
1420
+ utcTransformEnabled: !1,
1279
1421
  required: !1,
1280
1422
  requiredHint: "",
1281
1423
  validation: "",
@@ -1291,34 +1433,28 @@ export const basicFields = [
1291
1433
  onBlur: "",
1292
1434
  onValidate: "",
1293
1435
  accessType: "1",
1294
- wfFlag: 1,
1295
- wfEdit: false,
1296
- enabledByWf: false,
1297
- hiddenByWf: false,
1298
- wfConfigData: [],
1436
+ ...defaultWfConfig,
1299
1437
 
1300
1438
  showRuleFlag: 1,
1301
1439
  showRuleEnabled: 1,
1302
1440
  showRules: [],
1303
- textFlag: 1,
1304
- textRule1: false,
1305
- textRule2: false,
1306
- textRule3: false,
1307
- textRule2Number: null,
1308
- textRule3Number: null
1309
1441
 
1310
- }
1442
+ ...defaultTextFlagConfig,
1443
+ },
1311
1444
  },
1312
1445
  {
1313
1446
  type: "time-range",
1314
1447
  icon: "time-range-field",
1448
+ commonFlag: !0,
1315
1449
  formItemFlag: !0,
1450
+ columnFlag: true,
1316
1451
  tableField: null,
1317
1452
  options: {
1318
1453
  name: "",
1319
1454
  keyNameEnabled: !1,
1320
1455
  keyName: "",
1321
1456
  label: "",
1457
+ labelColor: "",
1322
1458
  submitFlag: true,
1323
1459
  formField: "",
1324
1460
  labelAlign: "",
@@ -1335,6 +1471,7 @@ export const basicFields = [
1335
1471
  clearable: !0,
1336
1472
  editable: !1,
1337
1473
  format: "HH:mm:ss",
1474
+ utcTransformEnabled: !1,
1338
1475
  required: !1,
1339
1476
  requiredHint: "",
1340
1477
  validation: "",
@@ -1350,34 +1487,26 @@ export const basicFields = [
1350
1487
  onBlur: "",
1351
1488
  onValidate: "",
1352
1489
  accessType: "1",
1353
- wfFlag: 1,
1354
- wfEdit: false,
1355
- enabledByWf: false,
1356
- hiddenByWf: false,
1357
- wfConfigData: [],
1490
+ ...defaultWfConfig,
1358
1491
 
1359
1492
  showRuleFlag: 1,
1360
1493
  showRuleEnabled: 1,
1361
1494
  showRules: [],
1362
- textFlag: 1,
1363
- textRule1: false,
1364
- textRule2: false,
1365
- textRule3: false,
1366
- textRule2Number: null,
1367
- textRule3Number: null
1368
-
1369
- }
1495
+ },
1370
1496
  },
1371
1497
  {
1372
1498
  type: "date",
1373
1499
  icon: "date-field",
1500
+ commonFlag: !0,
1374
1501
  formItemFlag: !0,
1502
+ columnFlag: true,
1375
1503
  tableField: null,
1376
1504
  options: {
1377
1505
  name: "",
1378
1506
  keyNameEnabled: !1,
1379
1507
  keyName: "",
1380
1508
  label: "",
1509
+ labelColor: "",
1381
1510
  submitFlag: true,
1382
1511
  /**showText: false,*/
1383
1512
  formField: "",
@@ -1396,6 +1525,12 @@ export const basicFields = [
1396
1525
  editable: !1,
1397
1526
  format: "yyyy-MM-dd",
1398
1527
  valueFormat: "yyyy-MM-dd",
1528
+ dateLimit: null,
1529
+ limitStartField: null,
1530
+ limitEndField: null,
1531
+ minDate: null,
1532
+ maxDate: null,
1533
+ utcTransformEnabled: !1,
1399
1534
  required: !1,
1400
1535
  requiredHint: "",
1401
1536
  validation: "",
@@ -1411,34 +1546,28 @@ export const basicFields = [
1411
1546
  onBlur: "",
1412
1547
  onValidate: "",
1413
1548
  accessType: "1",
1414
- wfFlag: 1,
1415
- wfEdit: false,
1416
- enabledByWf: false,
1417
- hiddenByWf: false,
1418
- wfConfigData: [],
1549
+ ...defaultWfConfig,
1419
1550
 
1420
1551
  showRuleFlag: 1,
1421
1552
  showRuleEnabled: 1,
1422
1553
  showRules: [],
1423
- textFlag: 1,
1424
- textRule1: false,
1425
- textRule2: false,
1426
- textRule3: false,
1427
- textRule2Number: null,
1428
- textRule3Number: null
1429
1554
 
1430
- }
1555
+ ...defaultTextFlagConfig,
1556
+ },
1431
1557
  },
1432
1558
  {
1433
1559
  type: "date-range",
1434
1560
  icon: "date-range-field",
1561
+ commonFlag: !0,
1435
1562
  formItemFlag: !0,
1563
+ columnFlag: true,
1436
1564
  tableField: null,
1437
1565
  options: {
1438
1566
  name: "",
1439
1567
  keyNameEnabled: !1,
1440
1568
  keyName: "",
1441
1569
  label: "",
1570
+ labelColor: "",
1442
1571
  submitFlag: true,
1443
1572
  formField: "",
1444
1573
  labelAlign: "",
@@ -1457,7 +1586,8 @@ export const basicFields = [
1457
1586
  editable: !1,
1458
1587
  format: "yyyy-MM-dd",
1459
1588
  valueFormat: "yyyy-MM-dd",
1460
- defaultTime: ['00:00:00', '23:59:59'],
1589
+ defaultTime: ["00:00:00", "23:59:59"],
1590
+ utcTransformEnabled: !1,
1461
1591
  required: !1,
1462
1592
  requiredHint: "",
1463
1593
  validation: "",
@@ -1473,23 +1603,12 @@ export const basicFields = [
1473
1603
  onBlur: "",
1474
1604
  onValidate: "",
1475
1605
  accessType: "1",
1476
- wfFlag: 1,
1477
- wfEdit: false,
1478
- enabledByWf: false,
1479
- hiddenByWf: false,
1480
- wfConfigData: [],
1606
+ ...defaultWfConfig,
1481
1607
 
1482
1608
  showRuleFlag: 1,
1483
1609
  showRuleEnabled: 1,
1484
1610
  showRules: [],
1485
- textFlag: 1,
1486
- textRule1: false,
1487
- textRule2: false,
1488
- textRule3: false,
1489
- textRule2Number: null,
1490
- textRule3Number: null
1491
-
1492
- }
1611
+ },
1493
1612
  },
1494
1613
  /* {
1495
1614
  type: "switch",
@@ -1618,34 +1737,36 @@ export const basicFields = [
1618
1737
  {
1619
1738
  type: "static-text",
1620
1739
  icon: "static-text",
1740
+ commonFlag: !0,
1621
1741
  formItemFlag: !1,
1742
+ columnFlag: true,
1622
1743
  options: {
1623
1744
  name: "",
1624
1745
  columnWidth: "200px",
1625
1746
  hidden: !1,
1626
1747
  textContent: "static text",
1627
1748
  fontSize: "13px",
1749
+ preWrap: true, //是否自动换行
1750
+ colorClass: "", //字体颜色
1628
1751
  customClass: "",
1629
1752
  onCreated: "",
1630
1753
  onMounted: "",
1631
1754
  accessType: "1",
1755
+ ...defaultWfConfig,
1632
1756
 
1633
1757
  showRuleFlag: 1,
1634
1758
  showRuleEnabled: 1,
1635
1759
  showRules: [],
1636
- textFlag: 1,
1637
- textRule1: false,
1638
- textRule2: false,
1639
- textRule3: false,
1640
- textRule2Number: null,
1641
- textRule3Number: null
1642
1760
 
1643
- }
1761
+ ...defaultTextFlagConfig,
1762
+ },
1644
1763
  },
1645
1764
  {
1646
1765
  type: "html-text",
1647
1766
  icon: "html-text",
1767
+ commonFlag: !0,
1648
1768
  formItemFlag: !1,
1769
+ columnFlag: false,
1649
1770
  options: {
1650
1771
  name: "",
1651
1772
  columnWidth: "200px",
@@ -1655,18 +1776,12 @@ export const basicFields = [
1655
1776
  onCreated: "",
1656
1777
  onMounted: "",
1657
1778
  accessType: "1",
1779
+ ...defaultWfConfig,
1658
1780
 
1659
1781
  showRuleFlag: 1,
1660
1782
  showRuleEnabled: 1,
1661
1783
  showRules: [],
1662
- textFlag: 1,
1663
- textRule1: false,
1664
- textRule2: false,
1665
- textRule3: false,
1666
- textRule2Number: null,
1667
- textRule3Number: null
1668
-
1669
- }
1784
+ },
1670
1785
  },
1671
1786
  /* {
1672
1787
  type: 'title-head',
@@ -1688,10 +1803,13 @@ export const basicFields = [
1688
1803
  {
1689
1804
  type: "button",
1690
1805
  icon: "button",
1806
+ commonFlag: !0,
1691
1807
  formItemFlag: !1,
1808
+ columnFlag: true,
1692
1809
  options: {
1693
1810
  name: "",
1694
1811
  label: "",
1812
+ wfHideFlag: 1,
1695
1813
  columnWidth: "200px",
1696
1814
  size: "",
1697
1815
  displayStyle: "block",
@@ -1708,34 +1826,29 @@ export const basicFields = [
1708
1826
  onClick: "",
1709
1827
  accessType: "1",
1710
1828
  clickBindEvent: null,
1829
+ onBeforeClickButton: null,
1711
1830
  searchDialogConfig: {
1712
- ...defaultSearchDialogConfig
1831
+ ...defaultSearchDialogConfig,
1713
1832
  },
1714
1833
  addTableDataConfig: {
1715
1834
  tableRef: null,
1716
- tableData: {}
1835
+ tableData: {},
1717
1836
  },
1718
- wfFlag: 1,
1719
- wfEdit: false,
1720
- enabledByWf: false,
1721
- hiddenByWf: false,
1722
- wfConfigData: [],
1837
+ ...defaultWfConfig,
1838
+ hiddenByWf: true,
1839
+ ...defaultWidgetShowRuleConfig,
1723
1840
 
1724
1841
  showRuleFlag: 1,
1725
1842
  showRuleEnabled: 1,
1726
1843
  showRules: [],
1727
- textFlag: 1,
1728
- textRule1: false,
1729
- textRule2: false,
1730
- textRule3: false,
1731
- textRule2Number: null,
1732
- textRule3Number: null
1733
- }
1844
+ },
1734
1845
  },
1735
1846
  {
1736
1847
  type: "divider",
1737
1848
  icon: "divider",
1849
+ commonFlag: !0,
1738
1850
  formItemFlag: !1,
1851
+ columnFlag: true,
1739
1852
  options: {
1740
1853
  name: "",
1741
1854
  label: "",
@@ -1744,9 +1857,10 @@ export const basicFields = [
1744
1857
  contentPosition: "center",
1745
1858
  hidden: !1,
1746
1859
  customClass: "",
1860
+ ...defaultWfConfig,
1747
1861
  onCreated: "",
1748
- onMounted: ""
1749
- }
1862
+ onMounted: "",
1863
+ },
1750
1864
  },
1751
1865
  /*{
1752
1866
  type: "descriptions",
@@ -1805,18 +1919,22 @@ export const basicFields = [
1805
1919
  {
1806
1920
  type: "text",
1807
1921
  icon: "text",
1922
+ commonFlag: !0,
1808
1923
  formItemFlag: !0,
1924
+ columnFlag: true,
1809
1925
  tableField: null,
1810
1926
  options: {
1811
1927
  name: "",
1812
1928
  keyNameEnabled: !1,
1813
1929
  keyName: "",
1814
1930
  label: "",
1931
+ labelColor: "",
1815
1932
  submitFlag: true,
1816
1933
  formField: "",
1817
1934
  hidden: !1,
1818
1935
  required: !1,
1819
1936
  customClass: "",
1937
+ colorClass: "",
1820
1938
  defaultValue: "",
1821
1939
  labelAlign: "",
1822
1940
  labelWidth: null,
@@ -1824,29 +1942,35 @@ export const basicFields = [
1824
1942
  onCreated: "",
1825
1943
  onMounted: "",
1826
1944
  accessType: "1",
1827
- labelColor: '#555555',
1945
+ ...defaultWfConfig,
1946
+
1947
+ autoValueEnabled: false,
1948
+ autoValueHanlde: null,
1949
+ formatType: null,
1950
+ renderHandle: null,
1951
+ utcTransformEnabled: !1,
1828
1952
 
1829
1953
  showRuleFlag: 1,
1830
1954
  showRuleEnabled: 1,
1831
1955
  showRules: [],
1832
- textFlag: 1,
1833
- textRule1: false,
1834
- textRule2: false,
1835
- textRule3: false,
1836
- textRule2Number: null,
1837
- textRule3Number: null
1838
- }
1956
+
1957
+ ...defaultTextFlagConfig,
1958
+ },
1839
1959
  },
1840
1960
  {
1841
1961
  type: "a-text",
1842
1962
  icon: "text-field",
1963
+ commonFlag: !0,
1843
1964
  formItemFlag: !0,
1965
+ columnFlag: true,
1844
1966
  tableField: null,
1845
1967
  options: {
1846
1968
  name: "",
1847
1969
  keyNameEnabled: !1,
1848
1970
  keyName: "",
1849
1971
  label: "",
1972
+ labelColor: "",
1973
+ displayStyle: "block",
1850
1974
  submitFlag: true,
1851
1975
  /**showText: false,*/
1852
1976
  formField: "",
@@ -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"
2001
- },
2002
- data: [
2003
- {
2004
- value: 1048,
2005
- name: 'Search Engine'
2132
+ backgroundColor: "#fff",
2006
2133
  },
2007
- {
2008
- value: 735,
2009
- name: 'Direct'
2010
- },
2011
- {
2012
- value: 580,
2013
- name: 'Email'
2134
+ },
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,
2014
2146
  },
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,
2540
+ },
2541
+ emphasis: {
2542
+ scale: 1,
2543
+ focus: "series",
2397
2544
  },
2398
- cap: 'round',
2399
- shadowColor: '#FF611650',
2400
- shadowBlur: 4,
2401
- shadowOffsetY: 6
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
+
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,61 +3183,102 @@ 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,
2958
- labelWidth: null,
2959
- labelHidden: !0,
2960
- limit: null,
2961
- accessType: "1",
2962
- entityTableCode: null,
2963
- entityTableDesc: null,
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,
3261
+ labelWidth: null,
3262
+ labelHidden: !0,
3263
+ limit: null,
3264
+ accessType: "1",
3265
+ entityTableCode: null,
3266
+ entityTableDesc: null,
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,
@@ -2995,146 +3296,638 @@ export const advancedFields = [
2995
3296
  optionItemValueType: 0,
2996
3297
  statusType: "common",
2997
3298
  statusParam: [],
3299
+
3300
+ ...httpConfig,
3301
+ formScriptEnabled: false,
3302
+
2998
3303
  onCreated: "",
2999
3304
  onMounted: "",
3305
+ ...defaultWfConfig,
3000
3306
 
3001
3307
  showRuleFlag: 1,
3002
3308
  showRuleEnabled: 1,
3003
- showRules: []
3004
- }
3309
+ showRules: [],
3310
+ },
3005
3311
  },
3006
3312
  {
3007
- type: 'census',
3008
- icon: 'census',
3313
+ type: "census",
3314
+ icon: "census",
3009
3315
  commonFlag: !0,
3010
3316
  formItemFlag: false,
3011
3317
  options: {
3012
- name: '',
3318
+ name: "",
3013
3319
  keyNameEnabled: !1,
3014
3320
  keyName: "",
3015
- columnWidth: '200px',
3321
+ columnWidth: "200px",
3016
3322
  hidden: false,
3017
- customClass: '', //自定义css类名
3018
- space: '5',
3019
- censusClass: 'form-count',
3323
+ customClass: "", //自定义css类名
3324
+ space: "5",
3325
+ censusClass: "form-count",
3020
3326
  censusItems: [
3021
3327
  {
3022
3328
  number: "1002",
3023
- txt: '总数量',
3024
- detailItems: [{
3025
- txt: '跟进商机',
3026
- number: '26'
3027
- }, {
3028
- txt: '累计商机',
3029
- number: '26'
3030
- }]
3329
+ txt: "总数量",
3330
+ detailItems: [
3331
+ {
3332
+ txt: "跟进商机",
3333
+ number: "26",
3334
+ },
3335
+ {
3336
+ txt: "累计商机",
3337
+ number: "26",
3338
+ },
3339
+ ],
3031
3340
  },
3032
3341
  {
3033
3342
  number: "603",
3034
- txt: '总人数',
3343
+ txt: "总人数",
3035
3344
  detailItems: [],
3036
3345
  },
3037
3346
  {
3038
3347
  number: "5004",
3039
- txt: '总订单',
3040
- detailItems: []
3041
- }
3348
+ txt: "总订单",
3349
+ detailItems: [],
3350
+ },
3042
3351
  ],
3043
- formScriptEnabled: true,
3044
- formScriptCode: "",
3045
- formScriptParam: null,
3352
+
3353
+ ...httpConfig,
3354
+
3046
3355
  onCreated: "",
3047
3356
  onMounted: "",
3048
-
3357
+ onClick: "",
3358
+ ...defaultWfConfig,
3049
3359
  showRuleFlag: 1,
3050
3360
  showRuleEnabled: 1,
3051
- showRules: []
3052
- }
3361
+ showRules: [],
3362
+ },
3053
3363
  },
3364
+
3054
3365
  {
3055
3366
  type: "project-tag",
3056
3367
  icon: "uploadbox",
3057
- // commonFlag: !0,
3368
+ commonFlag: !0,
3369
+ columnFlag: true,
3058
3370
  formItemFlag: !0,
3059
3371
  tableField: null,
3372
+ options: {
3373
+ ...projectTagConfig,
3374
+ formScriptEnabled: true,
3375
+ },
3376
+ },
3377
+ {
3378
+ type: "table2",
3379
+ category: "container",
3380
+ icon: "table",
3381
+ commonFlag: !0,
3382
+ formItemFlag: !0,
3383
+ rows: [],
3060
3384
  options: {
3061
3385
  name: "",
3062
- keyNameEnabled: !1,
3386
+ keyNameEnabled: !0,
3063
3387
  keyName: "",
3064
- keyNameSuffix: "",
3065
- label: "",
3388
+ hidden: !1,
3389
+ customClass: "",
3390
+ styleTableClass: "",
3391
+ // fullWidth: false,
3066
3392
  submitFlag: true,
3393
+
3394
+ ...httpConfig,
3395
+
3396
+ onCreated: "this.loadDataDefaultHandle()",
3397
+ onMounted: "",
3398
+ ...defaultWfConfig,
3399
+ showRuleFlag: 1,
3400
+ showRuleEnabled: 1,
3401
+ showRules: [],
3402
+ },
3403
+ },
3404
+ {
3405
+ type: "dropdown",
3406
+ icon: "tab",
3407
+ commonFlag: !0,
3408
+ // columnFlag: true,
3409
+ widgetList: [],
3410
+ options: {
3411
+ name: "",
3412
+ label: "",
3413
+ hidden: !1,
3414
+ disabled: !1,
3415
+ customClass: "",
3416
+ dropdownFlag: 1,
3417
+ dropdownType: "button",
3418
+ dropdownTrigger: "hover",
3419
+ // ...defaultWfConfig,
3420
+ onCreated: "",
3421
+ onMounted: "",
3422
+ },
3423
+ },
3424
+ {
3425
+ type: "dropdown-item",
3426
+ icon: "tab-pane",
3427
+ internal: !0,
3428
+ options: {
3429
+ name: "",
3430
+ label: "",
3431
+ hidden: !1,
3432
+ disabled: !1,
3433
+ customClass: "",
3434
+ dropdownItemFlag: 1,
3435
+
3436
+ onClick: "",
3437
+ onCreated: "",
3438
+ onMounted: "",
3439
+
3440
+ clickBindEvent: null,
3441
+ onBeforeClickButton: null,
3442
+ searchDialogConfig: {
3443
+ ...defaultSearchDialogConfig,
3444
+ },
3445
+ addTableDataConfig: {
3446
+ tableRef: null,
3447
+ tableData: {},
3448
+ },
3449
+
3450
+ ...defaultWfConfig,
3451
+ ...defaultWidgetShowRuleConfig,
3452
+ },
3453
+ },
3454
+ {
3455
+ type: "gantt",
3456
+ icon: "uploadbox",
3457
+ commonFlag: !0,
3458
+ formItemFlag: !1,
3459
+ options: {
3460
+ name: "",
3461
+ // label: "操作日志",
3462
+ // disabled: !1,
3463
+ hidden: !1,
3464
+
3465
+ ...httpConfig,
3466
+ formScriptEnabled: true,
3467
+ formScriptCode: null,
3468
+ ganttConfig: "",
3469
+
3470
+ customClass: "",
3471
+ onCreated: "",
3472
+ onMounted: "",
3473
+ },
3474
+ },
3475
+
3476
+ {
3477
+ type: "download-button",
3478
+ icon: "button",
3479
+ commonFlag: !0,
3480
+ columnFlag: true,
3481
+ formItemFlag: !1,
3482
+ options: {
3483
+ name: "",
3484
+ label: "附件下载",
3485
+ columnWidth: "200px",
3486
+ size: "",
3487
+
3488
+ // displayStyle: "block",
3067
3489
  disabled: !1,
3068
- readonly: false,
3490
+ hidden: !1,
3491
+ buttonTypeFlag: 1,
3492
+ type: "",
3493
+ /*plain: !1,
3494
+ round: !1,
3495
+ circle: !1,
3496
+ icon: "el-icon-download",*/
3497
+ customClass: "",
3498
+ ...httpConfig,
3499
+
3500
+ downloadButtonFlag: 1,
3501
+ dataTableName: null,
3502
+ attachmentType: null,
3503
+ fileName: null,
3504
+
3505
+ onCreated: "",
3506
+ onMounted: "",
3507
+ ...defaultWfConfig,
3508
+ showRuleFlag: 1,
3509
+ showRuleEnabled: 1,
3510
+ showRules: [],
3511
+ },
3512
+ },
3513
+
3514
+ /* {
3515
+ type: "vue-page",
3516
+ icon: "html-text",
3517
+ commonFlag: !0,
3518
+ formItemFlag: !1,
3519
+ columnFlag: false,
3520
+ options: {
3521
+ name: "",
3522
+ hidden: !1,
3523
+ customClass: "",
3524
+ onCreated: "",
3525
+ onMounted: "",
3526
+ componentPath: "",
3527
+ componentConfig: "",
3528
+ label: "",
3529
+ labelHidden: !1,
3530
+
3531
+ },
3532
+ }, */
3533
+ ];
3534
+
3535
+ export const businessFields = [
3536
+ {
3537
+ type: "create_by-text",
3538
+ targetType: "text",
3539
+ icon: "text",
3540
+ commonFlag: !0,
3541
+ formItemFlag: !0,
3542
+ columnFlag: true,
3543
+ tableField: null,
3544
+ options: {
3545
+ name: "",
3546
+ keyNameEnabled: !0,
3547
+ keyName: "_createBy",
3548
+ label: "创建人",
3549
+ submitFlag: true,
3550
+ formField: "",
3069
3551
  hidden: !1,
3070
3552
  required: !1,
3553
+ customClass: "",
3554
+ defaultValue: "",
3555
+ labelAlign: "",
3071
3556
  labelWidth: null,
3072
3557
  labelHidden: !1,
3073
- onCreated: "if(this.formDataId)this.loadDataDefaultHandle();",
3558
+ onCreated: "",
3074
3559
  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: [],
3560
+ accessType: "1",
3561
+ labelColor: "",
3562
+ ...defaultWfConfig,
3563
+
3564
+ autoValueEnabled: false,
3565
+ autoValueHanlde: null,
3084
3566
 
3085
3567
  showRuleFlag: 1,
3086
3568
  showRuleEnabled: 1,
3087
- showRules: []
3088
- }
3569
+ showRules: [],
3570
+
3571
+ ...defaultTextFlagConfig,
3572
+ },
3089
3573
  },
3090
3574
  {
3091
- type: "table2",
3092
- category: "container",
3093
- icon: "table",
3575
+ type: "modify_by-text",
3576
+ targetType: "text",
3577
+ icon: "text",
3094
3578
  commonFlag: !0,
3095
3579
  formItemFlag: !0,
3096
- rows: [],
3580
+ columnFlag: true,
3581
+ tableField: null,
3097
3582
  options: {
3098
3583
  name: "",
3099
3584
  keyNameEnabled: !0,
3100
- keyName: "",
3585
+ keyName: "_modifyBy",
3586
+ label: "更新人",
3587
+ submitFlag: true,
3588
+ formField: "",
3101
3589
  hidden: !1,
3590
+ required: !1,
3102
3591
  customClass: "",
3103
- styleTableClass: '',
3104
- // fullWidth: false,
3592
+ defaultValue: "",
3593
+ labelAlign: "",
3594
+ labelWidth: null,
3595
+ labelHidden: !1,
3596
+ onCreated: "",
3597
+ onMounted: "",
3598
+ accessType: "1",
3599
+ labelColor: "",
3600
+ ...defaultWfConfig,
3601
+
3602
+ autoValueEnabled: false,
3603
+ autoValueHanlde: null,
3604
+
3605
+ showRuleFlag: 1,
3606
+ showRuleEnabled: 1,
3607
+ showRules: [],
3608
+
3609
+ ...defaultTextFlagConfig,
3610
+ },
3611
+ },
3612
+ {
3613
+ type: "create_date-text",
3614
+ targetType: "text",
3615
+ icon: "text",
3616
+ commonFlag: !0,
3617
+ formItemFlag: !0,
3618
+ columnFlag: true,
3619
+ tableField: null,
3620
+ options: {
3621
+ name: "",
3622
+ keyNameEnabled: !0,
3623
+ keyName: "create_date",
3624
+ label: "创建时间",
3105
3625
  submitFlag: true,
3626
+ formField: "",
3627
+ hidden: !1,
3628
+ required: !1,
3629
+ customClass: "",
3630
+ defaultValue: "",
3631
+ labelAlign: "",
3632
+ labelWidth: null,
3633
+ labelHidden: !1,
3634
+ onCreated: "",
3635
+ onMounted: "",
3636
+ accessType: "1",
3637
+ labelColor: "",
3638
+ ...defaultWfConfig,
3639
+
3640
+ autoValueEnabled: false,
3641
+ autoValueHanlde: null,
3642
+
3643
+ showRuleFlag: 1,
3644
+ showRuleEnabled: 1,
3645
+ showRules: [],
3646
+
3647
+ ...defaultTextFlagConfig,
3648
+ },
3649
+ },
3650
+ {
3651
+ type: "modify_date-text",
3652
+ targetType: "text",
3653
+ icon: "text",
3654
+ commonFlag: !0,
3655
+ formItemFlag: !0,
3656
+ columnFlag: true,
3657
+ tableField: null,
3658
+ options: {
3659
+ name: "",
3660
+ keyNameEnabled: !0,
3661
+ keyName: "modify_date",
3662
+ label: "更新时间",
3663
+ submitFlag: true,
3664
+ formField: "",
3665
+ hidden: !1,
3666
+ required: !1,
3667
+ customClass: "",
3668
+ defaultValue: "",
3669
+ labelAlign: "",
3670
+ labelWidth: null,
3671
+ labelHidden: !1,
3672
+ onCreated: "",
3673
+ onMounted: "",
3674
+ accessType: "1",
3675
+ labelColor: "",
3676
+ ...defaultWfConfig,
3677
+
3678
+ autoValueEnabled: false,
3679
+ autoValueHanlde: null,
3680
+
3681
+ showRuleFlag: 1,
3682
+ showRuleEnabled: 1,
3683
+ showRules: [],
3684
+
3685
+ ...defaultTextFlagConfig,
3686
+ },
3687
+ },
3688
+
3689
+ {
3690
+ type: "user-vabsearch",
3691
+ targetType: "singerSearch",
3692
+ icon: "searchbox",
3693
+ commonFlag: !0,
3694
+ columnFlag: true,
3695
+ formItemFlag: !0,
3696
+ tableField: null,
3697
+ options: {
3698
+ ...vabsearchConfig,
3699
+ vabSearchName: "nick_name",
3700
+ userDefaultVabSearch: true,
3701
+ label: "用户",
3702
+ labelColor: "",
3703
+ searchDialogConfig: {
3704
+ ...defaultSearchDialogConfig,
3705
+ multipleChoices: false,
3706
+ formCode: "user_dialog",
3707
+ valueSourceField: "id",
3708
+ labelSourceField: "nick_name",
3709
+ },
3710
+ },
3711
+ },
3712
+ {
3713
+ type: "saleOrg-vabsearch",
3714
+ targetType: "singerSearch",
3715
+ icon: "searchbox",
3716
+ commonFlag: !0,
3717
+ columnFlag: true,
3718
+ formItemFlag: !0,
3719
+ tableField: null,
3720
+ options: {
3721
+ ...vabsearchConfig,
3722
+ vabSearchName: "sale_org_name",
3723
+ saleOrgDefaultVabSearch: true,
3724
+ label: "机构",
3725
+ labelColor: "",
3726
+ searchDialogConfig: {
3727
+ ...defaultSearchDialogConfig,
3728
+ multipleChoices: false,
3729
+ formCode: "sale_org_dialog",
3730
+ valueSourceField: "id",
3731
+ labelSourceField: "name",
3732
+ },
3733
+ },
3734
+ },
3735
+
3736
+ {
3737
+ type: "user-project-tag",
3738
+ targetType: "project-tag",
3739
+ icon: "uploadbox",
3740
+ commonFlag: !0,
3741
+ columnFlag: true,
3742
+ formItemFlag: !0,
3743
+ tableField: null,
3744
+ options: {
3745
+ ...projectTagConfig,
3106
3746
  formScriptEnabled: true,
3107
- formScriptCode: "",
3108
- formScriptParam: null,
3109
- onCreated: "this.loadDataDefaultHandle()",
3747
+ label: "用户",
3748
+ labelColor: "",
3749
+ tagFormCode: "user_dialog",
3750
+ tagLabelField: "nick_name",
3751
+ tagUniqueField: "id",
3752
+ tagFormLabelField: "nick_name",
3753
+ tagFormUniqueField: "id",
3754
+ tabDeleteEnabled: true,
3755
+ },
3756
+ },
3757
+ {
3758
+ type: "saleOrg-project-tag",
3759
+ targetType: "project-tag",
3760
+ icon: "uploadbox",
3761
+ commonFlag: !0,
3762
+ columnFlag: true,
3763
+ formItemFlag: !0,
3764
+ tableField: null,
3765
+ options: {
3766
+ ...projectTagConfig,
3767
+ formScriptEnabled: true,
3768
+ label: "机构",
3769
+ labelColor: "",
3770
+ tagFormCode: "sale_org_dialog",
3771
+ tagLabelField: "name",
3772
+ tagUniqueField: "id",
3773
+ tagFormLabelField: "name",
3774
+ tagFormUniqueField: "id",
3775
+ tabDeleteEnabled: true,
3776
+ },
3777
+ },
3778
+ {
3779
+ type: "copy_button",
3780
+ icon: "button",
3781
+ commonFlag: !0,
3782
+ columnFlag: true,
3783
+ formItemFlag: !1,
3784
+ options: {
3785
+ name: "",
3786
+ label: "复制",
3787
+ columnWidth: "200px",
3788
+ size: "",
3789
+ // displayStyle: "block",
3790
+ disabled: !1,
3791
+ hidden: !1,
3792
+ type: "primary",
3793
+
3794
+ customClass: "",
3795
+ onCreated: "",
3110
3796
  onMounted: "",
3797
+ copyButton: true,
3798
+ copyDataHandle: "",
3799
+ ...defaultWfConfig,
3800
+ ...defaultWidgetShowRuleConfig,
3801
+ hiddenByWf: true,
3111
3802
 
3112
3803
  showRuleFlag: 1,
3113
3804
  showRuleEnabled: 1,
3114
- showRules: []
3115
- }
3805
+ showRules: [],
3806
+ },
3807
+ },
3808
+ {
3809
+ type: "tempStorage",
3810
+ icon: "uploadbox",
3811
+ commonFlag: !0,
3812
+ columnFlag: true,
3813
+ formItemFlag: !1,
3814
+ options: {
3815
+ name: "",
3816
+ // label: "暂存",
3817
+ columnWidth: "200px",
3818
+ disabled: !1,
3819
+ hidden: !1,
3820
+
3821
+ tempStorageFlag: 1,
3822
+ tempStorageCode: null,
3823
+ tempStorageConfirm: null,
3824
+
3825
+ customClass: "",
3826
+ onCreated: "",
3827
+ onMounted: "",
3828
+
3829
+ ...defaultWidgetShowRuleConfig,
3830
+ },
3116
3831
  },
3117
- ]
3832
+ {
3833
+ type: "oplog",
3834
+ icon: "uploadbox",
3835
+ commonFlag: !0,
3836
+ formItemFlag: !1,
3837
+ options: {
3838
+ name: "",
3839
+ // label: "操作日志",
3840
+ // disabled: !1,
3841
+ hidden: !1,
3842
+
3843
+ oplogFlag: 1,
3844
+ formScriptCode: "listUserLog",
3845
+ oplogTypeCode: null,
3846
+ oplogBusinessKey: null,
3847
+
3848
+ customClass: "",
3849
+ onCreated: "",
3850
+ onMounted: "",
3851
+ },
3852
+ },
3853
+ {
3854
+ type: "vabUpload2",
3855
+ icon: "uploadbox",
3856
+ commonFlag: !0,
3857
+ formItemFlag: !0,
3858
+ tableField: null,
3859
+ options: {
3860
+ name: "",
3861
+ keyNameEnabled: !1,
3862
+ keyName: "",
3863
+ label: "",
3864
+ labelColor: "",
3865
+ submitFlag: true,
3866
+ disabled: !1,
3867
+ hidden: !1,
3868
+ required: !1,
3869
+ labelWidth: null,
3870
+ labelHidden: !0,
3871
+ limit: null,
3872
+ hideRemoveButton: false,
3873
+ accessType: "1",
3874
+ entityTableCode: null,
3875
+ entityTableDesc: null,
3876
+ onCreated: "",
3877
+ onMounted: "",
3878
+ onAfterConfirmFile: "",
3879
+ vabUpload2Flag: 1,
3880
+
3881
+ vabupload2_scriptCode: "/intf/getHxFileUploadConfig",
3882
+ vabupload2_uploadParam:
3883
+ 'return {\n entityName: "msdyn_workorder",\n entityId: dataId,\n backendwriteback: "10",\n fileCategory: "工单",\n}',
3884
+ vabupload2_deleteParam:
3885
+ 'return {\r\n entityName: "msdyn_workorder",\r\n entityId: dataId,\r\n backendwriteback: "10",\r\n}',
3886
+ // vabupload2_getFileParam:"",
3887
+
3888
+ // ...httpConfig,
3889
+ // formScriptCode: "getList",
3890
+
3891
+ ...defaultWfConfig,
3892
+
3893
+ showRuleFlag: 1,
3894
+ showRuleEnabled: 1,
3895
+ showRules: [],
3896
+
3897
+ hiddenFileInfo: false,
3898
+ hiddenFileName: false,
3899
+ showFileSize: false,
3900
+ showFileCreateBy: false,
3901
+ showFileCreateDate: false,
3902
+ widgetSize: 2,
3903
+
3904
+ customUploadEnabled: false,
3905
+ uploadUrl: null,
3906
+ uploadHeaders: {},
3907
+ uploadRresponseAdapter: {},
3908
+ },
3909
+ },
3910
+ ];
3118
3911
 
3119
3912
  export const keyNamePrefixMap = {
3120
3913
  vabUpload: "attachments_",
3121
- baseAttachment: "attachments_"
3122
- }
3914
+ baseAttachment: "attachments_",
3915
+ };
3123
3916
 
3124
- export const customFields = []
3917
+ export const customFields = [];
3125
3918
 
3126
3919
  export function addContainerWidgetSchema(containerSchema) {
3127
- containers.push(containerSchema)
3920
+ containers.push(containerSchema);
3128
3921
  }
3129
3922
 
3130
3923
  export function addBasicFieldSchema(fieldSchema) {
3131
- basicFields.push(fieldSchema)
3924
+ basicFields.push(fieldSchema);
3132
3925
  }
3133
3926
 
3134
3927
  export function addAdvancedFieldSchema(fieldSchema) {
3135
- advancedFields.push(fieldSchema)
3928
+ advancedFields.push(fieldSchema);
3136
3929
  }
3137
3930
 
3138
3931
  export function addCustomWidgetSchema(widgetSchema) {
3139
- customFields.push(widgetSchema)
3932
+ customFields.push(widgetSchema);
3140
3933
  }