cloud-web-corejs 1.0.54-dev.68 → 1.0.54-dev.681

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