cloud-web-corejs 1.0.54-dev.73 → 1.0.54-dev.730

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