cloud-web-corejs 1.0.54-dev.63 → 1.0.54-dev.630

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