cloud-web-corejs 1.0.54-dev.60 → 1.0.54-dev.600

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 (489) 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 +23 -19
  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 +57 -4
  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 +56 -2
  36. package/src/components/excelExport/mixins.js +3 -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 +1 -1
  97. package/src/components/table/index - /345/211/257/346/234/254.js" +1101 -0
  98. package/src/components/table/index.js +1103 -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 +1 -1
  103. package/src/components/table/util/index.js +335 -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 +8 -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 +14 -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 +978 -169
  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-date-range/date-range-defaultTime-editor.vue +27 -0
  226. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
  227. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
  228. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +25 -0
  229. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +5 -5
  230. package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +36 -0
  231. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +77 -20
  232. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -0
  233. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +44 -15
  234. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -0
  235. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  236. package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/preWrap-editor.vue +23 -0
  237. package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/textContent-editor.vue +1 -1
  238. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
  239. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
  240. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +71 -0
  241. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +24 -8
  242. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
  243. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +33 -1
  244. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +66 -0
  245. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +89 -19
  246. package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +137 -0
  247. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
  248. package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
  249. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
  250. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
  251. package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
  252. package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
  253. package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
  254. package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  255. package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +126 -50
  256. package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +31 -0
  257. package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
  258. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +349 -0
  259. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
  260. package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
  261. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  262. package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +42 -0
  263. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
  264. package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
  265. package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
  266. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +372 -50
  267. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
  268. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +34 -11
  269. package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
  270. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  271. package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
  272. package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -18
  273. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1728 -919
  274. package/src/components/xform/form-render/container-item/containerItemMixin.js +12 -11
  275. package/src/components/xform/form-render/container-item/data-table-item.vue +206 -198
  276. package/src/components/xform/form-render/container-item/data-table-mixin.js +22 -1685
  277. package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
  278. package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
  279. package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
  280. package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
  281. package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
  282. package/src/components/xform/form-render/container-item/tab-item.vue +62 -25
  283. package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
  284. package/src/components/xform/form-render/container-item/table-item.vue +4 -2
  285. package/src/components/xform/form-render/container-item/table2-cell-item.vue +53 -34
  286. package/src/components/xform/form-render/container-item/table2-item.vue +153 -92
  287. package/src/components/xform/form-render/container-item/tree-item.vue +32 -11
  288. package/src/components/xform/form-render/dynamicDialogRender.js +1 -1
  289. package/src/components/xform/form-render/index.vue +77 -20
  290. package/src/components/xform/form-render/indexMixin.js +3719 -12
  291. package/src/components/xform/form-render/refMixin.js +3 -3
  292. package/src/components/xform/lang/zh-CN.js +29 -4
  293. package/src/components/xform/mixins/defaultHandle.js +3 -2
  294. package/src/components/xform/mixins/scriptHttp.js +3 -1
  295. package/src/components/xform/utils/emitter.js +4 -4
  296. package/src/components/xform/utils/formHttp.js +162 -0
  297. package/src/components/xform/utils/format.js +41 -34
  298. package/src/components/xform/utils/formula-util.js +969 -0
  299. package/src/components/xform/utils/util.js +1469 -1
  300. package/src/components/xform/utils/validators.js +2 -5
  301. package/src/components/xform/utils/vue2js-generator.js +2 -2
  302. package/src/components/xhsPrint/index.js +44 -1
  303. package/src/components/xhsPrint/mixins.js +269 -1
  304. package/src/directive/LimitNumber/index.js +125 -1
  305. package/src/directive/el-dialog-center/index.js +34 -1
  306. package/src/directive/el-drag-dialog/drag.js +86 -1
  307. package/src/directive/el-readonly/index.js +15 -1
  308. package/src/directive/permission/hasPermi.js +34 -1
  309. package/src/index.js +215 -190
  310. package/src/lang/index.js +56 -51
  311. package/src/lang/locale/en/login.js +20 -0
  312. package/src/lang/locale/zh/login.js +20 -0
  313. package/src/layout/components/AppMain.vue +8 -1
  314. package/src/layout/components/Sidebar/default.vue +1423 -1222
  315. package/src/layout/components/TagsView/index.vue +37 -12
  316. package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
  317. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  318. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  319. package/src/layout/components/extractedCode/viewDialog.vue +193 -0
  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/ftHistoryDialog.vue +394 -0
  357. package/src/views/bd/setting/formVersion/preformDialog.vue +86 -0
  358. package/src/views/bd/setting/formVersion/reverButton.vue +84 -0
  359. package/src/views/bd/setting/form_import_log/edit.vue +130 -0
  360. package/src/views/bd/setting/form_import_log/list.vue +211 -0
  361. package/src/views/bd/setting/form_script/edit.vue +151 -74
  362. package/src/views/bd/setting/form_script/edit1.vue +328 -187
  363. package/src/views/bd/setting/form_script/form_list.vue +99 -37
  364. package/src/views/bd/setting/form_script/list1.vue +181 -118
  365. package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
  366. package/src/views/bd/setting/form_script/mixins/edit.js +221 -7
  367. package/src/views/bd/setting/form_script/mixins/edit1.js +215 -9
  368. package/src/views/bd/setting/form_script/mixins/form_list.js +297 -14
  369. package/src/views/bd/setting/form_script/mixins/list.js +237 -1
  370. package/src/views/bd/setting/form_script/mixins/list1.js +424 -14
  371. package/src/views/bd/setting/form_script/mixins/list2.js +10 -1
  372. package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
  373. package/src/views/bd/setting/form_script/mixins/preformDialog.js +34 -1
  374. package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
  375. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +2 -2
  376. package/src/views/bd/setting/form_template/edit.vue +298 -184
  377. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  378. package/src/views/bd/setting/form_template/list.vue +326 -214
  379. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +11 -9
  380. package/src/views/bd/setting/form_template/mixins/dialog.js +103 -1
  381. package/src/views/bd/setting/form_template/mixins/edit.js +250 -9
  382. package/src/views/bd/setting/form_template/mixins/editWfObjConfigDialog.js +92 -1
  383. package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +91 -1
  384. package/src/views/bd/setting/form_template/mixins/itemEdit.js +104 -1
  385. package/src/views/bd/setting/form_template/mixins/itemList.js +234 -1
  386. package/src/views/bd/setting/form_template/mixins/list.js +689 -22
  387. package/src/views/bd/setting/form_template/mixins/list2.js +411 -0
  388. package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
  389. package/src/views/bd/setting/form_template/mixins/preformDialog.js +28 -3
  390. package/src/views/bd/setting/form_template/mixins/wf_list.js +3 -3
  391. package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
  392. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +4 -4
  393. package/src/views/bd/setting/form_template/wf_list.vue +1 -1
  394. package/src/views/bd/setting/logic_param/edit.vue +146 -0
  395. package/src/views/bd/setting/logic_param/edit1.vue +106 -0
  396. package/src/views/bd/setting/logic_param/edit2.vue +139 -0
  397. package/src/views/bd/setting/logic_param/list.vue +74 -0
  398. package/src/views/bd/setting/logic_param/list1.vue +12 -0
  399. package/src/views/bd/setting/logic_param/list2.vue +12 -0
  400. package/src/views/bd/setting/logic_param/mixins/edit.js +93 -0
  401. package/src/views/bd/setting/logic_param/mixins/list.js +376 -0
  402. package/src/views/bd/setting/menu_kind/list.vue +172 -83
  403. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
  404. package/src/views/bd/setting/menu_kind/mixins/dialog.js +139 -1
  405. package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
  406. package/src/views/bd/setting/push_data/edit.vue +139 -0
  407. package/src/views/bd/setting/push_data/list.vue +283 -0
  408. package/src/views/bd/setting/push_data_h/edit.vue +153 -0
  409. package/src/views/bd/setting/push_data_h/list.vue +293 -0
  410. package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
  411. package/src/views/bd/setting/request_async_setting/list.vue +372 -0
  412. package/src/views/bd/setting/request_setting/edit.vue +300 -0
  413. package/src/views/bd/setting/request_setting/list.vue +311 -0
  414. package/src/views/bd/setting/table_model/edit.vue +888 -426
  415. package/src/views/bd/setting/table_model/list.vue +195 -128
  416. package/src/views/bd/setting/table_model/mixins/dialog.js +71 -1
  417. package/src/views/bd/setting/table_model/mixins/edit.js +1248 -13
  418. package/src/views/bd/setting/table_model/mixins/list.js +446 -14
  419. package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
  420. package/src/views/bd/setting/table_model/mixins/zdDialog.js +108 -1
  421. package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
  422. package/src/views/bd/setting/utils/index.js +60 -1
  423. package/src/views/user/access_log/list.vue +418 -349
  424. package/src/views/user/area/dialog.vue +223 -117
  425. package/src/views/user/area/list.vue +318 -0
  426. package/src/views/user/bill_setting/edit.vue +1 -1
  427. package/src/views/user/bill_setting/list.vue +1 -1
  428. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  429. package/src/views/user/common_attribute/list.vue +5 -2
  430. package/src/views/user/common_script/edit.vue +1 -1
  431. package/src/views/user/common_script/list.vue +1 -1
  432. package/src/views/user/company_info/dialog.vue +195 -163
  433. package/src/views/user/company_info/edit.vue +1 -1
  434. package/src/views/user/extend_datasource/dialog.vue +4 -0
  435. package/src/views/user/extend_datasource/edit.vue +5 -1
  436. package/src/views/user/extend_datasource/list.vue +5 -1
  437. package/src/views/user/fieldTranslation/editDialog.vue +8 -8
  438. package/src/views/user/fieldTranslation/list.vue +33 -33
  439. package/src/views/user/form/vform/designer.vue +776 -749
  440. package/src/views/user/form/vform/out_render.vue +1 -1
  441. package/src/views/user/form/vform/render.vue +67 -37
  442. package/src/views/user/form/view/edit.vue +38 -37
  443. package/src/views/user/form/view/list.vue +270 -49
  444. package/src/views/user/home/default.vue +1026 -979
  445. package/src/views/user/home/dev.vue +29 -0
  446. package/src/views/user/home/index.vue +18 -7
  447. package/src/views/user/login/default.vue +165 -36
  448. package/src/views/user/login/index.vue +4 -6
  449. package/src/views/user/login/indexMixin.js +186 -9
  450. package/src/views/user/menu/list.vue +27 -1
  451. package/src/views/user/notify_message/dialog.vue +44 -22
  452. package/src/views/user/notify_template/edit.vue +188 -187
  453. package/src/views/user/notify_template/edit2.vue +176 -0
  454. package/src/views/user/notify_template/list.vue +4 -1
  455. package/src/views/user/notify_template/list2.vue +190 -0
  456. package/src/views/user/outLink/form_view.vue +211 -211
  457. package/src/views/user/outLink/index.vue +67 -11
  458. package/src/views/user/position/list.vue +4 -4
  459. package/src/views/user/project_tag/dialog.vue +9 -4
  460. package/src/views/user/project_tag/edit.vue +2 -2
  461. package/src/views/user/project_tag/list.vue +9 -4
  462. package/src/views/user/push_setting/list.vue +2 -2
  463. package/src/views/user/request_setting/edit.vue +258 -0
  464. package/src/views/user/request_setting/list.vue +248 -0
  465. package/src/views/user/role/authConfig.vue +89 -0
  466. package/src/views/user/role/dialog.vue +70 -48
  467. package/src/views/user/role/edit.vue +609 -429
  468. package/src/views/user/role/list.vue +4 -4
  469. package/src/views/user/sale_org/dialog.vue +1 -1
  470. package/src/views/user/sale_org/list.vue +4 -1
  471. package/src/views/user/system_notice/infoDialog.vue +2 -1
  472. package/src/views/user/user/dialog.vue +46 -23
  473. package/src/views/user/user/edit.vue +1290 -1021
  474. package/src/views/user/user/form_dialog.vue +158 -0
  475. package/src/views/user/user/form_info.vue +210 -0
  476. package/src/views/user/user/list.vue +652 -563
  477. package/src/views/user/user/modifyPasswordDialog.vue +64 -53
  478. package/src/views/user/wf/wfReport/index.vue +619 -0
  479. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
  480. package/src/views/user/wf/wf_manage/list.vue +379 -250
  481. package/src/views/user/wf/wf_manage/wfContentDialog.vue +25 -22
  482. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  483. package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
  484. package/src/views/user/wf/wf_obj_config/list.vue +114 -9
  485. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
  486. package/src/views/user/wf/wf_transfer_setting/edit.vue +282 -0
  487. package/src/views/user/wf/wf_transfer_setting/list.vue +319 -0
  488. package/src/views/user/workbench_menu/list.vue +555 -0
  489. 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,6 +1565,7 @@ export const basicFields = [
1457
1565
  editable: !1,
1458
1566
  format: "yyyy-MM-dd",
1459
1567
  valueFormat: "yyyy-MM-dd",
1568
+ defaultTime: ["00:00:00", "23:59:59"],
1460
1569
  required: !1,
1461
1570
  requiredHint: "",
1462
1571
  validation: "",
@@ -1472,23 +1581,12 @@ export const basicFields = [
1472
1581
  onBlur: "",
1473
1582
  onValidate: "",
1474
1583
  accessType: "1",
1475
- wfFlag: 1,
1476
- wfEdit: false,
1477
- enabledByWf: false,
1478
- hiddenByWf: false,
1479
- wfConfigData: [],
1584
+ ...defaultWfConfig,
1480
1585
 
1481
1586
  showRuleFlag: 1,
1482
1587
  showRuleEnabled: 1,
1483
1588
  showRules: [],
1484
- textFlag: 1,
1485
- textRule1: false,
1486
- textRule2: false,
1487
- textRule3: false,
1488
- textRule2Number: null,
1489
- textRule3Number: null
1490
-
1491
- }
1589
+ },
1492
1590
  },
1493
1591
  /* {
1494
1592
  type: "switch",
@@ -1617,34 +1715,36 @@ export const basicFields = [
1617
1715
  {
1618
1716
  type: "static-text",
1619
1717
  icon: "static-text",
1718
+ commonFlag: !0,
1620
1719
  formItemFlag: !1,
1720
+ columnFlag: true,
1621
1721
  options: {
1622
1722
  name: "",
1623
1723
  columnWidth: "200px",
1624
1724
  hidden: !1,
1625
1725
  textContent: "static text",
1626
1726
  fontSize: "13px",
1727
+ preWrap: true, //是否自动换行
1728
+ colorClass: "", //字体颜色
1627
1729
  customClass: "",
1628
1730
  onCreated: "",
1629
1731
  onMounted: "",
1630
1732
  accessType: "1",
1733
+ ...defaultWfConfig,
1631
1734
 
1632
1735
  showRuleFlag: 1,
1633
1736
  showRuleEnabled: 1,
1634
1737
  showRules: [],
1635
- textFlag: 1,
1636
- textRule1: false,
1637
- textRule2: false,
1638
- textRule3: false,
1639
- textRule2Number: null,
1640
- textRule3Number: null
1641
1738
 
1642
- }
1739
+ ...defaultTextFlagConfig,
1740
+ },
1643
1741
  },
1644
1742
  {
1645
1743
  type: "html-text",
1646
1744
  icon: "html-text",
1745
+ commonFlag: !0,
1647
1746
  formItemFlag: !1,
1747
+ columnFlag: false,
1648
1748
  options: {
1649
1749
  name: "",
1650
1750
  columnWidth: "200px",
@@ -1654,18 +1754,12 @@ export const basicFields = [
1654
1754
  onCreated: "",
1655
1755
  onMounted: "",
1656
1756
  accessType: "1",
1757
+ ...defaultWfConfig,
1657
1758
 
1658
1759
  showRuleFlag: 1,
1659
1760
  showRuleEnabled: 1,
1660
1761
  showRules: [],
1661
- textFlag: 1,
1662
- textRule1: false,
1663
- textRule2: false,
1664
- textRule3: false,
1665
- textRule2Number: null,
1666
- textRule3Number: null
1667
-
1668
- }
1762
+ },
1669
1763
  },
1670
1764
  /* {
1671
1765
  type: 'title-head',
@@ -1687,10 +1781,13 @@ export const basicFields = [
1687
1781
  {
1688
1782
  type: "button",
1689
1783
  icon: "button",
1784
+ commonFlag: !0,
1690
1785
  formItemFlag: !1,
1786
+ columnFlag: true,
1691
1787
  options: {
1692
1788
  name: "",
1693
1789
  label: "",
1790
+ wfHideFlag: 1,
1694
1791
  columnWidth: "200px",
1695
1792
  size: "",
1696
1793
  displayStyle: "block",
@@ -1707,34 +1804,29 @@ export const basicFields = [
1707
1804
  onClick: "",
1708
1805
  accessType: "1",
1709
1806
  clickBindEvent: null,
1807
+ onBeforeClickButton: null,
1710
1808
  searchDialogConfig: {
1711
- ...defaultSearchDialogConfig
1809
+ ...defaultSearchDialogConfig,
1712
1810
  },
1713
1811
  addTableDataConfig: {
1714
1812
  tableRef: null,
1715
- tableData: {}
1813
+ tableData: {},
1716
1814
  },
1717
- wfFlag: 1,
1718
- wfEdit: false,
1719
- enabledByWf: false,
1720
- hiddenByWf: false,
1721
- wfConfigData: [],
1815
+ ...defaultWfConfig,
1816
+ hiddenByWf: true,
1817
+ ...defaultWidgetShowRuleConfig,
1722
1818
 
1723
1819
  showRuleFlag: 1,
1724
1820
  showRuleEnabled: 1,
1725
1821
  showRules: [],
1726
- textFlag: 1,
1727
- textRule1: false,
1728
- textRule2: false,
1729
- textRule3: false,
1730
- textRule2Number: null,
1731
- textRule3Number: null
1732
- }
1822
+ },
1733
1823
  },
1734
1824
  {
1735
1825
  type: "divider",
1736
1826
  icon: "divider",
1827
+ commonFlag: !0,
1737
1828
  formItemFlag: !1,
1829
+ columnFlag: true,
1738
1830
  options: {
1739
1831
  name: "",
1740
1832
  label: "",
@@ -1743,9 +1835,10 @@ export const basicFields = [
1743
1835
  contentPosition: "center",
1744
1836
  hidden: !1,
1745
1837
  customClass: "",
1838
+ ...defaultWfConfig,
1746
1839
  onCreated: "",
1747
- onMounted: ""
1748
- }
1840
+ onMounted: "",
1841
+ },
1749
1842
  },
1750
1843
  /*{
1751
1844
  type: "descriptions",
@@ -1804,18 +1897,22 @@ export const basicFields = [
1804
1897
  {
1805
1898
  type: "text",
1806
1899
  icon: "text",
1900
+ commonFlag: !0,
1807
1901
  formItemFlag: !0,
1902
+ columnFlag: true,
1808
1903
  tableField: null,
1809
1904
  options: {
1810
1905
  name: "",
1811
1906
  keyNameEnabled: !1,
1812
1907
  keyName: "",
1813
1908
  label: "",
1909
+ labelColor: "",
1814
1910
  submitFlag: true,
1815
1911
  formField: "",
1816
1912
  hidden: !1,
1817
1913
  required: !1,
1818
1914
  customClass: "",
1915
+ colorClass: "",
1819
1916
  defaultValue: "",
1820
1917
  labelAlign: "",
1821
1918
  labelWidth: null,
@@ -1823,29 +1920,34 @@ export const basicFields = [
1823
1920
  onCreated: "",
1824
1921
  onMounted: "",
1825
1922
  accessType: "1",
1826
- labelColor: '#555555',
1923
+ ...defaultWfConfig,
1924
+
1925
+ autoValueEnabled: false,
1926
+ autoValueHanlde: null,
1927
+ formatType: null,
1928
+ renderHandle: null,
1827
1929
 
1828
1930
  showRuleFlag: 1,
1829
1931
  showRuleEnabled: 1,
1830
1932
  showRules: [],
1831
- textFlag: 1,
1832
- textRule1: false,
1833
- textRule2: false,
1834
- textRule3: false,
1835
- textRule2Number: null,
1836
- textRule3Number: null
1837
- }
1933
+
1934
+ ...defaultTextFlagConfig,
1935
+ },
1838
1936
  },
1839
1937
  {
1840
1938
  type: "a-text",
1841
1939
  icon: "text-field",
1940
+ commonFlag: !0,
1842
1941
  formItemFlag: !0,
1942
+ columnFlag: true,
1843
1943
  tableField: null,
1844
1944
  options: {
1845
1945
  name: "",
1846
1946
  keyNameEnabled: !1,
1847
1947
  keyName: "",
1848
1948
  label: "",
1949
+ labelColor: "",
1950
+ displayStyle: "block",
1849
1951
  submitFlag: true,
1850
1952
  /**showText: false,*/
1851
1953
  formField: "",
@@ -1864,7 +1966,9 @@ export const basicFields = [
1864
1966
  aTextFlag: 1,
1865
1967
  underline: false,
1866
1968
  href: "",
1867
- coloClass: "f-red",
1969
+ colorClass: "f-red",
1970
+ formatType: null,
1971
+ renderHandle: null,
1868
1972
 
1869
1973
  onCreated: "",
1870
1974
  onMounted: "",
@@ -1872,78 +1976,95 @@ export const basicFields = [
1872
1976
  onChange: "",
1873
1977
  onClick: "",
1874
1978
  accessType: "1",
1875
- wfFlag: 1,
1876
- wfEdit: false,
1877
- enabledByWf: false,
1878
- hiddenByWf: false,
1879
- wfConfigData: [],
1979
+ ...defaultWfConfig,
1980
+ ...defaultWidgetShowRuleConfig,
1880
1981
 
1881
1982
  showRuleFlag: 1,
1882
1983
  showRuleEnabled: 1,
1883
1984
  showRules: [],
1884
- textFlag: 1,
1885
- textRule1: false,
1886
- textRule2: false,
1887
- textRule3: false,
1888
- textRule2Number: null,
1889
- textRule3Number: null
1890
- }
1985
+
1986
+ ...defaultTextFlagConfig,
1987
+ },
1891
1988
  },
1892
1989
  {
1893
1990
  type: "a-link",
1894
1991
  icon: "button",
1992
+ commonFlag: !0,
1895
1993
  formItemFlag: !1,
1994
+ columnFlag: true,
1896
1995
  options: {
1897
1996
  name: "",
1898
1997
  keyNameEnabled: !1,
1899
1998
  keyName: "",
1900
1999
  label: "",
2000
+ displayStyle: "block",
1901
2001
  labelHidden: !1,
1902
2002
  disabled: !1,
1903
2003
  hidden: !1,
1904
2004
  prefixIcon: "",
1905
2005
  suffixIcon: "",
1906
2006
  customClass: "",
2007
+ wfHideFlag: 1,
1907
2008
  aLinkFlag: 1,
1908
2009
  underline: false,
1909
2010
  href: "",
1910
- coloClass: "f-red",
2011
+ colorClass: "f-blue",
1911
2012
  isFormLabel: false,
1912
2013
  onCreated: "",
1913
2014
  onMounted: "",
1914
2015
  onClick: "",
1915
2016
  clickBindEvent: null,
2017
+ onBeforeClickButton: null,
1916
2018
  searchDialogConfig: {
1917
- ...defaultSearchDialogConfig
2019
+ ...defaultSearchDialogConfig,
1918
2020
  },
1919
2021
  addTableDataConfig: {
1920
2022
  tableRef: null,
1921
- tableData: {}
2023
+ tableData: {},
1922
2024
  },
1923
- wfFlag: 1,
1924
- wfEdit: false,
1925
- enabledByWf: false,
1926
- hiddenByWf: false,
1927
- wfConfigData: [],
2025
+ ...defaultWfConfig,
2026
+ ...defaultWidgetShowRuleConfig,
1928
2027
 
1929
2028
  showRuleFlag: 1,
1930
2029
  showRuleEnabled: 1,
1931
2030
  showRules: [],
1932
- textFlag: 1,
1933
- textRule1: false,
1934
- textRule2: false,
1935
- textRule3: false,
1936
- textRule2Number: null,
1937
- textRule3Number: null
1938
- }
2031
+
2032
+ ...defaultTextFlagConfig,
2033
+ },
1939
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",
1940
2049
 
1941
- ]
2050
+ onClick: "",
2051
+ clickBindEvent: null,
2052
+ onBeforeClickButton: null,
2053
+ searchDialogConfig: {
2054
+ ...defaultSearchDialogConfig,
2055
+ },
2056
+ addTableDataConfig: {
2057
+ tableRef: null,
2058
+ tableData: {},
2059
+ },
2060
+ },
2061
+ },
2062
+ ];
1942
2063
 
1943
2064
  export const advancedFields = [
1944
2065
  {
1945
- type: 'echart-pie',
1946
- icon: 'echart-pie',
2066
+ type: "echart-pie",
2067
+ icon: "echart-pie",
1947
2068
  commonFlag: !0,
1948
2069
  formItemFlag: false,
1949
2070
  options: {
@@ -1952,91 +2073,102 @@ export const advancedFields = [
1952
2073
  hidden: !1,
1953
2074
  echarPieOption: {
1954
2075
  backgroundColor: "#fff",
1955
- color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2076
+ color: [
2077
+ "#5BC1D7",
2078
+ "#FF8A3D",
2079
+ "#56C271",
2080
+ "#694ED6",
2081
+ "#C033A1",
2082
+ "#FFCC10",
2083
+ ],
1956
2084
  title: {
1957
2085
  show: true,
1958
- top: '5px',
1959
- text: '这是饼图标题',
2086
+ top: "5px",
2087
+ text: "这是饼图标题",
1960
2088
  },
1961
2089
  grid: {
1962
- top: '80px',
1963
- left: '3%',
1964
- right: '6%',
1965
- bottom: '3%',
1966
- containLabel: true
2090
+ top: "80px",
2091
+ left: "3%",
2092
+ right: "6%",
2093
+ bottom: "3%",
2094
+ containLabel: true,
1967
2095
  },
1968
2096
  legend: {
1969
2097
  show: false,
1970
- right: '12px',
2098
+ right: "12px",
1971
2099
  itemGap: 20,
1972
2100
  itemWidth: 10,
1973
2101
  itemHeight: 10,
1974
- orient: 'horizontal'
2102
+ orient: "horizontal",
1975
2103
  },
1976
2104
  tooltip: {
1977
- trigger: 'axis',
2105
+ trigger: "axis",
1978
2106
  axisPointer: {
1979
- type: 'shadow',
2107
+ type: "shadow",
1980
2108
  label: {
1981
- backgroundColor: '#fff'
1982
- }
1983
- }
1984
- },
1985
- series: [{
1986
- // name: 'Access From',
1987
- type: 'pie',
1988
- radius: '60%',
1989
- center: ['50%', '48%'],
1990
- itemStyle: {
1991
- borderRadius: 10,
1992
- borderColor: '#FFF',
1993
- borderWidth: 2
1994
- },
1995
- label: {
1996
- show: true,
1997
- fontSize: 12,
1998
- color: "",
1999
- fontWeight: "normal"
2000
- },
2001
- data: [{
2002
- value: 1048,
2003
- name: 'Search Engine'
2004
- },
2005
- {
2006
- value: 735,
2007
- name: 'Direct'
2109
+ backgroundColor: "#fff",
2008
2110
  },
2009
- {
2010
- value: 580,
2011
- 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,
2012
2123
  },
2013
- {
2014
- value: 484,
2015
- name: 'Union Ads'
2124
+ label: {
2125
+ show: true,
2126
+ fontSize: 12,
2127
+ color: "",
2128
+ fontWeight: "normal",
2016
2129
  },
2017
- {
2018
- value: 300,
2019
- name: 'Video Ads'
2020
- }
2021
- ],
2022
- }]
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
+ ],
2023
2154
  },
2024
- echartConfig:'',
2025
- formScriptEnabled: true,
2026
- formScriptCode: "",
2027
- formScriptParam: null,
2155
+ echartConfig: "",
2156
+
2157
+ ...httpConfig,
2158
+
2028
2159
  onClick: "",
2029
2160
  onCreated: "",
2030
2161
  onMounted: "this.loadDataDefaultHandle()",
2031
2162
 
2163
+ ...defaultWfConfig,
2032
2164
  showRuleFlag: 1,
2033
2165
  showRuleEnabled: 1,
2034
- showRules: []
2035
- }
2166
+ showRules: [],
2167
+ },
2036
2168
  },
2037
2169
  {
2038
- type: 'echart-bar',
2039
- icon: 'echart',
2170
+ type: "echart-bar",
2171
+ icon: "echart",
2040
2172
  commonFlag: !0,
2041
2173
  formItemFlag: false,
2042
2174
  options: {
@@ -2045,44 +2177,52 @@ export const advancedFields = [
2045
2177
  hidden: !1,
2046
2178
  echarBarOption: {
2047
2179
  backgroundColor: "#fff",
2048
- color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2180
+ color: [
2181
+ "#5BC1D7",
2182
+ "#FF8A3D",
2183
+ "#56C271",
2184
+ "#694ED6",
2185
+ "#C033A1",
2186
+ "#FFCC10",
2187
+ ],
2188
+ colors: [],
2049
2189
  title: {
2050
2190
  show: true,
2051
- top: '5px',
2052
- text: '这是柱形图标题',
2191
+ top: "5px",
2192
+ text: "这是柱形图标题",
2053
2193
  },
2054
2194
  grid: {
2055
- top: '80px',
2056
- left: '3%',
2057
- right: '80',
2058
- bottom: '3%',
2059
- containLabel: true
2195
+ top: "80px",
2196
+ left: "3%",
2197
+ right: "80",
2198
+ bottom: "3%",
2199
+ containLabel: true,
2060
2200
  },
2061
2201
  legend: {
2062
- right: '12px',
2063
- top: '8px',
2064
- icon: 'circle',
2202
+ right: "12px",
2203
+ top: "8px",
2204
+ icon: "circle",
2065
2205
  itemWidth: 12,
2066
2206
 
2067
2207
  itemGap: 24,
2068
2208
  },
2069
2209
  tooltip: {
2070
- trigger: 'axis',
2210
+ trigger: "axis",
2071
2211
  axisPointer: {
2072
- type: 'shadow',
2212
+ type: "shadow",
2073
2213
  label: {
2074
- backgroundColor: '#fff'
2075
- }
2076
- }
2214
+ backgroundColor: "#fff",
2215
+ },
2216
+ },
2077
2217
  },
2078
2218
  xAxis: {
2079
- type: 'category',
2080
- data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
2219
+ type: "category",
2220
+ data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
2081
2221
  show: true,
2082
2222
  name: "X轴",
2083
2223
  nameTextStyle: {
2084
2224
  color: "#606266",
2085
- fontSize: 12
2225
+ fontSize: 12,
2086
2226
  },
2087
2227
  axisLabel: {
2088
2228
  color: "#606266",
@@ -2092,20 +2232,20 @@ export const advancedFields = [
2092
2232
  inverse: false,
2093
2233
  axisLine: {
2094
2234
  lineStyle: {
2095
- color: "#E6EBF5"
2096
- }
2235
+ color: "#E6EBF5",
2236
+ },
2097
2237
  },
2098
2238
  splitLine: {
2099
2239
  show: false,
2100
- }
2240
+ },
2101
2241
  },
2102
2242
  yAxis: {
2103
- type: 'value',
2243
+ type: "value",
2104
2244
  show: true,
2105
2245
  name: "Y轴",
2106
2246
  nameTextStyle: {
2107
2247
  color: "#606266",
2108
- fontSize: 12
2248
+ fontSize: 12,
2109
2249
  },
2110
2250
  axisLabel: {
2111
2251
  color: "#606266",
@@ -2116,98 +2256,109 @@ export const advancedFields = [
2116
2256
  axisLine: {
2117
2257
  show: false,
2118
2258
  lineStyle: {
2119
- color: ""
2120
- }
2259
+ color: "",
2260
+ },
2121
2261
  },
2122
2262
  splitLine: {
2123
2263
  show: true,
2124
2264
  lineStyle: {
2125
- color: "#E6EBF5"
2126
- }
2127
- }
2128
- },
2129
- series: [{
2130
- data: [120, 200, 150, 80, 70, 110, 130],
2131
- type: 'bar',
2132
- name: 'Video Ad',
2133
- label: {
2134
- show: false,
2135
- fontSize: 12,
2136
- color: "#FFF",
2137
- fontWeight: "normal",
2138
- position: 'insideTop',
2139
- },
2140
- backgroundStyle: {
2141
- color: 'rgba(180, 180, 180, 0.2)'
2265
+ color: "#E6EBF5",
2266
+ },
2142
2267
  },
2143
- barMaxWidth: 28,
2144
- barMinHeight: 0,
2145
- barGap: '15%',
2146
- itemStyle: {
2147
- color: {
2148
- type: 'linear',
2149
- x: 0.5,
2150
- y: 0.9,
2151
- r: 0.2,
2152
- colorStops: [{
2153
- offset: 1, color: '#08C084' // 0% 处的颜色
2154
- }, {
2155
- offset: 0, color: '#97EACE' // 100% 处的颜色
2156
- }],
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],
2157
2305
  },
2158
- borderRadius: [20, 20, 0, 0]
2159
2306
  },
2307
+ {
2308
+ data: [140, 232, 101, 264, 90, 340, 250],
2309
+ type: "bar",
2310
+ name: "Video Ad1",
2160
2311
 
2161
- }, {
2162
- data: [140, 232, 101, 264, 90, 340, 250],
2163
- type: 'bar',
2164
- name: 'Video Ad1',
2165
-
2166
- label: {
2167
- show: false,
2168
- fontSize: 12,
2169
- color: "#FFF",
2170
- fontWeight: "normal",
2171
- position: 'insideTop',
2172
- },
2173
- backgroundStyle: {
2174
- color: 'rgba(180, 180, 180, 0.2)'
2175
- },
2176
- barMaxWidth: '28%',
2177
- barMinHeight: 0,
2178
- itemStyle: {
2179
- color: {
2180
- type: 'linear',
2181
- x: 0.5,
2182
- y: 0.9,
2183
- r: 0.2,
2184
- colorStops: [{
2185
- offset: 1, color: '#29ABE3' // 0% 处的颜色
2186
- }, {
2187
- offset: 0, color: '#AADEF4' // 100% 处的颜色
2188
- }],
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],
2189
2342
  },
2190
- borderRadius: [20, 20, 0, 0]
2191
2343
  },
2192
-
2193
- }]
2344
+ ],
2194
2345
  },
2195
- echartConfig:'',
2196
- formScriptEnabled: true,
2197
- formScriptCode: "",
2198
- formScriptParam: null,
2346
+ echartConfig: "",
2347
+
2348
+ ...httpConfig,
2349
+
2199
2350
  onClick: "",
2200
2351
  onCreated: "",
2201
2352
  onMounted: "this.loadDataDefaultHandle()",
2202
-
2353
+ ...defaultWfConfig,
2203
2354
  showRuleFlag: 1,
2204
2355
  showRuleEnabled: 1,
2205
- showRules: []
2206
- }
2356
+ showRules: [],
2357
+ },
2207
2358
  },
2208
2359
  {
2209
- type: 'echart-category',
2210
- icon: 'echart-category',
2360
+ type: "echart-category",
2361
+ icon: "echart-category",
2211
2362
  commonFlag: !0,
2212
2363
  formItemFlag: false,
2213
2364
  options: {
@@ -2217,42 +2368,50 @@ export const advancedFields = [
2217
2368
  reqSources: [],
2218
2369
  echarCategoryOption: {
2219
2370
  backgroundColor: "#fff",
2220
- color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
2371
+ color: [
2372
+ "#5BC1D7",
2373
+ "#FF8A3D",
2374
+ "#56C271",
2375
+ "#694ED6",
2376
+ "#C033A1",
2377
+ "#FFCC10",
2378
+ ],
2379
+ colors: [],
2221
2380
  title: {
2222
2381
  show: true,
2223
- top: '5px',
2224
- text: '这是折线图标题',
2382
+ top: "5px",
2383
+ text: "这是折线图标题",
2225
2384
  },
2226
2385
  grid: {
2227
- top: '80px',
2228
- left: '3%',
2229
- right: '80',
2230
- bottom: '3%',
2231
- containLabel: true
2386
+ top: "80px",
2387
+ left: "3%",
2388
+ right: "80",
2389
+ bottom: "3%",
2390
+ containLabel: true,
2232
2391
  },
2233
2392
  legend: {
2234
- right: '12px',
2235
- top: '8px',
2393
+ right: "12px",
2394
+ top: "8px",
2236
2395
  itemGap: 24,
2237
2396
  },
2238
2397
  tooltip: {
2239
- trigger: 'axis',
2398
+ trigger: "axis",
2240
2399
  axisPointer: {
2241
- type: 'shadow',
2400
+ type: "shadow",
2242
2401
  label: {
2243
- backgroundColor: '#fff'
2244
- }
2245
- }
2402
+ backgroundColor: "#fff",
2403
+ },
2404
+ },
2246
2405
  },
2247
2406
  xAxis: {
2248
- type: 'category',
2249
- data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
2407
+ type: "category",
2408
+ data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
2250
2409
  show: true,
2251
2410
  name: "X轴",
2252
2411
  boundaryGap: false,
2253
2412
  nameTextStyle: {
2254
2413
  color: "#606266",
2255
- fontSize: 12
2414
+ fontSize: 12,
2256
2415
  },
2257
2416
  axisLabel: {
2258
2417
  color: "#606266",
@@ -2262,24 +2421,24 @@ export const advancedFields = [
2262
2421
  inverse: false,
2263
2422
  axisLine: {
2264
2423
  lineStyle: {
2265
- color: "#E6EBF5"
2266
- }
2424
+ color: "#E6EBF5",
2425
+ },
2267
2426
  },
2268
2427
  splitLine: {
2269
2428
  show: true,
2270
2429
  lineStyle: {
2271
- type: 'dashed',
2272
- color: "#E6EBF595"
2273
- }
2274
- }
2430
+ type: "dashed",
2431
+ color: "#E6EBF595",
2432
+ },
2433
+ },
2275
2434
  },
2276
2435
  yAxis: {
2277
- type: 'value',
2436
+ type: "value",
2278
2437
  show: true,
2279
2438
  name: "Y轴",
2280
2439
  nameTextStyle: {
2281
2440
  color: "#606266",
2282
- fontSize: 12
2441
+ fontSize: 12,
2283
2442
  },
2284
2443
  axisLabel: {
2285
2444
  color: "#606266",
@@ -2290,112 +2449,167 @@ export const advancedFields = [
2290
2449
  axisLine: {
2291
2450
  show: false,
2292
2451
  lineStyle: {
2293
- color: ""
2294
- }
2452
+ color: "",
2453
+ },
2295
2454
  },
2296
2455
  splitLine: {
2297
2456
  show: true,
2298
2457
  lineStyle: {
2299
- color: "#E6EBF5"
2300
- }
2301
- }
2302
- },
2303
- series: [{
2304
- name: "R1",
2305
- data: [220, 282, 111, 234, 220, 340, 310],
2306
- type: 'line',
2307
- stack: 'Total',
2308
- label: {
2309
- show: true,
2310
- fontSize: 12,
2311
- color: "#212121",
2312
- fontWeight: "normal"
2313
- },
2314
- lineStyle: {
2315
- color: {
2316
- type: 'linear',
2317
- x: 0.5,
2318
- y: 0.5,
2319
- r: 0.5,
2320
- colorStops: [{
2321
- offset: 0, color: '#08C084' // 0% 处的颜色
2322
- }, {
2323
- offset: 1, color: '#97EACE' // 100% 处的颜色
2324
- }],
2458
+ color: "#E6EBF5",
2325
2459
  },
2326
- cap: 'round',
2327
- shadowColor: '#08C08450',
2328
- shadowBlur: 4,
2329
- shadowOffsetY: 6
2330
- },
2331
- emphasis: {
2332
- scale: 1,
2333
- focus: 'series'
2334
- },
2335
- showSymbol: false,
2336
- smooth: true,
2337
- }, {
2338
- name: "R2",
2339
- data: [140, 232, 101, 264, 90, 340, 250],
2340
- type: 'line',
2341
- stack: 'Total',
2342
- label: {
2343
- show: true,
2344
- fontSize: 12,
2345
- color: "#212121",
2346
- fontWeight: "normal"
2347
2460
  },
2348
- lineStyle: {
2349
- color: {
2350
- type: 'linear',
2351
- x: 0.5,
2352
- y: 0.5,
2353
- r: 0.5,
2354
- colorStops: [{
2355
- offset: 0, color: '#FF6116' // 0% 处的颜色
2356
- }, {
2357
- offset: 1, color: '#F9A980' // 100% 处的颜色
2358
- }],
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",
2359
2521
  },
2360
- cap: 'round',
2361
- shadowColor: '#FF611650',
2362
- shadowBlur: 4,
2363
- shadowOffsetY: 6
2522
+ showSymbol: false,
2523
+ smooth: true,
2364
2524
  },
2365
- emphasis: {
2366
- scale: 1,
2367
- 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,
2368
2586
  },
2369
- showSymbol: false,
2370
- smooth: true,
2371
- }]
2372
-
2587
+ ],
2373
2588
  },
2374
- echartConfig:'',
2375
- formScriptEnabled: true,
2376
- formScriptCode: "",
2377
- formScriptParam: null,
2589
+ echartConfig: "",
2590
+
2591
+ ...httpConfig,
2592
+
2378
2593
  onClick: "",
2379
2594
  onCreated: "",
2380
2595
  onMounted: "this.loadDataDefaultHandle()",
2381
-
2596
+ ...defaultWfConfig,
2382
2597
  showRuleFlag: 1,
2383
2598
  showRuleEnabled: 1,
2384
- showRules: []
2385
- }
2599
+ showRules: [],
2600
+ },
2386
2601
  },
2387
2602
  {
2388
- type: 'echart',
2389
- icon: 'echart',
2603
+ type: "echart",
2604
+ icon: "echart",
2390
2605
  formItemFlag: false,
2391
2606
  options: {
2392
2607
  name: "",
2393
- echartHeight: '200',
2608
+ echartHeight: "200",
2394
2609
  hidden: !1,
2395
- echarPieOption: {}
2396
- }
2397
- }
2398
- ,
2610
+ echarPieOption: {},
2611
+ },
2612
+ },
2399
2613
  /*{
2400
2614
  type: 'news-list',
2401
2615
  icon: 'news-list',
@@ -2501,6 +2715,7 @@ export const advancedFields = [
2501
2715
  keyName: "",
2502
2716
  keyNameSuffix: "",
2503
2717
  label: "",
2718
+ labelColor: "",
2504
2719
  submitFlag: true,
2505
2720
  disabled: !1,
2506
2721
  hidden: !1,
@@ -2508,87 +2723,75 @@ export const advancedFields = [
2508
2723
  labelWidth: null,
2509
2724
  labelHidden: !0,
2510
2725
  limit: null,
2726
+ hideRemoveButton: false,
2511
2727
  accessType: "1",
2512
2728
  entityTableCode: null,
2513
2729
  entityTableDesc: null,
2514
2730
  onCreated: "this.loadDataDefaultHandle();",
2515
2731
  onMounted: "",
2516
- onAfterConfirmFile:"",
2732
+ onAfterConfirmFile: "",
2517
2733
  vabUpload: 1,
2518
- formScriptEnabled: true,
2734
+
2735
+ ...httpConfig,
2519
2736
  formScriptCode: "getList",
2520
- formScriptParam: null,
2521
- wfFlag: 1,
2522
- wfEdit: false,
2523
- enabledByWf: false,
2524
- hiddenByWf: false,
2525
- wfConfigData: [],
2737
+
2738
+ ...defaultWfConfig,
2526
2739
 
2527
2740
  showRuleFlag: 1,
2528
2741
  showRuleEnabled: 1,
2529
- showRules: []
2530
- }
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
+ },
2531
2756
  },
2532
2757
  {
2533
2758
  type: "vabsearch",
2534
2759
  icon: "searchbox",
2535
2760
  commonFlag: !0,
2761
+ columnFlag: true,
2536
2762
  formItemFlag: !0,
2537
2763
  tableField: null,
2538
2764
  options: {
2539
- name: "",
2540
- keyNameEnabled: !1,
2541
- keyName: "",
2542
- vabSearchName: "",
2543
- label: "",
2544
- submitFlag: true,
2545
- disabled: !1,
2546
- hidden: !1,
2547
- required: !1,
2548
- labelWidth: null,
2549
- labelHidden: !1,
2550
- readonly: true,
2551
- /*formCode: null,
2552
- formName: null,
2553
- formVersion: null,
2554
- showFormField: null,*/
2555
- /* gridConfig: {
2556
- tableColumns: [],
2557
- searchFields: [],
2558
- searchParams: ""
2559
- },*/
2560
- // vabSearchField: null,
2561
- onSearchClear: "",
2562
- dialogModel: '1',
2563
- systemDialogUrl: null,
2564
- accessType: "1",
2565
- onCreated: "",
2566
- onMounted: "",
2567
- onChange: "",
2568
- onAppendButtonClick: "",
2569
- clickBindEvent: '1',
2570
- searchDialogConfig: {
2571
- ...defaultSearchDialogConfig,
2572
- multipleChoices: false
2573
- },
2574
- wfFlag: 1,
2575
- wfEdit: false,
2576
- enabledByWf: false,
2577
- hiddenByWf: false,
2578
- wfConfigData: [],
2579
- valueField: null,
2580
- multipleChoices: false,
2581
-
2582
- showRuleFlag: 1,
2583
- showRuleEnabled: 1,
2584
- showRules: []
2585
-
2586
- }
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
+ },
2587
2789
  },
2588
2790
  {
2589
2791
  type: "search_button",
2590
2792
  icon: "button",
2591
2793
  commonFlag: !0,
2794
+ columnFlag: true,
2592
2795
  formItemFlag: !1,
2593
2796
  options: {
2594
2797
  name: "",
@@ -2609,33 +2812,31 @@ export const advancedFields = [
2609
2812
  },*/
2610
2813
  // vabSearchField: null,
2611
2814
  // onSearchConfirm: "",
2612
- dialogModel: '1',
2815
+ dialogModel: "1",
2613
2816
  systemDialogUrl: null,
2614
2817
  accessType: "1",
2615
2818
  onClick: "",
2616
2819
  onCreated: "",
2617
2820
  onMounted: "",
2618
- clickBindEvent: '1',
2821
+ clickBindEvent: "1",
2822
+ onBeforeClickButton: null,
2619
2823
  searchDialogConfig: {
2620
2824
  ...defaultSearchDialogConfig,
2621
- tableEnabled: true
2825
+ tableEnabled: true,
2622
2826
  },
2623
- wfFlag: 1,
2624
- wfEdit: false,
2625
- enabledByWf: false,
2626
- hiddenByWf: false,
2627
- wfConfigData: [],
2628
-
2827
+ ...defaultWfConfig,
2828
+ ...defaultWidgetShowRuleConfig,
2629
2829
  showRuleFlag: 1,
2630
2830
  showRuleEnabled: 1,
2631
- showRules: []
2632
- }
2831
+ showRules: [],
2832
+ },
2633
2833
  },
2634
2834
  {
2635
2835
  type: "save_button",
2636
2836
  targetType: "button",
2637
2837
  icon: "button",
2638
2838
  commonFlag: !0,
2839
+ columnFlag: true,
2639
2840
  formItemFlag: !1,
2640
2841
  options: {
2641
2842
  name: "",
@@ -2658,19 +2859,17 @@ export const advancedFields = [
2658
2859
  accessType: "1",
2659
2860
  saveButton: true,
2660
2861
  clickBindEvent: null,
2862
+ onBeforeClickButton: null,
2661
2863
  searchDialogConfig: {
2662
- ...defaultSearchDialogConfig
2864
+ ...defaultSearchDialogConfig,
2663
2865
  },
2664
- wfFlag: 1,
2665
- wfEdit: false,
2666
- enabledByWf: false,
2866
+ ...defaultWfConfig,
2867
+ ...defaultWidgetShowRuleConfig,
2667
2868
  hiddenByWf: true,
2668
- wfConfigData: [],
2669
2869
 
2670
2870
  showRuleFlag: 1,
2671
2871
  showRuleEnabled: 1,
2672
- showRules: []
2673
-
2872
+ showRules: [],
2674
2873
  },
2675
2874
  },
2676
2875
  {
@@ -2678,6 +2877,7 @@ export const advancedFields = [
2678
2877
  targetType: "button",
2679
2878
  icon: "button",
2680
2879
  commonFlag: !0,
2880
+ columnFlag: true,
2681
2881
  formItemFlag: !1,
2682
2882
  options: {
2683
2883
  name: "",
@@ -2698,18 +2898,15 @@ export const advancedFields = [
2698
2898
  onClick: "this.getFormRef().$baseReload()",
2699
2899
  accessType: "1",
2700
2900
  clickBindEvent: null,
2901
+ onBeforeClickButton: null,
2701
2902
  searchDialogConfig: {
2702
- ...defaultSearchDialogConfig
2903
+ ...defaultSearchDialogConfig,
2703
2904
  },
2704
- wfFlag: 1,
2705
- wfEdit: false,
2706
- enabledByWf: true,
2707
- hiddenByWf: false,
2708
- wfConfigData: [],
2709
-
2905
+ ...defaultWfConfig,
2906
+ ...defaultWidgetShowRuleConfig,
2710
2907
  showRuleFlag: 1,
2711
2908
  showRuleEnabled: 1,
2712
- showRules: []
2909
+ showRules: [],
2713
2910
  },
2714
2911
  },
2715
2912
  {
@@ -2717,35 +2914,98 @@ export const advancedFields = [
2717
2914
  icon: "list-export",
2718
2915
  formItemFlag: !1,
2719
2916
  commonFlag: !0,
2917
+ columnFlag: true,
2720
2918
  tableField: null,
2721
2919
  options: {
2722
2920
  name: "",
2723
2921
  keyNameEnabled: !1,
2724
2922
  keyName: "",
2923
+ disabled: !1,
2725
2924
  hidden: !1,
2726
2925
  customClass: "",
2727
- exportFileName: '导出',
2728
- tableRef: '',
2926
+ exportFileName: "导出",
2927
+ tableRef: "",
2729
2928
  tableExportParam: "",
2929
+ showImageAtTable: false,
2930
+ tableExportFlag: 1,
2931
+
2730
2932
  onCreated: "",
2731
2933
  onMounted: "",
2732
- wfFlag: 1,
2733
- wfEdit: false,
2734
- enabledByWf: false,
2735
- hiddenByWf: false,
2736
- 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,
2737
2962
 
2963
+ onCreated: "",
2964
+ onMounted: "",
2965
+ ...defaultWfConfig,
2966
+ ...defaultWidgetShowRuleConfig,
2738
2967
  showRuleFlag: 1,
2739
2968
  showRuleEnabled: 1,
2740
- 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,
2741
2993
 
2742
- }
2994
+ onCreated: "",
2995
+ onMounted: "",
2996
+ ...defaultWfConfig,
2997
+ ...defaultWidgetShowRuleConfig,
2998
+ showRuleFlag: 1,
2999
+ showRuleEnabled: 1,
3000
+ showRules: [],
3001
+ },
2743
3002
  },
2744
3003
  {
2745
3004
  type: "add_button",
2746
3005
  targetType: "button",
2747
3006
  icon: "button",
2748
3007
  commonFlag: !0,
3008
+ columnFlag: true,
2749
3009
  formItemFlag: !1,
2750
3010
  options: {
2751
3011
  name: "",
@@ -2765,76 +3025,87 @@ export const advancedFields = [
2765
3025
  onMounted: "",
2766
3026
  onClick: "",
2767
3027
  clickBindEvent: null,
3028
+ onBeforeClickButton: null,
2768
3029
  searchDialogConfig: {
2769
- ...defaultSearchDialogConfig
3030
+ ...defaultSearchDialogConfig,
2770
3031
  },
2771
- wfFlag: 1,
2772
- wfEdit: false,
2773
- enabledByWf: false,
2774
- hiddenByWf: false,
2775
- wfConfigData: [],
2776
-
3032
+ ...defaultWfConfig,
3033
+ hiddenByWf: true,
3034
+ ...defaultWidgetShowRuleConfig,
2777
3035
  showRuleFlag: 1,
2778
3036
  showRuleEnabled: 1,
2779
- showRules: []
3037
+ showRules: [],
2780
3038
  },
2781
3039
  },
2782
3040
  {
2783
- type: "save_button",
2784
- targetType: "button",
3041
+ type: "import-button",
2785
3042
  icon: "button",
2786
3043
  commonFlag: !0,
3044
+ columnFlag: true,
2787
3045
  formItemFlag: !1,
2788
3046
  options: {
2789
3047
  name: "",
2790
- label: "保存",
3048
+ label: "导入",
2791
3049
  columnWidth: "200px",
2792
3050
  size: "",
2793
- displayStyle: "block",
3051
+
3052
+ // displayStyle: "block",
2794
3053
  disabled: !1,
2795
3054
  hidden: !1,
3055
+ buttonTypeFlag: 1,
2796
3056
  type: "primary",
2797
- plain: !1,
3057
+ /*plain: !1,
2798
3058
  round: !1,
2799
3059
  circle: !1,
2800
- icon: "el-icon-check",
3060
+ icon: "el-icon-download",*/
2801
3061
  customClass: "",
2802
3062
  onCreated: "",
2803
3063
  onMounted: "",
2804
- // 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});",
2805
- onClick: "this.saveDefaultHandle();",
2806
- accessType: "1",
2807
- saveButton: true,
2808
- clickBindEvent: null,
3064
+ // clickBindEvent: null,
3065
+ onBeforeClickButton: null,
2809
3066
  searchDialogConfig: {
2810
- ...defaultSearchDialogConfig
3067
+ ...defaultSearchDialogConfig,
2811
3068
  },
2812
- wfFlag: 1,
2813
- wfEdit: false,
2814
- enabledByWf: false,
3069
+ ...defaultWfConfig,
2815
3070
  hiddenByWf: true,
2816
- 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,
2817
3086
 
2818
3087
  showRuleFlag: 1,
2819
3088
  showRuleEnabled: 1,
2820
- showRules: []
2821
-
3089
+ showRules: [],
2822
3090
  },
2823
3091
  },
2824
3092
  {
2825
- type: "import-button",
3093
+ type: "import2-button",
2826
3094
  icon: "button",
2827
3095
  commonFlag: !0,
3096
+ columnFlag: true,
2828
3097
  formItemFlag: !1,
2829
3098
  options: {
2830
3099
  name: "",
2831
- label: "导入",
3100
+ label: "明细导入",
2832
3101
  columnWidth: "200px",
2833
3102
  size: "",
3103
+
2834
3104
  // displayStyle: "block",
2835
3105
  disabled: !1,
2836
3106
  hidden: !1,
2837
- type: "primary",
3107
+ buttonTypeFlag: 1,
3108
+ type: "",
2838
3109
  /*plain: !1,
2839
3110
  round: !1,
2840
3111
  circle: !1,
@@ -2843,29 +3114,34 @@ export const advancedFields = [
2843
3114
  onCreated: "",
2844
3115
  onMounted: "",
2845
3116
  // clickBindEvent: null,
3117
+ onBeforeClickButton: null,
2846
3118
  searchDialogConfig: {
2847
- ...defaultSearchDialogConfig
3119
+ ...defaultSearchDialogConfig,
2848
3120
  },
2849
- wfFlag: 1,
2850
- wfEdit: false,
2851
- enabledByWf: false,
2852
- hiddenByWf: false,
2853
- wfConfigData: [],
2854
- importEntity: '',
2855
- importAttachCode: '',
2856
- importScriptCode: '',
2857
- onBeforeImport: '',
2858
- 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,
2859
3134
 
2860
3135
  showRuleFlag: 1,
2861
3136
  showRuleEnabled: 1,
2862
- showRules: []
3137
+ showRules: [],
2863
3138
  },
2864
3139
  },
2865
3140
  {
2866
3141
  type: "print-button",
2867
3142
  icon: "button",
2868
3143
  commonFlag: !0,
3144
+ columnFlag: true,
2869
3145
  formItemFlag: !1,
2870
3146
  options: {
2871
3147
  name: "",
@@ -2884,61 +3160,102 @@ export const advancedFields = [
2884
3160
  onCreated: "",
2885
3161
  onMounted: "",
2886
3162
  // clickBindEvent: null,
3163
+ onBeforeClickButton: null,
2887
3164
  searchDialogConfig: {
2888
- ...defaultSearchDialogConfig
3165
+ ...defaultSearchDialogConfig,
2889
3166
  },
2890
- wfFlag: 1,
2891
- wfEdit: false,
2892
- enabledByWf: false,
2893
- hiddenByWf: false,
2894
- wfConfigData: [],
3167
+ ...defaultWfConfig,
3168
+ ...defaultWidgetShowRuleConfig,
3169
+
3170
+ // customLabelEnabled: false,
3171
+ printButtonFlag:1,
2895
3172
  printTableRef: "",
2896
3173
  printItems: [],
3174
+ // printCustomCondition: "",
2897
3175
 
2898
3176
  showRuleFlag: 1,
2899
3177
  showRuleEnabled: 1,
2900
- showRules: []
3178
+ showRules: [],
2901
3179
  },
2902
3180
  },
2903
3181
  {
2904
- type: "baseAttachment",
2905
- icon: "file-upload-field",
2906
- formItemFlag: !0,
2907
- tableField: null,
3182
+ type: "print-detail-button",
3183
+ icon: "button",
3184
+ commonFlag: !0,
3185
+ columnFlag: false,
3186
+ formItemFlag: !1,
2908
3187
  options: {
2909
3188
  name: "",
2910
- keyNameEnabled: !1,
2911
- keyName: "",
2912
- keyNameSuffix: "",
2913
- label: "",
2914
- submitFlag: true,
3189
+ label: "导出/打印",
3190
+ columnWidth: "200px",
3191
+ size: "",
3192
+ // displayStyle: "block",
2915
3193
  disabled: !1,
2916
3194
  hidden: !1,
2917
- required: !1,
2918
- labelWidth: null,
2919
- labelHidden: !0,
2920
- limit: null,
2921
- accessType: "1",
2922
- entityTableCode: null,
2923
- entityTableDesc: null,
3195
+ type: "primary",
3196
+ /*plain: !1,
3197
+ round: !1,
3198
+ circle: !1,
3199
+ icon: "el-icon-download",*/
3200
+ customClass: "",
2924
3201
  onCreated: "",
2925
3202
  onMounted: "",
2926
- onAfterConfirmFile:"",
2927
- wfFlag: 1,
2928
- wfEdit: false,
2929
- enabledByWf: false,
2930
- hiddenByWf: false,
2931
- wfConfigData: [],
2932
-
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}",
3215
+
2933
3216
  showRuleFlag: 1,
2934
3217
  showRuleEnabled: 1,
2935
- showRules: []
2936
- }
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
+ },
2937
3253
  },
2938
3254
  {
2939
3255
  type: "status",
2940
3256
  icon: "status",
2941
3257
  commonFlag: !0,
3258
+ columnFlag: true,
2942
3259
  formItemFlag: !0,
2943
3260
  tableField: null,
2944
3261
  options: {
@@ -2946,6 +3263,7 @@ export const advancedFields = [
2946
3263
  keyNameEnabled: !1,
2947
3264
  keyName: "",
2948
3265
  label: "",
3266
+ labelColor: "",
2949
3267
  submitFlag: true,
2950
3268
  disabled: !1,
2951
3269
  hidden: !1,
@@ -2955,146 +3273,637 @@ export const advancedFields = [
2955
3273
  optionItemValueType: 0,
2956
3274
  statusType: "common",
2957
3275
  statusParam: [],
3276
+
3277
+ ...httpConfig,
3278
+ formScriptEnabled:false,
3279
+
2958
3280
  onCreated: "",
2959
3281
  onMounted: "",
3282
+ ...defaultWfConfig,
2960
3283
 
2961
3284
  showRuleFlag: 1,
2962
3285
  showRuleEnabled: 1,
2963
- showRules: []
2964
- }
3286
+ showRules: [],
3287
+ },
2965
3288
  },
2966
3289
  {
2967
- type: 'census',
2968
- icon: 'census',
3290
+ type: "census",
3291
+ icon: "census",
2969
3292
  commonFlag: !0,
2970
3293
  formItemFlag: false,
2971
3294
  options: {
2972
- name: '',
3295
+ name: "",
2973
3296
  keyNameEnabled: !1,
2974
3297
  keyName: "",
2975
- columnWidth: '200px',
3298
+ columnWidth: "200px",
2976
3299
  hidden: false,
2977
- customClass: '', //自定义css类名
2978
- space: '5',
2979
- censusClass: 'form-count',
3300
+ customClass: "", //自定义css类名
3301
+ space: "5",
3302
+ censusClass: "form-count",
2980
3303
  censusItems: [
2981
3304
  {
2982
3305
  number: "1002",
2983
- txt: '总数量',
2984
- detailItems: [{
2985
- txt: '跟进商机',
2986
- number: '26'
2987
- }, {
2988
- txt: '累计商机',
2989
- number: '26'
2990
- }]
3306
+ txt: "总数量",
3307
+ detailItems: [
3308
+ {
3309
+ txt: "跟进商机",
3310
+ number: "26",
3311
+ },
3312
+ {
3313
+ txt: "累计商机",
3314
+ number: "26",
3315
+ },
3316
+ ],
2991
3317
  },
2992
3318
  {
2993
3319
  number: "603",
2994
- txt: '总人数',
3320
+ txt: "总人数",
2995
3321
  detailItems: [],
2996
3322
  },
2997
3323
  {
2998
3324
  number: "5004",
2999
- txt: '总订单',
3000
- detailItems: []
3001
- }
3325
+ txt: "总订单",
3326
+ detailItems: [],
3327
+ },
3002
3328
  ],
3003
- formScriptEnabled: true,
3004
- formScriptCode: "",
3005
- formScriptParam: null,
3329
+
3330
+ ...httpConfig,
3331
+
3006
3332
  onCreated: "",
3007
3333
  onMounted: "",
3008
-
3334
+ onClick: "",
3335
+ ...defaultWfConfig,
3009
3336
  showRuleFlag: 1,
3010
3337
  showRuleEnabled: 1,
3011
- showRules: []
3012
- }
3338
+ showRules: [],
3339
+ },
3013
3340
  },
3341
+
3014
3342
  {
3015
3343
  type: "project-tag",
3016
3344
  icon: "uploadbox",
3017
- // commonFlag: !0,
3345
+ commonFlag: !0,
3346
+ columnFlag: true,
3018
3347
  formItemFlag: !0,
3019
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: [],
3020
3361
  options: {
3021
3362
  name: "",
3022
- keyNameEnabled: !1,
3363
+ keyNameEnabled: !0,
3023
3364
  keyName: "",
3024
- keyNameSuffix: "",
3025
- label: "",
3365
+ hidden: !1,
3366
+ customClass: "",
3367
+ styleTableClass: "",
3368
+ // fullWidth: false,
3026
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,
3027
3391
  disabled: !1,
3028
- 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: "",
3029
3527
  hidden: !1,
3030
3528
  required: !1,
3529
+ customClass: "",
3530
+ defaultValue: "",
3531
+ labelAlign: "",
3031
3532
  labelWidth: null,
3032
3533
  labelHidden: !1,
3033
- onCreated: "if(this.formDataId)this.loadDataDefaultHandle();",
3534
+ onCreated: "",
3034
3535
  onMounted: "",
3035
- vabUpload: 1,
3036
- formScriptEnabled: true,
3037
- formScriptCode: "getList",
3038
- formScriptParam: null,
3039
- wfFlag: 1,
3040
- wfEdit: false,
3041
- enabledByWf: false,
3042
- hiddenByWf: false,
3043
- wfConfigData: [],
3536
+ accessType: "1",
3537
+ labelColor: "",
3538
+ ...defaultWfConfig,
3539
+
3540
+ autoValueEnabled: false,
3541
+ autoValueHanlde: null,
3044
3542
 
3045
3543
  showRuleFlag: 1,
3046
3544
  showRuleEnabled: 1,
3047
- showRules: []
3048
- }
3545
+ showRules: [],
3546
+
3547
+ ...defaultTextFlagConfig,
3548
+ },
3049
3549
  },
3050
3550
  {
3051
- type: "table2",
3052
- category: "container",
3053
- icon: "table",
3551
+ type: "modify_by-text",
3552
+ targetType: "text",
3553
+ icon: "text",
3054
3554
  commonFlag: !0,
3055
3555
  formItemFlag: !0,
3056
- rows: [],
3556
+ columnFlag: true,
3557
+ tableField: null,
3057
3558
  options: {
3058
3559
  name: "",
3059
3560
  keyNameEnabled: !0,
3060
- keyName: "",
3561
+ keyName: "_modifyBy",
3562
+ label: "更新人",
3563
+ submitFlag: true,
3564
+ formField: "",
3061
3565
  hidden: !1,
3566
+ required: !1,
3062
3567
  customClass: "",
3063
- styleTableClass: '',
3064
- // 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: "创建时间",
3065
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: "更新时间",
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,
3066
3722
  formScriptEnabled: true,
3067
- formScriptCode: "",
3068
- formScriptParam: null,
3069
- 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: "",
3070
3772
  onMounted: "",
3773
+ copyButton: true,
3774
+ copyDataHandle: "",
3775
+ ...defaultWfConfig,
3776
+ ...defaultWidgetShowRuleConfig,
3777
+ hiddenByWf: true,
3071
3778
 
3072
3779
  showRuleFlag: 1,
3073
3780
  showRuleEnabled: 1,
3074
- showRules: []
3075
- }
3781
+ showRules: [],
3782
+ },
3076
3783
  },
3077
- ]
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
+ ];
3078
3887
 
3079
3888
  export const keyNamePrefixMap = {
3080
3889
  vabUpload: "attachments_",
3081
- baseAttachment: "attachments_"
3082
- }
3890
+ baseAttachment: "attachments_",
3891
+ };
3083
3892
 
3084
- export const customFields = []
3893
+ export const customFields = [];
3085
3894
 
3086
3895
  export function addContainerWidgetSchema(containerSchema) {
3087
- containers.push(containerSchema)
3896
+ containers.push(containerSchema);
3088
3897
  }
3089
3898
 
3090
3899
  export function addBasicFieldSchema(fieldSchema) {
3091
- basicFields.push(fieldSchema)
3900
+ basicFields.push(fieldSchema);
3092
3901
  }
3093
3902
 
3094
3903
  export function addAdvancedFieldSchema(fieldSchema) {
3095
- advancedFields.push(fieldSchema)
3904
+ advancedFields.push(fieldSchema);
3096
3905
  }
3097
3906
 
3098
3907
  export function addCustomWidgetSchema(widgetSchema) {
3099
- customFields.push(widgetSchema)
3908
+ customFields.push(widgetSchema);
3100
3909
  }