agilebuilder-ui 1.1.65-tmp12 → 1.1.65-tmp13
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/es/IntervalSelection/index.js +7 -0
- package/es/IntervalSelection/src/sectionDate.vue.js +49 -0
- package/es/IntervalSelection/src/sectionDate.vue2.js +4 -0
- package/es/_virtual/__vite-browser-external.js +4 -0
- package/es/_virtual/_plugin-vue_export-helper.js +9 -0
- package/es/breadcrumb/index.js +7 -0
- package/es/breadcrumb/src/breadcrumb.vue.js +28 -0
- package/es/breadcrumb/src/breadcrumb.vue2.js +4 -0
- package/es/chat-embed/index.js +7 -0
- package/es/chat-embed/src/chat-addition-data.vue.js +7 -0
- package/es/chat-embed/src/chat-addition-data.vue2.js +14 -0
- package/es/chat-embed/src/chat-addition-data.vue3.js +4 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue.js +7 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.js +29 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue3.js +4 -0
- package/es/chat-embed/src/chat-bubble-footer.vue.js +7 -0
- package/es/chat-embed/src/chat-bubble-footer.vue2.js +33 -0
- package/es/chat-embed/src/chat-bubble-footer.vue3.js +4 -0
- package/es/chat-embed/src/chat-embed-message.js +22 -0
- package/es/chat-embed/src/chat-sender.vue.js +7 -0
- package/es/chat-embed/src/chat-sender.vue2.js +160 -0
- package/es/chat-embed/src/chat-sender.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue.js +7 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue2.js +59 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-home-chart.vue.js +7 -0
- package/es/chat-embed/src/components/answer-home-chart.vue2.js +6 -0
- package/es/chat-embed/src/components/answer-home-chart.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue.js +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue2.js +118 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue3.js +4 -0
- package/es/chat-embed/src/components/history-detail.vue.js +7 -0
- package/es/chat-embed/src/components/history-detail.vue2.js +55 -0
- package/es/chat-embed/src/components/history-detail.vue3.js +4 -0
- package/es/chat-embed/src/header.vue.js +7 -0
- package/es/chat-embed/src/header.vue2.js +46 -0
- package/es/chat-embed/src/header.vue3.js +4 -0
- package/es/chat-embed/src/index.vue.js +7 -0
- package/es/chat-embed/src/index.vue2.js +307 -0
- package/es/chat-embed/src/index.vue3.js +4 -0
- package/es/chat-embed/src/recommendation-message.vue.js +7 -0
- package/es/chat-embed/src/recommendation-message.vue2.js +8 -0
- package/es/chat-embed/src/recommendation-message.vue3.js +4 -0
- package/es/chat-embed/src/sidebar-item.vue.js +7 -0
- package/es/chat-embed/src/sidebar-item.vue2.js +118 -0
- package/es/chat-embed/src/sidebar-item.vue3.js +4 -0
- package/es/chat-embed/src/type.js +5 -0
- package/es/chat-embed/src/util/chat-embed-util.js +57 -0
- package/es/chat-embed/src/util/history-message-util.js +96 -0
- package/es/chat-embed/src/util/mcp-utils.js +53 -0
- package/es/chat-embed/src/util/text-file-util.js +12 -0
- package/es/chat-embed/src/voice/index.js +7 -0
- package/es/chat-embed/src/voice/js/crypto-js.js +1013 -0
- package/es/chat-embed/src/voice/js/processor/index.umd.js +178 -0
- package/es/chat-embed/src/voice/js/timer.js +11 -0
- package/es/chat-embed/src/voice/voice.vue.js +104 -0
- package/es/date-picker-range/index.js +7 -0
- package/es/date-picker-range/index.vue.js +7 -0
- package/es/date-picker-range/index.vue2.js +93 -0
- package/es/date-picker-range/index.vue3.js +4 -0
- package/es/department-tree/index.js +7 -0
- package/es/department-tree/src/department-tree.vue.js +23 -0
- package/es/department-tree-inline/index.js +7 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.js +91 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue2.js +4 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue.js +64 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue2.js +4 -0
- package/es/department-tree-inline/src/department-tree-inline.vue.js +17 -0
- package/es/department-tree-inline/src/department-tree-service.js +108 -0
- package/es/department-tree-inline/src/search-result.vue.js +40 -0
- package/es/department-tree-inline/src/search-result.vue2.js +4 -0
- package/es/department-tree-mobile/index.js +8 -0
- package/es/department-tree-mobile/src/department-tree-app.vue.js +15 -0
- package/es/department-tree-mobile/src/department-tree-app.vue2.js +4 -0
- package/es/department-tree-mobile/src/department-tree-app.vue3.js +5 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.js +121 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.js +4 -0
- package/es/department-tree-mobile/src/department-tree-service.js +55 -0
- package/es/department-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/department-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/department-tree-mobile/src/dept-result.vue.js +16 -0
- package/es/department-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/department-user-tree/index.js +7 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue.js +20 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue2.js +4 -0
- package/es/department-user-tree/src/department-user-single-tree.vue.js +19 -0
- package/es/department-user-tree/src/department-user-tree.vue.js +27 -0
- package/es/department-user-tree-inline/index.js +7 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +165 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +4 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +69 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +4 -0
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.js +16 -0
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.js +81 -0
- package/es/department-user-tree-inline/src/department-user-tree-single-service.js +54 -0
- package/es/department-user-tree-inline/src/group-user/group-input.vue.js +39 -0
- package/es/department-user-tree-inline/src/group-user/group-list.vue.js +27 -0
- package/es/department-user-tree-inline/src/group-user/group-user.vue.js +16 -0
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.js +78 -0
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.js +34 -0
- package/es/department-user-tree-inline/src/group-user-tree-service.js +34 -0
- package/es/department-user-tree-inline/src/search-result.vue.js +41 -0
- package/es/department-user-tree-inline/src/search-result.vue2.js +4 -0
- package/es/department-user-tree-mobile/index.js +8 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.js +15 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.js +5 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +135 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-service.js +38 -0
- package/es/department-user-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/department-user-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/dept-result.vue.js +17 -0
- package/es/department-user-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/directives/prevent-reclick.js +15 -0
- package/es/dynamic-source-select/index.js +7 -0
- package/es/dynamic-source-select/src/dynamic-source-select-service.js +32 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue.js +276 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue2.js +4 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue3.js +4 -0
- package/es/dynamic-source-select/src/events.js +29 -0
- package/es/empty-state/index.vue.js +9 -0
- package/es/empty-state/index.vue2.js +4 -0
- package/es/favicon.svg +29 -0
- package/es/fs-preview/index.js +7 -0
- package/es/fs-preview/src/fs-preview.vue.js +120 -0
- package/es/fs-preview/src/fs-preview.vue2.js +4 -0
- package/es/fs-upload/index.js +7 -0
- package/es/fs-upload/src/fs-upload-multi.vue.js +71 -0
- package/es/fs-upload/src/fs-upload-single.vue.js +73 -0
- package/es/fs-upload/src/fs-upload.vue.js +24 -0
- package/es/fs-upload/src/see-big-picture.vue.js +12 -0
- package/es/fs-upload-list/index.js +7 -0
- package/es/fs-upload-list/src/fs-upload-list.vue.js +98 -0
- package/es/fs-upload-list/src/fs-upload-list.vue2.js +4 -0
- package/es/fs-upload-new/index.js +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +61 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +178 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +39 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +45 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +35 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +4 -0
- package/es/fs-upload-new/src/fs-button-upload.vue.js +7 -0
- package/es/fs-upload-new/src/fs-button-upload.vue2.js +62 -0
- package/es/fs-upload-new/src/fs-button-upload.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue.js +7 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue2.js +63 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue.js +8 -0
- package/es/fs-upload-new/src/fs-preview-new.vue2.js +93 -0
- package/es/fs-upload-new/src/fs-preview-new.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue4.js +4 -0
- package/es/fs-upload-new/src/fs-upload-new.vue.js +64 -0
- package/es/fs-upload-new/src/fs-upload-new.vue2.js +4 -0
- package/es/hamburger/index.js +7 -0
- package/es/hamburger/src/hamburger.vue.js +15 -0
- package/es/hamburger/src/hamburger.vue2.js +4 -0
- package/es/index.js +383 -0
- package/es/json-view/json-view-dialog.vue.js +19 -0
- package/es/json-view/json-view-dialog.vue2.js +4 -0
- package/es/json-view/json-view.vue.js +4 -0
- package/es/json-view/json-view.vue2.js +36 -0
- package/es/multipart-upload/index.js +7 -0
- package/es/multipart-upload/src/index.vue.js +14 -0
- package/es/multipart-upload/src/multipart-upload-form.vue.js +82 -0
- package/es/multipart-upload/src/multipart-upload-list.vue.js +104 -0
- package/es/organization-input/index.js +7 -0
- package/es/organization-input/src/organization-input.vue.js +224 -0
- package/es/organization-input/src/organization-input.vue2.js +4 -0
- package/es/plugins/export-data-new.js +237 -0
- package/es/plugins/export-data.js +179 -0
- package/es/plugins/index.js +9 -0
- package/es/plugins/public-method.js +14 -0
- package/es/remove-department/index.js +7 -0
- package/es/remove-department/src/remove-department.vue.js +33 -0
- package/es/remove-department/src/remove-dept-service.js +13 -0
- package/es/remove-user/index.js +7 -0
- package/es/remove-user/src/remove-user-service.js +13 -0
- package/es/remove-user/src/remove-user.vue.js +35 -0
- package/es/remove-workgroup/index.js +7 -0
- package/es/remove-workgroup/src/remove-workgroup-service.js +13 -0
- package/es/remove-workgroup/src/remove-workgroup.vue.js +31 -0
- package/es/rich-editor/index.js +7 -0
- package/es/rich-editor/index.vue.js +115 -0
- package/es/rich-editor/tinymce/zh_CN.js +2 -0
- package/es/rich-editor/viewer.vue.js +27 -0
- package/es/row-form/index.js +7 -0
- package/es/row-form/index.vue.js +7 -0
- package/es/row-form/index.vue2.js +62 -0
- package/es/row-form/index.vue3.js +4 -0
- package/es/row-form/operation.vue.js +32 -0
- package/es/row-form/operation.vue2.js +4 -0
- package/es/scan-code-input/index.js +7 -0
- package/es/scan-code-input/src/events.js +15 -0
- package/es/scan-code-input/src/scan-code-input.vue.js +32 -0
- package/es/scan-code-input-browser/index.js +7 -0
- package/es/scan-code-input-browser/src/scan-code-input.vue.js +39 -0
- package/es/secret-info/index.js +7 -0
- package/es/secret-info/index.vue.js +16 -0
- package/es/src/api/sso-service.js +57 -0
- package/es/src/api/tab.js +15 -0
- package/es/src/assets/401/401.gif.js +4 -0
- package/es/src/assets/404/404-cloud.png.js +4 -0
- package/es/src/assets/404/404.png.js +4 -0
- package/es/src/assets/chat-embed/robot.gif.js +4 -0
- package/es/src/assets/chat-embed/robot.svg.js +4 -0
- package/es/src/assets/nonemessage.png.js +4 -0
- package/es/src/components/Affix/index.vue.js +7 -0
- package/es/src/components/Affix/index.vue2.js +83 -0
- package/es/src/components/Affix/index.vue3.js +4 -0
- package/es/src/components/Card/index.js +48 -0
- package/es/src/components/Scrollbar/index.vue.js +52 -0
- package/es/src/components/Scrollbar/index.vue2.js +4 -0
- package/es/src/directives/permission/index.js +7 -0
- package/es/src/directives/permission/permission.js +11 -0
- package/es/src/i18n/i18n.js +7 -0
- package/es/src/i18n/langs/cn.js +4 -0
- package/es/src/i18n/langs/en.js +4 -0
- package/es/src/mixins/resizeMixin.js +21 -0
- package/es/src/permission.js +79 -0
- package/es/src/router/index.js +9 -0
- package/es/src/store/getters.js +4 -0
- package/es/src/store/index.js +13 -0
- package/es/src/store/modules/app.js +41 -0
- package/es/src/store/modules/chat-ai-store.js +36 -0
- package/es/src/store/modules/permission.js +31 -0
- package/es/src/store/modules/system.js +12 -0
- package/es/src/store/modules/tab-content.js +20 -0
- package/es/src/store/modules/table.js +18 -0
- package/es/src/store/modules/user.js +139 -0
- package/es/src/utils/auth-api.js +134 -0
- package/es/src/utils/auth.js +156 -0
- package/es/src/utils/calculator/calculator-factory-wf.js +167 -0
- package/es/src/utils/calculator/calculator-factory.js +93 -0
- package/es/src/utils/calculator/calculator-util.js +56 -0
- package/es/src/utils/chat-ai-util.js +34 -0
- package/es/src/utils/common-util.js +440 -0
- package/es/src/utils/eventBus.js +6 -0
- package/es/src/utils/file-util.js +23 -0
- package/es/src/utils/global-prop.js +38 -0
- package/es/src/utils/guid.js +10 -0
- package/es/src/utils/i18n-util.js +70 -0
- package/es/src/utils/iconUtils.js +26 -0
- package/es/src/utils/index.js +46 -0
- package/es/src/utils/insert_css.js +17 -0
- package/es/src/utils/json-util.js +47 -0
- package/es/src/utils/jump-page-utils.js +264 -0
- package/es/src/utils/local-storage.js +19 -0
- package/es/src/utils/menu.js +14 -0
- package/es/src/utils/permission.js +45 -0
- package/es/src/utils/permissionAuth.js +154 -0
- package/es/src/utils/range-selector.js +105 -0
- package/es/src/utils/request.js +140 -0
- package/es/src/utils/resize.js +11 -0
- package/es/src/utils/restful-interface-utils.js +18 -0
- package/es/src/utils/util.js +361 -0
- package/es/src/utils/validate.js +22 -0
- package/es/src/utils/voice-setting-cache.js +212 -0
- package/es/src/utils/watermark-cache.js +15 -0
- package/es/src/utils/watermark.js +40 -0
- package/es/src/utils/workflow-util.js +42 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue.js +7 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue2.js +12 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue3.js +4 -0
- package/es/src/views/dsc-component/Sidebar/Link.vue.js +14 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.js +53 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +4 -0
- package/es/src/views/dsc-component/Sidebar/index.vue.js +111 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue.js +66 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue2.js +4 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue3.js +4 -0
- package/es/src/views/error-page/401.vue.js +15 -0
- package/es/src/views/error-page/401.vue2.js +4 -0
- package/es/src/views/error-page/404.vue.js +12 -0
- package/es/src/views/error-page/404.vue2.js +4 -0
- package/es/src/views/layout/EmptyLayout.vue.js +9 -0
- package/es/src/views/layout/Layout.vue.js +28 -0
- package/es/src/views/layout/Layout.vue2.js +4 -0
- package/es/src/views/layout/NewLayout.vue.js +11 -0
- package/es/src/views/layout/components/AppMain.vue.js +13 -0
- package/es/src/views/layout/components/AppMain.vue2.js +4 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue.js +49 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue2.js +4 -0
- package/es/src/views/layout/components/Menubar/Item.vue.js +7 -0
- package/es/src/views/layout/components/Menubar/Item.vue2.js +15 -0
- package/es/src/views/layout/components/Menubar/Item.vue3.js +4 -0
- package/es/src/views/layout/components/Menubar/Link.vue.js +14 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.js +56 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue2.js +4 -0
- package/es/src/views/layout/components/Menubar/index.vue.js +90 -0
- package/es/src/views/layout/components/Sidebar/Item.vue.js +9 -0
- package/es/src/views/layout/components/Sidebar/Item.vue2.js +4 -0
- package/es/src/views/layout/components/Sidebar/Link.vue.js +12 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.js +22 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.js +4 -0
- package/es/src/views/layout/components/Sidebar/index.vue.js +58 -0
- package/es/src/views/layout/components/iframe-page.vue.js +14 -0
- package/es/src/views/layout/components/iframe-page.vue2.js +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue.js +64 -0
- package/es/src/views/layout/components/tabs/tab-content.vue2.js +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue3.js +4 -0
- package/es/src/views/layout/mixin/ResizeHandler.js +16 -0
- package/es/src/views/layout/tab-content-iframe-index.vue.js +14 -0
- package/es/src/views/layout/tab-content-iframe-index.vue2.js +4 -0
- package/es/src/views/layout/tab-content-index.vue.js +28 -0
- package/es/src/views/layout/tab-content-index.vue2.js +4 -0
- package/es/src/views/login/authredirect.vue.js +7 -0
- package/es/src/views/redirect/index.vue.js +8 -0
- package/es/src/views/svg-icon/src/svg-icon.vue.js +4 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue.js +14 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue2.js +4 -0
- package/es/style.css +3077 -0
- package/es/super-grid/index.js +7 -0
- package/es/super-grid/src/apis.js +458 -0
- package/es/super-grid/src/columns-config.vue.js +82 -0
- package/es/super-grid/src/components/grid-icon.vue.js +47 -0
- package/es/super-grid/src/components/grid-radio-input.vue.js +25 -0
- package/es/super-grid/src/components/grid-radio-input.vue2.js +4 -0
- package/es/super-grid/src/components/mobile-table-card.js +109 -0
- package/es/super-grid/src/components/select-input.vue.js +149 -0
- package/es/super-grid/src/components/select-input.vue2.js +4 -0
- package/es/super-grid/src/custom-formatter.js +168 -0
- package/es/super-grid/src/dynamic-input.vue.js +482 -0
- package/es/super-grid/src/eventBus.js +6 -0
- package/es/super-grid/src/events.js +37 -0
- package/es/super-grid/src/formValidatorUtil.js +109 -0
- package/es/super-grid/src/formatter.js +74 -0
- package/es/super-grid/src/group-column.vue.js +24 -0
- package/es/super-grid/src/header-context-menu.vue.js +15 -0
- package/es/super-grid/src/header-context-menu.vue2.js +4 -0
- package/es/super-grid/src/index-column.vue.js +22 -0
- package/es/super-grid/src/normal-column-content.vue.js +319 -0
- package/es/super-grid/src/normal-column-content.vue2.js +4 -0
- package/es/super-grid/src/normal-column.vue.js +106 -0
- package/es/super-grid/src/normal-column.vue2.js +4 -0
- package/es/super-grid/src/public-methods.js +22 -0
- package/es/super-grid/src/row-detail.vue.js +14 -0
- package/es/super-grid/src/row-operation.vue.js +89 -0
- package/es/super-grid/src/row-operation.vue2.js +4 -0
- package/es/super-grid/src/scan-util.js +100 -0
- package/es/super-grid/src/search-button.vue.js +23 -0
- package/es/super-grid/src/search-condition-input.vue.js +17 -0
- package/es/super-grid/src/search-condition-list.vue.js +20 -0
- package/es/super-grid/src/search-form-advancedQuery.vue.js +116 -0
- package/es/super-grid/src/search-form-advancedQuery.vue2.js +4 -0
- package/es/super-grid/src/search-form-dialog.vue.js +16 -0
- package/es/super-grid/src/search-form-item.vue.js +128 -0
- package/es/super-grid/src/search-form-item.vue2.js +4 -0
- package/es/super-grid/src/search-form-mobile.vue.js +41 -0
- package/es/super-grid/src/search-form-mobile.vue2.js +4 -0
- package/es/super-grid/src/search-form-number.vue.js +26 -0
- package/es/super-grid/src/search-form-open.vue.js +50 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue.js +39 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue2.js +4 -0
- package/es/super-grid/src/search-form.vue.js +201 -0
- package/es/super-grid/src/search-form.vue2.js +4 -0
- package/es/super-grid/src/search-methods.js +164 -0
- package/es/super-grid/src/selection-column.vue.js +11 -0
- package/es/super-grid/src/store.js +4 -0
- package/es/super-grid/src/super-grid-service.js +260 -0
- package/es/super-grid/src/super-grid.vue.js +1052 -0
- package/es/super-grid/src/super-grid.vue2.js +4 -0
- package/es/super-grid/src/utils.js +355 -0
- package/es/super-grid/src/view-image-dialog.vue.js +67 -0
- package/es/super-icon/index.js +7 -0
- package/es/super-icon/src/index.vue.js +7 -0
- package/es/super-icon/src/index.vue2.js +13 -0
- package/es/super-icon/src/index.vue3.js +4 -0
- package/es/super-nine-grid/index.js +7 -0
- package/es/super-nine-grid/src/apis.js +36 -0
- package/es/super-nine-grid/src/custom-formatter.js +35 -0
- package/es/super-nine-grid/src/formatter.js +37 -0
- package/es/super-nine-grid/src/search-form-number.vue.js +13 -0
- package/es/super-nine-grid/src/search-form.vue.js +91 -0
- package/es/super-nine-grid/src/search-form.vue2.js +4 -0
- package/es/super-nine-grid/src/search-methods.js +48 -0
- package/es/super-nine-grid/src/store.js +4 -0
- package/es/super-nine-grid/src/super-grid-service.js +39 -0
- package/es/super-nine-grid/src/super-nine-grid.vue.js +225 -0
- package/es/super-nine-grid/src/super-nine-grid.vue2.js +4 -0
- package/es/super-nine-grid/src/utils.js +32 -0
- package/es/svg-icon/index.js +7 -0
- package/es/svg-icon/src/svg-icon.vue.js +14 -0
- package/es/svg-icon/src/svg-icon.vue2.js +4 -0
- package/es/utils/gogocodeTransfer.js +33 -0
- package/es/utils/memory-cache-utils.js +30 -0
- package/es/utils/organization.js +57 -0
- package/es/utils/utils.js +87 -0
- package/es/utils/value-set.js +94 -0
- package/es/valid-code/index.js +7 -0
- package/es/valid-code/src/valid-code.vue.js +23 -0
- package/es/valid-code/src/valid-code.vue2.js +4 -0
- package/es/workflow-button/index.js +7 -0
- package/es/workflow-button/src/workflow-button.vue.js +85 -0
- package/es/workflow-history-list/index.js +7 -0
- package/es/workflow-history-list/src/api.js +6 -0
- package/es/workflow-history-list/src/workflow-history-list.vue.js +89 -0
- package/es/workflow-history-list/src/workflow-history-list.vue2.js +4 -0
- package/es/workgroup-tree/index.js +7 -0
- package/es/workgroup-tree/src/workgroup-tree.vue.js +23 -0
- package/es/workgroup-tree-inline/index.js +7 -0
- package/es/workgroup-tree-inline/src/search-result.vue.js +39 -0
- package/es/workgroup-tree-inline/src/search-result.vue2.js +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +128 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-service.js +35 -0
- package/es/workgroup-tree-mobile/index.js +8 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue.js +16 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +15 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +5 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +109 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-service.js +33 -0
- package/es/workgroup-user-tree/index.js +7 -0
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.js +23 -0
- package/es/workgroup-user-tree-inline/index.js +7 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue.js +39 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue2.js +4 -0
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +73 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +172 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.js +17 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +15 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +5 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +135 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +29 -0
- package/es/year-range-picker/index.js +7 -0
- package/es/year-range-picker/src/year-range-picker.vue.js +14 -0
- package/lib/IntervalSelection/index.js +5 -7
- package/lib/IntervalSelection/src/sectionDate.vue.js +17 -21
- package/lib/IntervalSelection/src/sectionDate.vue2.js +2 -4
- package/lib/_virtual/__vite-browser-external.js +2 -4
- package/lib/_virtual/_plugin-vue_export-helper.js +6 -8
- package/lib/breadcrumb/index.js +3 -5
- package/lib/breadcrumb/src/breadcrumb.vue.js +28 -19
- package/lib/breadcrumb/src/breadcrumb.vue2.js +2 -4
- package/lib/chat-embed/index.js +3 -5
- package/lib/chat-embed/src/chat-addition-data.vue.js +5 -7
- package/lib/chat-embed/src/chat-addition-data.vue2.js +11 -13
- package/lib/chat-embed/src/chat-addition-data.vue3.js +2 -4
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +5 -7
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +17 -20
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +2 -4
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +5 -7
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +17 -22
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +2 -4
- package/lib/chat-embed/src/chat-embed-message.js +14 -20
- package/lib/chat-embed/src/chat-sender.vue.js +5 -7
- package/lib/chat-embed/src/chat-sender.vue2.js +110 -123
- package/lib/chat-embed/src/chat-sender.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +42 -50
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +3 -6
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +74 -84
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +2 -4
- package/lib/chat-embed/src/components/history-detail.vue.js +5 -7
- package/lib/chat-embed/src/components/history-detail.vue2.js +27 -32
- package/lib/chat-embed/src/components/history-detail.vue3.js +2 -4
- package/lib/chat-embed/src/header.vue.js +5 -7
- package/lib/chat-embed/src/header.vue2.js +25 -32
- package/lib/chat-embed/src/header.vue3.js +2 -4
- package/lib/chat-embed/src/index.vue.js +5 -7
- package/lib/chat-embed/src/index.vue2.js +185 -211
- package/lib/chat-embed/src/index.vue3.js +2 -4
- package/lib/chat-embed/src/recommendation-message.vue.js +5 -7
- package/lib/chat-embed/src/recommendation-message.vue2.js +5 -8
- package/lib/chat-embed/src/recommendation-message.vue3.js +2 -4
- package/lib/chat-embed/src/sidebar-item.vue.js +5 -7
- package/lib/chat-embed/src/sidebar-item.vue2.js +84 -93
- package/lib/chat-embed/src/sidebar-item.vue3.js +2 -4
- package/lib/chat-embed/src/type.js +3 -5
- package/lib/chat-embed/src/util/chat-embed-util.js +35 -41
- package/lib/chat-embed/src/util/history-message-util.js +63 -85
- package/lib/chat-embed/src/util/mcp-utils.js +5 -8
- package/lib/chat-embed/src/util/text-file-util.js +7 -11
- package/lib/chat-embed/src/voice/index.js +5 -7
- package/lib/chat-embed/src/voice/js/crypto-js.js +987 -995
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +161 -169
- package/lib/chat-embed/src/voice/js/timer.js +7 -10
- package/lib/chat-embed/src/voice/voice.vue.js +61 -70
- package/lib/date-picker-range/index.js +5 -7
- package/lib/date-picker-range/index.vue.js +5 -7
- package/lib/date-picker-range/index.vue2.js +59 -63
- package/lib/date-picker-range/index.vue3.js +2 -4
- package/lib/department-tree/index.js +3 -5
- package/lib/department-tree/src/department-tree.vue.js +11 -17
- package/lib/department-tree-inline/index.js +3 -5
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +8 -13
- package/lib/department-tree-inline/src/department-tree-service.js +8 -10
- package/lib/department-tree-inline/src/search-result.vue.js +19 -23
- package/lib/department-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-tree-mobile/index.js +4 -7
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +9 -12
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +2 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +3 -5
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +80 -91
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +3 -4
- package/lib/department-tree-mobile/src/department-tree-service.js +32 -42
- package/lib/department-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/department-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/department-user-tree/index.js +3 -5
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +10 -14
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +2 -4
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +9 -14
- package/lib/department-user-tree/src/department-user-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/index.js +3 -5
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +17 -28
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +21 -33
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +8 -13
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +6 -9
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +8 -11
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +8 -14
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +17 -23
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +2 -3
- package/lib/department-user-tree-inline/src/search-result.vue.js +12 -15
- package/lib/department-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-user-tree-mobile/index.js +4 -7
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +9 -12
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +2 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +3 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +93 -104
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +20 -30
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/directives/prevent-reclick.js +2 -3
- package/lib/dynamic-source-select/index.js +5 -7
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +13 -15
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +173 -183
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +2 -4
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +2 -4
- package/lib/dynamic-source-select/src/events.js +2 -3
- package/lib/empty-state/index.vue.js +5 -8
- package/lib/empty-state/index.vue2.js +3 -4
- package/lib/fs-preview/index.js +5 -7
- package/lib/fs-preview/src/fs-preview.vue.js +63 -72
- package/lib/fs-preview/src/fs-preview.vue2.js +2 -4
- package/lib/fs-upload/index.js +5 -7
- package/lib/fs-upload/src/fs-upload-multi.vue.js +24 -32
- package/lib/fs-upload/src/fs-upload-single.vue.js +30 -39
- package/lib/fs-upload/src/fs-upload.vue.js +10 -16
- package/lib/fs-upload/src/see-big-picture.vue.js +8 -11
- package/lib/fs-upload-list/index.js +5 -7
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +33 -40
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +2 -4
- package/lib/fs-upload-new/index.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +34 -38
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +101 -109
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +26 -33
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +2 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +27 -31
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +18 -24
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +3 -4
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +36 -43
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +37 -45
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +5 -8
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +61 -70
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +2 -4
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +37 -47
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +3 -4
- package/lib/hamburger/index.js +3 -5
- package/lib/hamburger/src/hamburger.vue.js +10 -14
- package/lib/hamburger/src/hamburger.vue2.js +2 -4
- package/lib/index.js +40 -380
- package/lib/json-view/json-view-dialog.vue.js +12 -15
- package/lib/json-view/json-view-dialog.vue2.js +3 -4
- package/lib/json-view/json-view.vue.js +3 -4
- package/lib/json-view/json-view.vue2.js +27 -31
- package/lib/multipart-upload/index.js +5 -7
- package/lib/multipart-upload/src/index.vue.js +7 -11
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +40 -49
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +59 -67
- package/lib/organization-input/index.js +5 -7
- package/lib/organization-input/src/organization-input.vue.js +31 -37
- package/lib/organization-input/src/organization-input.vue2.js +2 -4
- package/lib/plugins/export-data-new.js +96 -104
- package/lib/plugins/export-data.js +45 -51
- package/lib/plugins/index.js +4 -8
- package/lib/plugins/public-method.js +2 -3
- package/lib/remove-department/index.js +3 -5
- package/lib/remove-department/src/remove-department.vue.js +13 -19
- package/lib/remove-department/src/remove-dept-service.js +9 -10
- package/lib/remove-user/index.js +5 -7
- package/lib/remove-user/src/remove-user-service.js +3 -4
- package/lib/remove-user/src/remove-user.vue.js +16 -22
- package/lib/remove-workgroup/index.js +5 -7
- package/lib/remove-workgroup/src/remove-workgroup-service.js +3 -4
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +12 -18
- package/lib/rich-editor/index.js +5 -7
- package/lib/rich-editor/index.vue.js +28 -76
- package/lib/rich-editor/tinymce/zh_CN.js +2 -2
- package/lib/rich-editor/viewer.vue.js +7 -10
- package/lib/row-form/index.js +5 -7
- package/lib/row-form/index.vue.js +5 -7
- package/lib/row-form/index.vue2.js +41 -47
- package/lib/row-form/index.vue3.js +2 -4
- package/lib/row-form/operation.vue.js +22 -26
- package/lib/row-form/operation.vue2.js +3 -4
- package/lib/scan-code-input/index.js +5 -7
- package/lib/scan-code-input/src/events.js +11 -13
- package/lib/scan-code-input/src/scan-code-input.vue.js +9 -15
- package/lib/scan-code-input-browser/index.js +5 -7
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +16 -21
- package/lib/secret-info/index.js +5 -7
- package/lib/secret-info/index.vue.js +6 -9
- package/lib/src/api/sso-service.js +34 -36
- package/lib/src/api/tab.js +8 -9
- package/lib/src/assets/401/401.gif.js +2 -4
- package/lib/src/assets/404/404-cloud.png.js +2 -4
- package/lib/src/assets/404/404.png.js +2 -4
- package/lib/src/assets/chat-embed/robot.gif.js +2 -4
- package/lib/src/assets/chat-embed/robot.svg.js +2 -4
- package/lib/src/assets/nonemessage.png.js +2 -4
- package/lib/src/components/Affix/index.vue.js +5 -7
- package/lib/src/components/Affix/index.vue2.js +56 -58
- package/lib/src/components/Affix/index.vue3.js +2 -4
- package/lib/src/components/Card/index.js +33 -38
- package/lib/src/components/Scrollbar/index.vue.js +33 -37
- package/lib/src/components/Scrollbar/index.vue2.js +2 -4
- package/lib/src/directives/permission/index.js +3 -5
- package/lib/src/directives/permission/permission.js +7 -9
- package/lib/src/i18n/i18n.js +3 -7
- package/lib/src/i18n/langs/cn.js +2 -4
- package/lib/src/i18n/langs/en.js +2 -4
- package/lib/src/mixins/resizeMixin.js +2 -3
- package/lib/src/permission.js +43 -46
- package/lib/src/router/index.js +16 -9
- package/lib/src/store/getters.js +2 -4
- package/lib/src/store/index.js +16 -13
- package/lib/src/store/modules/app.js +3 -4
- package/lib/src/store/modules/chat-ai-store.js +19 -22
- package/lib/src/store/modules/permission.js +10 -11
- package/lib/src/store/modules/system.js +7 -9
- package/lib/src/store/modules/tab-content.js +13 -15
- package/lib/src/store/modules/table.js +2 -3
- package/lib/src/store/modules/user.js +89 -95
- package/lib/src/utils/auth-api.js +3 -5
- package/lib/src/utils/auth.js +69 -139
- package/lib/src/utils/calculator/calculator-factory-wf.js +48 -49
- package/lib/src/utils/calculator/calculator-factory.js +57 -58
- package/lib/src/utils/calculator/calculator-util.js +29 -32
- package/lib/src/utils/chat-ai-util.js +17 -25
- package/lib/src/utils/common-util.js +271 -356
- package/lib/src/utils/eventBus.js +3 -6
- package/lib/src/utils/file-util.js +15 -16
- package/lib/src/utils/global-prop.js +21 -37
- package/lib/src/utils/guid.js +5 -8
- package/lib/src/utils/i18n-util.js +16 -24
- package/lib/src/utils/iconUtils.js +16 -23
- package/lib/src/utils/index.js +26 -40
- package/lib/src/utils/insert_css.js +8 -7
- package/lib/src/utils/json-util.js +25 -27
- package/lib/src/utils/jump-page-utils.js +172 -180
- package/lib/src/utils/local-storage.js +2 -3
- package/lib/src/utils/menu.js +10 -11
- package/lib/src/utils/permission.js +22 -26
- package/lib/src/utils/permissionAuth.js +102 -136
- package/lib/src/utils/range-selector.js +41 -45
- package/lib/src/utils/request.js +77 -86
- package/lib/src/utils/resize.js +5 -5
- package/lib/src/utils/restful-interface-utils.js +12 -15
- package/lib/src/utils/util.js +6 -26
- package/lib/src/utils/validate.js +10 -20
- package/lib/src/utils/voice-setting-cache.js +140 -153
- package/lib/src/utils/watermark-cache.js +9 -14
- package/lib/src/utils/watermark.js +23 -30
- package/lib/src/utils/workflow-util.js +25 -26
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +5 -7
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +8 -11
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +9 -12
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +19 -26
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +13 -22
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +21 -26
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/error-page/401.vue.js +9 -13
- package/lib/src/views/error-page/401.vue2.js +2 -4
- package/lib/src/views/error-page/404.vue.js +7 -11
- package/lib/src/views/error-page/404.vue2.js +2 -4
- package/lib/src/views/layout/EmptyLayout.vue.js +6 -8
- package/lib/src/views/layout/Layout.vue.js +12 -19
- package/lib/src/views/layout/Layout.vue2.js +2 -4
- package/lib/src/views/layout/NewLayout.vue.js +6 -10
- package/lib/src/views/layout/components/AppMain.vue.js +9 -11
- package/lib/src/views/layout/components/AppMain.vue2.js +2 -4
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +44 -37
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/Item.vue.js +5 -7
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +12 -14
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +2 -4
- package/lib/src/views/layout/components/Menubar/Link.vue.js +9 -12
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +15 -24
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/index.vue.js +19 -30
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +6 -8
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +3 -4
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +8 -11
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +11 -17
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Sidebar/index.vue.js +18 -25
- package/lib/src/views/layout/components/iframe-page.vue.js +8 -10
- package/lib/src/views/layout/components/iframe-page.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +10 -14
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/layout/mixin/ResizeHandler.js +3 -5
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +8 -10
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +2 -4
- package/lib/src/views/layout/tab-content-index.vue.js +12 -18
- package/lib/src/views/layout/tab-content-index.vue2.js +2 -4
- package/lib/src/views/login/authredirect.vue.js +2 -3
- package/lib/src/views/redirect/index.vue.js +17 -8
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +2 -4
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +11 -13
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +2 -4
- package/lib/style.css +868 -868
- package/lib/super-grid/index.js +5 -7
- package/lib/super-grid/src/apis.js +221 -231
- package/lib/super-grid/src/columns-config.vue.js +16 -22
- package/lib/super-grid/src/components/grid-icon.vue.js +26 -34
- package/lib/super-grid/src/components/grid-radio-input.vue.js +15 -18
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +3 -4
- package/lib/super-grid/src/components/mobile-table-card.js +73 -83
- package/lib/super-grid/src/components/select-input.vue.js +98 -106
- package/lib/super-grid/src/components/select-input.vue2.js +3 -4
- package/lib/super-grid/src/custom-formatter.js +69 -73
- package/lib/super-grid/src/dynamic-input.vue.js +142 -159
- package/lib/super-grid/src/eventBus.js +3 -6
- package/lib/super-grid/src/events.js +34 -36
- package/lib/super-grid/src/formValidatorUtil.js +62 -65
- package/lib/super-grid/src/formatter.js +36 -41
- package/lib/super-grid/src/group-column.vue.js +8 -13
- package/lib/super-grid/src/header-context-menu.vue.js +10 -13
- package/lib/super-grid/src/header-context-menu.vue2.js +2 -4
- package/lib/super-grid/src/index-column.vue.js +7 -10
- package/lib/super-grid/src/normal-column-content.vue.js +187 -206
- package/lib/super-grid/src/normal-column-content.vue2.js +2 -4
- package/lib/super-grid/src/normal-column.vue.js +40 -55
- package/lib/super-grid/src/normal-column.vue2.js +2 -4
- package/lib/super-grid/src/public-methods.js +12 -14
- package/lib/super-grid/src/row-detail.vue.js +7 -10
- package/lib/super-grid/src/row-operation.vue.js +19 -26
- package/lib/super-grid/src/row-operation.vue2.js +2 -4
- package/lib/super-grid/src/scan-util.js +24 -26
- package/lib/super-grid/src/search-button.vue.js +12 -17
- package/lib/super-grid/src/search-condition-input.vue.js +8 -12
- package/lib/super-grid/src/search-condition-list.vue.js +10 -13
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +13 -23
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +2 -4
- package/lib/super-grid/src/search-form-dialog.vue.js +9 -13
- package/lib/super-grid/src/search-form-item.vue.js +16 -24
- package/lib/super-grid/src/search-form-item.vue2.js +2 -4
- package/lib/super-grid/src/search-form-mobile.vue.js +13 -22
- package/lib/super-grid/src/search-form-mobile.vue2.js +2 -4
- package/lib/super-grid/src/search-form-number.vue.js +9 -14
- package/lib/super-grid/src/search-form-open.vue.js +7 -13
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +11 -19
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +2 -4
- package/lib/super-grid/src/search-form.vue.js +65 -77
- package/lib/super-grid/src/search-form.vue2.js +2 -4
- package/lib/super-grid/src/search-methods.js +2 -3
- package/lib/super-grid/src/selection-column.vue.js +7 -9
- package/lib/super-grid/src/store.js +3 -4
- package/lib/super-grid/src/super-grid-service.js +121 -128
- package/lib/super-grid/src/super-grid.vue.js +186 -217
- package/lib/super-grid/src/super-grid.vue2.js +2 -4
- package/lib/super-grid/src/utils.js +265 -322
- package/lib/super-grid/src/view-image-dialog.vue.js +26 -33
- package/lib/super-icon/index.js +5 -7
- package/lib/super-icon/src/index.vue.js +5 -7
- package/lib/super-icon/src/index.vue2.js +8 -11
- package/lib/super-icon/src/index.vue3.js +2 -4
- package/lib/super-nine-grid/index.js +5 -7
- package/lib/super-nine-grid/src/apis.js +5 -8
- package/lib/super-nine-grid/src/custom-formatter.js +5 -7
- package/lib/super-nine-grid/src/formatter.js +28 -29
- package/lib/super-nine-grid/src/search-form-number.vue.js +8 -12
- package/lib/super-nine-grid/src/search-form.vue.js +33 -40
- package/lib/super-nine-grid/src/search-form.vue2.js +2 -4
- package/lib/super-nine-grid/src/search-methods.js +2 -3
- package/lib/super-nine-grid/src/store.js +3 -4
- package/lib/super-nine-grid/src/super-grid-service.js +5 -9
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +95 -105
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +2 -4
- package/lib/super-nine-grid/src/utils.js +31 -27
- package/lib/svg-icon/index.js +5 -7
- package/lib/svg-icon/src/svg-icon.vue.js +8 -10
- package/lib/svg-icon/src/svg-icon.vue2.js +2 -4
- package/lib/utils/gogocodeTransfer.js +23 -28
- package/lib/utils/memory-cache-utils.js +3 -5
- package/lib/utils/organization.js +40 -53
- package/lib/utils/utils.js +27 -29
- package/lib/utils/value-set.js +68 -70
- package/lib/valid-code/index.js +5 -7
- package/lib/valid-code/src/valid-code.vue.js +10 -13
- package/lib/valid-code/src/valid-code.vue2.js +2 -4
- package/lib/workflow-button/index.js +3 -5
- package/lib/workflow-button/src/workflow-button.vue.js +34 -39
- package/lib/workflow-history-list/index.js +5 -7
- package/lib/workflow-history-list/src/api.js +2 -3
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +59 -65
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +2 -4
- package/lib/workgroup-tree/index.js +5 -7
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +11 -17
- package/lib/workgroup-tree-inline/index.js +3 -5
- package/lib/workgroup-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +43 -52
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +5 -7
- package/lib/workgroup-tree-mobile/index.js +5 -8
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +9 -12
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +2 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +3 -5
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +76 -86
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +20 -28
- package/lib/workgroup-user-tree/index.js +5 -7
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +11 -17
- package/lib/workgroup-user-tree-inline/index.js +3 -5
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +9 -11
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +34 -43
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +9 -12
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +3 -5
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +93 -104
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +16 -25
- package/lib/year-range-picker/index.js +3 -5
- package/lib/year-range-picker/src/year-range-picker.vue.js +9 -12
- package/package.json +5 -2
- package/vite.config.js +35 -33
|
@@ -0,0 +1,128 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
};
|