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

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