agilebuilder-ui 1.1.65-tmp14 → 1.1.65-tmp16
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/lib/IntervalSelection/index.js +7 -5
- package/lib/IntervalSelection/src/sectionDate.vue.js +21 -17
- package/lib/IntervalSelection/src/sectionDate.vue2.js +4 -2
- package/lib/_virtual/__vite-browser-external.js +4 -2
- package/lib/_virtual/_plugin-vue_export-helper.js +8 -6
- package/lib/breadcrumb/index.js +5 -3
- package/lib/breadcrumb/src/breadcrumb.vue.js +19 -28
- package/lib/breadcrumb/src/breadcrumb.vue2.js +4 -2
- package/lib/chat-embed/index.js +5 -3
- package/lib/chat-embed/src/chat-addition-data.vue.js +7 -5
- package/lib/chat-embed/src/chat-addition-data.vue2.js +13 -11
- package/lib/chat-embed/src/chat-addition-data.vue3.js +4 -2
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +7 -5
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +20 -17
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +4 -2
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +7 -5
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +22 -17
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +4 -2
- package/lib/chat-embed/src/chat-embed-message.js +20 -14
- package/lib/chat-embed/src/chat-sender.vue.js +7 -5
- package/lib/chat-embed/src/chat-sender.vue2.js +123 -110
- package/lib/chat-embed/src/chat-sender.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +50 -42
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +6 -3
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +84 -74
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +4 -2
- package/lib/chat-embed/src/components/history-detail.vue.js +7 -5
- package/lib/chat-embed/src/components/history-detail.vue2.js +32 -27
- package/lib/chat-embed/src/components/history-detail.vue3.js +4 -2
- package/lib/chat-embed/src/header.vue.js +7 -5
- package/lib/chat-embed/src/header.vue2.js +32 -25
- package/lib/chat-embed/src/header.vue3.js +4 -2
- package/lib/chat-embed/src/index.vue.js +7 -5
- package/lib/chat-embed/src/index.vue2.js +211 -185
- package/lib/chat-embed/src/index.vue3.js +4 -2
- package/lib/chat-embed/src/recommendation-message.vue.js +7 -5
- package/lib/chat-embed/src/recommendation-message.vue2.js +8 -5
- package/lib/chat-embed/src/recommendation-message.vue3.js +4 -2
- package/lib/chat-embed/src/sidebar-item.vue.js +7 -5
- package/lib/chat-embed/src/sidebar-item.vue2.js +93 -84
- package/lib/chat-embed/src/sidebar-item.vue3.js +4 -2
- package/lib/chat-embed/src/type.js +5 -3
- package/lib/chat-embed/src/util/chat-embed-util.js +41 -35
- package/lib/chat-embed/src/util/history-message-util.js +85 -63
- package/lib/chat-embed/src/util/mcp-utils.js +8 -5
- package/lib/chat-embed/src/util/text-file-util.js +11 -7
- package/lib/chat-embed/src/voice/index.js +7 -5
- package/lib/chat-embed/src/voice/js/crypto-js.js +995 -987
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +169 -161
- package/lib/chat-embed/src/voice/js/timer.js +10 -7
- package/lib/chat-embed/src/voice/voice.vue.js +70 -61
- package/lib/date-picker-range/index.js +7 -5
- package/lib/date-picker-range/index.vue.js +7 -5
- package/lib/date-picker-range/index.vue2.js +63 -59
- package/lib/date-picker-range/index.vue3.js +4 -2
- package/lib/department-tree/index.js +5 -3
- package/lib/department-tree/src/department-tree.vue.js +17 -11
- package/lib/department-tree-inline/index.js +5 -3
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +27 -17
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +4 -2
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +27 -17
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +4 -2
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +13 -8
- package/lib/department-tree-inline/src/department-tree-service.js +10 -8
- package/lib/department-tree-inline/src/search-result.vue.js +23 -19
- package/lib/department-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/department-tree-mobile/index.js +7 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +12 -9
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +4 -2
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +5 -3
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +91 -80
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +4 -3
- package/lib/department-tree-mobile/src/department-tree-service.js +42 -32
- package/lib/department-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/department-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/department-tree-mobile/src/dept-result.vue.js +14 -11
- package/lib/department-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/department-user-tree/index.js +5 -3
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +14 -10
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +4 -2
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +14 -9
- package/lib/department-user-tree/src/department-user-tree.vue.js +20 -14
- package/lib/department-user-tree-inline/index.js +5 -3
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +28 -17
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +4 -2
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +33 -21
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +4 -2
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +13 -8
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +9 -6
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +11 -8
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +12 -7
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +12 -7
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +14 -8
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +20 -14
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +23 -17
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +3 -2
- package/lib/department-user-tree-inline/src/search-result.vue.js +15 -12
- package/lib/department-user-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/department-user-tree-mobile/index.js +7 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +12 -9
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +4 -2
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +5 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +104 -93
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +4 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +30 -20
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +15 -11
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/directives/prevent-reclick.js +3 -2
- package/lib/dynamic-source-select/index.js +7 -5
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +15 -13
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +183 -173
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +4 -2
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +4 -2
- package/lib/dynamic-source-select/src/events.js +3 -2
- package/lib/empty-state/index.vue.js +8 -5
- package/lib/empty-state/index.vue2.js +4 -3
- package/lib/fs-preview/index.js +7 -5
- package/lib/fs-preview/src/fs-preview.vue.js +72 -63
- package/lib/fs-preview/src/fs-preview.vue2.js +4 -2
- package/lib/fs-upload/index.js +7 -5
- package/lib/fs-upload/src/fs-upload-multi.vue.js +32 -24
- package/lib/fs-upload/src/fs-upload-single.vue.js +39 -30
- package/lib/fs-upload/src/fs-upload.vue.js +16 -10
- package/lib/fs-upload/src/see-big-picture.vue.js +11 -8
- package/lib/fs-upload-list/index.js +7 -5
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +40 -33
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +4 -2
- package/lib/fs-upload-new/index.js +7 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +38 -34
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +109 -101
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +7 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +33 -26
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +4 -2
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +31 -27
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +24 -18
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +4 -3
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +7 -5
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +43 -36
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +7 -5
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +45 -37
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +8 -5
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +70 -61
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +4 -2
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +47 -37
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +4 -3
- package/lib/hamburger/index.js +5 -3
- package/lib/hamburger/src/hamburger.vue.js +14 -10
- package/lib/hamburger/src/hamburger.vue2.js +4 -2
- package/lib/index.js +383 -40
- package/lib/json-view/json-view-dialog.vue.js +15 -12
- package/lib/json-view/json-view-dialog.vue2.js +4 -3
- package/lib/json-view/json-view.vue.js +4 -3
- package/lib/json-view/json-view.vue2.js +31 -27
- package/lib/multipart-upload/index.js +7 -5
- package/lib/multipart-upload/src/index.vue.js +11 -7
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +49 -40
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +67 -59
- package/lib/organization-input/index.js +7 -5
- package/lib/organization-input/src/organization-input.vue.js +37 -31
- package/lib/organization-input/src/organization-input.vue2.js +4 -2
- package/lib/plugins/export-data-new.js +104 -96
- package/lib/plugins/export-data.js +51 -45
- package/lib/plugins/index.js +8 -4
- package/lib/plugins/public-method.js +3 -2
- package/lib/remove-department/index.js +5 -3
- package/lib/remove-department/src/remove-department.vue.js +19 -13
- package/lib/remove-department/src/remove-dept-service.js +10 -9
- package/lib/remove-user/index.js +7 -5
- package/lib/remove-user/src/remove-user-service.js +4 -3
- package/lib/remove-user/src/remove-user.vue.js +22 -16
- package/lib/remove-workgroup/index.js +7 -5
- package/lib/remove-workgroup/src/remove-workgroup-service.js +4 -3
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +18 -12
- package/lib/rich-editor/index.js +7 -5
- package/lib/rich-editor/index.vue.js +76 -28
- package/lib/rich-editor/tinymce/zh_CN.js +2 -2
- package/lib/rich-editor/viewer.vue.js +10 -7
- package/lib/row-form/index.js +7 -5
- package/lib/row-form/index.vue.js +7 -5
- package/lib/row-form/index.vue2.js +47 -41
- package/lib/row-form/index.vue3.js +4 -2
- package/lib/row-form/operation.vue.js +26 -22
- package/lib/row-form/operation.vue2.js +4 -3
- package/lib/scan-code-input/index.js +7 -5
- package/lib/scan-code-input/src/events.js +13 -11
- package/lib/scan-code-input/src/scan-code-input.vue.js +15 -9
- package/lib/scan-code-input-browser/index.js +7 -5
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +21 -16
- package/lib/secret-info/index.js +7 -5
- package/lib/secret-info/index.vue.js +9 -6
- package/lib/src/api/sso-service.js +36 -34
- package/lib/src/api/tab.js +9 -8
- package/lib/src/assets/401/401.gif.js +4 -2
- package/lib/src/assets/404/404-cloud.png.js +4 -2
- package/lib/src/assets/404/404.png.js +4 -2
- package/lib/src/assets/chat-embed/robot.gif.js +4 -2
- package/lib/src/assets/chat-embed/robot.svg.js +4 -2
- package/lib/src/assets/nonemessage.png.js +4 -2
- package/lib/src/components/Affix/index.vue.js +7 -5
- package/lib/src/components/Affix/index.vue2.js +58 -56
- package/lib/src/components/Affix/index.vue3.js +4 -2
- package/lib/src/components/Card/index.js +38 -33
- package/lib/src/components/Scrollbar/index.vue.js +37 -33
- package/lib/src/components/Scrollbar/index.vue2.js +4 -2
- package/lib/src/directives/permission/index.js +5 -3
- package/lib/src/directives/permission/permission.js +9 -7
- package/lib/src/i18n/i18n.js +7 -3
- package/lib/src/i18n/langs/cn.js +4 -2
- package/lib/src/i18n/langs/en.js +4 -2
- package/lib/src/mixins/resizeMixin.js +3 -2
- package/lib/src/permission.js +46 -43
- package/lib/src/router/index.js +10 -16
- package/lib/src/store/getters.js +4 -2
- package/lib/src/store/index.js +13 -16
- package/lib/src/store/modules/app.js +4 -3
- package/lib/src/store/modules/chat-ai-store.js +22 -19
- package/lib/src/store/modules/permission.js +11 -10
- package/lib/src/store/modules/system.js +9 -7
- package/lib/src/store/modules/tab-content.js +15 -13
- package/lib/src/store/modules/table.js +3 -2
- package/lib/src/store/modules/user.js +95 -89
- package/lib/src/utils/auth-api.js +5 -3
- package/lib/src/utils/auth.js +139 -69
- package/lib/src/utils/calculator/calculator-factory-wf.js +49 -48
- package/lib/src/utils/calculator/calculator-factory.js +58 -57
- package/lib/src/utils/calculator/calculator-util.js +32 -29
- package/lib/src/utils/chat-ai-util.js +25 -17
- package/lib/src/utils/common-util.js +356 -271
- package/lib/src/utils/eventBus.js +6 -3
- package/lib/src/utils/file-util.js +16 -15
- package/lib/src/utils/global-prop.js +37 -21
- package/lib/src/utils/guid.js +8 -5
- package/lib/src/utils/i18n-util.js +24 -16
- package/lib/src/utils/iconUtils.js +23 -16
- package/lib/src/utils/index.js +40 -26
- package/lib/src/utils/insert_css.js +7 -8
- package/lib/src/utils/json-util.js +27 -25
- package/lib/src/utils/jump-page-utils.js +180 -172
- package/lib/src/utils/local-storage.js +3 -2
- package/lib/src/utils/menu.js +11 -10
- package/lib/src/utils/permission.js +26 -22
- package/lib/src/utils/permissionAuth.js +136 -102
- package/lib/src/utils/range-selector.js +45 -41
- package/lib/src/utils/request.js +86 -77
- package/lib/src/utils/resize.js +5 -5
- package/lib/src/utils/restful-interface-utils.js +15 -12
- package/lib/src/utils/util.js +26 -6
- package/lib/src/utils/validate.js +20 -10
- package/lib/src/utils/voice-setting-cache.js +153 -140
- package/lib/src/utils/watermark-cache.js +14 -9
- package/lib/src/utils/watermark.js +30 -23
- package/lib/src/utils/workflow-util.js +26 -25
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +7 -5
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +11 -8
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +4 -2
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +12 -9
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +26 -19
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +20 -12
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +26 -21
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +4 -2
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +4 -2
- package/lib/src/views/error-page/401.vue.js +13 -9
- package/lib/src/views/error-page/401.vue2.js +4 -2
- package/lib/src/views/error-page/404.vue.js +11 -7
- package/lib/src/views/error-page/404.vue2.js +4 -2
- package/lib/src/views/layout/EmptyLayout.vue.js +8 -6
- package/lib/src/views/layout/Layout.vue.js +19 -12
- package/lib/src/views/layout/Layout.vue2.js +4 -2
- package/lib/src/views/layout/NewLayout.vue.js +10 -6
- package/lib/src/views/layout/components/AppMain.vue.js +11 -9
- package/lib/src/views/layout/components/AppMain.vue2.js +4 -2
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +37 -44
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +4 -2
- package/lib/src/views/layout/components/Menubar/Item.vue.js +7 -5
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +14 -12
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +4 -2
- package/lib/src/views/layout/components/Menubar/Link.vue.js +12 -9
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +24 -15
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/layout/components/Menubar/index.vue.js +30 -19
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +8 -6
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +4 -3
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +11 -8
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +17 -11
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/layout/components/Sidebar/index.vue.js +25 -18
- package/lib/src/views/layout/components/iframe-page.vue.js +10 -8
- package/lib/src/views/layout/components/iframe-page.vue2.js +4 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +14 -10
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +4 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +4 -2
- package/lib/src/views/layout/mixin/ResizeHandler.js +5 -3
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +10 -8
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +4 -2
- package/lib/src/views/layout/tab-content-index.vue.js +18 -12
- package/lib/src/views/layout/tab-content-index.vue2.js +4 -2
- package/lib/src/views/login/authredirect.vue.js +3 -2
- package/lib/src/views/redirect/index.vue.js +8 -17
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +4 -2
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +13 -11
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +4 -2
- package/lib/style.css +547 -547
- package/lib/super-grid/index.js +7 -5
- package/lib/super-grid/src/apis.js +231 -221
- package/lib/super-grid/src/columns-config.vue.js +22 -16
- package/lib/super-grid/src/components/grid-icon.vue.js +34 -26
- package/lib/super-grid/src/components/grid-radio-input.vue.js +18 -15
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +4 -3
- package/lib/super-grid/src/components/mobile-table-card.js +83 -73
- package/lib/super-grid/src/components/select-input.vue.js +106 -98
- package/lib/super-grid/src/components/select-input.vue2.js +4 -3
- package/lib/super-grid/src/custom-formatter.js +74 -69
- package/lib/super-grid/src/dynamic-input.vue.js +159 -142
- package/lib/super-grid/src/eventBus.js +6 -3
- package/lib/super-grid/src/events.js +36 -34
- package/lib/super-grid/src/formValidatorUtil.js +65 -62
- package/lib/super-grid/src/formatter.js +41 -36
- package/lib/super-grid/src/group-column.vue.js +13 -8
- package/lib/super-grid/src/header-context-menu.vue.js +13 -10
- package/lib/super-grid/src/header-context-menu.vue2.js +4 -2
- package/lib/super-grid/src/index-column.vue.js +10 -7
- package/lib/super-grid/src/normal-column-content.vue.js +205 -186
- package/lib/super-grid/src/normal-column-content.vue2.js +4 -2
- package/lib/super-grid/src/normal-column.vue.js +55 -40
- package/lib/super-grid/src/normal-column.vue2.js +4 -2
- package/lib/super-grid/src/public-methods.js +14 -12
- package/lib/super-grid/src/row-detail.vue.js +10 -7
- package/lib/super-grid/src/row-operation.vue.js +26 -19
- package/lib/super-grid/src/row-operation.vue2.js +4 -2
- package/lib/super-grid/src/scan-util.js +26 -24
- package/lib/super-grid/src/search-button.vue.js +17 -12
- package/lib/super-grid/src/search-condition-input.vue.js +12 -8
- package/lib/super-grid/src/search-condition-list.vue.js +13 -10
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +23 -13
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +4 -2
- package/lib/super-grid/src/search-form-dialog.vue.js +13 -9
- package/lib/super-grid/src/search-form-item.vue.js +24 -16
- package/lib/super-grid/src/search-form-item.vue2.js +4 -2
- package/lib/super-grid/src/search-form-mobile.vue.js +22 -13
- package/lib/super-grid/src/search-form-mobile.vue2.js +4 -2
- package/lib/super-grid/src/search-form-number.vue.js +14 -9
- package/lib/super-grid/src/search-form-open.vue.js +13 -7
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +19 -11
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +4 -2
- package/lib/super-grid/src/search-form.vue.js +77 -65
- package/lib/super-grid/src/search-form.vue2.js +4 -2
- package/lib/super-grid/src/search-methods.js +3 -2
- package/lib/super-grid/src/selection-column.vue.js +9 -7
- package/lib/super-grid/src/store.js +4 -3
- package/lib/super-grid/src/super-grid-service.js +128 -121
- package/lib/super-grid/src/super-grid.vue.js +217 -186
- package/lib/super-grid/src/super-grid.vue2.js +4 -2
- package/lib/super-grid/src/utils.js +322 -265
- package/lib/super-grid/src/view-image-dialog.vue.js +33 -26
- package/lib/super-icon/index.js +7 -5
- package/lib/super-icon/src/index.vue.js +7 -5
- package/lib/super-icon/src/index.vue2.js +11 -8
- package/lib/super-icon/src/index.vue3.js +4 -2
- package/lib/super-nine-grid/index.js +7 -5
- package/lib/super-nine-grid/src/apis.js +8 -5
- package/lib/super-nine-grid/src/custom-formatter.js +7 -5
- package/lib/super-nine-grid/src/formatter.js +29 -28
- package/lib/super-nine-grid/src/search-form-number.vue.js +12 -8
- package/lib/super-nine-grid/src/search-form.vue.js +40 -33
- package/lib/super-nine-grid/src/search-form.vue2.js +4 -2
- package/lib/super-nine-grid/src/search-methods.js +3 -2
- package/lib/super-nine-grid/src/store.js +4 -3
- package/lib/super-nine-grid/src/super-grid-service.js +9 -5
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +105 -95
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +4 -2
- package/lib/super-nine-grid/src/utils.js +27 -31
- package/lib/svg-icon/index.js +7 -5
- package/lib/svg-icon/src/svg-icon.vue.js +10 -8
- package/lib/svg-icon/src/svg-icon.vue2.js +4 -2
- package/lib/utils/gogocodeTransfer.js +28 -23
- package/lib/utils/memory-cache-utils.js +5 -3
- package/lib/utils/organization.js +53 -40
- package/lib/utils/utils.js +29 -27
- package/lib/utils/value-set.js +70 -68
- package/lib/valid-code/index.js +7 -5
- package/lib/valid-code/src/valid-code.vue.js +13 -10
- package/lib/valid-code/src/valid-code.vue2.js +4 -2
- package/lib/workflow-button/index.js +5 -3
- package/lib/workflow-button/src/workflow-button.vue.js +39 -34
- package/lib/workflow-history-list/index.js +7 -5
- package/lib/workflow-history-list/src/api.js +3 -2
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +65 -59
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +4 -2
- package/lib/workgroup-tree/index.js +7 -5
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +17 -11
- package/lib/workgroup-tree-inline/index.js +5 -3
- package/lib/workgroup-tree-inline/src/search-result.vue.js +25 -21
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +52 -43
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +4 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +7 -5
- package/lib/workgroup-tree-mobile/index.js +8 -5
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +14 -11
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +12 -9
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +4 -2
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +5 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +86 -76
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +28 -20
- package/lib/workgroup-user-tree/index.js +7 -5
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +17 -11
- package/lib/workgroup-user-tree-inline/index.js +5 -3
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +25 -21
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +11 -9
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +43 -34
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +4 -2
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +15 -11
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +12 -9
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +4 -2
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +5 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +104 -93
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +25 -16
- package/lib/year-range-picker/index.js +5 -3
- package/lib/year-range-picker/src/year-range-picker.vue.js +12 -9
- package/package.json +2 -5
- package/vite.config.js +21 -21
- package/dist/favicon.svg +0 -29
- package/dist/index.full.min.js +0 -16440
- package/dist/style.css +0 -3078
- package/es/IntervalSelection/index.js +0 -7
- package/es/IntervalSelection/src/sectionDate.vue.js +0 -49
- package/es/IntervalSelection/src/sectionDate.vue2.js +0 -4
- package/es/_virtual/__vite-browser-external.js +0 -4
- package/es/_virtual/_plugin-vue_export-helper.js +0 -9
- package/es/breadcrumb/index.js +0 -7
- package/es/breadcrumb/src/breadcrumb.vue.js +0 -28
- package/es/breadcrumb/src/breadcrumb.vue2.js +0 -4
- package/es/chat-embed/index.js +0 -7
- package/es/chat-embed/src/chat-addition-data.vue.js +0 -7
- package/es/chat-embed/src/chat-addition-data.vue2.js +0 -14
- package/es/chat-embed/src/chat-addition-data.vue3.js +0 -4
- package/es/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
- package/es/chat-embed/src/chat-ai-answer-tip.vue3.js +0 -4
- package/es/chat-embed/src/chat-bubble-footer.vue.js +0 -7
- package/es/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
- package/es/chat-embed/src/chat-bubble-footer.vue3.js +0 -4
- package/es/chat-embed/src/chat-embed-message.js +0 -22
- package/es/chat-embed/src/chat-sender.vue.js +0 -7
- package/es/chat-embed/src/chat-sender.vue2.js +0 -160
- package/es/chat-embed/src/chat-sender.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
- package/es/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
- package/es/chat-embed/src/components/answer-auto-chart.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-home-chart.vue.js +0 -7
- package/es/chat-embed/src/components/answer-home-chart.vue2.js +0 -6
- package/es/chat-embed/src/components/answer-home-chart.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
- package/es/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
- package/es/chat-embed/src/components/answer-interaction-data.vue3.js +0 -4
- package/es/chat-embed/src/components/history-detail.vue.js +0 -7
- package/es/chat-embed/src/components/history-detail.vue2.js +0 -55
- package/es/chat-embed/src/components/history-detail.vue3.js +0 -4
- package/es/chat-embed/src/header.vue.js +0 -7
- package/es/chat-embed/src/header.vue2.js +0 -46
- package/es/chat-embed/src/header.vue3.js +0 -4
- package/es/chat-embed/src/index.vue.js +0 -7
- package/es/chat-embed/src/index.vue2.js +0 -307
- package/es/chat-embed/src/index.vue3.js +0 -4
- package/es/chat-embed/src/recommendation-message.vue.js +0 -7
- package/es/chat-embed/src/recommendation-message.vue2.js +0 -8
- package/es/chat-embed/src/recommendation-message.vue3.js +0 -4
- package/es/chat-embed/src/sidebar-item.vue.js +0 -7
- package/es/chat-embed/src/sidebar-item.vue2.js +0 -118
- package/es/chat-embed/src/sidebar-item.vue3.js +0 -4
- package/es/chat-embed/src/type.js +0 -5
- package/es/chat-embed/src/util/chat-embed-util.js +0 -57
- package/es/chat-embed/src/util/history-message-util.js +0 -96
- package/es/chat-embed/src/util/mcp-utils.js +0 -53
- package/es/chat-embed/src/util/text-file-util.js +0 -12
- package/es/chat-embed/src/voice/index.js +0 -7
- package/es/chat-embed/src/voice/js/crypto-js.js +0 -1013
- package/es/chat-embed/src/voice/js/processor/index.umd.js +0 -178
- package/es/chat-embed/src/voice/js/timer.js +0 -11
- package/es/chat-embed/src/voice/voice.vue.js +0 -104
- package/es/date-picker-range/index.js +0 -7
- package/es/date-picker-range/index.vue.js +0 -7
- package/es/date-picker-range/index.vue2.js +0 -93
- package/es/date-picker-range/index.vue3.js +0 -4
- package/es/department-tree/index.js +0 -7
- package/es/department-tree/src/department-tree.vue.js +0 -23
- package/es/department-tree-inline/index.js +0 -7
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
- package/es/department-tree-inline/src/department-multi-tree-inline.vue2.js +0 -4
- package/es/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
- package/es/department-tree-inline/src/department-single-tree-inline.vue2.js +0 -4
- package/es/department-tree-inline/src/department-tree-inline.vue.js +0 -17
- package/es/department-tree-inline/src/department-tree-service.js +0 -108
- package/es/department-tree-inline/src/search-result.vue.js +0 -40
- package/es/department-tree-inline/src/search-result.vue2.js +0 -4
- package/es/department-tree-mobile/index.js +0 -8
- package/es/department-tree-mobile/src/department-tree-app.vue.js +0 -15
- package/es/department-tree-mobile/src/department-tree-app.vue2.js +0 -4
- package/es/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
- package/es/department-tree-mobile/src/department-tree-service.js +0 -55
- package/es/department-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/department-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/department-tree-mobile/src/dept-result.vue.js +0 -16
- package/es/department-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/department-user-tree/index.js +0 -7
- package/es/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
- package/es/department-user-tree/src/department-user-multiple-tree.vue2.js +0 -4
- package/es/department-user-tree/src/department-user-single-tree.vue.js +0 -19
- package/es/department-user-tree/src/department-user-tree.vue.js +0 -27
- package/es/department-user-tree-inline/index.js +0 -7
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +0 -4
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +0 -4
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
- package/es/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
- package/es/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
- package/es/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
- package/es/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
- package/es/department-user-tree-inline/src/group-user-tree-service.js +0 -34
- package/es/department-user-tree-inline/src/search-result.vue.js +0 -41
- package/es/department-user-tree-inline/src/search-result.vue2.js +0 -4
- package/es/department-user-tree-mobile/index.js +0 -8
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/department-user-tree-service.js +0 -38
- package/es/department-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/es/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/directives/prevent-reclick.js +0 -15
- package/es/dynamic-source-select/index.js +0 -7
- package/es/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
- package/es/dynamic-source-select/src/dynamic-source-select.vue.js +0 -276
- package/es/dynamic-source-select/src/dynamic-source-select.vue2.js +0 -4
- package/es/dynamic-source-select/src/dynamic-source-select.vue3.js +0 -4
- package/es/dynamic-source-select/src/events.js +0 -29
- package/es/empty-state/index.vue.js +0 -9
- package/es/empty-state/index.vue2.js +0 -4
- package/es/favicon.svg +0 -29
- package/es/fs-preview/index.js +0 -7
- package/es/fs-preview/src/fs-preview.vue.js +0 -120
- package/es/fs-preview/src/fs-preview.vue2.js +0 -4
- package/es/fs-upload/index.js +0 -7
- package/es/fs-upload/src/fs-upload-multi.vue.js +0 -71
- package/es/fs-upload/src/fs-upload-single.vue.js +0 -73
- package/es/fs-upload/src/fs-upload.vue.js +0 -24
- package/es/fs-upload/src/see-big-picture.vue.js +0 -12
- package/es/fs-upload-list/index.js +0 -7
- package/es/fs-upload-list/src/fs-upload-list.vue.js +0 -98
- package/es/fs-upload-list/src/fs-upload-list.vue2.js +0 -4
- package/es/fs-upload-new/index.js +0 -7
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -39
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
- package/es/fs-upload-new/src/fs-button-upload.vue.js +0 -7
- package/es/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
- package/es/fs-upload-new/src/fs-button-upload.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
- package/es/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
- package/es/fs-upload-new/src/fs-drag-upload.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-preview-new.vue.js +0 -8
- package/es/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
- package/es/fs-upload-new/src/fs-preview-new.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-preview-new.vue4.js +0 -4
- package/es/fs-upload-new/src/fs-upload-new.vue.js +0 -64
- package/es/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
- package/es/hamburger/index.js +0 -7
- package/es/hamburger/src/hamburger.vue.js +0 -15
- package/es/hamburger/src/hamburger.vue2.js +0 -4
- package/es/index.js +0 -383
- package/es/json-view/json-view-dialog.vue.js +0 -19
- package/es/json-view/json-view-dialog.vue2.js +0 -4
- package/es/json-view/json-view.vue.js +0 -4
- package/es/json-view/json-view.vue2.js +0 -36
- package/es/multipart-upload/index.js +0 -7
- package/es/multipart-upload/src/index.vue.js +0 -14
- package/es/multipart-upload/src/multipart-upload-form.vue.js +0 -82
- package/es/multipart-upload/src/multipart-upload-list.vue.js +0 -104
- package/es/organization-input/index.js +0 -7
- package/es/organization-input/src/organization-input.vue.js +0 -224
- package/es/organization-input/src/organization-input.vue2.js +0 -4
- package/es/plugins/export-data-new.js +0 -237
- package/es/plugins/export-data.js +0 -179
- package/es/plugins/index.js +0 -9
- package/es/plugins/public-method.js +0 -14
- package/es/remove-department/index.js +0 -7
- package/es/remove-department/src/remove-department.vue.js +0 -33
- package/es/remove-department/src/remove-dept-service.js +0 -13
- package/es/remove-user/index.js +0 -7
- package/es/remove-user/src/remove-user-service.js +0 -13
- package/es/remove-user/src/remove-user.vue.js +0 -35
- package/es/remove-workgroup/index.js +0 -7
- package/es/remove-workgroup/src/remove-workgroup-service.js +0 -13
- package/es/remove-workgroup/src/remove-workgroup.vue.js +0 -31
- package/es/rich-editor/index.js +0 -7
- package/es/rich-editor/index.vue.js +0 -115
- package/es/rich-editor/tinymce/zh_CN.js +0 -2
- package/es/rich-editor/viewer.vue.js +0 -27
- package/es/row-form/index.js +0 -7
- package/es/row-form/index.vue.js +0 -7
- package/es/row-form/index.vue2.js +0 -62
- package/es/row-form/index.vue3.js +0 -4
- package/es/row-form/operation.vue.js +0 -32
- package/es/row-form/operation.vue2.js +0 -4
- package/es/scan-code-input/index.js +0 -7
- package/es/scan-code-input/src/events.js +0 -15
- package/es/scan-code-input/src/scan-code-input.vue.js +0 -32
- package/es/scan-code-input-browser/index.js +0 -7
- package/es/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
- package/es/secret-info/index.js +0 -7
- package/es/secret-info/index.vue.js +0 -16
- package/es/src/api/sso-service.js +0 -57
- package/es/src/api/tab.js +0 -15
- package/es/src/assets/401/401.gif.js +0 -4
- package/es/src/assets/404/404-cloud.png.js +0 -4
- package/es/src/assets/404/404.png.js +0 -4
- package/es/src/assets/chat-embed/robot.gif.js +0 -4
- package/es/src/assets/chat-embed/robot.svg.js +0 -4
- package/es/src/assets/nonemessage.png.js +0 -4
- package/es/src/components/Affix/index.vue.js +0 -7
- package/es/src/components/Affix/index.vue2.js +0 -83
- package/es/src/components/Affix/index.vue3.js +0 -4
- package/es/src/components/Card/index.js +0 -48
- package/es/src/components/Scrollbar/index.vue.js +0 -52
- package/es/src/components/Scrollbar/index.vue2.js +0 -4
- package/es/src/directives/permission/index.js +0 -7
- package/es/src/directives/permission/permission.js +0 -11
- package/es/src/i18n/i18n.js +0 -7
- package/es/src/i18n/langs/cn.js +0 -4
- package/es/src/i18n/langs/en.js +0 -4
- package/es/src/mixins/resizeMixin.js +0 -21
- package/es/src/permission.js +0 -79
- package/es/src/router/index.js +0 -9
- package/es/src/store/getters.js +0 -4
- package/es/src/store/index.js +0 -13
- package/es/src/store/modules/app.js +0 -41
- package/es/src/store/modules/chat-ai-store.js +0 -36
- package/es/src/store/modules/permission.js +0 -31
- package/es/src/store/modules/system.js +0 -12
- package/es/src/store/modules/tab-content.js +0 -20
- package/es/src/store/modules/table.js +0 -18
- package/es/src/store/modules/user.js +0 -139
- package/es/src/utils/auth-api.js +0 -134
- package/es/src/utils/auth.js +0 -156
- package/es/src/utils/calculator/calculator-factory-wf.js +0 -167
- package/es/src/utils/calculator/calculator-factory.js +0 -93
- package/es/src/utils/calculator/calculator-util.js +0 -56
- package/es/src/utils/chat-ai-util.js +0 -34
- package/es/src/utils/common-util.js +0 -440
- package/es/src/utils/eventBus.js +0 -6
- package/es/src/utils/file-util.js +0 -23
- package/es/src/utils/global-prop.js +0 -38
- package/es/src/utils/guid.js +0 -10
- package/es/src/utils/i18n-util.js +0 -70
- package/es/src/utils/iconUtils.js +0 -26
- package/es/src/utils/index.js +0 -46
- package/es/src/utils/insert_css.js +0 -17
- package/es/src/utils/json-util.js +0 -47
- package/es/src/utils/jump-page-utils.js +0 -264
- package/es/src/utils/local-storage.js +0 -19
- package/es/src/utils/menu.js +0 -14
- package/es/src/utils/permission.js +0 -45
- package/es/src/utils/permissionAuth.js +0 -154
- package/es/src/utils/range-selector.js +0 -105
- package/es/src/utils/request.js +0 -140
- package/es/src/utils/resize.js +0 -11
- package/es/src/utils/restful-interface-utils.js +0 -18
- package/es/src/utils/util.js +0 -361
- package/es/src/utils/validate.js +0 -22
- package/es/src/utils/voice-setting-cache.js +0 -212
- package/es/src/utils/watermark-cache.js +0 -15
- package/es/src/utils/watermark.js +0 -40
- package/es/src/utils/workflow-util.js +0 -42
- package/es/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
- package/es/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
- package/es/src/views/dsc-component/Sidebar/Item.vue3.js +0 -4
- package/es/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +0 -4
- package/es/src/views/dsc-component/Sidebar/index.vue.js +0 -111
- package/es/src/views/dsc-component/tabs/tab-content.vue.js +0 -66
- package/es/src/views/dsc-component/tabs/tab-content.vue2.js +0 -4
- package/es/src/views/dsc-component/tabs/tab-content.vue3.js +0 -4
- package/es/src/views/error-page/401.vue.js +0 -15
- package/es/src/views/error-page/401.vue2.js +0 -4
- package/es/src/views/error-page/404.vue.js +0 -12
- package/es/src/views/error-page/404.vue2.js +0 -4
- package/es/src/views/layout/EmptyLayout.vue.js +0 -9
- package/es/src/views/layout/Layout.vue.js +0 -28
- package/es/src/views/layout/Layout.vue2.js +0 -4
- package/es/src/views/layout/NewLayout.vue.js +0 -11
- package/es/src/views/layout/components/AppMain.vue.js +0 -13
- package/es/src/views/layout/components/AppMain.vue2.js +0 -4
- package/es/src/views/layout/components/Breadcrumb/index.vue.js +0 -49
- package/es/src/views/layout/components/Breadcrumb/index.vue2.js +0 -4
- package/es/src/views/layout/components/Menubar/Item.vue.js +0 -7
- package/es/src/views/layout/components/Menubar/Item.vue2.js +0 -15
- package/es/src/views/layout/components/Menubar/Item.vue3.js +0 -4
- package/es/src/views/layout/components/Menubar/Link.vue.js +0 -14
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
- package/es/src/views/layout/components/Menubar/SidebarItem.vue2.js +0 -4
- package/es/src/views/layout/components/Menubar/index.vue.js +0 -90
- package/es/src/views/layout/components/Sidebar/Item.vue.js +0 -9
- package/es/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
- package/es/src/views/layout/components/Sidebar/Link.vue.js +0 -12
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.js +0 -4
- package/es/src/views/layout/components/Sidebar/index.vue.js +0 -58
- package/es/src/views/layout/components/iframe-page.vue.js +0 -14
- package/es/src/views/layout/components/iframe-page.vue2.js +0 -4
- package/es/src/views/layout/components/tabs/tab-content.vue.js +0 -64
- package/es/src/views/layout/components/tabs/tab-content.vue2.js +0 -4
- package/es/src/views/layout/components/tabs/tab-content.vue3.js +0 -4
- package/es/src/views/layout/mixin/ResizeHandler.js +0 -16
- package/es/src/views/layout/tab-content-iframe-index.vue.js +0 -14
- package/es/src/views/layout/tab-content-iframe-index.vue2.js +0 -4
- package/es/src/views/layout/tab-content-index.vue.js +0 -28
- package/es/src/views/layout/tab-content-index.vue2.js +0 -4
- package/es/src/views/login/authredirect.vue.js +0 -7
- package/es/src/views/redirect/index.vue.js +0 -8
- package/es/src/views/svg-icon/src/svg-icon.vue.js +0 -4
- package/es/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
- package/es/src/views/wf-history/tache-subprocess-history.vue2.js +0 -4
- package/es/style.css +0 -3077
- package/es/super-grid/index.js +0 -7
- package/es/super-grid/src/apis.js +0 -458
- package/es/super-grid/src/columns-config.vue.js +0 -82
- package/es/super-grid/src/components/grid-icon.vue.js +0 -47
- package/es/super-grid/src/components/grid-radio-input.vue.js +0 -25
- package/es/super-grid/src/components/grid-radio-input.vue2.js +0 -4
- package/es/super-grid/src/components/mobile-table-card.js +0 -109
- package/es/super-grid/src/components/select-input.vue.js +0 -149
- package/es/super-grid/src/components/select-input.vue2.js +0 -4
- package/es/super-grid/src/custom-formatter.js +0 -168
- package/es/super-grid/src/dynamic-input.vue.js +0 -482
- package/es/super-grid/src/eventBus.js +0 -6
- package/es/super-grid/src/events.js +0 -37
- package/es/super-grid/src/formValidatorUtil.js +0 -109
- package/es/super-grid/src/formatter.js +0 -74
- package/es/super-grid/src/group-column.vue.js +0 -24
- package/es/super-grid/src/header-context-menu.vue.js +0 -15
- package/es/super-grid/src/header-context-menu.vue2.js +0 -4
- package/es/super-grid/src/index-column.vue.js +0 -22
- package/es/super-grid/src/normal-column-content.vue.js +0 -319
- package/es/super-grid/src/normal-column-content.vue2.js +0 -4
- package/es/super-grid/src/normal-column.vue.js +0 -106
- package/es/super-grid/src/normal-column.vue2.js +0 -4
- package/es/super-grid/src/public-methods.js +0 -22
- package/es/super-grid/src/row-detail.vue.js +0 -14
- package/es/super-grid/src/row-operation.vue.js +0 -89
- package/es/super-grid/src/row-operation.vue2.js +0 -4
- package/es/super-grid/src/scan-util.js +0 -100
- package/es/super-grid/src/search-button.vue.js +0 -23
- package/es/super-grid/src/search-condition-input.vue.js +0 -17
- package/es/super-grid/src/search-condition-list.vue.js +0 -20
- package/es/super-grid/src/search-form-advancedQuery.vue.js +0 -116
- package/es/super-grid/src/search-form-advancedQuery.vue2.js +0 -4
- package/es/super-grid/src/search-form-dialog.vue.js +0 -16
- package/es/super-grid/src/search-form-item.vue.js +0 -128
- package/es/super-grid/src/search-form-item.vue2.js +0 -4
- package/es/super-grid/src/search-form-mobile.vue.js +0 -41
- package/es/super-grid/src/search-form-mobile.vue2.js +0 -4
- package/es/super-grid/src/search-form-number.vue.js +0 -26
- package/es/super-grid/src/search-form-open.vue.js +0 -50
- package/es/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
- package/es/super-grid/src/search-form-ordinarySearch.vue2.js +0 -4
- package/es/super-grid/src/search-form.vue.js +0 -201
- package/es/super-grid/src/search-form.vue2.js +0 -4
- package/es/super-grid/src/search-methods.js +0 -164
- package/es/super-grid/src/selection-column.vue.js +0 -11
- package/es/super-grid/src/store.js +0 -4
- package/es/super-grid/src/super-grid-service.js +0 -260
- package/es/super-grid/src/super-grid.vue.js +0 -1052
- package/es/super-grid/src/super-grid.vue2.js +0 -4
- package/es/super-grid/src/utils.js +0 -355
- package/es/super-grid/src/view-image-dialog.vue.js +0 -67
- package/es/super-icon/index.js +0 -7
- package/es/super-icon/src/index.vue.js +0 -7
- package/es/super-icon/src/index.vue2.js +0 -13
- package/es/super-icon/src/index.vue3.js +0 -4
- package/es/super-nine-grid/index.js +0 -7
- package/es/super-nine-grid/src/apis.js +0 -36
- package/es/super-nine-grid/src/custom-formatter.js +0 -35
- package/es/super-nine-grid/src/formatter.js +0 -37
- package/es/super-nine-grid/src/search-form-number.vue.js +0 -13
- package/es/super-nine-grid/src/search-form.vue.js +0 -91
- package/es/super-nine-grid/src/search-form.vue2.js +0 -4
- package/es/super-nine-grid/src/search-methods.js +0 -48
- package/es/super-nine-grid/src/store.js +0 -4
- package/es/super-nine-grid/src/super-grid-service.js +0 -39
- package/es/super-nine-grid/src/super-nine-grid.vue.js +0 -225
- package/es/super-nine-grid/src/super-nine-grid.vue2.js +0 -4
- package/es/super-nine-grid/src/utils.js +0 -32
- package/es/svg-icon/index.js +0 -7
- package/es/svg-icon/src/svg-icon.vue.js +0 -14
- package/es/svg-icon/src/svg-icon.vue2.js +0 -4
- package/es/utils/gogocodeTransfer.js +0 -33
- package/es/utils/memory-cache-utils.js +0 -30
- package/es/utils/organization.js +0 -57
- package/es/utils/utils.js +0 -87
- package/es/utils/value-set.js +0 -94
- package/es/valid-code/index.js +0 -7
- package/es/valid-code/src/valid-code.vue.js +0 -23
- package/es/valid-code/src/valid-code.vue2.js +0 -4
- package/es/workflow-button/index.js +0 -7
- package/es/workflow-button/src/workflow-button.vue.js +0 -85
- package/es/workflow-history-list/index.js +0 -7
- package/es/workflow-history-list/src/api.js +0 -6
- package/es/workflow-history-list/src/workflow-history-list.vue.js +0 -89
- package/es/workflow-history-list/src/workflow-history-list.vue2.js +0 -4
- package/es/workgroup-tree/index.js +0 -7
- package/es/workgroup-tree/src/workgroup-tree.vue.js +0 -23
- package/es/workgroup-tree-inline/index.js +0 -7
- package/es/workgroup-tree-inline/src/search-result.vue.js +0 -39
- package/es/workgroup-tree-inline/src/search-result.vue2.js +0 -4
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +0 -4
- package/es/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
- package/es/workgroup-tree-mobile/index.js +0 -8
- package/es/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
- package/es/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-service.js +0 -33
- package/es/workgroup-user-tree/index.js +0 -7
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
- package/es/workgroup-user-tree-inline/index.js +0 -7
- package/es/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
- package/es/workgroup-user-tree-inline/src/search-result.vue2.js +0 -4
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +0 -29
- package/es/year-range-picker/index.js +0 -7
- package/es/year-range-picker/src/year-range-picker.vue.js +0 -14
|
@@ -1,83 +1,89 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { i18nOperation as t } from "../../src/utils/workflow-util.js";
|
|
2
|
+
import { getLanguageWithLocale as e } from "../../src/utils/util.js";
|
|
3
|
+
import i from "./api.js";
|
|
4
|
+
import o from "dayjs";
|
|
5
|
+
import { resolveComponent as s, openBlock as r, createBlock as a, withCtx as l, createVNode as n, createTextVNode as h, toDisplayString as y, createElementBlock as w, createCommentVNode as p, createElementVNode as c } from "vue";
|
|
6
|
+
import "./workflow-history-list.vue2.js";
|
|
7
|
+
import d from "../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const u = { name: "WorkflowHistoryList", props: { workflowId: { type: Number, default: null }, historyList: { type: Array, default: null }, allProcessI18n: { type: Object, default: null }, maxHeight: { type: [String, Number], default: null }, beanName: { type: String, default: null }, entityName: { type: String, default: null } }, data() {
|
|
9
|
+
let t2 = null;
|
|
10
|
+
return this.historyList && this.historyList.length > 0 && (t2 = [].concat(this.historyList)), { loaded: false, histories: t2, processI18n: null, processNameI18n: null, tableMaxHeight: null, tableHeight: null, showProcessingDuration: false };
|
|
7
11
|
}, computed: {}, provide: () => ({}), created() {
|
|
8
|
-
this.workflowId, void 0 !== this.workflowId && null !== this.workflowId ? this.getI18nSet().then((
|
|
9
|
-
this.processI18n =
|
|
12
|
+
this.workflowId, void 0 !== this.workflowId && null !== this.workflowId ? this.getI18nSet().then((t2) => {
|
|
13
|
+
this.processI18n = t2, this.histories && null !== this.histories ? this.loaded = true : this.getData();
|
|
10
14
|
}) : this.initTableData();
|
|
11
15
|
}, mounted() {
|
|
12
16
|
this.$nextTick(() => {
|
|
13
17
|
this.tableHeight = window.innerHeight - 120;
|
|
14
18
|
});
|
|
15
|
-
}, methods: { ...
|
|
19
|
+
}, methods: { ...i, getData() {
|
|
16
20
|
if (this.beanName || this.entityName) {
|
|
17
|
-
const
|
|
18
|
-
this.$http.post(window.$vueApp.config.globalProperties.baseURL + "/dsc/workflow-commons/instance-histories",
|
|
19
|
-
this.handleHistory(
|
|
20
|
-
}).catch((
|
|
21
|
+
const t2 = { beanName: this.beanName, entityName: this.entityName, workflowId: this.workflowId };
|
|
22
|
+
this.$http.post(window.$vueApp.config.globalProperties.baseURL + "/dsc/workflow-commons/instance-histories", t2).then((t3) => {
|
|
23
|
+
this.handleHistory(t3);
|
|
24
|
+
}).catch((t3) => {
|
|
21
25
|
this.loaded = true;
|
|
22
26
|
});
|
|
23
27
|
} else
|
|
24
|
-
this.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/instance-histories/" + this.workflowId).then((
|
|
25
|
-
this.handleHistory(
|
|
26
|
-
}).catch((
|
|
28
|
+
this.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/instance-histories/" + this.workflowId).then((t2) => {
|
|
29
|
+
this.handleHistory(t2);
|
|
30
|
+
}).catch((t2) => {
|
|
27
31
|
this.loaded = true;
|
|
28
32
|
});
|
|
29
|
-
}, handleHistory(
|
|
30
|
-
this.histories =
|
|
31
|
-
}, initTableData(
|
|
32
|
-
|
|
33
|
+
}, handleHistory(t2) {
|
|
34
|
+
this.histories = t2.histories, t2 && t2.currentTasks && (this.histories = this.histories.concat(t2.currentTasks)), this.computeStayDurations(this.histories), this.loaded = true, this.maxHeight ? this.tableMaxHeight = Number(this.maxHeight) : (this.$parent.$el.offsetHeight && (this.tableMaxHeight = this.$parent.$el.offsetHeight), this.tableMaxHeight || (this.tableMaxHeight = window.innerHeight - 120));
|
|
35
|
+
}, initTableData(t2) {
|
|
36
|
+
t2 ? (this.histories = t2.histories, t2 && t2.currentTasks && (this.histories = this.histories.concat(t2.currentTasks))) : this.histories = [], this.computeStayDurations(this.histories), this.loaded = true, this.maxHeight ? this.tableMaxHeight = Number(this.maxHeight) : (this.$parent && this.$parent.$el && this.$parent.$el.offsetHeight && (this.tableMaxHeight = this.$parent.$el.offsetHeight), this.tableMaxHeight || (this.tableMaxHeight = window.innerHeight - 120));
|
|
33
37
|
}, getI18nSet() {
|
|
34
|
-
return new Promise((
|
|
35
|
-
this.allProcessI18n ?
|
|
36
|
-
e2(t3);
|
|
37
|
-
}).catch((e3) => {
|
|
38
|
+
return new Promise((t2, e2) => {
|
|
39
|
+
this.allProcessI18n ? t2(this.allProcessI18n) : this.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/i18n-settings/get-bundle-info?workflowId=" + this.workflowId).then((e3) => {
|
|
38
40
|
t2(e3);
|
|
41
|
+
}).catch((t3) => {
|
|
42
|
+
e2(t3);
|
|
39
43
|
});
|
|
40
44
|
});
|
|
41
|
-
}, i18nOperation(
|
|
42
|
-
let
|
|
43
|
-
const
|
|
44
|
-
return
|
|
45
|
-
}, i18nTaskName(
|
|
46
|
-
let
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
let
|
|
50
|
-
const
|
|
51
|
-
if (
|
|
52
|
-
const
|
|
53
|
-
|
|
45
|
+
}, i18nOperation(i2) {
|
|
46
|
+
let o2, s2;
|
|
47
|
+
const r2 = e(), a2 = i2.bundleCode;
|
|
48
|
+
return a2 && "" !== a2 && this.processI18n && (o2 = this.processI18n[a2]), o2 && o2.processName && (s2 = o2.processName[r2]), t(i2, s2, o2, r2);
|
|
49
|
+
}, i18nTaskName(t2) {
|
|
50
|
+
let i2;
|
|
51
|
+
const o2 = t2.bundleCode;
|
|
52
|
+
o2 && "" !== o2 && this.processI18n && (i2 = this.processI18n[o2]);
|
|
53
|
+
let s2 = null;
|
|
54
|
+
const r2 = t2.i18nKey;
|
|
55
|
+
if (r2 && i2 && i2[r2]) {
|
|
56
|
+
const t3 = e();
|
|
57
|
+
s2 = i2[r2][t3];
|
|
54
58
|
}
|
|
55
|
-
return
|
|
56
|
-
}, getChildren(
|
|
57
|
-
|
|
58
|
-
}, computeStayDurations(
|
|
59
|
-
if (
|
|
60
|
-
for (let
|
|
61
|
-
const
|
|
62
|
-
if (
|
|
63
|
-
|
|
59
|
+
return s2 && null !== s2 || (s2 = t2.taskName), s2;
|
|
60
|
+
}, getChildren(t2, e2, i2) {
|
|
61
|
+
i2(t2.children);
|
|
62
|
+
}, computeStayDurations(t2) {
|
|
63
|
+
if (t2 && 0 !== t2.length)
|
|
64
|
+
for (let e2 = 0; e2 < t2.length; e2++) {
|
|
65
|
+
const i2 = t2[e2];
|
|
66
|
+
if (i2.processingDuration && (this.showProcessingDuration = true), 0 === e2) {
|
|
67
|
+
i2.stayDuration = "N/A";
|
|
64
68
|
continue;
|
|
65
69
|
}
|
|
66
|
-
const
|
|
67
|
-
if (!(
|
|
70
|
+
const s2 = t2[e2 - 1];
|
|
71
|
+
if (!(i2 && s2 && i2.createdTime && s2.createdTime))
|
|
68
72
|
continue;
|
|
69
|
-
const
|
|
70
|
-
if (!
|
|
71
|
-
|
|
73
|
+
const r2 = o(i2.createdTime).diff(o(s2.createdTime));
|
|
74
|
+
if (!r2 || r2 <= 0) {
|
|
75
|
+
i2.stayDuration = "N/A";
|
|
72
76
|
continue;
|
|
73
77
|
}
|
|
74
|
-
const
|
|
75
|
-
let
|
|
76
|
-
n2 > 0 &&
|
|
78
|
+
const a2 = Math.max(1, Math.ceil(r2 / 6e4)), l2 = 1440, n2 = Math.floor(a2 / l2), h2 = a2 % l2, y2 = Math.floor(h2 / 60), w2 = h2 % 60;
|
|
79
|
+
let p2 = [];
|
|
80
|
+
n2 > 0 && p2.push(n2 + this.$t("IntervalSelection.tian")), y2 > 0 && p2.push(y2 + this.$t("IntervalSelection.hour")), w2 > 0 && p2.push(w2 + this.$t("IntervalSelection.minute")), 0 === p2.length && p2.push("0" + this.$t("IntervalSelection.minute")), i2.stayDuration = p2.join("");
|
|
77
81
|
}
|
|
78
|
-
} } },
|
|
79
|
-
const
|
|
80
|
-
const
|
|
81
|
-
return
|
|
82
|
+
} } }, f = { key: 0 }, k = { key: 1 }, g = { key: 2, style: { color: "#e6a23c" } }, m = { key: 3 }, b = { key: 4, style: { color: "red" } }, H = { key: 0 }, T = { key: 1 }, $ = { key: 0 }, S = { key: 1 }, D = { key: 0 }, N = { key: 1 }, _ = { key: 0 }, I = { key: 1 }, L = { key: 0 }, x = { key: 1 }, P = { key: 0 }, E = { key: 0 }, v = { key: 1 }, C = { key: 0 }, O = { key: 1 }, R = { key: 0, class: "red-circle" }, M = { key: 1, class: "green-circle" }, A = { key: 0 }, j = { key: 1, style: { color: "#e6a23c" } }, z = { key: 2 }, K = { key: 0 }, U = { key: 1 };
|
|
83
|
+
const W = d(u, [["render", function(t2, e2, i2, o2, d2, u2) {
|
|
84
|
+
const W2 = s("el-table-column"), q = s("el-tag"), B = s("el-table");
|
|
85
|
+
return d2.loaded ? (r(), a(B, { key: 0, ref: "historyList", data: d2.histories, height: d2.tableHeight, load: u2.getChildren, "max-height": d2.tableMaxHeight, "tree-props": { children: "children", hasChildren: "hasChildren" }, border: "", "element-loading-text": "Loading", fit: "", "highlight-current-row": "", lazy: "", "row-key": "uuid", style: { width: "100%" } }, { default: l(() => [n(W2, { label: t2.$t("workflowHistoryList.index"), align: "center", width: "60" }, { default: l((t3) => [h(y(t3.$index + 1), 1)]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.taskName"), align: "center" }, { default: l((e3) => [e3.row.historyType && "PROCESS_START" === e3.row.historyType ? (r(), w("span", f, y(t2.$t("workflowHistoryList.processStart")), 1)) : e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r(), w("span", k, y(t2.$t("workflowHistoryList.processEnd")), 1)) : e3.row.current ? (r(), w("span", g, y(u2.i18nTaskName(e3.row)), 1)) : e3.row.special ? true === e3.row.special ? (r(), w("span", b, y(u2.i18nTaskName(e3.row) + "[" + t2.$t("workflowHistoryList.specailText") + "]"), 1)) : p("", true) : (r(), w("span", m, y(u2.i18nTaskName(e3.row)), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.operator"), align: "center", width: "80" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", H)) : (r(), w("span", T, y(t3.row.creatorName), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.operatorLg"), align: "center", width: "120" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", $)) : (r(), w("span", S, y(t3.row.creator), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.operatorDept"), align: "center" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", D)) : (r(), w("span", N, y(t3.row.departmentName), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.operationTime"), align: "center" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", _)) : (r(), w("span", I, y(t3.row.formatCreatedTime), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.stayDuration"), align: "center", width: "90" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", L)) : t3.row.copyTask ? p("", true) : (r(), w("span", x, y(t3.row.stayDuration), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.taskState"), align: "center", width: "90" }, { default: l((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r(), w("span", P)) : e3.row.current ? (r(), a(q, { key: 1, type: "warning" }, { default: l(() => [h(y(t2.$t("workflowHistoryList.taskStateDoing")), 1)]), _: 1 })) : (r(), a(q, { key: 2, type: "success" }, { default: l(() => [h(y(t2.$t("workflowHistoryList.taskStateDone")), 1)]), _: 1 }))]), _: 1 }, 8, ["label"]), d2.showProcessingDuration ? (r(), a(W2, { key: 0, label: t2.$t("workflowHistoryList.processingDuration"), align: "center", width: "110" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", E)) : t3.row.copyTask ? p("", true) : (r(), w("span", v, y(t3.row.processingDuration), 1))]), _: 1 }, 8, ["label"])) : p("", true), d2.showProcessingDuration ? (r(), a(W2, { key: 1, label: t2.$t("workflowHistoryList.isOverdue"), align: "center", width: "90" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", C)) : (r(), w("span", O, [t3.row.overdueDuration && t3.row.overdueDuration > 0 ? (r(), w("div", R)) : (r(), w("div", M))]))]), _: 1 }, 8, ["label"])) : p("", true), n(W2, { label: t2.$t("workflowHistoryList.operation"), align: "left" }, { default: l((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r(), w("span", A)) : e3.row.current ? (r(), w("span", j, y(e3.row.transactionResult) + " " + y(t2.$t("workflowHistoryList.toDoText")), 1)) : (r(), w("span", z, y(u2.i18nOperation(e3.row)), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.opinion"), align: "left" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", K)) : (r(), w("span", U, y(t3.row.opinion), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.remark"), align: "left" }, { default: l((t3) => [c("span", null, y(t3.row.remark), 1)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "height", "load", "max-height"])) : p("", true);
|
|
82
86
|
}], ["__scopeId", "data-v-998f4283"]]);
|
|
83
|
-
|
|
87
|
+
export {
|
|
88
|
+
W as default
|
|
89
|
+
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
e.
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import o from "./src/workgroup-tree.vue.js";
|
|
2
|
+
o.install = function(e) {
|
|
3
|
+
e.component(o.name, o);
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
o as default
|
|
7
|
+
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import o from "../../workgroup-tree-inline/src/workgroup-tree-inline.vue.js";
|
|
3
|
+
import l from "../../workgroup-tree-mobile/src/workgroup-tree-app.vue.js";
|
|
4
|
+
import "../../workgroup-tree-mobile/src/workgroup-tree-app.vue2.js";
|
|
5
|
+
import { isMobileBrowser as t } from "../../src/utils/common-util.js";
|
|
6
|
+
import { resolveComponent as r, openBlock as i, createElementBlock as n, createBlock as u, withCtx as s, createElementVNode as p, createVNode as a, createTextVNode as c, toDisplayString as m } from "vue";
|
|
7
|
+
import d from "../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const f = { name: "WorkgroupTree", components: { InlineWorkgroupTree: o, WorkgroupMobileTree: l }, props: { multiple: { type: Boolean, default: true }, branchInfo: { type: Array, default: null }, title: { type: String, default: null }, width: { type: String, default: "60%" }, selectWorkgroupInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "code" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, data() {
|
|
5
9
|
let e2 = this.$t("imatrixUIMessage.pleaseSelectATeam");
|
|
6
10
|
this.title && (e2 = this.title);
|
|
7
|
-
return { myTitle: e2, isMobile:
|
|
11
|
+
return { myTitle: e2, isMobile: t() };
|
|
8
12
|
}, methods: { result(o2) {
|
|
9
|
-
e
|
|
13
|
+
e(this, "close", o2);
|
|
10
14
|
}, selectWorkgroup() {
|
|
11
15
|
this.$refs.workgroupTree.selectWorkgroup();
|
|
12
|
-
} }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] },
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
return
|
|
16
|
+
} }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] }, g = { class: "dialog-footer" };
|
|
17
|
+
const k = d(f, [["render", function(e2, o2, l2, t2, d2, f2) {
|
|
18
|
+
const k2 = r("WorkgroupMobileTree"), h = r("inline-workgroup-tree"), b = r("el-button"), y = r("el-dialog");
|
|
19
|
+
return i(), n("div", null, [d2.isMobile ? (i(), u(k2, { key: 0, ref: "workgroupTree", "close-on-click-modal": false, "close-on-press-escape": false, "branch-info": l2.branchInfo, multiple: l2.multiple, "search-field": l2.searchField, "select-workgroup-info": l2.selectWorkgroupInfo, "limit-filter-column": l2.limitFilterColumn, separator: l2.separator, onClose: f2.result }, null, 8, ["branch-info", "multiple", "search-field", "select-workgroup-info", "limit-filter-column", "separator", "onClose"])) : (i(), u(y, { key: 1, "close-on-click-modal": false, title: d2.myTitle, width: l2.multiple ? "60%" : "40%", "append-to-body": "", class: "user-tree", "model-value": "", onClose: o2[1] || (o2[1] = (o3) => e2.$emit("close")), onClosed: o2[2] || (o2[2] = (o3) => e2.$emit("closed")), onOpen: o2[3] || (o2[3] = (o3) => e2.$emit("open")), onOpend: o2[4] || (o2[4] = (o3) => e2.$emit("opend")) }, { footer: s(() => [p("div", g, [a(b, { class: "button--default", size: "default", onClick: o2[0] || (o2[0] = (o3) => e2.$emit("close")) }, { default: s(() => [c(m(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }), a(b, { size: "default", type: "primary", onClick: f2.selectWorkgroup }, { default: s(() => [c(m(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"])])]), default: s(() => [a(h, { ref: "workgroupTree", "branch-info": l2.branchInfo, "limit-filter-column": l2.limitFilterColumn, multiple: l2.multiple, onResult: f2.result }, null, 8, ["branch-info", "limit-filter-column", "multiple", "onResult"])]), _: 1 }, 8, ["title", "width"]))]);
|
|
16
20
|
}]]);
|
|
17
|
-
|
|
21
|
+
export {
|
|
22
|
+
k as default
|
|
23
|
+
};
|
|
@@ -1,35 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Plus as e, Delete as l } from "@element-plus/icons-vue";
|
|
2
|
+
import { $emit as t } from "../../utils/gogocodeTransfer.js";
|
|
3
|
+
import { resolveComponent as r, openBlock as o, createElementBlock as i, createVNode as a, withCtx as s, createBlock as n, createTextVNode as u, toDisplayString as d, createCommentVNode as p, createElementVNode as c } from "vue";
|
|
4
|
+
import "./search-result.vue2.js";
|
|
5
|
+
import g from "../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const w = { data() {
|
|
5
7
|
let t2 = this.height;
|
|
6
8
|
t2 = t2.substring(0, t2.indexOf("px"));
|
|
7
|
-
return { singleWorkgroupIndex: null, selectedWorkgroup: null, myHeight: parseInt(t2) + 30 + "px", language: window.$locale ? window.$locale : "cn", ElIconPlus: e
|
|
9
|
+
return { singleWorkgroupIndex: null, selectedWorkgroup: null, myHeight: parseInt(t2) + 30 + "px", language: window.$locale ? window.$locale : "cn", ElIconPlus: e, ElIconDelete: l };
|
|
8
10
|
}, name: "WorkgroupResult", props: { gridData: { type: Array, default: null }, multiple: { type: Boolean, default: false }, isSearchResult: { type: Boolean, default: true }, height: { type: String, default: "300px" }, selectResult: { type: Array, default: function() {
|
|
9
11
|
return [];
|
|
10
12
|
} } }, created() {
|
|
11
13
|
}, methods: { removeWorkgroup(e2, l2) {
|
|
12
|
-
t
|
|
14
|
+
t(this, "removeWorkgroup", e2, l2);
|
|
13
15
|
}, addWorkgroup(e2, l2) {
|
|
14
|
-
t
|
|
16
|
+
t(this, "addWorkgroup", e2, JSON.parse(JSON.stringify(l2)));
|
|
15
17
|
}, selectWorkgroup(e2) {
|
|
16
|
-
t
|
|
17
|
-
}, rowClick(e2, l2,
|
|
18
|
-
this.singleWorkgroupIndex = e2.row_index, t
|
|
19
|
-
}, tableRowClassName({ row: e2, rowIndex:
|
|
20
|
-
e2.row_index =
|
|
21
|
-
}, rowDblclick(e2, l2,
|
|
22
|
-
this.multiple ? t
|
|
18
|
+
t(this, "selectResult", this.gridData[e2]);
|
|
19
|
+
}, rowClick(e2, l2, r2) {
|
|
20
|
+
this.singleWorkgroupIndex = e2.row_index, t(this, "selectResult", e2);
|
|
21
|
+
}, tableRowClassName({ row: e2, rowIndex: l2 }) {
|
|
22
|
+
e2.row_index = l2;
|
|
23
|
+
}, rowDblclick(e2, l2, r2) {
|
|
24
|
+
this.multiple ? t(this, "addWorkgroup", null, e2) : t(this, "resultRowDblclick", e2);
|
|
23
25
|
}, isDisable(e2) {
|
|
24
26
|
if (this.selectResult) {
|
|
25
|
-
const
|
|
26
|
-
if (
|
|
27
|
+
const l2 = this.selectResult.filter(this.filterWorkgroup(e2));
|
|
28
|
+
if (l2 && l2.length > 0)
|
|
27
29
|
return true;
|
|
28
30
|
}
|
|
29
31
|
return false;
|
|
30
|
-
}, filterWorkgroup: (e2) => (
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
return
|
|
32
|
+
}, filterWorkgroup: (e2) => (l2) => l2.id === e2.id }, emits: ["removeWorkgroup", "addWorkgroup", "selectResult", "resultRowDblclick", ,] }, k = { style: { height: "100%" } }, m = ["title"], h = ["title"], f = ["title"];
|
|
33
|
+
const b = g(w, [["render", function(e2, l2, t2, g2, w2, b2) {
|
|
34
|
+
const x = r("el-radio"), y = r("el-table-column"), W = r("el-button"), R = r("el-table");
|
|
35
|
+
return o(), i("div", k, [a(R, { ref: "superGrid", data: t2.gridData, "max-height": w2.myHeight, "row-class-name": b2.tableRowClassName, border: "", fit: "", "row-key": "id", onRowClick: b2.rowClick, onRowDblclick: b2.rowDblclick }, { default: s(() => [false === t2.multiple ? (o(), n(y, { key: 0, fixed: "", width: "60" }, { default: s((e3) => [a(x, { modelValue: w2.singleWorkgroupIndex, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => w2.singleWorkgroupIndex = e4), label: e3.$index, onChange: b2.selectWorkgroup }, { default: s(() => [u(d(e3.$index + 1), 1)]), _: 2 }, 1032, ["modelValue", "label", "onChange"])]), _: 1 })) : p("", true), t2.multiple && t2.isSearchResult ? (o(), n(y, { key: 1, label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "", width: "60px" }, { default: s((e3) => [c("div", null, [a(W, { disabled: b2.isDisable(e3.row), icon: w2.ElIconPlus, circle: "", size: "default", type: "primary", onClick: (l3) => b2.addWorkgroup(e3.$index, e3.row) }, null, 8, ["disabled", "icon", "onClick"])])]), _: 1 }, 8, ["label"])) : p("", true), t2.multiple && !t2.isSearchResult ? (o(), n(y, { key: 2, label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "", width: "60px" }, { default: s((e3) => [c("div", null, [a(W, { icon: w2.ElIconDelete, circle: "", size: "default", type: "danger", onClick: (l3) => b2.removeWorkgroup(e3.$index, e3.row) }, null, 8, ["icon", "onClick"])])]), _: 1 }, 8, ["label"])) : p("", true), t2.multiple ? (o(), n(y, { key: 3, label: e2.$t("superGrid.index"), align: "center", width: "60px" }, { default: s((e3) => [u(d(e3.$index + 1), 1)]), _: 1 }, 8, ["label"])) : p("", true), a(y, { label: e2.$t("workgroupTree.workingGroupName"), width: 110, prop: "name" }, { default: s((e3) => [c("span", { title: e3.row.name, class: "ellipsis cell--span" }, d(e3.row.name), 9, m)]), _: 1 }, 8, ["label"]), a(y, { label: e2.$t("workgroupTree.workingGroupNumber"), width: 110, prop: "code" }, { default: s((e3) => [c("span", { title: e3.row.code, class: "ellipsis cell--span" }, d(e3.row.code), 9, h)]), _: 1 }, 8, ["label"]), a(y, { label: e2.$t("workgroupTree.workgroupDescription"), width: 300, prop: "description" }, { default: s((e3) => [c("span", { title: e3.row.description, class: "ellipsis cell--span" }, d(e3.row.description), 9, f)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "max-height", "row-class-name", "onRowClick", "onRowDblclick"])]);
|
|
34
36
|
}]]);
|
|
35
|
-
|
|
37
|
+
export {
|
|
38
|
+
b as default
|
|
39
|
+
};
|
|
@@ -1,20 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Search as e } from "@element-plus/icons-vue";
|
|
2
|
+
import { $emit as t } from "../../utils/gogocodeTransfer.js";
|
|
3
|
+
import s from "../../src/utils/local-storage.js";
|
|
4
|
+
import o from "../../utils/utils.js";
|
|
5
|
+
import l from "./workgroup-tree-service.js";
|
|
6
|
+
import r from "./search-result.vue.js";
|
|
7
|
+
import i from "../../empty-state/index.vue.js";
|
|
8
|
+
import { resolveComponent as a, openBlock as n, createElementBlock as d, createVNode as h, withCtx as c, withKeys as u, Fragment as p, createElementVNode as g, createBlock as f, normalizeClass as k, toDisplayString as m, createCommentVNode as w, pushScopeId as y, popScopeId as N } from "vue";
|
|
9
|
+
import "./workgroup-tree-inline.vue2.js";
|
|
10
|
+
import S from "../../_virtual/_plugin-vue_export-helper.js";
|
|
11
|
+
const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "name", children: "children", isLeaf: "leaf" }, containBranch: false, tenantNodeId: -1, restaurants: [], searchValue: null, searchResult: [], selectResult: [], searchStoreKey: "searchWorkgroup", selectNodeInfo: null, selectWorkgroupData: null, tenantInfo: {}, ElIconSearch: e, canShowOrgTree: false }), name: "InlineWorkgroupTree", components: { WorkgroupResult: r, EmptyState: i }, props: { multiple: { type: Boolean, default: true }, branchInfo: { type: Array, default: null }, selectGroupInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "code" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, computed: {}, watch: { filterText(e2) {
|
|
5
12
|
e2 || (this.searchValue = e2, this.loadWorkgroup(this.tenantNodeId));
|
|
6
13
|
} }, created() {
|
|
7
|
-
|
|
14
|
+
o.canShowOrgTree().then((e2) => {
|
|
8
15
|
this.canShowOrgTree = e2;
|
|
9
16
|
}), this.multiple && this.initSelectGroups(this.searchField, this.selectGroupInfo, this.separator).then((e2) => {
|
|
10
17
|
e2 && (this.selectResult = e2);
|
|
11
18
|
});
|
|
12
19
|
}, mounted() {
|
|
13
|
-
var e2 =
|
|
20
|
+
var e2 = s.getObject(this.searchStoreKey);
|
|
14
21
|
this.restaurants = e2 || [];
|
|
15
|
-
}, methods: { ...
|
|
16
|
-
const
|
|
17
|
-
|
|
22
|
+
}, methods: { ...o, ...l, addWorkgroup(e2, t2) {
|
|
23
|
+
const s2 = this.selectResult.filter(this.filterWorkgroup(t2));
|
|
24
|
+
s2 && 0 === s2.length && this.selectResult.push(t2);
|
|
18
25
|
}, filterWorkgroup: (e2) => (t2) => t2.id === e2.id, removeWorkgroup(e2, t2) {
|
|
19
26
|
if (this.$refs.workgroupTree) {
|
|
20
27
|
const e3 = this.$refs.workgroupTree.getCheckedKeys().filter(this.filterWorkgroupNode(t2));
|
|
@@ -26,21 +33,21 @@ const a = require("../../_virtual/_plugin-vue_export-helper.js"), c = { data: ()
|
|
|
26
33
|
}, filterWorkgroupNode: (e2) => (t2) => t2 === e2.id, getSelectWorkgroup(e2) {
|
|
27
34
|
this.packageSelectResult(e2);
|
|
28
35
|
}, resultRowDblclick(e2) {
|
|
29
|
-
this.packageSelectResult(e2), t
|
|
36
|
+
this.packageSelectResult(e2), t(this, "result", this.selectNodeInfo);
|
|
30
37
|
}, packageSelectResult(e2) {
|
|
31
38
|
e2.tenantCode = this.tenantInfo.code, e2.tenantName = this.tenantInfo.tenantName;
|
|
32
39
|
const t2 = { id: e2.id, name: e2.name, code: e2.code, subCompanyName: e2.subCompanyName, workgroup: e2 };
|
|
33
40
|
this.selectNodeInfo = t2;
|
|
34
41
|
}, handleSelect(e2) {
|
|
35
|
-
this.handleSelectUtil(e2,
|
|
42
|
+
this.handleSelectUtil(e2, s);
|
|
36
43
|
}, search(e2) {
|
|
37
44
|
this.searchValue = e2, this.$refs.workgroupTree.filter(e2);
|
|
38
45
|
}, clickSearch() {
|
|
39
|
-
this.storeSeachValue(
|
|
40
|
-
}, filterNode(e2, t2,
|
|
46
|
+
this.storeSeachValue(s, this.searchStoreKey, this.filterText), this.search(this.filterText);
|
|
47
|
+
}, filterNode(e2, t2, s2) {
|
|
41
48
|
if (e2) {
|
|
42
|
-
var
|
|
43
|
-
return t2.id !== this.tenantNodeId && (this.containBranch && (
|
|
49
|
+
var o2 = t2.name;
|
|
50
|
+
return t2.id !== this.tenantNodeId && (this.containBranch && (o2 = o2.substring(0, o2.lastIndexOf("("))), -1 !== o2.indexOf(e2));
|
|
44
51
|
}
|
|
45
52
|
return true;
|
|
46
53
|
}, handleCheckNode(e2, t2) {
|
|
@@ -50,14 +57,14 @@ const a = require("../../_virtual/_plugin-vue_export-helper.js"), c = { data: ()
|
|
|
50
57
|
t2 && t2.forEach((e3) => {
|
|
51
58
|
this.$refs.workgroupTree.setChecked(e3.id, true);
|
|
52
59
|
});
|
|
53
|
-
}, handleNodeClick(e2, t2,
|
|
60
|
+
}, handleNodeClick(e2, t2, s2) {
|
|
54
61
|
this.multiple && this.clickNodeWhenMultiple(e2), this.selectSingleNode(e2, false);
|
|
55
|
-
}, selectSingleNode(e2,
|
|
62
|
+
}, selectSingleNode(e2, s2) {
|
|
56
63
|
if (this.isWorkgroupNode(e2) && !this.multiple) {
|
|
57
64
|
const l2 = JSON.parse(e2.data);
|
|
58
65
|
l2.tenantCode = this.tenantInfo.code, l2.tenantName = this.tenantInfo.tenantName;
|
|
59
|
-
var
|
|
60
|
-
this.selectNodeInfo =
|
|
66
|
+
var o2 = { id: e2.id, name: e2.name, code: l2.code, containBranch: this.containBranch, workgroup: l2 };
|
|
67
|
+
this.selectNodeInfo = o2, true === s2 && t(this, "result", o2);
|
|
61
68
|
}
|
|
62
69
|
}, clickNodeWhenMultiple(e2) {
|
|
63
70
|
var t2 = [];
|
|
@@ -67,7 +74,7 @@ const a = require("../../_virtual/_plugin-vue_export-helper.js"), c = { data: ()
|
|
|
67
74
|
}, singleSetValue() {
|
|
68
75
|
let e2 = false;
|
|
69
76
|
if (this.searchValue)
|
|
70
|
-
this.selectNodeInfo ? t
|
|
77
|
+
this.selectNodeInfo ? t(this, "result", this.selectNodeInfo) : e2 = true;
|
|
71
78
|
else {
|
|
72
79
|
const t2 = this.$refs.workgroupTree.getCurrentNode();
|
|
73
80
|
t2 && null !== t2 && this.isWorkgroupNode(t2) ? this.selectSingleNode(t2, true) : e2 = true;
|
|
@@ -75,26 +82,26 @@ const a = require("../../_virtual/_plugin-vue_export-helper.js"), c = { data: ()
|
|
|
75
82
|
this.showTip(e2);
|
|
76
83
|
}, multipleSetValue() {
|
|
77
84
|
let e2 = false;
|
|
78
|
-
var
|
|
85
|
+
var s2 = { ids: [], names: [], codes: [], workgroups: [] };
|
|
79
86
|
if (this.searchValue)
|
|
80
87
|
this.selectResult.length > 0 ? (this.selectResult.forEach((e3) => {
|
|
81
88
|
const t2 = { id: e3.id, name: e3.name, code: e3.code };
|
|
82
|
-
this.addSelectedWorkgroupInfo(
|
|
83
|
-
}), t
|
|
89
|
+
this.addSelectedWorkgroupInfo(s2, t2, e3);
|
|
90
|
+
}), t(this, "result", s2)) : e2 = true;
|
|
84
91
|
else {
|
|
85
|
-
var
|
|
86
|
-
if (
|
|
87
|
-
if (0 ===
|
|
92
|
+
var o2 = this.$refs.workgroupTree.getCheckedNodes();
|
|
93
|
+
if (o2)
|
|
94
|
+
if (0 === o2.length)
|
|
88
95
|
e2 = true;
|
|
89
96
|
else {
|
|
90
|
-
for (var l2 = 0; l2 <
|
|
91
|
-
var
|
|
92
|
-
if (
|
|
93
|
-
const e3 = JSON.parse(
|
|
94
|
-
this.addSelectedWorkgroupInfo(
|
|
97
|
+
for (var l2 = 0; l2 < o2.length; l2++) {
|
|
98
|
+
var r2 = o2[l2];
|
|
99
|
+
if (r2.id !== this.tenantNodeId) {
|
|
100
|
+
const e3 = JSON.parse(r2.data);
|
|
101
|
+
this.addSelectedWorkgroupInfo(s2, r2, e3);
|
|
95
102
|
}
|
|
96
103
|
}
|
|
97
|
-
|
|
104
|
+
s2.ids.length > 0 ? t(this, "result", s2) : e2 = true;
|
|
98
105
|
}
|
|
99
106
|
else
|
|
100
107
|
e2 = true;
|
|
@@ -104,16 +111,18 @@ const a = require("../../_virtual/_plugin-vue_export-helper.js"), c = { data: ()
|
|
|
104
111
|
this.multiple ? this.multipleSetValue() : this.singleSetValue();
|
|
105
112
|
}, showTip(e2) {
|
|
106
113
|
e2 && this.$alert(this.$t("imatrixUIMessage.pleaseSelectATeam"), this.$t("imatrixUIMessage.tips"), { confirmButtonText: this.$t("imatrixUIPublicModel.sure") });
|
|
107
|
-
}, addSelectedWorkgroupInfo(e2, t2,
|
|
108
|
-
|
|
114
|
+
}, addSelectedWorkgroupInfo(e2, t2, s2) {
|
|
115
|
+
s2.tenantCode = this.tenantInfo.code, s2.tenantName = this.tenantInfo.tenantName, e2.containBranch = this.containBranch, e2.ids.push(t2.id), e2.workgroups.push(s2), e2.codes.push(s2.code), e2.names.push(t2.name);
|
|
109
116
|
}, loadNode(e2, t2) {
|
|
110
|
-
var
|
|
111
|
-
|
|
112
|
-
var
|
|
113
|
-
this.$refs.workgroupTree && (
|
|
114
|
-
} }, emits: ["result"] },
|
|
115
|
-
const
|
|
116
|
-
const i2 =
|
|
117
|
-
return n
|
|
117
|
+
var s2 = 0;
|
|
118
|
+
s2 = 0 === e2.level ? 0 : e2.data.id;
|
|
119
|
+
var o2 = [];
|
|
120
|
+
this.$refs.workgroupTree && (o2 = this.$refs.workgroupTree.getCheckedKeys()), -1 === s2 && e2.data.children && e2.data.children.length > 0 ? t2(e2.data.children) : this.initLoad(s2, e2, t2, o2);
|
|
121
|
+
} }, emits: ["result"] }, T = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, I = ["title"], v = { key: 1, style: { height: "100%", overflow: "hidden" } }, x = ((e2) => (y("data-v-22410ec9"), e2 = e2(), N(), e2))(() => g("table", { border: "1px", cellpadding: "0", cellspacing: "0", style: { height: "100%", "border-left-style": "solid", "border-bottom-style": "none", "border-right-style": "none", "border-top-style": "none", "border-left-color": "#cccccc" } }, null, -1)), W = { style: { "text-align": "left", "font-size": "16px" } }, b = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
|
|
122
|
+
const C = S(R, [["render", function(e2, t2, s2, o2, l2, r2) {
|
|
123
|
+
const i2 = a("el-button"), y2 = a("el-autocomplete"), N2 = a("el-header"), S2 = a("Menu"), R2 = a("Calendar"), C2 = a("el-icon"), $ = a("el-tree"), O = a("EmptyState"), V = a("workgroup-result"), _ = a("el-main"), K = a("el-container"), j = a("el-aside");
|
|
124
|
+
return n(), d("div", null, [h(K, { style: { height: "395px" } }, { default: c(() => [h(j, { width: "430px" }, { default: c(() => [h(K, { style: { height: "390px" } }, { default: c(() => [h(N2, { style: { "text-align": "right", "font-size": "12px", height: "35px" } }, { default: c(() => [h(y2, { modelValue: l2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("imatrixUIMessage.pleaseEnterTeamName"), "trigger-on-focus": false, class: "inline-input inline-input-custom", "select-when-unmatched": "", onSelect: r2.handleSelect, onKeyup: u(r2.clickSearch, ["enter"]) }, { append: c(() => [h(i2, { icon: l2.ElIconSearch, onClick: r2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), h(_, null, { default: c(() => [l2.searchValue ? w("", true) : (n(), d(p, { key: 0 }, [l2.canShowOrgTree ? (n(), d("div", T, [h($, { ref: "workgroupTree", "filter-node-method": r2.filterNode, load: r2.loadNode, props: l2.defaultProps, "show-checkbox": s2.multiple, lazy: "", "node-key": "id", onCheck: r2.handleCheckNode, onNodeClick: r2.handleNodeClick }, { default: c(({ node: e3, data: t3 }) => [g("span", null, [h(C2, null, { default: c(() => [-1 === e3.data.id ? (n(), f(S2, { key: 0 })) : (n(), f(R2, { key: 1 }))]), _: 2 }, 1024), g("span", { class: k(t3.nodeType && "WORKGROUP" === t3.nodeType && l2.searchValue && t3.name.indexOf(l2.searchValue) > -1 ? "searchResult" : ""), title: e3.label }, m(e3.label), 11, I)])]), _: 1 }, 8, ["filter-node-method", "load", "props", "show-checkbox", "onCheck", "onNodeClick"])])) : (n(), f(O, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), l2.searchValue && l2.searchValue.length > 0 ? (n(), d("div", v, [h(V, { ref: "workgroupResult", "grid-data": l2.searchResult, height: e2.height, "is-search-result": true, multiple: s2.multiple, "select-result": l2.selectResult, onAddWorkgroup: r2.addWorkgroup, onResultRowDblclick: r2.resultRowDblclick, onSelectResult: r2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "select-result", "onAddWorkgroup", "onResultRowDblclick", "onSelectResult"])])) : w("", true)]), _: 1 })]), _: 1 })]), _: 1 }), s2.multiple ? (n(), f(K, { key: 0 }, { default: c(() => [h(j, { width: "2px" }, { default: c(() => [x]), _: 1 }), h(_, { style: { padding: "10px" } }, { default: c(() => [g("div", W, m(e2.$t("imatrixUIMessage.selectedWorkingGroup")) + ":", 1), g("div", b, [h(V, { "grid-data": l2.selectResult, height: e2.height, "is-search-result": false, multiple: s2.multiple, onRemoveWorkgroup: r2.removeWorkgroup, onResultRowDblclick: r2.resultRowDblclick, onSelectResult: r2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "onRemoveWorkgroup", "onResultRowDblclick", "onSelectResult"])])]), _: 1 })]), _: 1 })) : w("", true)]), _: 1 })]);
|
|
118
125
|
}], ["__scopeId", "data-v-22410ec9"]]);
|
|
119
|
-
|
|
126
|
+
export {
|
|
127
|
+
C as default
|
|
128
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const
|
|
1
|
+
import "vue";
|
|
2
|
+
import { getI18n as e } from "../../src/utils/util.js";
|
|
3
|
+
const t = { initLoad(e2, t2, o, s) {
|
|
4
4
|
const r = { parentId: e2, departmentInfo: this.branchInfo };
|
|
5
5
|
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/workgroups", r).then((r2) => {
|
|
6
6
|
if (o(r2), this.$refs.workgroupTree.updateKeyChildren(e2, r2), 0 === e2) {
|
|
@@ -19,7 +19,7 @@ const e = require("../../src/utils/util.js"), t = { initLoad(e2, t2, o, s) {
|
|
|
19
19
|
}, filterAppendNodes(t2) {
|
|
20
20
|
const o = { searchValue: t2 };
|
|
21
21
|
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-workgroups", o).then((t3) => {
|
|
22
|
-
this.searchResult = t3, 0 !== this.searchResult.length || this.$message({ showClose: true, type: "error", message: e
|
|
22
|
+
this.searchResult = t3, 0 !== this.searchResult.length || this.$message({ showClose: true, type: "error", message: e().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
23
23
|
});
|
|
24
24
|
}, initSelectGroups(e2, t2, o) {
|
|
25
25
|
return new Promise((s, r) => {
|
|
@@ -30,4 +30,6 @@ const e = require("../../src/utils/util.js"), t = { initLoad(e2, t2, o, s) {
|
|
|
30
30
|
}) : s([]);
|
|
31
31
|
});
|
|
32
32
|
} };
|
|
33
|
-
|
|
33
|
+
export {
|
|
34
|
+
t as default
|
|
35
|
+
};
|