cloud-web-corejs 1.0.54-dev.65 → 1.0.54-dev.650

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