cloud-web-corejs 1.0.54-dev.70 → 1.0.54-dev.701

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