cloud-web-corejs 1.0.54-dev.62 → 1.0.54-dev.620

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