cloud-web-corejs 1.0.54-dev.54 → 1.0.54-dev.541

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 (427) hide show
  1. package/package.json +21 -3
  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 +2 -1
  8. package/src/components/VabUpload/mixins.js +2 -2
  9. package/src/components/VabUpload/privateProfileDialogMixins.js +1 -1063
  10. package/src/components/VabUpload/propertiesDialog.vue +1 -1
  11. package/src/components/VabUpload/view.vue +209 -120
  12. package/src/components/advancedSearchDialog/mixins.js +1 -1
  13. package/src/components/base-textarea/index.vue +104 -0
  14. package/src/components/baseAlert/mixins.js +1 -1
  15. package/src/components/baseAttachment/index.vue +49 -40
  16. package/src/components/baseAttachment/mixins.js +2 -1
  17. package/src/components/baseInputExport/index.vue +19 -12
  18. package/src/components/baseInputExport/mixins.js +1 -1
  19. package/src/components/baseTabs/mixins.js +1 -1
  20. package/src/components/code-editor/index.vue +102 -63
  21. package/src/components/confirmDialog/index.vue +24 -17
  22. package/src/components/confirmDialog/mixins.js +1 -1
  23. package/src/components/errorMsg/index.vue +42 -34
  24. package/src/components/errorMsg/mixins.js +6 -5
  25. package/src/components/excelExport/button.vue +57 -4
  26. package/src/components/excelExport/exportFieldDialog.vue +215 -81
  27. package/src/components/excelExport/index.js +6 -6
  28. package/src/components/excelExport/index.vue +56 -2
  29. package/src/components/excelExport/mixins.js +3 -2
  30. package/src/components/excelImport/mixins.js +2 -1
  31. package/src/components/fileLibrary/fileObjAuthDialog.vue +179 -89
  32. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +6 -0
  33. package/src/components/fileLibrary/filterDialog.vue +454 -0
  34. package/src/components/fileLibrary/index.vue +599 -254
  35. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  36. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  37. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  38. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +339 -211
  39. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +31 -27
  40. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +4 -4
  41. package/src/components/fileLibrary/mixins/indexMixins.js +220 -101
  42. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +64 -4
  43. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +3 -3
  44. package/src/components/fileLibrary/propertiesDialog.vue +113 -74
  45. package/src/components/fileLibrary/shareDialog.vue +1 -1
  46. package/src/components/formOplog/mixins.js +1 -1
  47. package/src/components/hiprint/css/bootstrap.min.css +6 -0
  48. package/src/components/hiprint/fonts/glyphicons-halflings-regular.eot +0 -0
  49. package/src/components/hiprint/fonts/glyphicons-halflings-regular.svg +288 -0
  50. package/src/components/hiprint/fonts/glyphicons-halflings-regular.ttf +0 -0
  51. package/src/components/hiprint/fonts/glyphicons-halflings-regular.woff +0 -0
  52. package/src/components/hiprint/fonts/glyphicons-halflings-regular.woff2 +0 -0
  53. package/src/components/hiprint/view/design/index.vue +1 -0
  54. package/src/components/jsonImport/index.js +1 -1
  55. package/src/components/jsonImport/mixins.js +2 -1
  56. package/src/components/langImport/mixins.js +17 -16
  57. package/src/components/obsUpload/index.js +1 -0
  58. package/src/components/obsUpload/index.vue +231 -0
  59. package/src/components/obsUpload/mixins.js +8 -0
  60. package/src/components/scriptDescription/button.vue +12 -4
  61. package/src/components/scriptTest/mixins.js +1 -1
  62. package/src/components/statusTag/mixins.js +1 -1
  63. package/src/components/table/CellSlot.vue +1 -0
  64. package/src/components/table/index.js +1055 -11
  65. package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +11028 -0
  66. package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +200 -0
  67. package/src/components/table/tableForm.vue +99 -63
  68. package/src/components/table/tableFormMixin.js +1 -1
  69. package/src/components/table/util/index.js +335 -0
  70. package/src/components/table/vxeFilter/mixin.js +6 -6
  71. package/src/components/tempStorage/index.vue +76 -55
  72. package/src/components/tempStorage/tempStorageDialog.vue +179 -54
  73. package/src/components/univer/button.vue +57 -0
  74. package/src/components/univer/dialog.vue +129 -0
  75. package/src/components/univer/index.js +95 -0
  76. package/src/components/univer/univerSheet.vue +200 -0
  77. package/src/components/vb-tabs/x-tabs.vue +56 -30
  78. package/src/components/wf/addOpinionButton.vue +57 -0
  79. package/src/components/wf/content.vue +834 -362
  80. package/src/components/wf/mixins/addOpinionButton.js +3 -0
  81. package/src/components/wf/mixins/setCandidateButton.js +6 -0
  82. package/src/components/wf/mixins/setCandidateDialog.js +2 -1
  83. package/src/components/wf/mixins/setCandidateDialog2.js +6 -0
  84. package/src/components/wf/mixins/wfFlowEleScriptDialog.js +3 -0
  85. package/src/components/wf/mixins/wfTaskUserRangeDialog.js +3 -0
  86. package/src/components/wf/setCandidateButton.vue +40 -0
  87. package/src/components/wf/setCandidateDialog.vue +10 -0
  88. package/src/components/wf/setCandidateDialog2.vue +105 -0
  89. package/src/components/wf/wf.js +2156 -1
  90. package/src/components/wf/wfFlowEleScriptDialog.vue +89 -0
  91. package/src/components/wf/wfStartDialog.vue +66 -42
  92. package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
  93. package/src/components/wf/wfUtil.js +279 -1
  94. package/src/components/xform/form-designer/designer.js +5 -3
  95. package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +434 -0
  96. package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -3
  97. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +9 -8
  98. package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -1
  99. package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
  100. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +971 -0
  101. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +971 -0
  102. package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
  103. package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
  104. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +82 -49
  105. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
  106. package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +799 -0
  107. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +38 -7
  108. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +1639 -0
  109. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +9 -8
  110. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +196 -73
  111. package/src/components/xform/form-designer/form-widget/dialog/univerDialog.vue +200 -0
  112. package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +2 -2
  113. package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
  114. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
  115. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  116. package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +19 -1
  117. package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +40 -28
  118. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +18 -7
  119. package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +4 -1
  120. package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +95 -0
  121. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +14 -2
  122. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +30 -4
  123. package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +133 -0
  124. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
  125. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
  126. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  127. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  128. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  129. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1654 -16
  130. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +705 -379
  131. package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +964 -0
  132. package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
  133. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +22 -11
  134. package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +90 -0
  135. package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +7 -2
  136. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
  137. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
  138. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
  139. package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +179 -0
  140. package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
  141. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +114 -81
  142. package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +186 -0
  143. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +54 -27
  144. package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +120 -0
  145. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +154 -47
  146. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +26 -6
  147. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
  148. package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
  149. package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +92 -0
  150. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +24 -9
  151. package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
  152. package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
  153. package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +12 -1
  154. package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +8 -3
  155. package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +31 -17
  156. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +42 -37
  157. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +147 -0
  158. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +106 -33
  159. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
  160. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +3 -171
  161. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +260 -58
  162. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +753 -0
  163. package/src/components/xform/form-designer/indexMixin.js +3 -772
  164. package/src/components/xform/form-designer/setting-panel/form-setting.vue +978 -169
  165. package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
  166. package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
  167. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +537 -302
  168. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
  169. package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
  170. package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
  171. package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
  172. package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
  173. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  174. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +125 -0
  175. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +953 -1042
  176. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +432 -0
  177. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  178. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1127 -512
  179. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
  180. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
  181. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
  182. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
  183. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
  184. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
  185. package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +31 -2
  186. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
  187. package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +32 -0
  188. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  189. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  190. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +14 -7
  191. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
  192. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
  193. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  194. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
  195. package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
  196. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  197. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  198. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  199. package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +36 -0
  200. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +77 -20
  201. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -0
  202. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +44 -15
  203. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -0
  204. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  205. package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/preWrap-editor.vue +23 -0
  206. package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/textContent-editor.vue +1 -1
  207. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
  208. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
  209. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +71 -0
  210. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  211. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
  212. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +33 -1
  213. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +66 -0
  214. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +89 -19
  215. package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +137 -0
  216. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
  217. package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
  218. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
  219. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
  220. package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
  221. package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
  222. package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
  223. package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  224. package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +124 -50
  225. package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +31 -0
  226. package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
  227. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +349 -0
  228. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
  229. package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
  230. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  231. package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +42 -0
  232. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
  233. package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
  234. package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
  235. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +372 -50
  236. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
  237. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +35 -11
  238. package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
  239. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  240. package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
  241. package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -18
  242. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1710 -917
  243. package/src/components/xform/form-render/container-item/containerItemMixin.js +12 -11
  244. package/src/components/xform/form-render/container-item/data-table-item.vue +202 -199
  245. package/src/components/xform/form-render/container-item/data-table-mixin.js +3048 -18
  246. package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
  247. package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
  248. package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
  249. package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
  250. package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
  251. package/src/components/xform/form-render/container-item/tab-item.vue +62 -25
  252. package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
  253. package/src/components/xform/form-render/container-item/table-item.vue +4 -2
  254. package/src/components/xform/form-render/container-item/table2-cell-item.vue +53 -34
  255. package/src/components/xform/form-render/container-item/table2-item.vue +141 -88
  256. package/src/components/xform/form-render/container-item/tree-item.vue +32 -11
  257. package/src/components/xform/form-render/index.vue +83 -20
  258. package/src/components/xform/form-render/indexMixin.js +3700 -12
  259. package/src/components/xform/lang/zh-CN.js +29 -4
  260. package/src/components/xform/mixins/defaultHandle.js +1 -1
  261. package/src/components/xform/mixins/scriptHttp.js +174 -1
  262. package/src/components/xform/utils/emitter.js +4 -4
  263. package/src/components/xform/utils/format.js +35 -34
  264. package/src/components/xform/utils/formula-util copy 2.js +945 -0
  265. package/src/components/xform/utils/formula-util copy.js +856 -0
  266. package/src/components/xform/utils/formula-util.js +966 -0
  267. package/src/components/xform/utils/util.js +1 -1
  268. package/src/components/xform/utils/validators.js +1 -5
  269. package/src/components/xform/utils/vue2js-generator.js +2 -2
  270. package/src/index.js +215 -190
  271. package/src/lang/index.js +56 -51
  272. package/src/lang/locale/en/login.js +20 -0
  273. package/src/lang/locale/zh/login.js +20 -0
  274. package/src/layout/components/AppMain.vue +5 -1
  275. package/src/layout/components/Sidebar/default.vue +1423 -1222
  276. package/src/layout/components/TagsView/index.vue +37 -12
  277. package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
  278. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  279. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  280. package/src/layout/components/extractedCode/viewDialog.vue +193 -0
  281. package/src/layout/components/watermark/index.vue +83 -0
  282. package/src/layout/defaultLayout.vue +1 -1
  283. package/src/layout/index.vue +3 -5
  284. package/src/mixins/selectDialog/index.js +1 -1
  285. package/src/mixins/table/index.js +151 -0
  286. package/src/mixins/tableTree/index.js +1 -1
  287. package/src/permission.js +1 -18
  288. package/src/router/modules/customer.js +125 -8
  289. package/src/store/config/index.js +1 -1
  290. package/src/store/getters.js +3 -1
  291. package/src/store/modules/permission.js +1 -1
  292. package/src/store/modules/settings.js +1 -1
  293. package/src/store/modules/tagsView.js +1 -14
  294. package/src/store/modules/user.js +1 -29
  295. package/src/utils/index.js +1 -7
  296. package/src/utils/pddLog.js +103 -0
  297. package/src/utils/pdfUtil.js +71 -0
  298. package/src/utils/request.js +1 -1
  299. package/src/utils/vab.js +19 -27
  300. package/src/views/bd/setting/bd_attach_setting/edit.vue +5 -5
  301. package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
  302. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
  303. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
  304. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
  305. package/src/views/bd/setting/bd_company_env/edit.vue +193 -0
  306. package/src/views/bd/setting/bd_company_env/list.vue +175 -0
  307. package/src/views/bd/setting/config_manage/list.vue +83 -0
  308. package/src/views/bd/setting/form_import_log/edit.vue +127 -0
  309. package/src/views/bd/setting/form_import_log/list.vue +206 -0
  310. package/src/views/bd/setting/form_script/edit.vue +9 -0
  311. package/src/views/bd/setting/form_script/edit1.vue +36 -3
  312. package/src/views/bd/setting/form_script/form_list.vue +99 -37
  313. package/src/views/bd/setting/form_script/list1.vue +181 -118
  314. package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
  315. package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
  316. package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
  317. package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
  318. package/src/views/bd/setting/form_script/mixins/list.js +236 -1
  319. package/src/views/bd/setting/form_script/mixins/list1.js +423 -14
  320. package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
  321. package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
  322. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +2 -2
  323. package/src/views/bd/setting/form_template/edit.vue +22 -1
  324. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  325. package/src/views/bd/setting/form_template/list.vue +326 -214
  326. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +11 -9
  327. package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
  328. package/src/views/bd/setting/form_template/mixins/list.js +689 -22
  329. package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
  330. package/src/views/bd/setting/form_template/mixins/wf_list.js +1 -423
  331. package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
  332. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +4 -4
  333. package/src/views/bd/setting/form_template/wf_list.vue +1 -1
  334. package/src/views/bd/setting/logic_param/edit.vue +146 -0
  335. package/src/views/bd/setting/logic_param/edit1.vue +106 -0
  336. package/src/views/bd/setting/logic_param/edit2.vue +139 -0
  337. package/src/views/bd/setting/logic_param/list.vue +74 -0
  338. package/src/views/bd/setting/logic_param/list1.vue +12 -0
  339. package/src/views/bd/setting/logic_param/list2.vue +12 -0
  340. package/src/views/bd/setting/logic_param/mixins/edit.js +3 -0
  341. package/src/views/bd/setting/logic_param/mixins/list.js +9 -0
  342. package/src/views/bd/setting/menu_kind/list.vue +172 -83
  343. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
  344. package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
  345. package/src/views/bd/setting/push_data/edit.vue +139 -0
  346. package/src/views/bd/setting/push_data/list.vue +283 -0
  347. package/src/views/bd/setting/push_data_h/edit.vue +153 -0
  348. package/src/views/bd/setting/push_data_h/list.vue +293 -0
  349. package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
  350. package/src/views/bd/setting/request_async_setting/list.vue +372 -0
  351. package/src/views/bd/setting/request_setting/edit.vue +300 -0
  352. package/src/views/bd/setting/request_setting/list.vue +311 -0
  353. package/src/views/bd/setting/table_model/edit.vue +875 -426
  354. package/src/views/bd/setting/table_model/list.vue +190 -128
  355. package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
  356. package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
  357. package/src/views/bd/setting/table_model/mixins/list.js +440 -14
  358. package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
  359. package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
  360. package/src/views/user/access_log/list.vue +418 -349
  361. package/src/views/user/area/dialog.vue +223 -117
  362. package/src/views/user/area/list.vue +318 -0
  363. package/src/views/user/bill_setting/edit.vue +1 -1
  364. package/src/views/user/bill_setting/list.vue +1 -1
  365. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  366. package/src/views/user/common_attribute/list.vue +5 -2
  367. package/src/views/user/common_script/edit.vue +1 -1
  368. package/src/views/user/common_script/list.vue +1 -1
  369. package/src/views/user/company_info/dialog.vue +195 -163
  370. package/src/views/user/company_info/edit.vue +1 -1
  371. package/src/views/user/extend_datasource/dialog.vue +4 -0
  372. package/src/views/user/extend_datasource/edit.vue +5 -1
  373. package/src/views/user/extend_datasource/list.vue +5 -1
  374. package/src/views/user/fieldTranslation/editDialog.vue +7 -7
  375. package/src/views/user/fieldTranslation/list.vue +32 -32
  376. package/src/views/user/form/vform/designer.vue +776 -749
  377. package/src/views/user/form/vform/out_render.vue +1 -1
  378. package/src/views/user/form/vform/render.vue +59 -37
  379. package/src/views/user/form/view/edit.vue +38 -37
  380. package/src/views/user/form/view/list.vue +261 -49
  381. package/src/views/user/home/bears/index.vue +1032 -0
  382. package/src/views/user/home/default.vue +1026 -979
  383. package/src/views/user/home/dev.vue +29 -0
  384. package/src/views/user/home/index.vue +16 -6
  385. package/src/views/user/home/taili/index.vue +1034 -0
  386. package/src/views/user/ledger_library/list.vue +10 -12
  387. package/src/views/user/login/default.vue +165 -36
  388. package/src/views/user/login/index.vue +4 -6
  389. package/src/views/user/login/indexMixin.js +184 -8
  390. package/src/views/user/menu/list.vue +24 -1
  391. package/src/views/user/notify_message/dialog.vue +44 -22
  392. package/src/views/user/notify_template/edit.vue +188 -187
  393. package/src/views/user/notify_template/edit2.vue +176 -0
  394. package/src/views/user/notify_template/list.vue +4 -1
  395. package/src/views/user/notify_template/list2.vue +190 -0
  396. package/src/views/user/outLink/form_view.vue +211 -184
  397. package/src/views/user/outLink/index.vue +67 -11
  398. package/src/views/user/outLink/view.vue +28 -23
  399. package/src/views/user/position/list.vue +128 -72
  400. package/src/views/user/project_tag/dialog.vue +9 -4
  401. package/src/views/user/project_tag/edit.vue +2 -2
  402. package/src/views/user/project_tag/list.vue +9 -4
  403. package/src/views/user/push_setting/list.vue +2 -2
  404. package/src/views/user/request_setting/edit.vue +258 -0
  405. package/src/views/user/request_setting/list.vue +248 -0
  406. package/src/views/user/role/authConfig.vue +89 -0
  407. package/src/views/user/role/dialog.vue +70 -48
  408. package/src/views/user/role/edit.vue +609 -429
  409. package/src/views/user/role/list.vue +4 -4
  410. package/src/views/user/sale_org/dialog.vue +1 -1
  411. package/src/views/user/sale_org/list.vue +4 -1
  412. package/src/views/user/user/dialog.vue +46 -23
  413. package/src/views/user/user/edit.vue +1290 -1021
  414. package/src/views/user/user/form_dialog.vue +158 -0
  415. package/src/views/user/user/form_info.vue +210 -0
  416. package/src/views/user/user/list.vue +652 -563
  417. package/src/views/user/user/modifyPasswordDialog.vue +64 -53
  418. package/src/views/user/wf/wfReport/index.vue +619 -0
  419. package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
  420. package/src/views/user/wf/wf_manage/list.vue +379 -250
  421. package/src/views/user/wf/wf_manage/wfContentDialog.vue +25 -22
  422. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
  423. package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
  424. package/src/views/user/wf/wf_obj_config/list.vue +114 -9
  425. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
  426. package/src/views/user/wf/wf_transfer_setting/edit.vue +282 -0
  427. package/src/views/user/wf/wf_transfer_setting/list.vue +319 -0
@@ -0,0 +1,619 @@
1
+ <template>
2
+ <div id="containt">
3
+ <div class="filter-btns">
4
+ <el-select
5
+ class="f-btn"
6
+ v-model="formData.dateRange"
7
+ @change="handleSelectChange"
8
+ clearable
9
+ style="width: 128px !important"
10
+ >
11
+ <el-option :label="$t1('本日')" :value="1"></el-option>
12
+ <el-option :label="$t1('本周')" :value="2"></el-option>
13
+ <el-option :label="$t1('本月')" :value="3"></el-option>
14
+ <el-option :label="$t1('本年')" :value="4"></el-option>
15
+ </el-select>
16
+ <el-select
17
+ class="f-btn"
18
+ v-model="formData.stat"
19
+ :placeholder="$t1('全部状态')"
20
+ clearable
21
+ @clear="formData.stat = null"
22
+ @change="handleSelectChange"
23
+ style="width: 128px !important"
24
+ >
25
+ <el-option :label="$t1('审核中')" :value="1"></el-option>
26
+ <el-option :label="$t1('已完成')" :value="2"></el-option>
27
+ <el-option :label="$t1('已驳回')" :value="3"></el-option>
28
+ </el-select>
29
+ <el-select
30
+ class="f-btn"
31
+ v-model="formData.objTypeCode"
32
+ :placeholder="$t1('流程类型')"
33
+ clearable
34
+ @change="handleSelectChange"
35
+ style="width: 128px !important"
36
+ >
37
+ <el-option
38
+ v-for="(item, index) in objTypeList"
39
+ :key="index"
40
+ :label="item.objTypeName"
41
+ :value="item.objTypeCode"
42
+ ></el-option>
43
+ </el-select>
44
+ <el-input
45
+ v-model="formData.name"
46
+ :placeholder="$t1('流程主题')"
47
+ style="width: 128px !important"
48
+ ></el-input>
49
+ <span class="button-sty">
50
+ <el-date-picker
51
+ v-model="formData.startStartTime"
52
+ type="date"
53
+ :placeholder="$t1('启动时间(开始)')"
54
+ size="small"
55
+ clearable
56
+ value-format="yyyy-MM-dd"
57
+ :picker-options="$baseStartPickerOptions(formData.endStartTime)"
58
+ style="width: 128px !important"
59
+ ></el-date-picker>
60
+ <span>-</span>
61
+ <el-date-picker
62
+ v-model="formData.endStartTime"
63
+ type="date"
64
+ :placeholder="$t1('启动时间(结束)')"
65
+ size="small"
66
+ clearable
67
+ value-format="yyyy-MM-dd"
68
+ :picker-options="$baseEndPickerOptions(formData.startStartTime)"
69
+ style="width: 128px !important"
70
+ ></el-date-picker>
71
+ </span>
72
+ <span class="button-sty">
73
+ <el-date-picker
74
+ v-model="formData.startEndTime"
75
+ type="date"
76
+ :placeholder="$t1('结束时间(开始)')"
77
+ size="small"
78
+ clearable
79
+ value-format="yyyy-MM-dd"
80
+ :picker-options="$baseStartPickerOptions(formData.endEndTime)"
81
+ style="width: 128px !important"
82
+ ></el-date-picker>
83
+ <span>-</span>
84
+ <el-date-picker
85
+ v-model="formData.endEndTime"
86
+ type="date"
87
+ :placeholder="$t1('结束时间(结束)')"
88
+ size="small"
89
+ clearable
90
+ value-format="yyyy-MM-dd"
91
+ :picker-options="$baseEndPickerOptions(formData.startEndTime)"
92
+ style="width: 128px !important"
93
+ ></el-date-picker>
94
+ </span>
95
+ <el-button
96
+ type="primary"
97
+ plain
98
+ class="button-sty"
99
+ @click="resetEvent"
100
+ icon="el-icon-brush"
101
+ >
102
+ {{ $t1("重置") }}
103
+ </el-button>
104
+ <el-button
105
+ type="warning"
106
+ size="small"
107
+ class="button-sty"
108
+ icon="el-icon-search"
109
+ @click="handleSelectChange"
110
+ >{{ $t1("搜索") }}
111
+ </el-button>
112
+ </div>
113
+ <div class="sum-statistics">
114
+ <div class="item">
115
+ <p>总流程数</p>
116
+ <b>{{ countData.total || 0 }}</b>
117
+ <!-- <p class="f-gray">较上月增长 12%</p> -->
118
+ <i class="ico iconfont icon-liuchengshu"></i>
119
+ </div>
120
+ <div class="item">
121
+ <p>快速处理</p>
122
+ <b>{{ countData.count_1 || 0 }}</b>
123
+ <p class="f-gray"><1天完成</p>
124
+ <i class="ico iconfont icon-kuaisuchuli"></i>
125
+ </div>
126
+ <div class="item">
127
+ <p>正常处理</p>
128
+ <b>{{ countData.count_1_3 || 0 }}</b>
129
+ <p class="f-gray">1-3天完成</p>
130
+ <i class="ico iconfont icon-zhengchangchuli"></i>
131
+ </div>
132
+ <div class="item">
133
+ <p>缓慢处理</p>
134
+ <b>{{ countData.count_3_7 || 0 }}</b>
135
+ <p class="f-gray">3-7天完成</p>
136
+ <i class="ico iconfont icon-huanmanchuli"></i>
137
+ </div>
138
+ <div class="item">
139
+ <p>超时处理</p>
140
+ <b>{{ countData.count_7 || 0 }}</b>
141
+ <p class="f-gray">>7天完成</p>
142
+ <i class="ico iconfont icon-chaoshichuli"></i>
143
+ </div>
144
+ </div>
145
+ <el-row style="margin: 0 -5px">
146
+ <el-col :span="16">
147
+ <el-card class="box-style1">
148
+ <div slot="header" class="clearfix">
149
+ <span>流程详情列表</span>
150
+ </div>
151
+ <div style="height: 100%">
152
+ <vxe-grid ref="table-m1" v-bind="vxeOption" :data="tableData">
153
+ <template #form>
154
+ <div class="clearfix screen-btns">
155
+ <div class="fl">
156
+ <base-table-export
157
+ :option="{
158
+ title: $t1('流程处理耗用时间查询'),
159
+ targetRef: 'table-m1',
160
+ }"
161
+ :parent-target="_self"
162
+ />
163
+ </div>
164
+ <div class="fr">
165
+ <!-- <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
166
+ plain>{{ $t1('重置') }}
167
+ </vxe-button>
168
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
169
+ {{ $t1('搜索') }}
170
+ </vxe-button> -->
171
+ </div>
172
+ </div>
173
+ </template>
174
+ </vxe-grid>
175
+ </div>
176
+ </el-card>
177
+ </el-col>
178
+ <el-col :span="8">
179
+ <el-card class="box-style1">
180
+ <div slot="header" class="clearfix">
181
+ <span>节点详情</span>
182
+ </div>
183
+ <div class="node-box">
184
+ <div class="info" v-if="currentRow.name">
185
+ <p class="tit">{{ currentRow.name }}</p>
186
+ <p>总耗时: {{ currentRow.duration }}</p>
187
+ <el-tag type="warning" v-if="currentRow.stat === 1">{{
188
+ $t2("审核中", "components.wf.wfStatus1")
189
+ }}</el-tag>
190
+ <el-tag type="success" v-if="currentRow.stat === 2">{{
191
+ $t2("已完成", "components.wf.wfStatus3")
192
+ }}</el-tag>
193
+ <el-tag type="danger" v-if="currentRow.stat === 3">{{
194
+ $t2("已驳回", "components.wf.wfStatus2")
195
+ }}</el-tag>
196
+ </div>
197
+ <el-steps direction="vertical" :active="1" class="step-box3">
198
+ <el-step v-for="(row, index) in nodeList" :key="index">
199
+ <div slot="title">
200
+ <div class="name">{{ row.task_name }}</div>
201
+ <div class="a-time">耗时: {{ row.duration }}</div>
202
+ </div>
203
+ <div slot="description">
204
+ <p>
205
+ <span class="use">{{ row.candidate_names }}</span>
206
+ <span class="time">{{ row.approve_time }}</span>
207
+ </p>
208
+ <p v-if="taskStatuses[row.type]" :class="taskStatuses[row.type].class">
209
+ {{ taskStatuses[row.type].value }}
210
+ </p>
211
+ <p v-if="row.opinion">审批意见:{{ row.opinion }}</p>
212
+ </div>
213
+ </el-step>
214
+ </el-steps>
215
+ </div>
216
+ </el-card>
217
+ </el-col>
218
+ </el-row>
219
+ <wfContentDialog
220
+ v-if="showWfDialog"
221
+ :visible.sync="showWfDialog"
222
+ :option.sync="wfContentOption"
223
+ ></wfContentDialog>
224
+ </div>
225
+ </template>
226
+
227
+ <script>
228
+ import scriptHttpMixin from "@base/components/xform/mixins/scriptHttp";
229
+ import wfContentDialog from "@base/views/user/wf/wf_manage/wfContentDialog";
230
+ export default {
231
+ name: "wf_report:index",
232
+ mixins: [scriptHttpMixin],
233
+ components: {
234
+ wfContentDialog,
235
+ },
236
+ data() {
237
+ return {
238
+ vxeOption: {},
239
+ serviceName: "sf-cloud-user",
240
+ tableData: [],
241
+ countData: {},
242
+ currentRow: {},
243
+ nodeList: [],
244
+
245
+ taskStatuses: {
246
+ start: {
247
+ class: "f-blue",
248
+ value: this.$t2("开始", "components.wf.startStatus"),
249
+ },
250
+ approve: {
251
+ class: "f-orgn",
252
+ value: this.$t2("待审批", "components.wf.approveStatus"),
253
+ },
254
+ submit: {
255
+ class: "f-green",
256
+ value: this.$t2("同意", "components.wf.submitStatus"),
257
+ },
258
+ reject: {
259
+ class: "f-red",
260
+ value: this.$t2("驳回", "components.wf.rejectStatus"),
261
+ },
262
+ transfer: {
263
+ class: "f-green",
264
+ value: this.$t2("转办", "components.wf.transferStatus"),
265
+ },
266
+ addIncreaseSign: {
267
+ class: "f-green",
268
+ value: this.$t2("加签", "components.wf.addIncreaseSignStatus"),
269
+ },
270
+ revoke: {
271
+ class: "f-red",
272
+ value: this.$t2("撤回", "components.wf.revokeStatus"),
273
+ },
274
+ end: {
275
+ class: "f-gray",
276
+ value: this.$t2("结束", "components.wf.endStatus"),
277
+ },
278
+ },
279
+ formData: {
280
+ dateRange: 3,
281
+ stat: null,
282
+ },
283
+ objTypeList: [],
284
+
285
+ showWfDialog: false,
286
+ wfContentOption: {},
287
+ };
288
+ },
289
+ mounted() {
290
+ this.initObjTypeList();
291
+ this.initTableList();
292
+ this.loadWfSummaryCount();
293
+ },
294
+ methods: {
295
+ openWfDialog(row) {
296
+ this.wfContentOption = {
297
+ objId: row.obj_id,
298
+ url: row.url,
299
+ objTypeCode: row.obj_type_code,
300
+ formCode: row.formCode,
301
+ };
302
+ this.showWfDialog = true;
303
+ },
304
+ searchEvent() {
305
+ this.$refs["table-m1"].commitProxy("reload");
306
+ },
307
+ resetEvent() {
308
+ this.formData = {};
309
+ this.$refs["table-m1"].commitProxy("reload");
310
+ },
311
+ initTableList() {
312
+ let that = this;
313
+ let formCode = this.$route.query.formCode;
314
+ let tableOption = {
315
+ vue: this,
316
+ tableRef: "table-m1",
317
+ tableName: "user-wf-report-index-m1",
318
+ path: `/${this.serviceName}/bd_api/intf/wfSummaryList`,
319
+ param: () => {
320
+ return {
321
+ ...this.formData,
322
+ };
323
+ },
324
+ columns: [
325
+ { type: "checkbox", width: 48, resizable: false, fixed: "left" },
326
+ {
327
+ field: "obj_type_name",
328
+ title: this.$t1("流程类型"),
329
+ width: 150,
330
+ fixed: "left",
331
+ },
332
+ { field: "name", title: this.$t1("流程主题"), width: 180 },
333
+ {
334
+ field: "stat",
335
+ title: "状态",
336
+ width: 150,
337
+ slots: {
338
+ default: ({ row }) => {
339
+ if (row.stat === 1) {
340
+ return [
341
+ <el-tag type="warning">
342
+ {this.$t2("审核中", "components.wf.wfStatus1")}
343
+ </el-tag>,
344
+ ];
345
+ } else if (row.stat === 2) {
346
+ return [
347
+ <el-tag type="success">
348
+ {this.$t2("已完成", "components.wf.wfStatus2")}
349
+ </el-tag>,
350
+ ];
351
+ } else if (row.stat === 3) {
352
+ return [
353
+ <el-tag type="info">
354
+ {this.$t2("已驳回", "components.wf.wfStatus3")}
355
+ </el-tag>,
356
+ ];
357
+ }
358
+ },
359
+ },
360
+ },
361
+ { field: "task_name", title: this.$t1("当前节点"), width: 180 },
362
+ {
363
+ field: "candidate_names",
364
+ title: this.$t1("当前处理人"),
365
+ width: 180,
366
+ slots: {
367
+ default: ({ row }) => {
368
+ return [
369
+ <div class="txt-mid">
370
+ <i class="iconfont icon-dangqianchuliren"></i>
371
+ <sapn>{row.candidate_names}</sapn>
372
+ </div>,
373
+ ];
374
+ },
375
+ },
376
+ },
377
+ { field: "start_time", title: this.$t1("启动时间"), width: 150 },
378
+ { field: "end_time", title: this.$t1("结束时间"), width: 150 },
379
+ {
380
+ field: "duration",
381
+ title: this.$t1("总耗时"),
382
+ width: 180,
383
+ slots: {
384
+ default: ({ row }) => {
385
+ return [
386
+ <div class="txt-mid">
387
+ <i class="iconfont icon-shijian"></i>
388
+ <sapn> {row.duration}</sapn>
389
+ </div>,
390
+ ];
391
+ },
392
+ },
393
+ },
394
+ {
395
+ field: "task_duration",
396
+ title: this.$t1("当前节点耗时"),
397
+ width: 180,
398
+ slots: {
399
+ default: ({ row }) => {
400
+ return [
401
+ <div class="txt-mid">
402
+ <i class="iconfont icon-shijian"></i>
403
+ <sapn> {row.task_duration}</sapn>
404
+ </div>,
405
+ ];
406
+ },
407
+ },
408
+ },
409
+ { field: "approver_num", title: this.$t1("审批总人数"), width: 180 },
410
+ { field: "node_num", title: this.$t1("审批节点数量"), width: 180 },
411
+ {
412
+ width: 90,
413
+ fixed: "right",
414
+ title: "",
415
+ sortable: false,
416
+ slots: {
417
+ default: ({ row }) => {
418
+ return [
419
+ <a
420
+ href="javascript:void(0);"
421
+ class="a-link"
422
+ onclick={() => {
423
+ this.loadWfSummaryNode(row);
424
+ }}
425
+ >
426
+ <el-tooltip
427
+ enterable={false}
428
+ effect="dark"
429
+ content={this.$t1("查看详情")}
430
+ placement="top"
431
+ popper-class="tooltip-skin"
432
+ >
433
+ <i class="iconfont icon-dianji" />
434
+ </el-tooltip>
435
+ </a>,
436
+ <a
437
+ href="javascript:void(0);"
438
+ class="a-link"
439
+ onclick={() => {
440
+ this.openWfDialog(row);
441
+ }}
442
+ >
443
+ <el-tooltip
444
+ enterable={false}
445
+ effect="dark"
446
+ content={this.$t1("查看单据")}
447
+ placement="top"
448
+ popper-class="tooltip-skin"
449
+ >
450
+ <i class="el-icon-edit" />
451
+ </el-tooltip>
452
+ </a>,
453
+ ];
454
+ },
455
+ },
456
+ },
457
+ ],
458
+ };
459
+ this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
460
+ this.vxeOption = opts;
461
+ });
462
+ },
463
+ loadWfSummaryCount() {
464
+ this.$http({
465
+ url: `/${this.serviceName}/bd_api/intf/wfSummaryCount`,
466
+ method: "post",
467
+ data: {
468
+ ...this.formData,
469
+ },
470
+ success: (res) => {
471
+ this.countData = res.objx || {};
472
+ },
473
+ });
474
+ },
475
+ loadWfSummaryNode(row) {
476
+ this.$http({
477
+ url: `/${this.serviceName}/bd_api/intf/wfSummaryNode`,
478
+ method: "post",
479
+ data: {
480
+ proc_inst_id: row.proc_inst_id,
481
+ },
482
+ success: (res) => {
483
+ this.currentRow = row;
484
+ this.nodeList = res.objx || [];
485
+ },
486
+ });
487
+ },
488
+ clearWfSummaryNode() {
489
+ this.currentRow = {};
490
+ this.nodeList = [];
491
+ },
492
+ handleSelectChange() {
493
+ if (this.formData.dateRange === "") {
494
+ this.formData.dateRange = null;
495
+ }
496
+ if (this.formData.stat === "") {
497
+ this.formData.stat = null;
498
+ }
499
+ this.loadWfSummaryCount();
500
+ this.searchEvent();
501
+ this.clearWfSummaryNode();
502
+ },
503
+ initObjTypeList() {
504
+ this.$http({
505
+ url: `/${this.serviceName}/wf_info/listGroupPage`,
506
+ method: "post",
507
+ data: {
508
+ type: 99,
509
+ },
510
+ success: (res) => {
511
+ this.objTypeList = res?.objx?.records || [];
512
+ },
513
+ });
514
+ },
515
+ },
516
+ };
517
+ </script>
518
+ <style scoped lang="scss">
519
+ #containt {
520
+ background: none;
521
+ padding: 10px 0 0;
522
+ box-shadow: none;
523
+ }
524
+ .filter-btns {
525
+ .f-btn {
526
+ margin-right: 25px;
527
+ }
528
+ }
529
+ .sum-statistics {
530
+ display: flex;
531
+ margin: 10px -5px 0;
532
+ .item {
533
+ flex: 1;
534
+ background: #fff;
535
+ border: solid 1px #e9e9e9;
536
+ border-radius: 6px;
537
+ margin: 0 5px;
538
+ padding: 10px 14px 8px;
539
+ font-size: 12px;
540
+ position: relative;
541
+ .ico {
542
+ position: absolute;
543
+ top: 50%;
544
+ right: 18px;
545
+ width: 34px;
546
+ height: 34px;
547
+ margin-top: -17px;
548
+ border-radius: 6px;
549
+ text-align: center;
550
+ line-height: 35px;
551
+ font-size: 16;
552
+ background: #eff6ff;
553
+ color: #2f6ffc;
554
+ }
555
+ p {
556
+ margin-bottom: 0;
557
+ }
558
+ > b {
559
+ font-size: 26px;
560
+ margin: 8px 0 3px;
561
+ display: inline-block;
562
+ font-weight: 400;
563
+ }
564
+ &:nth-child(2) .ico {
565
+ background: #faf5ff;
566
+ color: #ab3dfa;
567
+ }
568
+ &:nth-child(3) .ico {
569
+ background: #f0fdf4;
570
+ color: #0aa945;
571
+ }
572
+ &:nth-child(4) .ico {
573
+ background: #fff7ed;
574
+ color: #f5520b;
575
+ }
576
+ &:nth-child(5) .ico {
577
+ background: #fef2f2;
578
+ color: #e70a15;
579
+ }
580
+ }
581
+ }
582
+ ::v-deep .box-style1 {
583
+ margin: 10px 5px 0;
584
+ .el-card__body {
585
+ height: calc(100vh - 254px);
586
+ }
587
+ }
588
+ .node-box {
589
+ .info {
590
+ border: solid 1px #e6ebf5;
591
+ background: #f6faff;
592
+ border-radius: 4px;
593
+ padding: 10px 14px;
594
+ position: relative;
595
+ font-size: 12px;
596
+ color: #666666;
597
+ margin-bottom: 8px;
598
+ p {
599
+ margin-bottom: 0;
600
+ }
601
+ .el-tag {
602
+ position: absolute;
603
+ right: 12px;
604
+ top: 50%;
605
+ margin-top: -14px;
606
+ }
607
+ .tit {
608
+ font-size: 13px;
609
+ color: #212121;
610
+ margin-bottom: 5px;
611
+ }
612
+ }
613
+ .el-steps {
614
+ height: calc(100vh - 326px);
615
+ overflow: auto;
616
+ padding-right: 10px;
617
+ }
618
+ }
619
+ </style>
@@ -100,6 +100,7 @@
100
100
  size="small"
101
101
  clearable
102
102
  value-format="yyyy-MM-dd HH:mm:ss"
103
+ default-time="23:59:59"
103
104
  :picker-options="$baseEndPickerOptions(formData.startToExeTime)"
104
105
  ></el-date-picker>
105
106
  </template>
@@ -211,6 +212,7 @@
211
212
  size="small"
212
213
  clearable
213
214
  value-format="yyyy-MM-dd HH:mm:ss"
215
+ default-time="23:59:59"
214
216
  :picker-options="$baseEndPickerOptions(formData2.startToExeTime)"
215
217
  ></el-date-picker>
216
218
  </template>