cloud-web-corejs 1.0.54-dev.5 → 1.0.54-dev.500
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.
- package/package.json +13 -3
- package/src/App.vue +29 -33
- package/src/api/user.js +16 -0
- package/src/components/Qrcode/fileParse.vue +0 -1
- package/src/components/Tinymce/index.vue +112 -71
- package/src/components/VabUpload/index.js +49 -1
- package/src/components/VabUpload/index.vue +2 -1
- package/src/components/VabUpload/mixins.js +2 -2
- package/src/components/VabUpload/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +209 -119
- package/src/components/advancedSearchDialog/mixins.js +1 -1
- package/src/components/baseAttachment/index.vue +49 -40
- package/src/components/baseAttachment/mixins.js +295 -1
- package/src/components/baseInputExport/index.vue +19 -12
- package/src/components/baseInputExport/mixins.js +389 -1
- package/src/components/baseTabs/mixins.js +166 -1
- package/src/components/errorMsg/mixins.js +6 -5
- package/src/components/excelExport/button.vue +57 -4
- package/src/components/excelExport/exportFieldDialog.vue +211 -0
- package/src/components/excelExport/index.js +44 -1
- package/src/components/excelExport/index.vue +64 -7
- package/src/components/excelExport/mixins.js +967 -1
- package/src/components/excelImport/index.vue +2 -1
- package/src/components/excelImport/mixins.js +2 -1
- package/src/components/fileLibrary/fileObjAuthDialog.vue +262 -150
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +12 -1
- package/src/components/fileLibrary/fileObjNotifyEdit.vue +192 -0
- package/src/components/fileLibrary/filterDialog.vue +454 -0
- package/src/components/fileLibrary/index.vue +596 -256
- package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +350 -202
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +33 -26
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
- package/src/components/fileLibrary/mixins/indexMixins.js +250 -106
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +64 -4
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +3 -3
- package/src/components/fileLibrary/propertiesDialog.vue +113 -74
- package/src/components/fileLibrary/shareDialog.vue +1 -1
- package/src/components/formOplog/mixins.js +1 -1
- package/src/components/jsonImport/index.js +1 -1
- package/src/components/jsonImport/mixins.js +2 -1
- package/src/components/langImport/mixins.js +17 -16
- package/src/components/obsUpload/index.js +1 -0
- package/src/components/obsUpload/index.vue +231 -0
- package/src/components/obsUpload/mixins.js +8 -0
- package/src/components/onlineTalk/index.vue +327 -5
- package/src/components/onlineTalk/mixins.js +1 -1
- package/src/components/scriptDescription/button.vue +12 -4
- package/src/components/scriptTest/mixins.js +1 -1
- package/src/components/statusTag/mixins.js +1 -1
- package/src/components/table/CellSlot.vue +1 -0
- package/src/components/table/index.js +12 -10
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +11028 -0
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +200 -0
- package/src/components/table/tableForm.vue +99 -63
- package/src/components/table/tableFormMixin.js +1 -1
- package/src/components/table/util/index.js +328 -0
- package/src/components/table/vxeFilter/mixin.js +6 -6
- package/src/components/tempStorage/index.vue +76 -55
- package/src/components/tempStorage/tempStorageDialog.vue +179 -54
- package/src/components/vb-tabs/x-tabs.vue +57 -30
- package/src/components/wf/addOpinionButton.vue +57 -0
- package/src/components/wf/content.vue +834 -362
- package/src/components/wf/mixins/addOpinionButton.js +3 -0
- package/src/components/wf/mixins/setCandidateButton.js +6 -0
- package/src/components/wf/mixins/setCandidateDialog.js +2 -1
- package/src/components/wf/mixins/setCandidateDialog2.js +6 -0
- package/src/components/wf/mixins/wfFlowEleScriptDialog.js +3 -0
- package/src/components/wf/mixins/wfTaskUserRangeDialog.js +3 -0
- package/src/components/wf/setCandidateButton.vue +40 -0
- package/src/components/wf/setCandidateDialog.vue +10 -0
- package/src/components/wf/setCandidateDialog2.vue +105 -0
- package/src/components/wf/wf.js +1 -1
- package/src/components/wf/wfFlowEleScriptDialog.vue +89 -0
- package/src/components/wf/wfStartDialog.vue +66 -42
- package/src/components/wf/wfTaskUserRangeDialog.vue +65 -0
- package/src/components/wf/wfUtil.js +279 -1
- package/src/components/xform/form-designer/designer.js +5 -3
- package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +419 -0
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -3
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +9 -8
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +83 -49
- package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +6 -1
- package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +2 -2
- package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +799 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +38 -7
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +1639 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1759 -8
- package/src/components/xform/form-designer/form-widget/dialog/preformDialog.vue +2 -2
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +121 -72
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +19 -1
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +40 -28
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +18 -7
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +14 -2
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +30 -4
- package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +133 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +77 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-menu-widget.vue +106 -0
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1650 -16
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +646 -379
- package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +962 -0
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +22 -11
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +90 -0
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +7 -2
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +179 -0
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +114 -81
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +186 -0
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +44 -27
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +116 -0
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +154 -47
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +26 -6
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +24 -9
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +53 -0
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +145 -0
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +11 -1
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +31 -17
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +7 -2
- package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +147 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +3 -171
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +260 -58
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +753 -0
- package/src/components/xform/form-designer/indexMixin.js +3 -2
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +956 -156
- package/src/components/xform/form-designer/setting-panel/index.vue +4 -0
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +537 -302
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +125 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +946 -1042
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1127 -512
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +0 -8
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +31 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +14 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +64 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-item-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
- package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +77 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +44 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +67 -41
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +13 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +33 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +66 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +89 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +721 -466
- package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/multiple-editor.vue +19 -14
- package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +124 -50
- package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +31 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +349 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +10 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +42 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +305 -19
- package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +372 -50
- package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +263 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +32 -11
- package/src/components/xform/form-designer/toolbar-panel/index.vue +12 -11
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
- package/src/components/xform/form-designer/widget-panel/index.vue +21 -1
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -18
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1653 -869
- package/src/components/xform/form-render/container-item/containerItemMixin.js +12 -11
- package/src/components/xform/form-render/container-item/data-table-item.vue +194 -199
- package/src/components/xform/form-render/container-item/data-table-mixin.js +22 -18
- package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
- package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
- package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +1 -9
- package/src/components/xform/form-render/container-item/list-h5-item2.vue +1 -8
- package/src/components/xform/form-render/container-item/tab-item.vue +62 -25
- package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
- package/src/components/xform/form-render/container-item/table-item.vue +4 -2
- package/src/components/xform/form-render/container-item/table2-cell-item.vue +53 -34
- package/src/components/xform/form-render/container-item/table2-item.vue +141 -88
- package/src/components/xform/form-render/container-item/tree-item.vue +32 -11
- package/src/components/xform/form-render/index.vue +69 -20
- package/src/components/xform/form-render/indexMixin.js +22 -34
- package/src/components/xform/lang/zh-CN.js +27 -4
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/mixins/scriptHttp.js +174 -1
- package/src/components/xform/utils/emitter.js +4 -4
- package/src/components/xform/utils/format.js +21 -30
- package/src/components/xform/utils/formula-util copy 2.js +945 -0
- package/src/components/xform/utils/formula-util copy.js +860 -0
- package/src/components/xform/utils/formula-util.js +970 -0
- package/src/components/xform/utils/util.js +1 -1
- package/src/components/xform/utils/validators.js +1 -5
- package/src/components/xform/utils/vue2js-generator.js +2 -2
- package/src/index.js +210 -190
- package/src/lang/index.js +56 -51
- package/src/lang/locale/en/login.js +20 -0
- package/src/lang/locale/zh/login.js +20 -0
- package/src/layout/components/AppMain.vue +5 -1
- package/src/layout/components/Sidebar/default.vue +1389 -1222
- package/src/layout/components/TagsView/index.vue +37 -12
- package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
- package/src/layout/components/extractedCode/createDialog.vue +92 -0
- package/src/layout/components/extractedCode/queryDialog.vue +96 -0
- package/src/layout/components/extractedCode/viewDialog.vue +193 -0
- package/src/layout/components/notify_message/unreadDialog.vue +2 -0
- package/src/layout/components/watermark/index.vue +83 -0
- package/src/layout/defaultLayout.vue +1 -1
- package/src/layout/index.vue +3 -5
- package/src/mixins/selectDialog/index.js +1 -1
- package/src/mixins/table/index.js +151 -0
- package/src/mixins/tableTree/index.js +1 -1
- package/src/permission.js +1 -18
- package/src/router/modules/customer.js +79 -8
- package/src/store/config/index.js +1 -1
- package/src/store/getters.js +3 -1
- package/src/store/modules/permission.js +1 -1
- package/src/store/modules/settings.js +1 -1
- package/src/store/modules/tagsView.js +1 -14
- package/src/store/modules/user.js +1 -29
- package/src/utils/index.js +2 -3
- package/src/utils/pddLog.js +103 -0
- package/src/utils/pdfUtil.js +71 -0
- package/src/utils/request.js +28 -28
- package/src/utils/vab.js +19 -27
- package/src/views/bd/setting/bd_attach_setting/edit.vue +4 -4
- package/src/views/bd/setting/bd_attach_setting/list.vue +28 -55
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -5
- package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
- package/src/views/bd/setting/bd_company_env/edit.vue +193 -0
- package/src/views/bd/setting/bd_company_env/list.vue +175 -0
- package/src/views/bd/setting/config_manage/list.vue +83 -0
- package/src/views/bd/setting/form_import_log/edit.vue +127 -0
- package/src/views/bd/setting/form_import_log/list.vue +206 -0
- package/src/views/bd/setting/form_script/edit.vue +9 -0
- package/src/views/bd/setting/form_script/edit1.vue +36 -3
- package/src/views/bd/setting/form_script/form_list.vue +99 -37
- package/src/views/bd/setting/form_script/list1.vue +181 -118
- package/src/views/bd/setting/form_script/mixins/dialog.js +130 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +201 -1
- package/src/views/bd/setting/form_script/mixins/edit1.js +193 -1
- package/src/views/bd/setting/form_script/mixins/form_list.js +1 -1
- package/src/views/bd/setting/form_script/mixins/list.js +236 -1
- package/src/views/bd/setting/form_script/mixins/list1.js +423 -14
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +194 -0
- package/src/views/bd/setting/form_script/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
- package/src/views/bd/setting/form_template/edit.vue +22 -1
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/list.vue +326 -212
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +282 -0
- package/src/views/bd/setting/form_template/mixins/edit.js +234 -9
- package/src/views/bd/setting/form_template/mixins/list.js +689 -22
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +193 -0
- package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
- package/src/views/bd/setting/form_template/otherAuthDialog.vue +83 -0
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
- package/src/views/bd/setting/form_template/wf_list.vue +127 -0
- package/src/views/bd/setting/logic_param/edit.vue +146 -0
- package/src/views/bd/setting/logic_param/edit1.vue +106 -0
- package/src/views/bd/setting/logic_param/edit2.vue +139 -0
- package/src/views/bd/setting/logic_param/list.vue +74 -0
- package/src/views/bd/setting/logic_param/list1.vue +12 -0
- package/src/views/bd/setting/logic_param/list2.vue +12 -0
- package/src/views/bd/setting/logic_param/mixins/edit.js +3 -0
- package/src/views/bd/setting/logic_param/mixins/list.js +9 -0
- package/src/views/bd/setting/menu_kind/authDialog.vue +1 -1
- package/src/views/bd/setting/menu_kind/list.vue +172 -83
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +300 -7
- package/src/views/bd/setting/menu_kind/mixins/list.js +201 -1
- package/src/views/bd/setting/push_data/edit.vue +139 -0
- package/src/views/bd/setting/push_data/list.vue +283 -0
- package/src/views/bd/setting/push_data_h/edit.vue +153 -0
- package/src/views/bd/setting/push_data_h/list.vue +293 -0
- package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
- package/src/views/bd/setting/request_async_setting/list.vue +372 -0
- package/src/views/bd/setting/request_setting/edit.vue +300 -0
- package/src/views/bd/setting/request_setting/list.vue +311 -0
- package/src/views/bd/setting/table_model/edit.vue +875 -426
- package/src/views/bd/setting/table_model/list.vue +190 -126
- package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/edit.js +1202 -13
- package/src/views/bd/setting/table_model/mixins/list.js +440 -14
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +201 -0
- package/src/views/bd/setting/table_model/otherAuthDialog.vue +83 -0
- package/src/views/user/access_log/list.vue +418 -349
- package/src/views/user/area/dialog.vue +235 -116
- package/src/views/user/area/list.vue +318 -0
- package/src/views/user/bill_setting/edit.vue +1 -1
- package/src/views/user/bill_setting/list.vue +1 -1
- package/src/views/user/common_attribute/itemEdit.vue +2 -2
- package/src/views/user/common_attribute/list.vue +5 -2
- package/src/views/user/common_script/edit.vue +1 -1
- package/src/views/user/common_script/list.vue +1 -1
- package/src/views/user/company_info/dialog.vue +164 -154
- package/src/views/user/company_info/edit.vue +9 -1
- package/src/views/user/extend_datasource/dialog.vue +4 -0
- package/src/views/user/extend_datasource/edit.vue +5 -1
- package/src/views/user/extend_datasource/list.vue +5 -1
- package/src/views/user/fieldTranslation/editDialog.vue +7 -7
- package/src/views/user/fieldTranslation/list.vue +32 -32
- package/src/views/user/file_type/edit.vue +30 -1
- package/src/views/user/file_type/list.vue +28 -0
- package/src/views/user/form/vform/designer.vue +776 -749
- package/src/views/user/form/vform/out_render.vue +1 -1
- package/src/views/user/form/vform/render.vue +59 -37
- package/src/views/user/form/view/edit.vue +38 -37
- package/src/views/user/form/view/list.vue +261 -49
- package/src/views/user/groups/edit.vue +2 -0
- package/src/views/user/groups/list.vue +1 -0
- package/src/views/user/home/bears/index.vue +1032 -0
- package/src/views/user/home/default.vue +1025 -979
- package/src/views/user/home/dev.vue +29 -0
- package/src/views/user/home/index.vue +20 -8
- package/src/views/user/home/taili/index.vue +1034 -0
- package/src/views/user/ledger_library/list.vue +10 -12
- package/src/views/user/login/default.vue +167 -36
- package/src/views/user/login/index.vue +4 -6
- package/src/views/user/login/indexMixin.js +184 -8
- package/src/views/user/menu/list.vue +24 -1
- package/src/views/user/notify_message/dialog.vue +38 -22
- package/src/views/user/notify_template/edit.vue +188 -187
- package/src/views/user/notify_template/edit2.vue +176 -0
- package/src/views/user/notify_template/list.vue +4 -1
- package/src/views/user/notify_template/list2.vue +190 -0
- package/src/views/user/outLink/form_view.vue +211 -184
- package/src/views/user/outLink/index.vue +67 -11
- package/src/views/user/outLink/view.vue +39 -13
- package/src/views/user/position/edit.vue +116 -83
- package/src/views/user/position/list.vue +118 -86
- package/src/views/user/project_tag/dialog.vue +9 -4
- package/src/views/user/project_tag/edit.vue +2 -2
- package/src/views/user/project_tag/list.vue +9 -4
- package/src/views/user/push_setting/list.vue +2 -2
- package/src/views/user/request_setting/edit.vue +258 -0
- package/src/views/user/request_setting/list.vue +248 -0
- package/src/views/user/role/authConfig.vue +89 -0
- package/src/views/user/role/dialog.vue +70 -48
- package/src/views/user/role/edit.vue +609 -429
- package/src/views/user/role/list.vue +4 -4
- package/src/views/user/sale_org/dialog.vue +1 -1
- package/src/views/user/sale_org/list.vue +4 -1
- package/src/views/user/system_notice/edit.vue +232 -186
- package/src/views/user/user/dialog.vue +46 -23
- package/src/views/user/user/edit.vue +1059 -1021
- package/src/views/user/user/form_dialog.vue +158 -0
- package/src/views/user/user/form_edit.vue +117 -49
- package/src/views/user/user/form_info.vue +210 -0
- package/src/views/user/user/form_list.vue +1 -0
- package/src/views/user/user/list.vue +647 -563
- package/src/views/user/user/modifyPasswordDialog.vue +64 -53
- package/src/views/user/wf/wfReport/index.vue +618 -0
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
- package/src/views/user/wf/wf_manage/list.vue +371 -249
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +109 -0
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
- package/src/views/user/wf/wf_obj_config/list.vue +138 -5
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -0
- package/src/views/user/wf/wf_transfer_setting/edit.vue +282 -0
- package/src/views/user/wf/wf_transfer_setting/list.vue +319 -0
|
@@ -0,0 +1,618 @@
|
|
|
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
|
+
};
|
|
301
|
+
this.showWfDialog = true;
|
|
302
|
+
},
|
|
303
|
+
searchEvent() {
|
|
304
|
+
this.$refs["table-m1"].commitProxy("reload");
|
|
305
|
+
},
|
|
306
|
+
resetEvent() {
|
|
307
|
+
this.formData = {};
|
|
308
|
+
this.$refs["table-m1"].commitProxy("reload");
|
|
309
|
+
},
|
|
310
|
+
initTableList() {
|
|
311
|
+
let that = this;
|
|
312
|
+
let formCode = this.$route.query.formCode;
|
|
313
|
+
let tableOption = {
|
|
314
|
+
vue: this,
|
|
315
|
+
tableRef: "table-m1",
|
|
316
|
+
tableName: "user-wf-report-index-m1",
|
|
317
|
+
path: `/${this.serviceName}/bd_api/intf/wfSummaryList`,
|
|
318
|
+
param: () => {
|
|
319
|
+
return {
|
|
320
|
+
...this.formData,
|
|
321
|
+
};
|
|
322
|
+
},
|
|
323
|
+
columns: [
|
|
324
|
+
{ type: "checkbox", width: 48, resizable: false, fixed: "left" },
|
|
325
|
+
{
|
|
326
|
+
field: "obj_type_name",
|
|
327
|
+
title: this.$t1("流程类型"),
|
|
328
|
+
width: 150,
|
|
329
|
+
fixed: "left",
|
|
330
|
+
},
|
|
331
|
+
{ field: "name", title: this.$t1("流程主题"), width: 180 },
|
|
332
|
+
{
|
|
333
|
+
field: "stat",
|
|
334
|
+
title: "状态",
|
|
335
|
+
width: 150,
|
|
336
|
+
slots: {
|
|
337
|
+
default: ({ row }) => {
|
|
338
|
+
if (row.stat === 1) {
|
|
339
|
+
return [
|
|
340
|
+
<el-tag type="warning">
|
|
341
|
+
{this.$t2("审核中", "components.wf.wfStatus1")}
|
|
342
|
+
</el-tag>,
|
|
343
|
+
];
|
|
344
|
+
} else if (row.stat === 2) {
|
|
345
|
+
return [
|
|
346
|
+
<el-tag type="success">
|
|
347
|
+
{this.$t2("已完成", "components.wf.wfStatus2")}
|
|
348
|
+
</el-tag>,
|
|
349
|
+
];
|
|
350
|
+
} else if (row.stat === 3) {
|
|
351
|
+
return [
|
|
352
|
+
<el-tag type="info">
|
|
353
|
+
{this.$t2("已驳回", "components.wf.wfStatus3")}
|
|
354
|
+
</el-tag>,
|
|
355
|
+
];
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
},
|
|
359
|
+
},
|
|
360
|
+
{ field: "task_name", title: this.$t1("当前节点"), width: 180 },
|
|
361
|
+
{
|
|
362
|
+
field: "candidate_names",
|
|
363
|
+
title: this.$t1("当前处理人"),
|
|
364
|
+
width: 180,
|
|
365
|
+
slots: {
|
|
366
|
+
default: ({ row }) => {
|
|
367
|
+
return [
|
|
368
|
+
<div class="txt-mid">
|
|
369
|
+
<i class="iconfont icon-dangqianchuliren"></i>
|
|
370
|
+
<sapn>{row.candidate_names}</sapn>
|
|
371
|
+
</div>,
|
|
372
|
+
];
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
{ field: "start_time", title: this.$t1("启动时间"), width: 150 },
|
|
377
|
+
{ field: "end_time", title: this.$t1("结束时间"), width: 150 },
|
|
378
|
+
{
|
|
379
|
+
field: "duration",
|
|
380
|
+
title: this.$t1("总耗时"),
|
|
381
|
+
width: 180,
|
|
382
|
+
slots: {
|
|
383
|
+
default: ({ row }) => {
|
|
384
|
+
return [
|
|
385
|
+
<div class="txt-mid">
|
|
386
|
+
<i class="iconfont icon-shijian"></i>
|
|
387
|
+
<sapn> {row.duration}</sapn>
|
|
388
|
+
</div>,
|
|
389
|
+
];
|
|
390
|
+
},
|
|
391
|
+
},
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
field: "task_duration",
|
|
395
|
+
title: this.$t1("当前节点耗时"),
|
|
396
|
+
width: 180,
|
|
397
|
+
slots: {
|
|
398
|
+
default: ({ row }) => {
|
|
399
|
+
return [
|
|
400
|
+
<div class="txt-mid">
|
|
401
|
+
<i class="iconfont icon-shijian"></i>
|
|
402
|
+
<sapn> {row.task_duration}</sapn>
|
|
403
|
+
</div>,
|
|
404
|
+
];
|
|
405
|
+
},
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
{ field: "approver_num", title: this.$t1("审批总人数"), width: 180 },
|
|
409
|
+
{ field: "node_num", title: this.$t1("审批节点数量"), width: 180 },
|
|
410
|
+
{
|
|
411
|
+
width: 90,
|
|
412
|
+
fixed: "right",
|
|
413
|
+
title: "",
|
|
414
|
+
sortable: false,
|
|
415
|
+
slots: {
|
|
416
|
+
default: ({ row }) => {
|
|
417
|
+
return [
|
|
418
|
+
<a
|
|
419
|
+
href="javascript:void(0);"
|
|
420
|
+
class="a-link"
|
|
421
|
+
onclick={() => {
|
|
422
|
+
this.loadWfSummaryNode(row);
|
|
423
|
+
}}
|
|
424
|
+
>
|
|
425
|
+
<el-tooltip
|
|
426
|
+
enterable={false}
|
|
427
|
+
effect="dark"
|
|
428
|
+
content={this.$t1("查看详情")}
|
|
429
|
+
placement="top"
|
|
430
|
+
popper-class="tooltip-skin"
|
|
431
|
+
>
|
|
432
|
+
<i class="iconfont icon-dianji" />
|
|
433
|
+
</el-tooltip>
|
|
434
|
+
</a>,
|
|
435
|
+
<a
|
|
436
|
+
href="javascript:void(0);"
|
|
437
|
+
class="a-link"
|
|
438
|
+
onclick={() => {
|
|
439
|
+
this.openWfDialog(row);
|
|
440
|
+
}}
|
|
441
|
+
>
|
|
442
|
+
<el-tooltip
|
|
443
|
+
enterable={false}
|
|
444
|
+
effect="dark"
|
|
445
|
+
content={this.$t1("查看单据")}
|
|
446
|
+
placement="top"
|
|
447
|
+
popper-class="tooltip-skin"
|
|
448
|
+
>
|
|
449
|
+
<i class="el-icon-edit" />
|
|
450
|
+
</el-tooltip>
|
|
451
|
+
</a>,
|
|
452
|
+
];
|
|
453
|
+
},
|
|
454
|
+
},
|
|
455
|
+
},
|
|
456
|
+
],
|
|
457
|
+
};
|
|
458
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
|
|
459
|
+
this.vxeOption = opts;
|
|
460
|
+
});
|
|
461
|
+
},
|
|
462
|
+
loadWfSummaryCount() {
|
|
463
|
+
this.$http({
|
|
464
|
+
url: `/${this.serviceName}/bd_api/intf/wfSummaryCount`,
|
|
465
|
+
method: "post",
|
|
466
|
+
data: {
|
|
467
|
+
...this.formData,
|
|
468
|
+
},
|
|
469
|
+
success: (res) => {
|
|
470
|
+
this.countData = res.objx || {};
|
|
471
|
+
},
|
|
472
|
+
});
|
|
473
|
+
},
|
|
474
|
+
loadWfSummaryNode(row) {
|
|
475
|
+
this.$http({
|
|
476
|
+
url: `/${this.serviceName}/bd_api/intf/wfSummaryNode`,
|
|
477
|
+
method: "post",
|
|
478
|
+
data: {
|
|
479
|
+
proc_inst_id: row.proc_inst_id,
|
|
480
|
+
},
|
|
481
|
+
success: (res) => {
|
|
482
|
+
this.currentRow = row;
|
|
483
|
+
this.nodeList = res.objx || [];
|
|
484
|
+
},
|
|
485
|
+
});
|
|
486
|
+
},
|
|
487
|
+
clearWfSummaryNode() {
|
|
488
|
+
this.currentRow = {};
|
|
489
|
+
this.nodeList = [];
|
|
490
|
+
},
|
|
491
|
+
handleSelectChange() {
|
|
492
|
+
if (this.formData.dateRange === "") {
|
|
493
|
+
this.formData.dateRange = null;
|
|
494
|
+
}
|
|
495
|
+
if (this.formData.stat === "") {
|
|
496
|
+
this.formData.stat = null;
|
|
497
|
+
}
|
|
498
|
+
this.loadWfSummaryCount();
|
|
499
|
+
this.searchEvent();
|
|
500
|
+
this.clearWfSummaryNode();
|
|
501
|
+
},
|
|
502
|
+
initObjTypeList() {
|
|
503
|
+
this.$http({
|
|
504
|
+
url: `/${this.serviceName}/wf_info/listGroupPage`,
|
|
505
|
+
method: "post",
|
|
506
|
+
data: {
|
|
507
|
+
type: 99,
|
|
508
|
+
},
|
|
509
|
+
success: (res) => {
|
|
510
|
+
this.objTypeList = res?.objx?.records || [];
|
|
511
|
+
},
|
|
512
|
+
});
|
|
513
|
+
},
|
|
514
|
+
},
|
|
515
|
+
};
|
|
516
|
+
</script>
|
|
517
|
+
<style scoped lang="scss">
|
|
518
|
+
#containt {
|
|
519
|
+
background: none;
|
|
520
|
+
padding: 10px 0 0;
|
|
521
|
+
box-shadow: none;
|
|
522
|
+
}
|
|
523
|
+
.filter-btns {
|
|
524
|
+
.f-btn {
|
|
525
|
+
margin-right: 25px;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
.sum-statistics {
|
|
529
|
+
display: flex;
|
|
530
|
+
margin: 10px -5px 0;
|
|
531
|
+
.item {
|
|
532
|
+
flex: 1;
|
|
533
|
+
background: #fff;
|
|
534
|
+
border: solid 1px #e9e9e9;
|
|
535
|
+
border-radius: 6px;
|
|
536
|
+
margin: 0 5px;
|
|
537
|
+
padding: 10px 14px 8px;
|
|
538
|
+
font-size: 12px;
|
|
539
|
+
position: relative;
|
|
540
|
+
.ico {
|
|
541
|
+
position: absolute;
|
|
542
|
+
top: 50%;
|
|
543
|
+
right: 18px;
|
|
544
|
+
width: 34px;
|
|
545
|
+
height: 34px;
|
|
546
|
+
margin-top: -17px;
|
|
547
|
+
border-radius: 6px;
|
|
548
|
+
text-align: center;
|
|
549
|
+
line-height: 35px;
|
|
550
|
+
font-size: 16;
|
|
551
|
+
background: #eff6ff;
|
|
552
|
+
color: #2f6ffc;
|
|
553
|
+
}
|
|
554
|
+
p {
|
|
555
|
+
margin-bottom: 0;
|
|
556
|
+
}
|
|
557
|
+
> b {
|
|
558
|
+
font-size: 26px;
|
|
559
|
+
margin: 8px 0 3px;
|
|
560
|
+
display: inline-block;
|
|
561
|
+
font-weight: 400;
|
|
562
|
+
}
|
|
563
|
+
&:nth-child(2) .ico {
|
|
564
|
+
background: #faf5ff;
|
|
565
|
+
color: #ab3dfa;
|
|
566
|
+
}
|
|
567
|
+
&:nth-child(3) .ico {
|
|
568
|
+
background: #f0fdf4;
|
|
569
|
+
color: #0aa945;
|
|
570
|
+
}
|
|
571
|
+
&:nth-child(4) .ico {
|
|
572
|
+
background: #fff7ed;
|
|
573
|
+
color: #f5520b;
|
|
574
|
+
}
|
|
575
|
+
&:nth-child(5) .ico {
|
|
576
|
+
background: #fef2f2;
|
|
577
|
+
color: #e70a15;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
::v-deep .box-style1 {
|
|
582
|
+
margin: 10px 5px 0;
|
|
583
|
+
.el-card__body {
|
|
584
|
+
height: calc(100vh - 254px);
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
.node-box {
|
|
588
|
+
.info {
|
|
589
|
+
border: solid 1px #e6ebf5;
|
|
590
|
+
background: #f6faff;
|
|
591
|
+
border-radius: 4px;
|
|
592
|
+
padding: 10px 14px;
|
|
593
|
+
position: relative;
|
|
594
|
+
font-size: 12px;
|
|
595
|
+
color: #666666;
|
|
596
|
+
margin-bottom: 8px;
|
|
597
|
+
p {
|
|
598
|
+
margin-bottom: 0;
|
|
599
|
+
}
|
|
600
|
+
.el-tag {
|
|
601
|
+
position: absolute;
|
|
602
|
+
right: 12px;
|
|
603
|
+
top: 50%;
|
|
604
|
+
margin-top: -14px;
|
|
605
|
+
}
|
|
606
|
+
.tit {
|
|
607
|
+
font-size: 13px;
|
|
608
|
+
color: #212121;
|
|
609
|
+
margin-bottom: 5px;
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
.el-steps {
|
|
613
|
+
height: calc(100vh - 326px);
|
|
614
|
+
overflow: auto;
|
|
615
|
+
padding-right: 10px;
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
</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>
|