agilebuilder-ui 1.1.65-tmp13 → 1.1.65-tmp15
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/dist/index.full.min.js +16440 -0
- package/{es → dist}/style.css +2121 -2120
- 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 +382 -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 +9 -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 +769 -769
- 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 +4 -5
- package/vite.config.js +10 -10
- 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/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/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
- /package/{es → dist}/favicon.svg +0 -0
|
@@ -1,128 +0,0 @@
|
|
|
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) {
|
|
12
|
-
e2 || (this.searchValue = e2, this.loadWorkgroup(this.tenantNodeId));
|
|
13
|
-
} }, created() {
|
|
14
|
-
o.canShowOrgTree().then((e2) => {
|
|
15
|
-
this.canShowOrgTree = e2;
|
|
16
|
-
}), this.multiple && this.initSelectGroups(this.searchField, this.selectGroupInfo, this.separator).then((e2) => {
|
|
17
|
-
e2 && (this.selectResult = e2);
|
|
18
|
-
});
|
|
19
|
-
}, mounted() {
|
|
20
|
-
var e2 = s.getObject(this.searchStoreKey);
|
|
21
|
-
this.restaurants = e2 || [];
|
|
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);
|
|
25
|
-
}, filterWorkgroup: (e2) => (t2) => t2.id === e2.id, removeWorkgroup(e2, t2) {
|
|
26
|
-
if (this.$refs.workgroupTree) {
|
|
27
|
-
const e3 = this.$refs.workgroupTree.getCheckedKeys().filter(this.filterWorkgroupNode(t2));
|
|
28
|
-
e3.length > 0 && e3.forEach((e4) => {
|
|
29
|
-
this.$refs.workgroupTree.setChecked(e4, false);
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
this.selectResult = this.removeRow(this.selectResult, t2), this.selectResult && 0 !== this.selectResult.length || this.$refs.workgroupTree && this.$refs.workgroupTree.setCheckedKeys([]);
|
|
33
|
-
}, filterWorkgroupNode: (e2) => (t2) => t2 === e2.id, getSelectWorkgroup(e2) {
|
|
34
|
-
this.packageSelectResult(e2);
|
|
35
|
-
}, resultRowDblclick(e2) {
|
|
36
|
-
this.packageSelectResult(e2), t(this, "result", this.selectNodeInfo);
|
|
37
|
-
}, packageSelectResult(e2) {
|
|
38
|
-
e2.tenantCode = this.tenantInfo.code, e2.tenantName = this.tenantInfo.tenantName;
|
|
39
|
-
const t2 = { id: e2.id, name: e2.name, code: e2.code, subCompanyName: e2.subCompanyName, workgroup: e2 };
|
|
40
|
-
this.selectNodeInfo = t2;
|
|
41
|
-
}, handleSelect(e2) {
|
|
42
|
-
this.handleSelectUtil(e2, s);
|
|
43
|
-
}, search(e2) {
|
|
44
|
-
this.searchValue = e2, this.$refs.workgroupTree.filter(e2);
|
|
45
|
-
}, clickSearch() {
|
|
46
|
-
this.storeSeachValue(s, this.searchStoreKey, this.filterText), this.search(this.filterText);
|
|
47
|
-
}, filterNode(e2, t2, s2) {
|
|
48
|
-
if (e2) {
|
|
49
|
-
var o2 = t2.name;
|
|
50
|
-
return t2.id !== this.tenantNodeId && (this.containBranch && (o2 = o2.substring(0, o2.lastIndexOf("("))), -1 !== o2.indexOf(e2));
|
|
51
|
-
}
|
|
52
|
-
return true;
|
|
53
|
-
}, handleCheckNode(e2, t2) {
|
|
54
|
-
t2.checkedKeys.indexOf(e2.id) > -1 ? e2.id === this.tenantNodeId ? this.checkedAllWorkgroups(e2) : this.selectResult.push(JSON.parse(e2.data)) : e2.id === this.tenantNodeId ? this.$refs.workgroupTree.setCheckedKeys([]) : this.selectResult = this.removeRow(this.selectResult, JSON.parse(e2.data));
|
|
55
|
-
}, checkedAllWorkgroups(e2) {
|
|
56
|
-
const t2 = e2.children;
|
|
57
|
-
t2 && t2.forEach((e3) => {
|
|
58
|
-
this.$refs.workgroupTree.setChecked(e3.id, true);
|
|
59
|
-
});
|
|
60
|
-
}, handleNodeClick(e2, t2, s2) {
|
|
61
|
-
this.multiple && this.clickNodeWhenMultiple(e2), this.selectSingleNode(e2, false);
|
|
62
|
-
}, selectSingleNode(e2, s2) {
|
|
63
|
-
if (this.isWorkgroupNode(e2) && !this.multiple) {
|
|
64
|
-
const l2 = JSON.parse(e2.data);
|
|
65
|
-
l2.tenantCode = this.tenantInfo.code, l2.tenantName = this.tenantInfo.tenantName;
|
|
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);
|
|
68
|
-
}
|
|
69
|
-
}, clickNodeWhenMultiple(e2) {
|
|
70
|
-
var t2 = [];
|
|
71
|
-
this.$refs.workgroupTree && (t2 = this.$refs.workgroupTree.getCheckedKeys()), this.$refs.workgroupTree.store.nodesMap[e2.id].expanded = true, t2.indexOf(e2.id) > -1 ? (this.$refs.workgroupTree.setChecked(e2.id, false), e2.id === this.tenantNodeId ? this.$refs.workgroupTree.setCheckedKeys([]) : this.selectResult = this.removeRow(this.selectResult, JSON.parse(e2.data))) : (this.$refs.workgroupTree.setChecked(e2.id, true), e2.id === this.tenantNodeId ? this.checkedAllWorkgroups(e2) : this.selectResult.push(JSON.parse(e2.data)));
|
|
72
|
-
}, isWorkgroupNode(e2) {
|
|
73
|
-
return e2.id !== this.tenantNodeId && e2.nodeType && "WORKGROUP" === e2.nodeType;
|
|
74
|
-
}, singleSetValue() {
|
|
75
|
-
let e2 = false;
|
|
76
|
-
if (this.searchValue)
|
|
77
|
-
this.selectNodeInfo ? t(this, "result", this.selectNodeInfo) : e2 = true;
|
|
78
|
-
else {
|
|
79
|
-
const t2 = this.$refs.workgroupTree.getCurrentNode();
|
|
80
|
-
t2 && null !== t2 && this.isWorkgroupNode(t2) ? this.selectSingleNode(t2, true) : e2 = true;
|
|
81
|
-
}
|
|
82
|
-
this.showTip(e2);
|
|
83
|
-
}, multipleSetValue() {
|
|
84
|
-
let e2 = false;
|
|
85
|
-
var s2 = { ids: [], names: [], codes: [], workgroups: [] };
|
|
86
|
-
if (this.searchValue)
|
|
87
|
-
this.selectResult.length > 0 ? (this.selectResult.forEach((e3) => {
|
|
88
|
-
const t2 = { id: e3.id, name: e3.name, code: e3.code };
|
|
89
|
-
this.addSelectedWorkgroupInfo(s2, t2, e3);
|
|
90
|
-
}), t(this, "result", s2)) : e2 = true;
|
|
91
|
-
else {
|
|
92
|
-
var o2 = this.$refs.workgroupTree.getCheckedNodes();
|
|
93
|
-
if (o2)
|
|
94
|
-
if (0 === o2.length)
|
|
95
|
-
e2 = true;
|
|
96
|
-
else {
|
|
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);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
s2.ids.length > 0 ? t(this, "result", s2) : e2 = true;
|
|
105
|
-
}
|
|
106
|
-
else
|
|
107
|
-
e2 = true;
|
|
108
|
-
}
|
|
109
|
-
this.showTip(e2);
|
|
110
|
-
}, selectWorkgroup() {
|
|
111
|
-
this.multiple ? this.multipleSetValue() : this.singleSetValue();
|
|
112
|
-
}, showTip(e2) {
|
|
113
|
-
e2 && this.$alert(this.$t("imatrixUIMessage.pleaseSelectATeam"), this.$t("imatrixUIMessage.tips"), { confirmButtonText: this.$t("imatrixUIPublicModel.sure") });
|
|
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);
|
|
116
|
-
}, loadNode(e2, t2) {
|
|
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 })]);
|
|
125
|
-
}], ["__scopeId", "data-v-22410ec9"]]);
|
|
126
|
-
export {
|
|
127
|
-
C as default
|
|
128
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import "vue";
|
|
2
|
-
import { getI18n as e } from "../../src/utils/util.js";
|
|
3
|
-
const t = { initLoad(e2, t2, o, s) {
|
|
4
|
-
const r = { parentId: e2, departmentInfo: this.branchInfo };
|
|
5
|
-
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/workgroups", r).then((r2) => {
|
|
6
|
-
if (o(r2), this.$refs.workgroupTree.updateKeyChildren(e2, r2), 0 === e2) {
|
|
7
|
-
const e3 = r2[0].data;
|
|
8
|
-
this.tenantInfo = JSON.parse(e3), this.containBranch = r2[0].containBranch, this.loadWorkgroup(this.tenantNodeId);
|
|
9
|
-
}
|
|
10
|
-
s && s.indexOf(e2) > -1 && e2 === this.tenantNodeId && this.checkedAllWorkgroups(t2.data);
|
|
11
|
-
});
|
|
12
|
-
}, loadWorkgroup(e2) {
|
|
13
|
-
const t2 = { parentId: e2, departmentInfo: this.branchInfo };
|
|
14
|
-
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/workgroups", t2).then((t3) => {
|
|
15
|
-
this.$refs.workgroupTree.updateKeyChildren(e2, t3), this.$refs.workgroupTree.store.nodesMap[e2] && (this.$refs.workgroupTree.store.nodesMap[e2].expanded = true);
|
|
16
|
-
});
|
|
17
|
-
}, querySearch(e2, t2) {
|
|
18
|
-
this.searchValue = e2, this.searchResult = [], this.selectNodeInfo = null, e2 && e2.length > 0 ? (this.filterAppendNodes(e2), t2([])) : t2([]);
|
|
19
|
-
}, filterAppendNodes(t2) {
|
|
20
|
-
const o = { searchValue: t2 };
|
|
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().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
23
|
-
});
|
|
24
|
-
}, initSelectGroups(e2, t2, o) {
|
|
25
|
-
return new Promise((s, r) => {
|
|
26
|
-
e2 && t2 ? this.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/select-workgroups?searchField=" + e2 + "&selectWorkgroupInfo=" + t2 + "&separator=" + o).then((e3) => {
|
|
27
|
-
s(e3);
|
|
28
|
-
}).catch((e3) => {
|
|
29
|
-
r(e3);
|
|
30
|
-
}) : s([]);
|
|
31
|
-
});
|
|
32
|
-
} };
|
|
33
|
-
export {
|
|
34
|
-
t as default
|
|
35
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, resolveComponent as l, openBlock as a, createBlock as o, unref as s, isRef as n, withCtx as r, createElementVNode as i, toDisplayString as d, createVNode as u } from "vue";
|
|
2
|
-
import { DeleteFilled as c } from "@element-plus/icons-vue";
|
|
3
|
-
const m = { style: { "text-align": "center" } }, p = { class: "item-row" }, f = { class: "item-label" }, v = ["onClick"], k = e({ __name: "dept-result", props: { selectDepts: { type: Array, default: null } }, emits: ["removeDept"], setup(e2, { expose: k2, emit: y }) {
|
|
4
|
-
let _ = t(false);
|
|
5
|
-
return k2({ showResult: function() {
|
|
6
|
-
_.value = true, JSON.stringify();
|
|
7
|
-
} }), (t2, k3) => {
|
|
8
|
-
const g = l("el-icon"), D = l("el-tree"), R = l("el-drawer");
|
|
9
|
-
return a(), o(R, { modelValue: s(_), "onUpdate:modelValue": k3[0] || (k3[0] = (e3) => n(_) ? _.value = e3 : _ = e3), direction: "btt", size: "80%", class: "organization-tree" }, { header: r(() => [i("div", m, d(t2.$t("departmentTreeInline.selectResultTitle")), 1)]), default: r(() => [u(D, { ref: "orgResultTreeRef", data: e2.selectDepts, "node-key": "nodeId", "check-on-click-node": "" }, { default: r(({ node: e3, data: t3 }) => [i("div", p, [i("div", f, d(t3.name), 1), i("div", { class: "item-side", onClick: (e4) => {
|
|
10
|
-
y("removeDept", t3);
|
|
11
|
-
} }, [u(g, null, { default: r(() => [u(s(c))]), _: 1 })], 8, v)])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue"]);
|
|
12
|
-
};
|
|
13
|
-
} });
|
|
14
|
-
export {
|
|
15
|
-
k as default
|
|
16
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as o, openBlock as r, createBlock as t, unref as a, isRef as i, withCtx as n, createElementVNode as s, toDisplayString as c, createCommentVNode as p } from "vue";
|
|
2
|
-
import u from "./workgroup-tree-inline-app.vue.js";
|
|
3
|
-
const m = { style: { "text-align": "center" } }, d = e({ name: "DepartmentTreeMobile", props: { multiple: {}, branchInfo: {}, selectWorkgroupInfo: {}, searchField: {}, separator: {}, limitFilterColumn: {} }, emits: ["close"], setup(e2, { emit: d2 }) {
|
|
4
|
-
let f = l(true);
|
|
5
|
-
function h(e3) {
|
|
6
|
-
d2("close", e3), f.value = false;
|
|
7
|
-
}
|
|
8
|
-
return (e3, l2) => {
|
|
9
|
-
const d3 = o("el-drawer");
|
|
10
|
-
return r(), t(d3, { modelValue: a(f), "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => i(f) ? f.value = e4 : f = e4), "append-to-body": "", "close-on-click-modal": false, "close-on-press-escape": false, direction: "btt", size: "100%", class: "organization-tree", onClose: l2[1] || (l2[1] = (e4) => h()) }, { header: n(() => [s("div", m, c(e3.$t("imatrixUIMessage.pleaseSelect")), 1)]), default: n(() => [a(f) ? (r(), t(u, { key: 0, multiple: e3.multiple, branchInfo: e3.branchInfo, selectWorkgroupInfo: e3.selectWorkgroupInfo, searchField: e3.searchField, "limit-filter-column": e3.limitFilterColumn, separator: e3.separator, onClose: h }, null, 8, ["multiple", "branchInfo", "selectWorkgroupInfo", "searchField", "limit-filter-column", "separator"])) : p("", true)]), _: 1 }, 8, ["modelValue"]);
|
|
11
|
-
};
|
|
12
|
-
} });
|
|
13
|
-
export {
|
|
14
|
-
d as default
|
|
15
|
-
};
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, onMounted as t, resolveComponent as a, openBlock as n, createElementBlock as o, createVNode as s, withCtx as u, createElementVNode as r, createBlock as i, unref as c, isRef as d, createCommentVNode as p, withKeys as m, toDisplayString as f, createTextVNode as h } from "vue";
|
|
2
|
-
import { Search as v, ArrowUpBold as g } from "@element-plus/icons-vue";
|
|
3
|
-
import { initSelectGroups as y, getTenant as k, getTenantChildren as I, checkedDeptDefault as w } from "./workgroup-tree-service.js";
|
|
4
|
-
import { resizeScrollTargetHeightUtil as b } from "../../utils/organization.js";
|
|
5
|
-
import x from "./dept-result.vue.js";
|
|
6
|
-
import { ElMessage as _ } from "element-plus";
|
|
7
|
-
import { useI18n as C } from "vue-i18n";
|
|
8
|
-
import R from "../../utils/utils.js";
|
|
9
|
-
import O from "../../src/assets/nonemessage.png.js";
|
|
10
|
-
const T = { style: { display: "flex" } }, V = { style: { flex: "0 0 20%", "text-align": "left" } }, N = { style: { flex: "0 0 80%", "text-align": "right" } }, S = { class: "item-row" }, U = { class: "item-label" }, $ = { style: { display: "flex" } }, E = { key: 0 }, K = { style: { "padding-left": "10px" } }, P = { key: 1 }, j = { class: "button-area" }, J = e({ __name: "workgroup-tree-inline-app", props: { multiple: {}, branchInfo: {}, selectWorkgroupInfo: {}, searchField: {}, separator: {}, limitFilterColumn: {} }, emits: ["close"], setup(e2, { emit: J2 }) {
|
|
11
|
-
const B = e2, D = l(null);
|
|
12
|
-
let M = l(null), W = l(false), q = l(null), z = l([]);
|
|
13
|
-
l([]);
|
|
14
|
-
let A = l([]);
|
|
15
|
-
l([]), l([]);
|
|
16
|
-
let F = l([]), G = l(null), H = l(false), L = l({ searchValue: null, treeType: "GROUP_TREE", departmentInfo: null });
|
|
17
|
-
const { t: Q } = C();
|
|
18
|
-
function X() {
|
|
19
|
-
R.canShowOrgTree().then((e3) => {
|
|
20
|
-
e3 ? I(B.branchInfo, -1).then((e4) => {
|
|
21
|
-
z.value = e4, w(A.value, F.value);
|
|
22
|
-
}) : z.value = [];
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
function Y(e3, l2, t2) {
|
|
26
|
-
B.multiple && (l2 ? ee(e3) : le(e3));
|
|
27
|
-
}
|
|
28
|
-
function Z(e3, l2, t2, a2) {
|
|
29
|
-
!B.multiple && e3.nodeType && "WORKGROUP" === e3.nodeType && (A.value = [e3]);
|
|
30
|
-
}
|
|
31
|
-
function ee(e3) {
|
|
32
|
-
if (A.value, e3.nodeType && "WORKGROUP" === e3.nodeType) {
|
|
33
|
-
const l2 = A.value.filter((l3) => l3.nodeId === e3.nodeId);
|
|
34
|
-
l2 && 0 !== l2.length || A.value.push(JSON.parse(JSON.stringify(e3)));
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
function le(e3) {
|
|
38
|
-
const l2 = A.value.findIndex((l3) => l3.nodeId === e3.nodeId);
|
|
39
|
-
A.value, void 0 !== l2 && -1 !== l2 && A.value.splice(l2, 1), H.value = false;
|
|
40
|
-
}
|
|
41
|
-
function te(e3) {
|
|
42
|
-
if (B.multiple)
|
|
43
|
-
if (e3) {
|
|
44
|
-
const e4 = z.value.map((e5) => e5.nodeId);
|
|
45
|
-
D.value.setCheckedKeys(e4, false), z.value.forEach((e5) => {
|
|
46
|
-
ee(e5);
|
|
47
|
-
});
|
|
48
|
-
} else
|
|
49
|
-
z.value.forEach((e4) => {
|
|
50
|
-
le(e4);
|
|
51
|
-
}), D.value.setCheckedKeys([], false);
|
|
52
|
-
}
|
|
53
|
-
function ae() {
|
|
54
|
-
G.value.showResult();
|
|
55
|
-
}
|
|
56
|
-
function ne(e3) {
|
|
57
|
-
const l2 = A.value.filter((l3) => l3.nodeId === e3.nodeId);
|
|
58
|
-
if (l2 && l2.length > 0) {
|
|
59
|
-
const l3 = [];
|
|
60
|
-
A.value.forEach((t2) => {
|
|
61
|
-
t2.nodeId !== e3.nodeId && l3.push(t2.nodeId);
|
|
62
|
-
}), D.value.setCheckedKeys(l3, true);
|
|
63
|
-
}
|
|
64
|
-
le(e3);
|
|
65
|
-
}
|
|
66
|
-
function oe() {
|
|
67
|
-
if (B.multiple) {
|
|
68
|
-
let e3 = { ids: [], names: [], codes: [], workgroups: [] };
|
|
69
|
-
A.value.forEach((l3) => {
|
|
70
|
-
let t2;
|
|
71
|
-
t2 = null !== l3.data && void 0 !== l3.data ? JSON.parse(l3.data) : l3, function(e4, l4, t3) {
|
|
72
|
-
e4.ids.push(l4.id), e4.codes.push(t3.code), e4.containBranch = W.value, t3.tenantCode = M.value.code, t3.tenantName = M.value.tenantName, e4.workgroups.push(t3);
|
|
73
|
-
const a2 = t3.name;
|
|
74
|
-
e4.names.push(a2);
|
|
75
|
-
}(e3, l3, t2);
|
|
76
|
-
});
|
|
77
|
-
let l2 = { ids: [], names: [], codes: [], workgroups: [] };
|
|
78
|
-
Object.assign(l2, e3), l2.ids.length > 0 ? J2("close", l2) : _({ message: Q("imatrixUIMessage.pleaseSelectDepartment"), type: "warning" });
|
|
79
|
-
} else {
|
|
80
|
-
const e3 = A.value[0], l2 = JSON.parse(e3.data), t2 = e3.name;
|
|
81
|
-
l2.tenantName = M.value.tenantName, l2.tenantCode = M.value.code;
|
|
82
|
-
const a2 = { id: e3.id, name: t2, code: l2.code, containBranch: W.value, workgroup: l2 };
|
|
83
|
-
J2("close", a2);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
function se() {
|
|
87
|
-
L.value.searchValue ? (L.value.searchValue = L.value.searchValue.trim(), L.value.departmentInfo = B.branchInfo, window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-mobile-workgroups", L.value).then((e3) => {
|
|
88
|
-
e3 ? (0 === e3.length && _({ message: Q("imatrixUIMessage.queryResultIsEmpty"), type: "warning" }), z.value = e3) : _({ message: Q("imatrixUIMessage.queryResultIsEmpty"), type: "warning" });
|
|
89
|
-
})) : X();
|
|
90
|
-
}
|
|
91
|
-
return t(() => {
|
|
92
|
-
y(B.searchField, B.selectWorkgroupInfo, B.separator).then((e3) => {
|
|
93
|
-
A.value = e3, k().then((e4) => {
|
|
94
|
-
const l2 = e4[0].data;
|
|
95
|
-
M.value = JSON.parse(l2), W.value = e4[0].containBranch, q.value = e4[0].name, X();
|
|
96
|
-
});
|
|
97
|
-
}), function() {
|
|
98
|
-
const e3 = document.querySelector(".org-tree");
|
|
99
|
-
let l2 = b();
|
|
100
|
-
l2 = l2 - 110 - 60 - 60 - 60, e3.style.height = l2 + "px", e3.style.minHeight = "300px";
|
|
101
|
-
}();
|
|
102
|
-
}), (e3, l2) => {
|
|
103
|
-
const t2 = a("el-checkbox"), y2 = a("el-icon"), k2 = a("el-input"), I2 = a("el-col"), w2 = a("el-row"), b2 = a("el-card"), _2 = a("el-breadcrumb-item"), C2 = a("el-breadcrumb"), R2 = a("el-empty"), J3 = a("el-tree"), B2 = a("el-button");
|
|
104
|
-
return n(), o("div", null, [s(b2, { class: "card-content", style: { height: "50px" } }, { default: u(() => [s(w2, { class: "item-row item-row-all" }, { default: u(() => [s(I2, { style: { width: "100%" } }, { default: u(() => [r("div", T, [r("div", V, [e3.multiple ? (n(), i(t2, { key: 0, modelValue: c(H), "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => d(H) ? H.value = e4 : H = e4), label: e3.$t("departmentTreeInline.allCheck"), value: "all", onChange: te }, null, 8, ["modelValue", "label"])) : p("", true)]), r("div", N, [s(k2, { modelValue: c(L).searchValue, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => c(L).searchValue = e4), placeholder: e3.$t("departmentTreeInline.pleaseInputNameOrCode"), onClear: se, onKeyup: m(se, ["enter"]), onBlur: se, clearable: "" }, { suffix: u(() => [s(y2, { onClick: se }, { default: u(() => [s(c(v))]), _: 1 })]), _: 1 }, 8, ["modelValue", "placeholder", "onKeyup"])])])]), _: 1 })]), _: 1 })]), _: 1 }), c(q) ? (n(), i(b2, { key: 0, class: "card-content", style: { height: "40px" } }, { default: u(() => [s(w2, { class: "item-row item-row-all" }, { default: u(() => [s(I2, { class: "item-label dept-path" }, { default: u(() => [s(C2, { separator: "/" }, { default: u(() => [s(_2, null, { default: u(() => [r("span", null, f(c(q)), 1)]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 })) : p("", true), s(b2, { class: "card-content org-tree", style: { overflow: "auto" } }, { default: u(() => [c(z).length ? (n(), i(J3, { key: 1, ref_key: "orgTreeRef", ref: D, data: c(z), "show-checkbox": e3.multiple, "node-key": "nodeId", "check-on-click-node": "", "default-checked-keys": c(F), onCheckChange: Y, onNodeClick: Z }, { default: u(({ node: e4, data: l3 }) => [r("div", S, [r("div", U, f(l3.name), 1)])]), _: 1 }, 8, ["data", "show-checkbox", "default-checked-keys"])) : (n(), i(R2, { key: 0, image: c(O) }, null, 8, ["image"]))]), _: 1 }), s(b2, { class: "card-footer" }, { default: u(() => [r("div", $, [r("div", { class: "select-result", onClick: ae }, [e3.multiple ? (n(), o("span", { key: 0, onClick: ae }, [c(A).length > 0 ? (n(), o("span", E, [h(f(e3.$t("departmentTreeInline.selectResultInfoHasSelect")) + f(e3.$t("workgroupTree.selectResultInfo", { num: c(A).length })) + " ", 1), r("span", K, [s(y2, null, { default: u(() => [s(c(g))]), _: 1 })])])) : p("", true)])) : c(A).length > 0 ? (n(), o("span", P, f(e3.$t("departmentTreeInline.selectResultInfoHasSelect")) + f(c(A)[0].name), 1)) : p("", true)]), r("div", j, [s(B2, { size: "large", type: "primary", onClick: oe }, { default: u(() => [h(f(e3.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 })])])]), _: 1 }), s(x, { ref_key: "deptResultRef", ref: G, selectDepts: c(A), onRemoveDept: ne }, null, 8, ["selectDepts"])]);
|
|
105
|
-
};
|
|
106
|
-
} });
|
|
107
|
-
export {
|
|
108
|
-
J as default
|
|
109
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
function o() {
|
|
2
|
-
return window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/departments/0");
|
|
3
|
-
}
|
|
4
|
-
function e(o2, e2) {
|
|
5
|
-
return function(o3, e3) {
|
|
6
|
-
const n2 = { parentId: e3, departmentInfo: o3 };
|
|
7
|
-
return new Promise((o4, e4) => {
|
|
8
|
-
window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/workgroups", n2).then((e5) => {
|
|
9
|
-
o4(e5);
|
|
10
|
-
});
|
|
11
|
-
});
|
|
12
|
-
}(o2, e2);
|
|
13
|
-
}
|
|
14
|
-
function n(o2, e2) {
|
|
15
|
-
e2 = [], o2.forEach((o3) => {
|
|
16
|
-
e2.push(o3.nodeId);
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
function t(o2, e2, n2) {
|
|
20
|
-
return new Promise((t2, r) => {
|
|
21
|
-
o2 && e2 ? window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/select-workgroups?searchField=" + o2 + "&selectWorkgroupInfo=" + e2 + "&separator=" + n2).then((o3) => {
|
|
22
|
-
t2(o3);
|
|
23
|
-
}).catch((o3) => {
|
|
24
|
-
r(o3);
|
|
25
|
-
}) : t2([]);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
export {
|
|
29
|
-
n as checkedDeptDefault,
|
|
30
|
-
o as getTenant,
|
|
31
|
-
e as getTenantChildren,
|
|
32
|
-
t as initSelectGroups
|
|
33
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
-
import r from "../../workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js";
|
|
3
|
-
import o from "../../workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js";
|
|
4
|
-
import "../../workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js";
|
|
5
|
-
import { isMobileBrowser as l } from "../../src/utils/common-util.js";
|
|
6
|
-
import { resolveComponent as t, openBlock as s, createElementBlock as i, createBlock as n, withCtx as u, createElementVNode as p, createVNode as a, createTextVNode as c, toDisplayString as d } from "vue";
|
|
7
|
-
import m from "../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
-
const f = { name: "WorkgroupUserTree", components: { InlineWorkgroupUserTree: r, WorkgroupMobileUserTree: o }, props: { multiple: { type: Boolean, default: true }, branchInfo: { type: Array, default: null }, title: { type: String, default: null }, width: { type: String, default: "30%" }, selectUserInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "loginName" }, separator: { type: String, default: "," } }, data() {
|
|
9
|
-
let e2 = this.$t("imatrixUIMessage.pleaseSelectATeam");
|
|
10
|
-
this.title && (e2 = this.title);
|
|
11
|
-
return { myTitle: e2, isMobile: l() };
|
|
12
|
-
}, methods: { result(r2) {
|
|
13
|
-
e(this, "close", r2);
|
|
14
|
-
}, selectWorkgroupUser() {
|
|
15
|
-
this.$refs.workgroupUserTree.selectWorkgroupUser();
|
|
16
|
-
} }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] }, g = { class: "dialog-footer" };
|
|
17
|
-
const h = m(f, [["render", function(e2, r2, o2, l2, m2, f2) {
|
|
18
|
-
const h2 = t("WorkgroupMobileUserTree"), k = t("inline-workgroup-user-tree"), b = t("el-button"), y = t("el-dialog");
|
|
19
|
-
return s(), i("div", null, [m2.isMobile ? (s(), n(h2, { key: 0, "close-on-click-modal": false, "close-on-press-escape": false, multiple: o2.multiple, "branch-info": o2.branchInfo, "search-field": o2.searchField, "select-user-info": o2.selectUserInfo, separator: o2.separator, onClose: f2.result }, null, 8, ["multiple", "branch-info", "search-field", "select-user-info", "separator", "onClose"])) : (s(), n(y, { key: 1, "close-on-click-modal": false, title: m2.myTitle, width: o2.multiple ? "60%" : "40%", "append-to-body": "", class: "user-tree", "model-value": "", onClose: r2[1] || (r2[1] = (r3) => e2.$emit("close")), onClosed: r2[2] || (r2[2] = (r3) => e2.$emit("closed")), onOpen: r2[3] || (r2[3] = (r3) => e2.$emit("open")), onOpend: r2[4] || (r2[4] = (r3) => e2.$emit("opend")) }, { footer: u(() => [p("div", g, [a(b, { size: "default", onClick: r2[0] || (r2[0] = (r3) => e2.$emit("close")) }, { default: u(() => [c(d(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }), a(b, { size: "default", type: "primary", onClick: f2.selectWorkgroupUser }, { default: u(() => [c(d(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"])])]), default: u(() => [a(k, { ref: "workgroupUserTree", "branch-info": o2.branchInfo, multiple: o2.multiple, "search-field": o2.searchField, "select-user-info": o2.selectUserInfo, separator: o2.separator, onResult: f2.result }, null, 8, ["branch-info", "multiple", "search-field", "select-user-info", "separator", "onResult"])]), _: 1 }, 8, ["title", "width"]))]);
|
|
20
|
-
}]]);
|
|
21
|
-
export {
|
|
22
|
-
h as default
|
|
23
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
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 a, openBlock as r, createElementBlock as i, createVNode as n, withCtx as o, createBlock as s, createTextVNode as d, toDisplayString as u, createCommentVNode as p, createElementVNode as m } from "vue";
|
|
4
|
-
import "./search-result.vue2.js";
|
|
5
|
-
import c from "../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
-
const g = { data() {
|
|
7
|
-
let t2 = this.height;
|
|
8
|
-
t2 = t2.substring(0, t2.indexOf("px"));
|
|
9
|
-
return { singleUserIndex: null, selectedUser: null, myHeight: parseInt(t2) + 30 + "px", language: window.$locale ? window.$locale : "cn", ElIconPlus: e, ElIconDelete: l };
|
|
10
|
-
}, name: "UserResult", props: { gridData: { type: Array, default: null }, containBranch: { type: Boolean, default: false }, multiple: { type: Boolean, default: false }, isSearchResult: { type: Boolean, default: true }, height: { type: String, default: "300px" }, selectResult: { type: Array, default: function() {
|
|
11
|
-
return [];
|
|
12
|
-
} } }, created() {
|
|
13
|
-
}, methods: { removeWorkgroupUser(e2, l2) {
|
|
14
|
-
t(this, "removeWorkgroupUser", e2, l2);
|
|
15
|
-
}, addWorkgroupUser(e2, l2) {
|
|
16
|
-
t(this, "addWorkgroupUser", e2, JSON.parse(JSON.stringify(l2)));
|
|
17
|
-
}, selectWorkgroupUser(e2) {
|
|
18
|
-
t(this, "selectResult", this.gridData[e2]);
|
|
19
|
-
}, rowClick(e2, l2, a2) {
|
|
20
|
-
this.singleUserIndex = e2.row_index, t(this, "selectResult", e2);
|
|
21
|
-
}, tableRowClassName({ row: e2, rowIndex: l2 }) {
|
|
22
|
-
e2.row_index = l2;
|
|
23
|
-
}, rowDblclick(e2, l2, a2) {
|
|
24
|
-
this.multiple ? t(this, "addWorkgroupUser", null, e2) : t(this, "resultRowDblclick", e2);
|
|
25
|
-
}, isDisable(e2) {
|
|
26
|
-
if (this.selectResult) {
|
|
27
|
-
const l2 = this.selectResult.filter(this.filterDept(e2));
|
|
28
|
-
if (l2 && l2.length > 0)
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
return false;
|
|
32
|
-
}, filterDept: (e2) => (l2) => l2.id === e2.id }, emits: ["removeWorkgroupUser", "addWorkgroupUser", "selectResult", "resultRowDblclick", ,] }, w = { style: { height: "100%" } }, h = ["title"], b = ["title"], f = ["title"], k = ["title"], x = ["title"];
|
|
33
|
-
const y = c(g, [["render", function(e2, l2, t2, c2, g2, y2) {
|
|
34
|
-
const U = a("el-radio"), D = a("el-table-column"), N = a("el-button"), R = a("el-table");
|
|
35
|
-
return r(), i("div", w, [n(R, { ref: "superGrid", data: t2.gridData, "max-height": g2.myHeight, "row-class-name": y2.tableRowClassName, border: "", fit: "", "row-key": "id", onRowClick: y2.rowClick, onRowDblclick: y2.rowDblclick }, { default: o(() => [false === t2.multiple ? (r(), s(D, { key: 0, fixed: "", width: "60" }, { default: o((e3) => [n(U, { modelValue: g2.singleUserIndex, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g2.singleUserIndex = e4), label: e3.$index, onChange: y2.selectWorkgroupUser }, { default: o(() => [d(u(e3.$index + 1), 1)]), _: 2 }, 1032, ["modelValue", "label", "onChange"])]), _: 1 })) : p("", true), t2.multiple && t2.isSearchResult ? (r(), s(D, { key: 1, label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "", width: "60px" }, { default: o((e3) => [m("div", null, [n(N, { disabled: y2.isDisable(e3.row), icon: g2.ElIconPlus, circle: "", size: "default", type: "primary", onClick: (l3) => y2.addWorkgroupUser(e3.$index, e3.row) }, null, 8, ["disabled", "icon", "onClick"])])]), _: 1 }, 8, ["label"])) : p("", true), t2.multiple && !t2.isSearchResult ? (r(), s(D, { key: 2, label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "", width: "60px" }, { default: o((e3) => [m("div", null, [n(N, { icon: g2.ElIconDelete, circle: "", size: "default", type: "danger", onClick: (l3) => y2.removeWorkgroupUser(e3.$index, e3.row) }, null, 8, ["icon", "onClick"])])]), _: 1 }, 8, ["label"])) : p("", true), t2.multiple ? (r(), s(D, { key: 3, label: e2.$t("superGrid.index"), align: "center", width: "60px" }, { default: o((e3) => [d(u(e3.$index + 1), 1)]), _: 1 }, 8, ["label"])) : p("", true), n(D, { label: e2.$t("departmentUserTreeInline.name"), width: 130, prop: "name" }, { default: o((e3) => [e3.row.enName && "" !== e3.row.enName.trim() ? (r(), i("span", { key: 0, title: e3.row.name + "(" + e3.row.enName + ")", class: "ellipsis cell--span" }, u(e3.row.name + "(" + e3.row.enName + ")"), 9, h)) : (r(), i("span", { key: 1, title: e3.row.name, class: "ellipsis cell--span" }, u(e3.row.name), 9, b))]), _: 1 }, 8, ["label"]), n(D, { label: e2.$t("departmentUserTreeInline.loginName"), width: 110, prop: "loginName" }, { default: o((e3) => [m("span", { title: e3.row.loginName, class: "ellipsis cell--span" }, u(e3.row.loginName), 9, f)]), _: 1 }, 8, ["label"]), n(D, { label: e2.$t("departmentUserTreeInline.department"), "min-width": 160, prop: "mainDepartmentName" }, { default: o((e3) => [m("span", { title: g2.language && "cn" !== g2.language && e3.row.mainDepartmentEnName ? e3.row.mainDepartmentEnName : e3.row.mainDepartmentName, class: "ellipsis cell--span" }, u(g2.language && "cn" !== g2.language && e3.row.mainDepartmentEnName ? e3.row.mainDepartmentEnName : e3.row.mainDepartmentName), 9, k)]), _: 1 }, 8, ["label"]), t2.containBranch ? (r(), s(D, { key: 4, label: e2.$t("departmentUserTreeInline.branch"), width: 130, prop: "subCompanyName" }, { default: o((e3) => [m("span", { title: e3.row.subCompanyName, class: "ellipsis cell--span" }, u(e3.row.subCompanyName), 9, x)]), _: 1 }, 8, ["label"])) : p("", true)]), _: 1 }, 8, ["data", "max-height", "row-class-name", "onRowClick", "onRowDblclick"])]);
|
|
36
|
-
}]]);
|
|
37
|
-
export {
|
|
38
|
-
y as default
|
|
39
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import { getI18n as s } from "../../src/utils/util.js";
|
|
4
|
-
const r = { filterAppendNodes(e2) {
|
|
5
|
-
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/searches", this.searchParam).then((r2) => {
|
|
6
|
-
if (r2) {
|
|
7
|
-
if (0 === r2.length)
|
|
8
|
-
return void this.$message({ showClose: true, type: "error", message: s().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
9
|
-
r2.forEach((s2) => {
|
|
10
|
-
var r3 = s2;
|
|
11
|
-
s2.indexOf("~") > -1 && (r3 = s2.substring(s2.indexOf("~") + 1)), -1 === this.allSearchNodeIds.indexOf(s2) && (this.allSearchNodeIds.push(s2), this.loadWorkgroup(r3, s2, true, e2));
|
|
12
|
-
});
|
|
13
|
-
} else
|
|
14
|
-
this.$message({ showClose: true, type: "error", message: s().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
15
|
-
});
|
|
16
|
-
}, checkedNode(e2, s2) {
|
|
17
|
-
const r2 = e2.children;
|
|
18
|
-
if (r2 && r2.length > 0)
|
|
19
|
-
this.$refs.workgroupUserTree.store.nodesMap[e2.nodeId].expanded = true, this.checkedNodeAndChildren(e2);
|
|
20
|
-
else if (e2.leaf)
|
|
21
|
-
this.addWorkgroupUser(null, JSON.parse(e2.data));
|
|
22
|
-
else if (s2)
|
|
23
|
-
this.isClickNode = true;
|
|
24
|
-
else {
|
|
25
|
-
var t = { parentId: e2.id, departmentInfo: this.branchInfo };
|
|
26
|
-
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/workgroup-users", t).then((s3) => {
|
|
27
|
-
this.$refs.workgroupUserTree.updateKeyChildren(e2.nodeId, s3), this.$refs.workgroupUserTree.store.nodesMap[e2.nodeId].expanded = true, this.checkedNodeAndChildren(e2);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
}, getAllSelectedWorkgroupUsers(r2, t) {
|
|
31
|
-
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/user-in-workgroups", r2).then((r3) => {
|
|
32
|
-
r3.forEach((e2) => {
|
|
33
|
-
this.addSelectedUserInfo(t, e2);
|
|
34
|
-
}), t.userIds.length > 0 ? e(this, "result", t) : this.$alert(s().t("imatrixUIMessage.pleaseSelectPersonnel"), s().t("imatrixUIMessage.tips"), { confirmButtonText: s().t("imatrixUIPublicModel.sure") });
|
|
35
|
-
});
|
|
36
|
-
}, loadNode(e2, s2) {
|
|
37
|
-
var r2 = 0, t = "0";
|
|
38
|
-
0 === e2.level ? (r2 = 0, t = "0") : (r2 = e2.data.id, t = e2.data.nodeId);
|
|
39
|
-
var o = [];
|
|
40
|
-
this.$refs.workgroupUserTree && (o = this.$refs.workgroupUserTree.getCheckedKeys()), -1 === r2 && e2.data.children && e2.data.children.length > 0 ? s2(e2.data.children) : this.initLoad(r2, t, e2, s2, o);
|
|
41
|
-
}, initLoad(e2, s2, r2, t, o) {
|
|
42
|
-
const i = { parentId: e2, departmentInfo: this.branchInfo };
|
|
43
|
-
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/workgroup-users", i).then((i2) => {
|
|
44
|
-
if (t(i2), this.$refs.workgroupUserTree) {
|
|
45
|
-
if (this.$refs.workgroupUserTree.updateKeyChildren(s2, i2), 0 === e2) {
|
|
46
|
-
const e3 = i2[0].data;
|
|
47
|
-
this.tenantInfo = JSON.parse(e3), this.containBranch = i2[0].containBranch, this.loadWorkgroup(this.tenantNodeId, this.tenantNodeId + "");
|
|
48
|
-
}
|
|
49
|
-
this.isClickNode ? (this.isClickNode = false, this.checkedNode(r2.data)) : o && o.indexOf(s2) > -1 && this.checkedNode(r2.data);
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
}, loadWorkgroup(e2, s2, r2, t) {
|
|
53
|
-
const o = { parentId: e2, departmentInfo: this.branchInfo };
|
|
54
|
-
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/workgroup-users", o).then((e3) => {
|
|
55
|
-
this.$refs.workgroupUserTree && (this.$refs.workgroupUserTree.updateKeyChildren(s2, e3), this.$refs.workgroupUserTree.store.nodesMap[s2] && (this.$refs.workgroupUserTree.store.nodesMap[s2].expanded = true)), r2 && (-1 === this.allExpandNodeIds.indexOf(s2) && this.allExpandNodeIds.push(s2), this.allExpandNodeIds.length === this.allSearchNodeIds.length && (this.$refs.workgroupUserTree && this.$refs.workgroupUserTree.filter(t), this.allExpandNodeIds = [], this.allSearchNodeIds = []));
|
|
56
|
-
});
|
|
57
|
-
}, querySearch(e2, s2) {
|
|
58
|
-
this.searchValue = e2, this.searchResult = [], this.selectNodeInfo = null, e2 && e2.length > 0 ? (this.searchWorkgroupUsers(e2), s2([])) : s2([]);
|
|
59
|
-
}, searchWorkgroupUsers(e2) {
|
|
60
|
-
const r2 = { searchValue: e2 };
|
|
61
|
-
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-workgroup-users", r2).then((e3) => {
|
|
62
|
-
this.searchResult = e3, 0 !== this.searchResult.length || this.$message({ showClose: true, type: "error", message: s().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
63
|
-
});
|
|
64
|
-
}, initSelectUsers: (e2, s2, r2) => new Promise((t, o) => {
|
|
65
|
-
e2 && s2 ? window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/select-users?searchField=" + e2 + "&selectUserInfo=" + s2 + "&separator=" + r2).then((e3) => {
|
|
66
|
-
t(e3);
|
|
67
|
-
}).catch((e3) => {
|
|
68
|
-
o(e3);
|
|
69
|
-
}) : t([]);
|
|
70
|
-
}) };
|
|
71
|
-
export {
|
|
72
|
-
r as default
|
|
73
|
-
};
|