cloud-web-corejs 1.0.54-dev.71 → 1.0.54-dev.710

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