cloud-web-corejs 1.0.54-dev.58 → 1.0.54-dev.580

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