agilebuilder-ui 1.1.65-tmp12 → 1.1.65-tmp14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/favicon.svg +29 -0
- package/dist/index.full.min.js +16440 -0
- package/dist/style.css +3078 -0
- 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
|
@@ -1,89 +1,83 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import d from "../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
-
const u = { name: "WorkflowHistoryList", props: { workflowId: { type: Number, default: null }, historyList: { type: Array, default: null }, allProcessI18n: { type: Object, default: null }, maxHeight: { type: [String, Number], default: null }, beanName: { type: String, default: null }, entityName: { type: String, default: null } }, data() {
|
|
9
|
-
let t2 = null;
|
|
10
|
-
return this.historyList && this.historyList.length > 0 && (t2 = [].concat(this.historyList)), { loaded: false, histories: t2, processI18n: null, processNameI18n: null, tableMaxHeight: null, tableHeight: null, showProcessingDuration: false };
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../src/utils/workflow-util.js"), t = require("../../src/utils/util.js"), o = require("./api.js"), i = require("dayjs"), r = require("vue");
|
|
3
|
+
require("./workflow-history-list.vue2.js");
|
|
4
|
+
const l = require("../../_virtual/_plugin-vue_export-helper.js"), s = { name: "WorkflowHistoryList", props: { workflowId: { type: Number, default: null }, historyList: { type: Array, default: null }, allProcessI18n: { type: Object, default: null }, maxHeight: { type: [String, Number], default: null }, beanName: { type: String, default: null }, entityName: { type: String, default: null } }, data() {
|
|
5
|
+
let e2 = null;
|
|
6
|
+
return this.historyList && this.historyList.length > 0 && (e2 = [].concat(this.historyList)), { loaded: false, histories: e2, processI18n: null, processNameI18n: null, tableMaxHeight: null, tableHeight: null, showProcessingDuration: false };
|
|
11
7
|
}, computed: {}, provide: () => ({}), created() {
|
|
12
|
-
this.workflowId, void 0 !== this.workflowId && null !== this.workflowId ? this.getI18nSet().then((
|
|
13
|
-
this.processI18n =
|
|
8
|
+
this.workflowId, void 0 !== this.workflowId && null !== this.workflowId ? this.getI18nSet().then((e2) => {
|
|
9
|
+
this.processI18n = e2, this.histories && null !== this.histories ? this.loaded = true : this.getData();
|
|
14
10
|
}) : this.initTableData();
|
|
15
11
|
}, mounted() {
|
|
16
12
|
this.$nextTick(() => {
|
|
17
13
|
this.tableHeight = window.innerHeight - 120;
|
|
18
14
|
});
|
|
19
|
-
}, methods: { ...
|
|
15
|
+
}, methods: { ...o, getData() {
|
|
20
16
|
if (this.beanName || this.entityName) {
|
|
21
|
-
const
|
|
22
|
-
this.$http.post(window.$vueApp.config.globalProperties.baseURL + "/dsc/workflow-commons/instance-histories",
|
|
23
|
-
this.handleHistory(
|
|
24
|
-
}).catch((
|
|
17
|
+
const e2 = { beanName: this.beanName, entityName: this.entityName, workflowId: this.workflowId };
|
|
18
|
+
this.$http.post(window.$vueApp.config.globalProperties.baseURL + "/dsc/workflow-commons/instance-histories", e2).then((e3) => {
|
|
19
|
+
this.handleHistory(e3);
|
|
20
|
+
}).catch((e3) => {
|
|
25
21
|
this.loaded = true;
|
|
26
22
|
});
|
|
27
23
|
} else
|
|
28
|
-
this.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/instance-histories/" + this.workflowId).then((
|
|
29
|
-
this.handleHistory(
|
|
30
|
-
}).catch((
|
|
24
|
+
this.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/instance-histories/" + this.workflowId).then((e2) => {
|
|
25
|
+
this.handleHistory(e2);
|
|
26
|
+
}).catch((e2) => {
|
|
31
27
|
this.loaded = true;
|
|
32
28
|
});
|
|
33
|
-
}, handleHistory(
|
|
34
|
-
this.histories =
|
|
35
|
-
}, initTableData(
|
|
36
|
-
|
|
29
|
+
}, handleHistory(e2) {
|
|
30
|
+
this.histories = e2.histories, e2 && e2.currentTasks && (this.histories = this.histories.concat(e2.currentTasks)), this.computeStayDurations(this.histories), this.loaded = true, this.maxHeight ? this.tableMaxHeight = Number(this.maxHeight) : (this.$parent.$el.offsetHeight && (this.tableMaxHeight = this.$parent.$el.offsetHeight), this.tableMaxHeight || (this.tableMaxHeight = window.innerHeight - 120));
|
|
31
|
+
}, initTableData(e2) {
|
|
32
|
+
e2 ? (this.histories = e2.histories, e2 && e2.currentTasks && (this.histories = this.histories.concat(e2.currentTasks))) : this.histories = [], this.computeStayDurations(this.histories), this.loaded = true, this.maxHeight ? this.tableMaxHeight = Number(this.maxHeight) : (this.$parent && this.$parent.$el && this.$parent.$el.offsetHeight && (this.tableMaxHeight = this.$parent.$el.offsetHeight), this.tableMaxHeight || (this.tableMaxHeight = window.innerHeight - 120));
|
|
37
33
|
}, getI18nSet() {
|
|
38
|
-
return new Promise((
|
|
39
|
-
this.allProcessI18n ?
|
|
40
|
-
t2(e3);
|
|
41
|
-
}).catch((t3) => {
|
|
34
|
+
return new Promise((e2, t2) => {
|
|
35
|
+
this.allProcessI18n ? e2(this.allProcessI18n) : this.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/i18n-settings/get-bundle-info?workflowId=" + this.workflowId).then((t3) => {
|
|
42
36
|
e2(t3);
|
|
37
|
+
}).catch((e3) => {
|
|
38
|
+
t2(e3);
|
|
43
39
|
});
|
|
44
40
|
});
|
|
45
|
-
}, i18nOperation(
|
|
46
|
-
let
|
|
47
|
-
const
|
|
48
|
-
return
|
|
49
|
-
}, i18nTaskName(
|
|
50
|
-
let
|
|
51
|
-
const
|
|
52
|
-
|
|
53
|
-
let
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
56
|
-
const
|
|
57
|
-
|
|
41
|
+
}, i18nOperation(o2) {
|
|
42
|
+
let i2, r2;
|
|
43
|
+
const l2 = t.getLanguageWithLocale(), s2 = o2.bundleCode;
|
|
44
|
+
return s2 && "" !== s2 && this.processI18n && (i2 = this.processI18n[s2]), i2 && i2.processName && (r2 = i2.processName[l2]), e.i18nOperation(o2, r2, i2, l2);
|
|
45
|
+
}, i18nTaskName(e2) {
|
|
46
|
+
let o2;
|
|
47
|
+
const i2 = e2.bundleCode;
|
|
48
|
+
i2 && "" !== i2 && this.processI18n && (o2 = this.processI18n[i2]);
|
|
49
|
+
let r2 = null;
|
|
50
|
+
const l2 = e2.i18nKey;
|
|
51
|
+
if (l2 && o2 && o2[l2]) {
|
|
52
|
+
const e3 = t.getLanguageWithLocale();
|
|
53
|
+
r2 = o2[l2][e3];
|
|
58
54
|
}
|
|
59
|
-
return
|
|
60
|
-
}, getChildren(
|
|
61
|
-
|
|
62
|
-
}, computeStayDurations(
|
|
63
|
-
if (
|
|
64
|
-
for (let
|
|
65
|
-
const
|
|
66
|
-
if (
|
|
67
|
-
|
|
55
|
+
return r2 && null !== r2 || (r2 = e2.taskName), r2;
|
|
56
|
+
}, getChildren(e2, t2, o2) {
|
|
57
|
+
o2(e2.children);
|
|
58
|
+
}, computeStayDurations(e2) {
|
|
59
|
+
if (e2 && 0 !== e2.length)
|
|
60
|
+
for (let t2 = 0; t2 < e2.length; t2++) {
|
|
61
|
+
const o2 = e2[t2];
|
|
62
|
+
if (o2.processingDuration && (this.showProcessingDuration = true), 0 === t2) {
|
|
63
|
+
o2.stayDuration = "N/A";
|
|
68
64
|
continue;
|
|
69
65
|
}
|
|
70
|
-
const
|
|
71
|
-
if (!(
|
|
66
|
+
const r2 = e2[t2 - 1];
|
|
67
|
+
if (!(o2 && r2 && o2.createdTime && r2.createdTime))
|
|
72
68
|
continue;
|
|
73
|
-
const
|
|
74
|
-
if (!
|
|
75
|
-
|
|
69
|
+
const l2 = i(o2.createdTime).diff(i(r2.createdTime));
|
|
70
|
+
if (!l2 || l2 <= 0) {
|
|
71
|
+
o2.stayDuration = "N/A";
|
|
76
72
|
continue;
|
|
77
73
|
}
|
|
78
|
-
const
|
|
79
|
-
let
|
|
80
|
-
n2 > 0 &&
|
|
74
|
+
const s2 = Math.max(1, Math.ceil(l2 / 6e4)), a2 = 1440, n2 = Math.floor(s2 / a2), c2 = s2 % a2, h2 = Math.floor(c2 / 60), p2 = c2 % 60;
|
|
75
|
+
let y2 = [];
|
|
76
|
+
n2 > 0 && y2.push(n2 + this.$t("IntervalSelection.tian")), h2 > 0 && y2.push(h2 + this.$t("IntervalSelection.hour")), p2 > 0 && y2.push(p2 + this.$t("IntervalSelection.minute")), 0 === y2.length && y2.push("0" + this.$t("IntervalSelection.minute")), o2.stayDuration = y2.join("");
|
|
81
77
|
}
|
|
82
|
-
} } },
|
|
83
|
-
const
|
|
84
|
-
const
|
|
85
|
-
return
|
|
78
|
+
} } }, a = { key: 0 }, n = { key: 1 }, c = { key: 2, style: { color: "#e6a23c" } }, h = { key: 3 }, p = { key: 4, style: { color: "red" } }, y = { key: 0 }, w = { key: 1 }, k = { key: 0 }, d = { key: 1 }, u = { key: 0 }, g = { key: 1 }, m = { key: 0 }, f = { key: 1 }, B = { key: 0 }, b = { key: 1 }, S = { key: 0 }, N = { key: 0 }, D = { key: 1 }, E = { key: 0 }, T = { key: 1 }, H = { key: 0, class: "red-circle" }, x = { key: 1, class: "green-circle" }, C = { key: 0 }, $ = { key: 1, style: { color: "#e6a23c" } }, _ = { key: 2 }, L = { key: 0 }, I = { key: 1 };
|
|
79
|
+
const P = l(s, [["render", function(e2, t2, o2, i2, l2, s2) {
|
|
80
|
+
const P2 = r.resolveComponent("el-table-column"), v = r.resolveComponent("el-tag"), V = r.resolveComponent("el-table");
|
|
81
|
+
return l2.loaded ? (r.openBlock(), r.createBlock(V, { key: 0, ref: "historyList", data: l2.histories, height: l2.tableHeight, load: s2.getChildren, "max-height": l2.tableMaxHeight, "tree-props": { children: "children", hasChildren: "hasChildren" }, border: "", "element-loading-text": "Loading", fit: "", "highlight-current-row": "", lazy: "", "row-key": "uuid", style: { width: "100%" } }, { default: r.withCtx(() => [r.createVNode(P2, { label: e2.$t("workflowHistoryList.index"), align: "center", width: "60" }, { default: r.withCtx((e3) => [r.createTextVNode(r.toDisplayString(e3.$index + 1), 1)]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.taskName"), align: "center" }, { default: r.withCtx((t3) => [t3.row.historyType && "PROCESS_START" === t3.row.historyType ? (r.openBlock(), r.createElementBlock("span", a, r.toDisplayString(e2.$t("workflowHistoryList.processStart")), 1)) : t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r.openBlock(), r.createElementBlock("span", n, r.toDisplayString(e2.$t("workflowHistoryList.processEnd")), 1)) : t3.row.current ? (r.openBlock(), r.createElementBlock("span", c, r.toDisplayString(s2.i18nTaskName(t3.row)), 1)) : t3.row.special ? true === t3.row.special ? (r.openBlock(), r.createElementBlock("span", p, r.toDisplayString(s2.i18nTaskName(t3.row) + "[" + e2.$t("workflowHistoryList.specailText") + "]"), 1)) : r.createCommentVNode("", true) : (r.openBlock(), r.createElementBlock("span", h, r.toDisplayString(s2.i18nTaskName(t3.row)), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.operator"), align: "center", width: "80" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", y)) : (r.openBlock(), r.createElementBlock("span", w, r.toDisplayString(e3.row.creatorName), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.operatorLg"), align: "center", width: "120" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", k)) : (r.openBlock(), r.createElementBlock("span", d, r.toDisplayString(e3.row.creator), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.operatorDept"), align: "center" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", u)) : (r.openBlock(), r.createElementBlock("span", g, r.toDisplayString(e3.row.departmentName), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.operationTime"), align: "center" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", m)) : (r.openBlock(), r.createElementBlock("span", f, r.toDisplayString(e3.row.formatCreatedTime), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.stayDuration"), align: "center", width: "90" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", B)) : e3.row.copyTask ? r.createCommentVNode("", true) : (r.openBlock(), r.createElementBlock("span", b, r.toDisplayString(e3.row.stayDuration), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.taskState"), align: "center", width: "90" }, { default: r.withCtx((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r.openBlock(), r.createElementBlock("span", S)) : t3.row.current ? (r.openBlock(), r.createBlock(v, { key: 1, type: "warning" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowHistoryList.taskStateDoing")), 1)]), _: 1 })) : (r.openBlock(), r.createBlock(v, { key: 2, type: "success" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowHistoryList.taskStateDone")), 1)]), _: 1 }))]), _: 1 }, 8, ["label"]), l2.showProcessingDuration ? (r.openBlock(), r.createBlock(P2, { key: 0, label: e2.$t("workflowHistoryList.processingDuration"), align: "center", width: "110" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", N)) : e3.row.copyTask ? r.createCommentVNode("", true) : (r.openBlock(), r.createElementBlock("span", D, r.toDisplayString(e3.row.processingDuration), 1))]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), l2.showProcessingDuration ? (r.openBlock(), r.createBlock(P2, { key: 1, label: e2.$t("workflowHistoryList.isOverdue"), align: "center", width: "90" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", E)) : (r.openBlock(), r.createElementBlock("span", T, [e3.row.overdueDuration && e3.row.overdueDuration > 0 ? (r.openBlock(), r.createElementBlock("div", H)) : (r.openBlock(), r.createElementBlock("div", x))]))]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(P2, { label: e2.$t("workflowHistoryList.operation"), align: "left" }, { default: r.withCtx((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r.openBlock(), r.createElementBlock("span", C)) : t3.row.current ? (r.openBlock(), r.createElementBlock("span", $, r.toDisplayString(t3.row.transactionResult) + " " + r.toDisplayString(e2.$t("workflowHistoryList.toDoText")), 1)) : (r.openBlock(), r.createElementBlock("span", _, r.toDisplayString(s2.i18nOperation(t3.row)), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.opinion"), align: "left" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", L)) : (r.openBlock(), r.createElementBlock("span", I, r.toDisplayString(e3.row.opinion), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.remark"), align: "left" }, { default: r.withCtx((e3) => [r.createElementVNode("span", null, r.toDisplayString(e3.row.remark), 1)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "height", "load", "max-height"])) : r.createCommentVNode("", true);
|
|
86
82
|
}], ["__scopeId", "data-v-998f4283"]]);
|
|
87
|
-
|
|
88
|
-
W as default
|
|
89
|
-
};
|
|
83
|
+
module.exports = P;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
o as default
|
|
7
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("./src/workgroup-tree.vue.js");
|
|
3
|
+
e.install = function(o) {
|
|
4
|
+
o.component(e.name, e);
|
|
5
|
+
}, module.exports = e;
|
|
@@ -1,23 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { isMobileBrowser as t } from "../../src/utils/common-util.js";
|
|
6
|
-
import { resolveComponent as r, openBlock as i, createElementBlock as n, createBlock as u, withCtx as s, createElementVNode as p, createVNode as a, createTextVNode as c, toDisplayString as m } from "vue";
|
|
7
|
-
import d from "../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
-
const f = { name: "WorkgroupTree", components: { InlineWorkgroupTree: o, WorkgroupMobileTree: l }, props: { multiple: { type: Boolean, default: true }, branchInfo: { type: Array, default: null }, title: { type: String, default: null }, width: { type: String, default: "60%" }, selectWorkgroupInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "code" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, data() {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.js"), o = require("../../workgroup-tree-inline/src/workgroup-tree-inline.vue.js"), t = require("../../workgroup-tree-mobile/src/workgroup-tree-app.vue.js");
|
|
3
|
+
require("../../workgroup-tree-mobile/src/workgroup-tree-app.vue2.js");
|
|
4
|
+
const l = require("../../src/utils/common-util.js"), r = require("vue"), i = require("../../_virtual/_plugin-vue_export-helper.js"), n = { name: "WorkgroupTree", components: { InlineWorkgroupTree: o, WorkgroupMobileTree: t }, props: { multiple: { type: Boolean, default: true }, branchInfo: { type: Array, default: null }, title: { type: String, default: null }, width: { type: String, default: "60%" }, selectWorkgroupInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "code" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, data() {
|
|
9
5
|
let e2 = this.$t("imatrixUIMessage.pleaseSelectATeam");
|
|
10
6
|
this.title && (e2 = this.title);
|
|
11
|
-
return { myTitle: e2, isMobile:
|
|
7
|
+
return { myTitle: e2, isMobile: l.isMobileBrowser() };
|
|
12
8
|
}, methods: { result(o2) {
|
|
13
|
-
e(this, "close", o2);
|
|
9
|
+
e.$emit(this, "close", o2);
|
|
14
10
|
}, selectWorkgroup() {
|
|
15
11
|
this.$refs.workgroupTree.selectWorkgroup();
|
|
16
|
-
} }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] },
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
return
|
|
12
|
+
} }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] }, s = { class: "dialog-footer" };
|
|
13
|
+
const u = i(n, [["render", function(e2, o2, t2, l2, i2, n2) {
|
|
14
|
+
const u2 = r.resolveComponent("WorkgroupMobileTree"), c = r.resolveComponent("inline-workgroup-tree"), p = r.resolveComponent("el-button"), a = r.resolveComponent("el-dialog");
|
|
15
|
+
return r.openBlock(), r.createElementBlock("div", null, [i2.isMobile ? (r.openBlock(), r.createBlock(u2, { key: 0, ref: "workgroupTree", "close-on-click-modal": false, "close-on-press-escape": false, "branch-info": t2.branchInfo, multiple: t2.multiple, "search-field": t2.searchField, "select-workgroup-info": t2.selectWorkgroupInfo, "limit-filter-column": t2.limitFilterColumn, separator: t2.separator, onClose: n2.result }, null, 8, ["branch-info", "multiple", "search-field", "select-workgroup-info", "limit-filter-column", "separator", "onClose"])) : (r.openBlock(), r.createBlock(a, { key: 1, "close-on-click-modal": false, title: i2.myTitle, width: t2.multiple ? "60%" : "40%", "append-to-body": "", class: "user-tree", "model-value": "", onClose: o2[1] || (o2[1] = (o3) => e2.$emit("close")), onClosed: o2[2] || (o2[2] = (o3) => e2.$emit("closed")), onOpen: o2[3] || (o2[3] = (o3) => e2.$emit("open")), onOpend: o2[4] || (o2[4] = (o3) => e2.$emit("opend")) }, { footer: r.withCtx(() => [r.createElementVNode("div", s, [r.createVNode(p, { class: "button--default", size: "default", onClick: o2[0] || (o2[0] = (o3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }), r.createVNode(p, { size: "default", type: "primary", onClick: n2.selectWorkgroup }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"])])]), default: r.withCtx(() => [r.createVNode(c, { ref: "workgroupTree", "branch-info": t2.branchInfo, "limit-filter-column": t2.limitFilterColumn, multiple: t2.multiple, onResult: n2.result }, null, 8, ["branch-info", "limit-filter-column", "multiple", "onResult"])]), _: 1 }, 8, ["title", "width"]))]);
|
|
20
16
|
}]]);
|
|
21
|
-
|
|
22
|
-
k as default
|
|
23
|
-
};
|
|
17
|
+
module.exports = u;
|
|
@@ -1,39 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import g from "../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
-
const w = { data() {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeTransfer.js"), l = require("vue");
|
|
3
|
+
require("./search-result.vue2.js");
|
|
4
|
+
const o = require("../../_virtual/_plugin-vue_export-helper.js"), r = { data() {
|
|
7
5
|
let t2 = this.height;
|
|
8
6
|
t2 = t2.substring(0, t2.indexOf("px"));
|
|
9
|
-
return { singleWorkgroupIndex: null, selectedWorkgroup: null, myHeight: parseInt(t2) + 30 + "px", language: window.$locale ? window.$locale : "cn", ElIconPlus: e, ElIconDelete:
|
|
7
|
+
return { singleWorkgroupIndex: null, selectedWorkgroup: null, myHeight: parseInt(t2) + 30 + "px", language: window.$locale ? window.$locale : "cn", ElIconPlus: e.Plus, ElIconDelete: e.Delete };
|
|
10
8
|
}, name: "WorkgroupResult", props: { gridData: { type: Array, default: null }, multiple: { type: Boolean, default: false }, isSearchResult: { type: Boolean, default: true }, height: { type: String, default: "300px" }, selectResult: { type: Array, default: function() {
|
|
11
9
|
return [];
|
|
12
10
|
} } }, created() {
|
|
13
11
|
}, methods: { removeWorkgroup(e2, l2) {
|
|
14
|
-
t(this, "removeWorkgroup", e2, l2);
|
|
12
|
+
t.$emit(this, "removeWorkgroup", e2, l2);
|
|
15
13
|
}, addWorkgroup(e2, l2) {
|
|
16
|
-
t(this, "addWorkgroup", e2, JSON.parse(JSON.stringify(l2)));
|
|
14
|
+
t.$emit(this, "addWorkgroup", e2, JSON.parse(JSON.stringify(l2)));
|
|
17
15
|
}, selectWorkgroup(e2) {
|
|
18
|
-
t(this, "selectResult", this.gridData[e2]);
|
|
19
|
-
}, rowClick(e2, l2,
|
|
20
|
-
this.singleWorkgroupIndex = e2.row_index, t(this, "selectResult", e2);
|
|
21
|
-
}, tableRowClassName({ row: e2, rowIndex:
|
|
22
|
-
e2.row_index =
|
|
23
|
-
}, rowDblclick(e2, l2,
|
|
24
|
-
this.multiple ? t(this, "addWorkgroup", null, e2) : t(this, "resultRowDblclick", e2);
|
|
16
|
+
t.$emit(this, "selectResult", this.gridData[e2]);
|
|
17
|
+
}, rowClick(e2, l2, o2) {
|
|
18
|
+
this.singleWorkgroupIndex = e2.row_index, t.$emit(this, "selectResult", e2);
|
|
19
|
+
}, tableRowClassName({ row: e2, rowIndex: t2 }) {
|
|
20
|
+
e2.row_index = t2;
|
|
21
|
+
}, rowDblclick(e2, l2, o2) {
|
|
22
|
+
this.multiple ? t.$emit(this, "addWorkgroup", null, e2) : t.$emit(this, "resultRowDblclick", e2);
|
|
25
23
|
}, isDisable(e2) {
|
|
26
24
|
if (this.selectResult) {
|
|
27
|
-
const
|
|
28
|
-
if (
|
|
25
|
+
const t2 = this.selectResult.filter(this.filterWorkgroup(e2));
|
|
26
|
+
if (t2 && t2.length > 0)
|
|
29
27
|
return true;
|
|
30
28
|
}
|
|
31
29
|
return false;
|
|
32
|
-
}, filterWorkgroup: (e2) => (
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
return
|
|
30
|
+
}, filterWorkgroup: (e2) => (t2) => t2.id === e2.id }, emits: ["removeWorkgroup", "addWorkgroup", "selectResult", "resultRowDblclick", ,] }, i = { style: { height: "100%" } }, a = ["title"], n = ["title"], s = ["title"];
|
|
31
|
+
const c = o(r, [["render", function(e2, t2, o2, r2, c2, d) {
|
|
32
|
+
const u = l.resolveComponent("el-radio"), p = l.resolveComponent("el-table-column"), g = l.resolveComponent("el-button"), m = l.resolveComponent("el-table");
|
|
33
|
+
return l.openBlock(), l.createElementBlock("div", i, [l.createVNode(m, { ref: "superGrid", data: o2.gridData, "max-height": c2.myHeight, "row-class-name": d.tableRowClassName, border: "", fit: "", "row-key": "id", onRowClick: d.rowClick, onRowDblclick: d.rowDblclick }, { default: l.withCtx(() => [false === o2.multiple ? (l.openBlock(), l.createBlock(p, { key: 0, fixed: "", width: "60" }, { default: l.withCtx((e3) => [l.createVNode(u, { modelValue: c2.singleWorkgroupIndex, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => c2.singleWorkgroupIndex = e4), label: e3.$index, onChange: d.selectWorkgroup }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(e3.$index + 1), 1)]), _: 2 }, 1032, ["modelValue", "label", "onChange"])]), _: 1 })) : l.createCommentVNode("", true), o2.multiple && o2.isSearchResult ? (l.openBlock(), l.createBlock(p, { key: 1, label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "", width: "60px" }, { default: l.withCtx((e3) => [l.createElementVNode("div", null, [l.createVNode(g, { disabled: d.isDisable(e3.row), icon: c2.ElIconPlus, circle: "", size: "default", type: "primary", onClick: (t3) => d.addWorkgroup(e3.$index, e3.row) }, null, 8, ["disabled", "icon", "onClick"])])]), _: 1 }, 8, ["label"])) : l.createCommentVNode("", true), o2.multiple && !o2.isSearchResult ? (l.openBlock(), l.createBlock(p, { key: 2, label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "", width: "60px" }, { default: l.withCtx((e3) => [l.createElementVNode("div", null, [l.createVNode(g, { icon: c2.ElIconDelete, circle: "", size: "default", type: "danger", onClick: (t3) => d.removeWorkgroup(e3.$index, e3.row) }, null, 8, ["icon", "onClick"])])]), _: 1 }, 8, ["label"])) : l.createCommentVNode("", true), o2.multiple ? (l.openBlock(), l.createBlock(p, { key: 3, label: e2.$t("superGrid.index"), align: "center", width: "60px" }, { default: l.withCtx((e3) => [l.createTextVNode(l.toDisplayString(e3.$index + 1), 1)]), _: 1 }, 8, ["label"])) : l.createCommentVNode("", true), l.createVNode(p, { label: e2.$t("workgroupTree.workingGroupName"), width: 110, prop: "name" }, { default: l.withCtx((e3) => [l.createElementVNode("span", { title: e3.row.name, class: "ellipsis cell--span" }, l.toDisplayString(e3.row.name), 9, a)]), _: 1 }, 8, ["label"]), l.createVNode(p, { label: e2.$t("workgroupTree.workingGroupNumber"), width: 110, prop: "code" }, { default: l.withCtx((e3) => [l.createElementVNode("span", { title: e3.row.code, class: "ellipsis cell--span" }, l.toDisplayString(e3.row.code), 9, n)]), _: 1 }, 8, ["label"]), l.createVNode(p, { label: e2.$t("workgroupTree.workgroupDescription"), width: 300, prop: "description" }, { default: l.withCtx((e3) => [l.createElementVNode("span", { title: e3.row.description, class: "ellipsis cell--span" }, l.toDisplayString(e3.row.description), 9, s)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "max-height", "row-class-name", "onRowClick", "onRowDblclick"])]);
|
|
36
34
|
}]]);
|
|
37
|
-
|
|
38
|
-
b as default
|
|
39
|
-
};
|
|
35
|
+
module.exports = c;
|
|
@@ -1,27 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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) {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeTransfer.js"), o = require("../../src/utils/local-storage.js"), r = require("../../utils/utils.js"), l = require("./workgroup-tree-service.js"), s = require("./search-result.vue.js"), i = require("../../empty-state/index.vue.js"), n = require("vue");
|
|
3
|
+
require("./workgroup-tree-inline.vue2.js");
|
|
4
|
+
const a = require("../../_virtual/_plugin-vue_export-helper.js"), c = { 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.Search, canShowOrgTree: false }), name: "InlineWorkgroupTree", components: { WorkgroupResult: s, 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
5
|
e2 || (this.searchValue = e2, this.loadWorkgroup(this.tenantNodeId));
|
|
13
6
|
} }, created() {
|
|
14
|
-
|
|
7
|
+
r.canShowOrgTree().then((e2) => {
|
|
15
8
|
this.canShowOrgTree = e2;
|
|
16
9
|
}), this.multiple && this.initSelectGroups(this.searchField, this.selectGroupInfo, this.separator).then((e2) => {
|
|
17
10
|
e2 && (this.selectResult = e2);
|
|
18
11
|
});
|
|
19
12
|
}, mounted() {
|
|
20
|
-
var e2 =
|
|
13
|
+
var e2 = o.getObject(this.searchStoreKey);
|
|
21
14
|
this.restaurants = e2 || [];
|
|
22
|
-
}, methods: { ...
|
|
23
|
-
const
|
|
24
|
-
|
|
15
|
+
}, methods: { ...r, ...l, addWorkgroup(e2, t2) {
|
|
16
|
+
const o2 = this.selectResult.filter(this.filterWorkgroup(t2));
|
|
17
|
+
o2 && 0 === o2.length && this.selectResult.push(t2);
|
|
25
18
|
}, filterWorkgroup: (e2) => (t2) => t2.id === e2.id, removeWorkgroup(e2, t2) {
|
|
26
19
|
if (this.$refs.workgroupTree) {
|
|
27
20
|
const e3 = this.$refs.workgroupTree.getCheckedKeys().filter(this.filterWorkgroupNode(t2));
|
|
@@ -33,21 +26,21 @@ const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "nam
|
|
|
33
26
|
}, filterWorkgroupNode: (e2) => (t2) => t2 === e2.id, getSelectWorkgroup(e2) {
|
|
34
27
|
this.packageSelectResult(e2);
|
|
35
28
|
}, resultRowDblclick(e2) {
|
|
36
|
-
this.packageSelectResult(e2), t(this, "result", this.selectNodeInfo);
|
|
29
|
+
this.packageSelectResult(e2), t.$emit(this, "result", this.selectNodeInfo);
|
|
37
30
|
}, packageSelectResult(e2) {
|
|
38
31
|
e2.tenantCode = this.tenantInfo.code, e2.tenantName = this.tenantInfo.tenantName;
|
|
39
32
|
const t2 = { id: e2.id, name: e2.name, code: e2.code, subCompanyName: e2.subCompanyName, workgroup: e2 };
|
|
40
33
|
this.selectNodeInfo = t2;
|
|
41
34
|
}, handleSelect(e2) {
|
|
42
|
-
this.handleSelectUtil(e2,
|
|
35
|
+
this.handleSelectUtil(e2, o);
|
|
43
36
|
}, search(e2) {
|
|
44
37
|
this.searchValue = e2, this.$refs.workgroupTree.filter(e2);
|
|
45
38
|
}, clickSearch() {
|
|
46
|
-
this.storeSeachValue(
|
|
47
|
-
}, filterNode(e2, t2,
|
|
39
|
+
this.storeSeachValue(o, this.searchStoreKey, this.filterText), this.search(this.filterText);
|
|
40
|
+
}, filterNode(e2, t2, o2) {
|
|
48
41
|
if (e2) {
|
|
49
|
-
var
|
|
50
|
-
return t2.id !== this.tenantNodeId && (this.containBranch && (
|
|
42
|
+
var r2 = t2.name;
|
|
43
|
+
return t2.id !== this.tenantNodeId && (this.containBranch && (r2 = r2.substring(0, r2.lastIndexOf("("))), -1 !== r2.indexOf(e2));
|
|
51
44
|
}
|
|
52
45
|
return true;
|
|
53
46
|
}, handleCheckNode(e2, t2) {
|
|
@@ -57,14 +50,14 @@ const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "nam
|
|
|
57
50
|
t2 && t2.forEach((e3) => {
|
|
58
51
|
this.$refs.workgroupTree.setChecked(e3.id, true);
|
|
59
52
|
});
|
|
60
|
-
}, handleNodeClick(e2, t2,
|
|
53
|
+
}, handleNodeClick(e2, t2, o2) {
|
|
61
54
|
this.multiple && this.clickNodeWhenMultiple(e2), this.selectSingleNode(e2, false);
|
|
62
|
-
}, selectSingleNode(e2,
|
|
55
|
+
}, selectSingleNode(e2, o2) {
|
|
63
56
|
if (this.isWorkgroupNode(e2) && !this.multiple) {
|
|
64
57
|
const l2 = JSON.parse(e2.data);
|
|
65
58
|
l2.tenantCode = this.tenantInfo.code, l2.tenantName = this.tenantInfo.tenantName;
|
|
66
|
-
var
|
|
67
|
-
this.selectNodeInfo =
|
|
59
|
+
var r2 = { id: e2.id, name: e2.name, code: l2.code, containBranch: this.containBranch, workgroup: l2 };
|
|
60
|
+
this.selectNodeInfo = r2, true === o2 && t.$emit(this, "result", r2);
|
|
68
61
|
}
|
|
69
62
|
}, clickNodeWhenMultiple(e2) {
|
|
70
63
|
var t2 = [];
|
|
@@ -74,7 +67,7 @@ const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "nam
|
|
|
74
67
|
}, singleSetValue() {
|
|
75
68
|
let e2 = false;
|
|
76
69
|
if (this.searchValue)
|
|
77
|
-
this.selectNodeInfo ? t(this, "result", this.selectNodeInfo) : e2 = true;
|
|
70
|
+
this.selectNodeInfo ? t.$emit(this, "result", this.selectNodeInfo) : e2 = true;
|
|
78
71
|
else {
|
|
79
72
|
const t2 = this.$refs.workgroupTree.getCurrentNode();
|
|
80
73
|
t2 && null !== t2 && this.isWorkgroupNode(t2) ? this.selectSingleNode(t2, true) : e2 = true;
|
|
@@ -82,26 +75,26 @@ const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "nam
|
|
|
82
75
|
this.showTip(e2);
|
|
83
76
|
}, multipleSetValue() {
|
|
84
77
|
let e2 = false;
|
|
85
|
-
var
|
|
78
|
+
var o2 = { ids: [], names: [], codes: [], workgroups: [] };
|
|
86
79
|
if (this.searchValue)
|
|
87
80
|
this.selectResult.length > 0 ? (this.selectResult.forEach((e3) => {
|
|
88
81
|
const t2 = { id: e3.id, name: e3.name, code: e3.code };
|
|
89
|
-
this.addSelectedWorkgroupInfo(
|
|
90
|
-
}), t(this, "result",
|
|
82
|
+
this.addSelectedWorkgroupInfo(o2, t2, e3);
|
|
83
|
+
}), t.$emit(this, "result", o2)) : e2 = true;
|
|
91
84
|
else {
|
|
92
|
-
var
|
|
93
|
-
if (
|
|
94
|
-
if (0 ===
|
|
85
|
+
var r2 = this.$refs.workgroupTree.getCheckedNodes();
|
|
86
|
+
if (r2)
|
|
87
|
+
if (0 === r2.length)
|
|
95
88
|
e2 = true;
|
|
96
89
|
else {
|
|
97
|
-
for (var l2 = 0; l2 <
|
|
98
|
-
var
|
|
99
|
-
if (
|
|
100
|
-
const e3 = JSON.parse(
|
|
101
|
-
this.addSelectedWorkgroupInfo(
|
|
90
|
+
for (var l2 = 0; l2 < r2.length; l2++) {
|
|
91
|
+
var s2 = r2[l2];
|
|
92
|
+
if (s2.id !== this.tenantNodeId) {
|
|
93
|
+
const e3 = JSON.parse(s2.data);
|
|
94
|
+
this.addSelectedWorkgroupInfo(o2, s2, e3);
|
|
102
95
|
}
|
|
103
96
|
}
|
|
104
|
-
|
|
97
|
+
o2.ids.length > 0 ? t.$emit(this, "result", o2) : e2 = true;
|
|
105
98
|
}
|
|
106
99
|
else
|
|
107
100
|
e2 = true;
|
|
@@ -111,18 +104,16 @@ const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "nam
|
|
|
111
104
|
this.multiple ? this.multipleSetValue() : this.singleSetValue();
|
|
112
105
|
}, showTip(e2) {
|
|
113
106
|
e2 && this.$alert(this.$t("imatrixUIMessage.pleaseSelectATeam"), this.$t("imatrixUIMessage.tips"), { confirmButtonText: this.$t("imatrixUIPublicModel.sure") });
|
|
114
|
-
}, addSelectedWorkgroupInfo(e2, t2,
|
|
115
|
-
|
|
107
|
+
}, addSelectedWorkgroupInfo(e2, t2, o2) {
|
|
108
|
+
o2.tenantCode = this.tenantInfo.code, o2.tenantName = this.tenantInfo.tenantName, e2.containBranch = this.containBranch, e2.ids.push(t2.id), e2.workgroups.push(o2), e2.codes.push(o2.code), e2.names.push(t2.name);
|
|
116
109
|
}, loadNode(e2, t2) {
|
|
117
|
-
var
|
|
118
|
-
|
|
119
|
-
var
|
|
120
|
-
this.$refs.workgroupTree && (
|
|
121
|
-
} }, emits: ["result"] },
|
|
122
|
-
const
|
|
123
|
-
const i2 =
|
|
124
|
-
return n(),
|
|
110
|
+
var o2 = 0;
|
|
111
|
+
o2 = 0 === e2.level ? 0 : e2.data.id;
|
|
112
|
+
var r2 = [];
|
|
113
|
+
this.$refs.workgroupTree && (r2 = this.$refs.workgroupTree.getCheckedKeys()), -1 === o2 && e2.data.children && e2.data.children.length > 0 ? t2(e2.data.children) : this.initLoad(o2, e2, t2, r2);
|
|
114
|
+
} }, emits: ["result"] }, d = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, h = ["title"], u = { key: 1, style: { height: "100%", overflow: "hidden" } }, p = ((e2) => (n.pushScopeId("data-v-22410ec9"), e2 = e2(), n.popScopeId(), e2))(() => n.createElementVNode("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)), g = { style: { "text-align": "left", "font-size": "16px" } }, k = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
|
|
115
|
+
const m = a(c, [["render", function(e2, t2, o2, r2, l2, s2) {
|
|
116
|
+
const i2 = n.resolveComponent("el-button"), a2 = n.resolveComponent("el-autocomplete"), c2 = n.resolveComponent("el-header"), m2 = n.resolveComponent("Menu"), f = n.resolveComponent("Calendar"), N = n.resolveComponent("el-icon"), w = n.resolveComponent("el-tree"), S = n.resolveComponent("EmptyState"), y = n.resolveComponent("workgroup-result"), C = n.resolveComponent("el-main"), R = n.resolveComponent("el-container"), v = n.resolveComponent("el-aside");
|
|
117
|
+
return n.openBlock(), n.createElementBlock("div", null, [n.createVNode(R, { style: { height: "395px" } }, { default: n.withCtx(() => [n.createVNode(v, { width: "430px" }, { default: n.withCtx(() => [n.createVNode(R, { style: { height: "390px" } }, { default: n.withCtx(() => [n.createVNode(c2, { style: { "text-align": "right", "font-size": "12px", height: "35px" } }, { default: n.withCtx(() => [n.createVNode(a2, { 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: s2.handleSelect, onKeyup: n.withKeys(s2.clickSearch, ["enter"]) }, { append: n.withCtx(() => [n.createVNode(i2, { icon: l2.ElIconSearch, onClick: s2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), n.createVNode(C, null, { default: n.withCtx(() => [l2.searchValue ? n.createCommentVNode("", true) : (n.openBlock(), n.createElementBlock(n.Fragment, { key: 0 }, [l2.canShowOrgTree ? (n.openBlock(), n.createElementBlock("div", d, [n.createVNode(w, { ref: "workgroupTree", "filter-node-method": s2.filterNode, load: s2.loadNode, props: l2.defaultProps, "show-checkbox": o2.multiple, lazy: "", "node-key": "id", onCheck: s2.handleCheckNode, onNodeClick: s2.handleNodeClick }, { default: n.withCtx(({ node: e3, data: t3 }) => [n.createElementVNode("span", null, [n.createVNode(N, null, { default: n.withCtx(() => [-1 === e3.data.id ? (n.openBlock(), n.createBlock(m2, { key: 0 })) : (n.openBlock(), n.createBlock(f, { key: 1 }))]), _: 2 }, 1024), n.createElementVNode("span", { class: n.normalizeClass(t3.nodeType && "WORKGROUP" === t3.nodeType && l2.searchValue && t3.name.indexOf(l2.searchValue) > -1 ? "searchResult" : ""), title: e3.label }, n.toDisplayString(e3.label), 11, h)])]), _: 1 }, 8, ["filter-node-method", "load", "props", "show-checkbox", "onCheck", "onNodeClick"])])) : (n.openBlock(), n.createBlock(S, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), l2.searchValue && l2.searchValue.length > 0 ? (n.openBlock(), n.createElementBlock("div", u, [n.createVNode(y, { ref: "workgroupResult", "grid-data": l2.searchResult, height: e2.height, "is-search-result": true, multiple: o2.multiple, "select-result": l2.selectResult, onAddWorkgroup: s2.addWorkgroup, onResultRowDblclick: s2.resultRowDblclick, onSelectResult: s2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "select-result", "onAddWorkgroup", "onResultRowDblclick", "onSelectResult"])])) : n.createCommentVNode("", true)]), _: 1 })]), _: 1 })]), _: 1 }), o2.multiple ? (n.openBlock(), n.createBlock(R, { key: 0 }, { default: n.withCtx(() => [n.createVNode(v, { width: "2px" }, { default: n.withCtx(() => [p]), _: 1 }), n.createVNode(C, { style: { padding: "10px" } }, { default: n.withCtx(() => [n.createElementVNode("div", g, n.toDisplayString(e2.$t("imatrixUIMessage.selectedWorkingGroup")) + ":", 1), n.createElementVNode("div", k, [n.createVNode(y, { "grid-data": l2.selectResult, height: e2.height, "is-search-result": false, multiple: o2.multiple, onRemoveWorkgroup: s2.removeWorkgroup, onResultRowDblclick: s2.resultRowDblclick, onSelectResult: s2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "onRemoveWorkgroup", "onResultRowDblclick", "onSelectResult"])])]), _: 1 })]), _: 1 })) : n.createCommentVNode("", true)]), _: 1 })]);
|
|
125
118
|
}], ["__scopeId", "data-v-22410ec9"]]);
|
|
126
|
-
|
|
127
|
-
C as default
|
|
128
|
-
};
|
|
119
|
+
module.exports = m;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const t = { initLoad(e2, t2, o, s) {
|
|
1
|
+
"use strict";
|
|
2
|
+
require("vue");
|
|
3
|
+
const e = require("../../src/utils/util.js"), t = { initLoad(e2, t2, o, s) {
|
|
4
4
|
const r = { parentId: e2, departmentInfo: this.branchInfo };
|
|
5
5
|
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/workgroups", r).then((r2) => {
|
|
6
6
|
if (o(r2), this.$refs.workgroupTree.updateKeyChildren(e2, r2), 0 === e2) {
|
|
@@ -19,7 +19,7 @@ const t = { initLoad(e2, t2, o, s) {
|
|
|
19
19
|
}, filterAppendNodes(t2) {
|
|
20
20
|
const o = { searchValue: t2 };
|
|
21
21
|
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-workgroups", o).then((t3) => {
|
|
22
|
-
this.searchResult = t3, 0 !== this.searchResult.length || this.$message({ showClose: true, type: "error", message: e().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
22
|
+
this.searchResult = t3, 0 !== this.searchResult.length || this.$message({ showClose: true, type: "error", message: e.getI18n().t("imatrixUIMessage.queryResultIsEmpty") });
|
|
23
23
|
});
|
|
24
24
|
}, initSelectGroups(e2, t2, o) {
|
|
25
25
|
return new Promise((s, r) => {
|
|
@@ -30,6 +30,4 @@ const t = { initLoad(e2, t2, o, s) {
|
|
|
30
30
|
}) : s([]);
|
|
31
31
|
});
|
|
32
32
|
} };
|
|
33
|
-
|
|
34
|
-
t as default
|
|
35
|
-
};
|
|
33
|
+
module.exports = t;
|