agilebuilder-ui 1.1.65-tmp3 → 1.1.65-tmp30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.min.js +16659 -0
- package/dist/style.css +3104 -0
- package/es/IntervalSelection/index.mjs +7 -0
- package/es/IntervalSelection/src/sectionDate.vue.mjs +49 -0
- package/es/breadcrumb/index.mjs +7 -0
- package/es/breadcrumb/src/breadcrumb.vue.mjs +28 -0
- package/es/chat-embed/index.mjs +7 -0
- package/es/chat-embed/src/chat-addition-data.vue.mjs +7 -0
- package/es/chat-embed/src/chat-addition-data.vue2.mjs +17 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue.mjs +7 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.mjs +29 -0
- package/es/chat-embed/src/chat-bubble-footer.vue.mjs +7 -0
- package/es/chat-embed/src/chat-bubble-footer.vue2.mjs +33 -0
- package/es/chat-embed/src/chat-embed-message.mjs +22 -0
- package/es/chat-embed/src/chat-sender.vue.mjs +7 -0
- package/es/chat-embed/src/chat-sender.vue2.mjs +158 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue2.mjs +58 -0
- package/es/chat-embed/src/components/answer-home-chart.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue2.mjs +117 -0
- package/es/chat-embed/src/components/history-detail.vue.mjs +7 -0
- package/es/chat-embed/src/components/history-detail.vue2.mjs +55 -0
- package/es/chat-embed/src/header.vue.mjs +7 -0
- package/es/chat-embed/src/header.vue2.mjs +46 -0
- package/es/chat-embed/src/index.vue.mjs +7 -0
- package/es/chat-embed/src/index.vue2.mjs +307 -0
- package/es/chat-embed/src/recommendation-message.vue.mjs +7 -0
- package/es/chat-embed/src/recommendation-message.vue2.mjs +11 -0
- package/es/chat-embed/src/sidebar-item.vue.mjs +7 -0
- package/es/chat-embed/src/sidebar-item.vue2.mjs +118 -0
- package/es/chat-embed/src/util/history-message-util.mjs +96 -0
- package/es/chat-embed/src/util/mcp-utils.mjs +53 -0
- package/es/chat-embed/src/voice/index.mjs +7 -0
- package/es/chat-embed/src/voice/js/crypto-js.mjs +1004 -0
- package/es/chat-embed/src/voice/js/processor/index.umd.mjs +169 -0
- package/es/chat-embed/src/voice/voice.vue.mjs +105 -0
- package/es/date-picker-range/index.mjs +7 -0
- package/es/date-picker-range/index.vue.mjs +7 -0
- package/es/date-picker-range/index.vue2.mjs +93 -0
- package/es/department-tree/index.mjs +7 -0
- package/es/department-tree/src/department-tree.vue.mjs +23 -0
- package/es/department-tree-inline/index.mjs +7 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.mjs +91 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue.mjs +64 -0
- package/es/department-tree-inline/src/department-tree-inline.vue.mjs +17 -0
- package/es/department-tree-inline/src/department-tree-service.mjs +108 -0
- package/es/department-tree-inline/src/search-result.vue.mjs +40 -0
- package/es/department-tree-mobile/index.mjs +8 -0
- package/es/department-tree-mobile/src/department-tree-app.vue.mjs +16 -0
- package/es/department-tree-mobile/src/department-tree-app.vue3.mjs +5 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.mjs +121 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/department-tree-service.mjs +57 -0
- package/es/department-tree-mobile/src/dept-path.vue.mjs +15 -0
- package/es/department-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/dept-result.vue.mjs +18 -0
- package/es/department-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/department-user-tree/index.mjs +7 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue.mjs +20 -0
- package/es/department-user-tree/src/department-user-single-tree.vue.mjs +19 -0
- package/es/department-user-tree/src/department-user-tree.vue.mjs +27 -0
- package/es/department-user-tree-inline/index.mjs +7 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +165 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.mjs +69 -0
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.mjs +16 -0
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.mjs +81 -0
- package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +54 -0
- package/es/department-user-tree-inline/src/group-user/group-input.vue.mjs +39 -0
- package/es/department-user-tree-inline/src/group-user/group-list.vue.mjs +27 -0
- package/es/department-user-tree-inline/src/group-user/group-user.vue.mjs +16 -0
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.mjs +78 -0
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.mjs +34 -0
- package/es/department-user-tree-inline/src/search-result.vue.mjs +41 -0
- package/es/department-user-tree-mobile/index.mjs +8 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.mjs +16 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.mjs +5 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +135 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/dept-path.vue.mjs +15 -0
- package/es/department-user-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/dept-result.vue.mjs +18 -0
- package/es/department-user-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/directives/prevent-reclick.mjs +15 -0
- package/es/dynamic-source-select/index.mjs +7 -0
- package/es/dynamic-source-select/src/dynamic-source-select-service.mjs +32 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue.mjs +276 -0
- package/es/empty-state/index.vue.mjs +9 -0
- package/es/empty-state/index.vue2.mjs +4 -0
- package/es/favicon.svg +29 -0
- package/es/fs-preview/index.mjs +7 -0
- package/es/fs-preview/src/fs-preview.vue.mjs +128 -0
- package/es/fs-upload/index.mjs +7 -0
- package/es/fs-upload/src/fs-upload-multi.vue.mjs +71 -0
- package/es/fs-upload/src/fs-upload-single.vue.mjs +73 -0
- package/es/fs-upload/src/fs-upload.vue.mjs +24 -0
- package/es/fs-upload/src/see-big-picture.vue.mjs +12 -0
- package/es/fs-upload-list/index.mjs +7 -0
- package/es/fs-upload-list/src/fs-upload-list.vue.mjs +98 -0
- package/es/fs-upload-new/index.mjs +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +61 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +178 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.mjs +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +39 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.mjs +45 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.mjs +35 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.mjs +4 -0
- package/es/fs-upload-new/src/fs-button-upload.vue.mjs +7 -0
- package/es/fs-upload-new/src/fs-button-upload.vue2.mjs +62 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue.mjs +7 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue2.mjs +63 -0
- package/es/fs-upload-new/src/fs-preview-new.vue.mjs +8 -0
- package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +93 -0
- package/es/fs-upload-new/src/fs-upload-new.vue.mjs +64 -0
- package/es/fs-upload-new/src/fs-upload-new.vue2.mjs +4 -0
- package/es/hamburger/index.mjs +7 -0
- package/es/hamburger/src/hamburger.vue.mjs +15 -0
- package/es/index.mjs +388 -0
- package/es/json-view/json-view-dialog.vue.mjs +19 -0
- package/es/json-view/json-view-dialog.vue2.mjs +4 -0
- package/es/json-view/json-view.vue.mjs +4 -0
- package/es/json-view/json-view.vue2.mjs +36 -0
- package/es/multipart-upload/index.mjs +7 -0
- package/es/multipart-upload/src/index.vue.mjs +14 -0
- package/es/multipart-upload/src/multipart-upload-form.vue.mjs +82 -0
- package/es/multipart-upload/src/multipart-upload-list.vue.mjs +104 -0
- package/es/organization-input/index.mjs +7 -0
- package/es/organization-input/src/organization-input.vue.mjs +224 -0
- package/es/plugins/export-data-new.mjs +237 -0
- package/es/plugins/export-data.mjs +179 -0
- package/es/plugins/index.mjs +9 -0
- package/es/remove-department/index.mjs +7 -0
- package/es/remove-department/src/remove-department.vue.mjs +33 -0
- package/es/remove-user/index.mjs +7 -0
- package/es/remove-user/src/remove-user.vue.mjs +35 -0
- package/es/remove-workgroup/index.mjs +7 -0
- package/es/remove-workgroup/src/remove-workgroup.vue.mjs +31 -0
- package/es/rich-editor/index.mjs +7 -0
- package/es/rich-editor/index.vue.mjs +115 -0
- package/es/rich-editor/viewer.vue.mjs +27 -0
- package/es/row-form/index.mjs +7 -0
- package/es/row-form/index.vue.mjs +7 -0
- package/es/row-form/index.vue2.mjs +62 -0
- package/es/row-form/operation.vue.mjs +32 -0
- package/es/row-form/operation.vue2.mjs +4 -0
- package/es/scan-code-input/index.mjs +7 -0
- package/es/scan-code-input/src/events.mjs +15 -0
- package/es/scan-code-input/src/scan-code-input.vue.mjs +32 -0
- package/es/scan-code-input-browser/index.mjs +7 -0
- package/es/scan-code-input-browser/src/scan-code-input.vue.mjs +39 -0
- package/es/secret-info/index.mjs +7 -0
- package/es/secret-info/index.vue.mjs +16 -0
- package/es/src/api/sso-service.mjs +57 -0
- package/es/src/api/tab.mjs +15 -0
- package/es/src/components/Affix/index.vue.mjs +7 -0
- package/es/src/components/Affix/index.vue2.mjs +83 -0
- package/es/src/components/Card/index.mjs +51 -0
- package/es/src/components/Scrollbar/index.vue.mjs +52 -0
- package/es/src/directives/permission/index.mjs +7 -0
- package/es/src/directives/permission/permission.mjs +11 -0
- package/es/src/i18n/i18n.mjs +7 -0
- package/es/src/i18n/langs/cn.mjs +4 -0
- package/es/src/i18n/langs/en.mjs +4 -0
- package/es/src/permission.mjs +79 -0
- package/es/src/router/index.mjs +10 -0
- package/es/src/store/index.mjs +13 -0
- package/es/src/store/modules/permission.mjs +31 -0
- package/es/src/store/modules/system.mjs +12 -0
- package/es/src/store/modules/tab-content.mjs +20 -0
- package/es/src/store/modules/user.mjs +139 -0
- package/es/src/utils/auth.mjs +156 -0
- package/es/src/utils/calculator/calculator-util.mjs +56 -0
- package/es/src/utils/chat-ai-util.mjs +34 -0
- package/es/src/utils/common-util.mjs +448 -0
- package/es/src/utils/insert_css.mjs +17 -0
- package/es/src/utils/jump-page-utils.mjs +264 -0
- package/es/src/utils/menu.mjs +14 -0
- package/es/src/utils/permission.mjs +45 -0
- package/es/src/utils/permissionAuth.mjs +154 -0
- package/es/src/utils/range-selector.mjs +105 -0
- package/es/src/utils/request.mjs +140 -0
- package/es/src/utils/util.mjs +361 -0
- package/es/src/utils/voice-setting-cache.mjs +212 -0
- package/es/src/utils/watermark.mjs +40 -0
- package/es/src/utils/workflow-util.mjs +42 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue.mjs +7 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue2.mjs +12 -0
- package/es/src/views/dsc-component/Sidebar/Link.vue.mjs +14 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.mjs +53 -0
- package/es/src/views/dsc-component/Sidebar/index.vue.mjs +111 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue.mjs +66 -0
- package/es/src/views/error-page/401.vue.mjs +15 -0
- package/es/src/views/error-page/404.vue.mjs +12 -0
- package/es/src/views/layout/EmptyLayout.vue.mjs +9 -0
- package/es/src/views/layout/Layout.vue.mjs +28 -0
- package/es/src/views/layout/NewLayout.vue.mjs +11 -0
- package/es/src/views/layout/components/AppMain.vue.mjs +13 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue.mjs +49 -0
- package/es/src/views/layout/components/Menubar/Item.vue.mjs +7 -0
- package/es/src/views/layout/components/Menubar/Item.vue2.mjs +15 -0
- package/es/src/views/layout/components/Menubar/Link.vue.mjs +14 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.mjs +56 -0
- package/es/src/views/layout/components/Menubar/index.vue.mjs +90 -0
- package/es/src/views/layout/components/Sidebar/Item.vue2.mjs +4 -0
- package/es/src/views/layout/components/Sidebar/Link.vue.mjs +12 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.mjs +22 -0
- package/es/src/views/layout/components/Sidebar/index.vue.mjs +58 -0
- package/es/src/views/layout/components/iframe-page.vue.mjs +14 -0
- package/es/src/views/layout/components/tabs/tab-content.vue.mjs +64 -0
- package/es/src/views/layout/mixin/ResizeHandler.mjs +16 -0
- package/es/src/views/layout/tab-content-iframe-index.vue.mjs +14 -0
- package/es/src/views/layout/tab-content-index.vue.mjs +28 -0
- package/es/src/views/super-icon/index.mjs +7 -0
- package/es/src/views/super-icon/src/index.vue.mjs +7 -0
- package/es/src/views/super-icon/src/index.vue2.mjs +13 -0
- package/es/src/views/svg-icon/src/svg-icon.vue2.mjs +14 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue.mjs +14 -0
- package/es/style.css +3103 -0
- package/es/super-grid/index.mjs +7 -0
- package/es/super-grid/src/apis.mjs +487 -0
- package/es/super-grid/src/columns-config.vue.mjs +82 -0
- package/es/super-grid/src/components/grid-icon.vue.mjs +47 -0
- package/es/super-grid/src/components/grid-radio-input.vue.mjs +25 -0
- package/es/super-grid/src/components/grid-radio-input.vue2.mjs +4 -0
- package/es/super-grid/src/components/mobile-table-card.mjs +109 -0
- package/es/super-grid/src/components/select-input.vue.mjs +149 -0
- package/es/super-grid/src/components/select-input.vue2.mjs +4 -0
- package/es/super-grid/src/custom-formatter.mjs +168 -0
- package/es/super-grid/src/dynamic-input.vue.mjs +482 -0
- package/es/super-grid/src/events.mjs +37 -0
- package/es/super-grid/src/formValidatorUtil.mjs +109 -0
- package/es/super-grid/src/group-column.vue.mjs +24 -0
- package/es/super-grid/src/header-context-menu.vue.mjs +15 -0
- package/es/super-grid/src/index-column.vue.mjs +22 -0
- package/es/super-grid/src/normal-column-content.vue.mjs +322 -0
- package/es/super-grid/src/normal-column.vue.mjs +105 -0
- package/es/super-grid/src/row-detail.vue.mjs +14 -0
- package/es/super-grid/src/row-operation.vue.mjs +89 -0
- package/es/super-grid/src/scan-util.mjs +100 -0
- package/es/super-grid/src/search-button.vue.mjs +25 -0
- package/es/super-grid/src/search-condition-input.vue.mjs +17 -0
- package/es/super-grid/src/search-condition-list.vue.mjs +20 -0
- package/es/super-grid/src/search-form-advancedQuery.vue.mjs +116 -0
- package/es/super-grid/src/search-form-dialog.vue.mjs +27 -0
- package/es/super-grid/src/search-form-item.vue.mjs +128 -0
- package/es/super-grid/src/search-form-mobile.vue.mjs +41 -0
- package/es/super-grid/src/search-form-number.vue.mjs +25 -0
- package/es/super-grid/src/search-form-open.vue.mjs +52 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +41 -0
- package/es/super-grid/src/search-form.vue.mjs +207 -0
- package/es/super-grid/src/selection-column.vue.mjs +11 -0
- package/es/super-grid/src/super-grid-service.mjs +260 -0
- package/es/super-grid/src/super-grid.vue.mjs +1114 -0
- package/es/super-grid/src/utils.mjs +401 -0
- package/es/super-grid/src/view-image-dialog.vue.mjs +67 -0
- package/es/super-icon/index.mjs +7 -0
- package/es/super-icon/src/index.vue.mjs +7 -0
- package/es/super-icon/src/index.vue2.mjs +13 -0
- package/es/super-nine-grid/index.mjs +7 -0
- package/es/super-nine-grid/src/apis.mjs +36 -0
- package/es/super-nine-grid/src/custom-formatter.mjs +35 -0
- package/es/super-nine-grid/src/search-form-number.vue.mjs +12 -0
- package/es/super-nine-grid/src/search-form.vue.mjs +91 -0
- package/es/super-nine-grid/src/super-grid-service.mjs +39 -0
- package/es/super-nine-grid/src/super-nine-grid.vue.mjs +225 -0
- package/es/super-nine-grid/src/utils.mjs +32 -0
- package/es/svg-icon/index.mjs +7 -0
- package/es/svg-icon/src/svg-icon.vue.mjs +14 -0
- package/es/utils/memory-cache-utils.mjs +30 -0
- package/es/utils/organization.mjs +70 -0
- package/es/utils/utils.mjs +87 -0
- package/es/utils/value-set.mjs +94 -0
- package/es/valid-code/index.mjs +7 -0
- package/es/valid-code/src/valid-code.vue.mjs +23 -0
- package/es/workflow-button/index.mjs +7 -0
- package/es/workflow-button/src/workflow-button.vue.mjs +85 -0
- package/es/workflow-history-list/index.mjs +7 -0
- package/es/workflow-history-list/src/workflow-history-list.vue.mjs +89 -0
- package/es/workgroup-tree/index.mjs +7 -0
- package/es/workgroup-tree/src/workgroup-tree.vue.mjs +23 -0
- package/es/workgroup-tree-inline/index.mjs +7 -0
- package/es/workgroup-tree-inline/src/search-result.vue.mjs +39 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.mjs +128 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-service.mjs +35 -0
- package/es/workgroup-tree-mobile/index.mjs +8 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue.mjs +17 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.mjs +16 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.mjs +5 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.mjs +109 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.mjs +4 -0
- package/es/workgroup-user-tree/index.mjs +7 -0
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.mjs +23 -0
- package/es/workgroup-user-tree-inline/index.mjs +7 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue.mjs +39 -0
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.mjs +73 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.mjs +172 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.mjs +15 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.mjs +18 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.mjs +16 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.mjs +5 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +135 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.mjs +4 -0
- package/es/year-range-picker/index.mjs +7 -0
- package/es/year-range-picker/src/year-range-picker.vue.mjs +14 -0
- package/lib/IntervalSelection/index.cjs +5 -0
- package/lib/IntervalSelection/src/sectionDate.vue.cjs +45 -0
- package/lib/IntervalSelection/src/sectionDate.vue2.cjs +2 -0
- package/lib/_virtual/__vite-browser-external.cjs +2 -0
- package/lib/_virtual/_plugin-vue_export-helper.cjs +7 -0
- package/lib/breadcrumb/index.cjs +5 -0
- package/lib/breadcrumb/src/breadcrumb.vue.cjs +37 -0
- package/lib/breadcrumb/src/breadcrumb.vue2.cjs +2 -0
- package/lib/chat-embed/index.cjs +5 -0
- package/lib/chat-embed/src/chat-addition-data.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-addition-data.vue2.cjs +15 -0
- package/lib/chat-embed/src/chat-addition-data.vue3.cjs +2 -0
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.cjs +26 -0
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.cjs +2 -0
- package/lib/chat-embed/src/chat-bubble-footer.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-bubble-footer.vue2.cjs +28 -0
- package/lib/chat-embed/src/chat-bubble-footer.vue3.cjs +2 -0
- package/lib/chat-embed/src/chat-embed-message.cjs +16 -0
- package/lib/chat-embed/src/chat-sender.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-sender.vue2.cjs +145 -0
- package/lib/chat-embed/src/chat-sender.vue3.cjs +2 -0
- package/lib/chat-embed/src/components/answer-auto-chart.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.cjs +50 -0
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.cjs +2 -0
- package/lib/chat-embed/src/components/answer-home-chart.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-home-chart.vue2.cjs +3 -0
- package/lib/chat-embed/src/components/answer-home-chart.vue3.cjs +2 -0
- package/lib/chat-embed/src/components/answer-interaction-data.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.cjs +107 -0
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.cjs +2 -0
- package/lib/chat-embed/src/components/history-detail.vue.cjs +5 -0
- package/lib/chat-embed/src/components/history-detail.vue2.cjs +50 -0
- package/lib/chat-embed/src/components/history-detail.vue3.cjs +2 -0
- package/lib/chat-embed/src/header.vue.cjs +5 -0
- package/lib/chat-embed/src/header.vue2.cjs +39 -0
- package/lib/chat-embed/src/header.vue3.cjs +2 -0
- package/lib/chat-embed/src/index.vue.cjs +5 -0
- package/lib/chat-embed/src/index.vue2.cjs +281 -0
- package/lib/chat-embed/src/index.vue3.cjs +2 -0
- package/lib/chat-embed/src/recommendation-message.vue.cjs +5 -0
- package/lib/chat-embed/src/recommendation-message.vue2.cjs +8 -0
- package/lib/chat-embed/src/recommendation-message.vue3.cjs +2 -0
- package/lib/chat-embed/src/sidebar-item.vue.cjs +5 -0
- package/lib/chat-embed/src/sidebar-item.vue2.cjs +109 -0
- package/lib/chat-embed/src/sidebar-item.vue3.cjs +2 -0
- package/lib/chat-embed/src/type.cjs +3 -0
- package/lib/chat-embed/src/util/chat-embed-util.cjs +51 -0
- package/lib/chat-embed/src/util/history-message-util.cjs +74 -0
- package/lib/chat-embed/src/util/mcp-utils.cjs +50 -0
- package/lib/chat-embed/src/util/text-file-util.cjs +8 -0
- package/lib/chat-embed/src/voice/index.cjs +5 -0
- package/lib/chat-embed/src/voice/js/crypto-js.cjs +1005 -0
- package/lib/chat-embed/src/voice/js/processor/index.umd.cjs +170 -0
- package/lib/chat-embed/src/voice/js/timer.cjs +8 -0
- package/lib/chat-embed/src/voice/voice.vue.cjs +96 -0
- package/lib/date-picker-range/index.cjs +5 -0
- package/lib/date-picker-range/index.vue.cjs +5 -0
- package/lib/date-picker-range/index.vue2.cjs +89 -0
- package/lib/date-picker-range/index.vue3.cjs +2 -0
- package/lib/department-tree/index.cjs +5 -0
- package/lib/department-tree/src/department-tree.vue.cjs +17 -0
- package/lib/department-tree-inline/index.cjs +5 -0
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.cjs +81 -0
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.cjs +2 -0
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.cjs +54 -0
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.cjs +2 -0
- package/lib/department-tree-inline/src/department-tree-inline.vue.cjs +12 -0
- package/lib/department-tree-inline/src/department-tree-service.cjs +106 -0
- package/lib/department-tree-inline/src/search-result.vue.cjs +36 -0
- package/lib/department-tree-inline/src/search-result.vue2.cjs +2 -0
- package/lib/department-tree-mobile/index.cjs +5 -0
- package/lib/department-tree-mobile/src/department-tree-app.vue.cjs +13 -0
- package/lib/department-tree-mobile/src/department-tree-app.vue2.cjs +2 -0
- package/lib/department-tree-mobile/src/department-tree-app.vue3.cjs +3 -0
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +110 -0
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.cjs +3 -0
- package/lib/department-tree-mobile/src/department-tree-service.cjs +47 -0
- package/lib/department-tree-mobile/src/dept-path.vue.cjs +13 -0
- package/lib/department-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/department-tree-mobile/src/dept-result.vue.cjs +14 -0
- package/lib/department-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/department-user-tree/index.cjs +5 -0
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.cjs +16 -0
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.cjs +2 -0
- package/lib/department-user-tree/src/department-user-single-tree.vue.cjs +14 -0
- package/lib/department-user-tree/src/department-user-tree.vue.cjs +21 -0
- package/lib/department-user-tree-inline/index.cjs +5 -0
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.cjs +154 -0
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.cjs +2 -0
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.cjs +57 -0
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.cjs +2 -0
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.cjs +11 -0
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.cjs +78 -0
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.cjs +51 -0
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.cjs +34 -0
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.cjs +22 -0
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.cjs +10 -0
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.cjs +72 -0
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.cjs +28 -0
- package/lib/department-user-tree-inline/src/group-user-tree-service.cjs +33 -0
- package/lib/department-user-tree-inline/src/search-result.vue.cjs +38 -0
- package/lib/department-user-tree-inline/src/search-result.vue2.cjs +2 -0
- package/lib/department-user-tree-mobile/index.cjs +5 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.cjs +13 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.cjs +2 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.cjs +3 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.cjs +124 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.cjs +3 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-service.cjs +28 -0
- package/lib/department-user-tree-mobile/src/dept-path.vue.cjs +13 -0
- package/lib/department-user-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/department-user-tree-mobile/src/dept-result.vue.cjs +14 -0
- package/lib/department-user-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/directives/prevent-reclick.cjs +14 -0
- package/lib/dynamic-source-select/index.cjs +5 -0
- package/lib/dynamic-source-select/src/dynamic-source-select-service.cjs +30 -0
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.cjs +266 -0
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.cjs +2 -0
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.cjs +2 -0
- package/lib/dynamic-source-select/src/events.cjs +28 -0
- package/lib/empty-state/index.vue.cjs +6 -0
- package/lib/empty-state/index.vue2.cjs +3 -0
- package/lib/fs-preview/index.cjs +5 -0
- package/lib/fs-preview/src/fs-preview.vue.cjs +119 -0
- package/lib/fs-preview/src/fs-preview.vue2.cjs +2 -0
- package/lib/fs-upload/index.cjs +5 -0
- package/lib/fs-upload/src/fs-upload-multi.vue.cjs +63 -0
- package/lib/fs-upload/src/fs-upload-single.vue.cjs +64 -0
- package/lib/fs-upload/src/fs-upload.vue.cjs +18 -0
- package/lib/fs-upload/src/see-big-picture.vue.cjs +9 -0
- package/lib/fs-upload-list/index.cjs +5 -0
- package/lib/fs-upload-list/src/fs-upload-list.vue.cjs +91 -0
- package/lib/fs-upload-list/src/fs-upload-list.vue2.cjs +2 -0
- package/lib/fs-upload-new/index.cjs +5 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.cjs +57 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +170 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.cjs +5 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.cjs +32 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.cjs +2 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.cjs +41 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.cjs +29 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/fs-button-upload.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-button-upload.vue2.cjs +55 -0
- package/lib/fs-upload-new/src/fs-button-upload.vue3.cjs +2 -0
- package/lib/fs-upload-new/src/fs-drag-upload.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.cjs +55 -0
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.cjs +2 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue2.cjs +84 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue3.cjs +2 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue4.cjs +2 -0
- package/lib/fs-upload-new/src/fs-upload-new.vue.cjs +54 -0
- package/lib/fs-upload-new/src/fs-upload-new.vue2.cjs +3 -0
- package/lib/hamburger/index.cjs +5 -0
- package/lib/hamburger/src/hamburger.vue.cjs +11 -0
- package/lib/hamburger/src/hamburger.vue2.cjs +2 -0
- package/lib/index.cjs +41 -0
- package/lib/json-view/json-view-dialog.vue.cjs +16 -0
- package/lib/json-view/json-view-dialog.vue2.cjs +3 -0
- package/lib/json-view/json-view.vue.cjs +3 -0
- package/lib/json-view/json-view.vue2.cjs +32 -0
- package/lib/multipart-upload/index.cjs +5 -0
- package/lib/multipart-upload/src/index.vue.cjs +10 -0
- package/lib/multipart-upload/src/multipart-upload-form.vue.cjs +73 -0
- package/lib/multipart-upload/src/multipart-upload-list.vue.cjs +96 -0
- package/lib/organization-input/index.cjs +5 -0
- package/lib/organization-input/src/organization-input.vue.cjs +218 -0
- package/lib/organization-input/src/organization-input.vue2.cjs +2 -0
- package/lib/plugins/export-data-new.cjs +229 -0
- package/lib/plugins/export-data.cjs +173 -0
- package/lib/plugins/index.cjs +5 -0
- package/lib/plugins/public-method.cjs +13 -0
- package/lib/remove-department/index.cjs +5 -0
- package/lib/remove-department/src/remove-department.vue.cjs +27 -0
- package/lib/remove-department/src/remove-dept-service.cjs +12 -0
- package/lib/remove-user/index.cjs +5 -0
- package/lib/remove-user/src/remove-user-service.cjs +12 -0
- package/lib/remove-user/src/remove-user.vue.cjs +29 -0
- package/lib/remove-workgroup/index.cjs +5 -0
- package/lib/remove-workgroup/src/remove-workgroup-service.cjs +12 -0
- package/lib/remove-workgroup/src/remove-workgroup.vue.cjs +25 -0
- package/lib/rich-editor/index.cjs +5 -0
- package/lib/rich-editor/index.vue.cjs +67 -0
- package/lib/rich-editor/tinymce/zh_CN.cjs +2 -0
- package/lib/rich-editor/viewer.vue.cjs +24 -0
- package/lib/row-form/index.cjs +5 -0
- package/lib/row-form/index.vue.cjs +5 -0
- package/lib/row-form/index.vue2.cjs +56 -0
- package/lib/row-form/index.vue3.cjs +2 -0
- package/lib/row-form/operation.vue.cjs +28 -0
- package/lib/row-form/operation.vue2.cjs +3 -0
- package/lib/scan-code-input/index.cjs +5 -0
- package/lib/scan-code-input/src/events.cjs +13 -0
- package/lib/scan-code-input/src/scan-code-input.vue.cjs +26 -0
- package/lib/scan-code-input-browser/index.cjs +5 -0
- package/lib/scan-code-input-browser/src/scan-code-input.vue.cjs +34 -0
- package/lib/secret-info/index.cjs +5 -0
- package/lib/secret-info/index.vue.cjs +13 -0
- package/lib/src/api/sso-service.cjs +55 -0
- package/lib/src/api/tab.cjs +14 -0
- package/lib/src/assets/401/401.gif.cjs +2 -0
- package/lib/src/assets/404/404-cloud.png.cjs +2 -0
- package/lib/src/assets/404/404.png.cjs +2 -0
- package/lib/src/assets/chat-embed/robot.gif.cjs +2 -0
- package/lib/src/assets/chat-embed/robot.svg.cjs +2 -0
- package/lib/src/assets/nonemessage.png.cjs +2 -0
- package/lib/src/components/Affix/index.vue.cjs +5 -0
- package/lib/src/components/Affix/index.vue2.cjs +81 -0
- package/lib/src/components/Affix/index.vue3.cjs +2 -0
- package/lib/src/components/Card/index.cjs +46 -0
- package/lib/src/components/Scrollbar/index.vue.cjs +48 -0
- package/lib/src/components/Scrollbar/index.vue2.cjs +2 -0
- package/lib/src/directives/permission/index.cjs +5 -0
- package/lib/src/directives/permission/permission.cjs +9 -0
- package/lib/src/i18n/i18n.cjs +3 -0
- package/lib/src/i18n/langs/cn.cjs +2 -0
- package/lib/src/i18n/langs/en.cjs +2 -0
- package/lib/src/mixins/resizeMixin.cjs +20 -0
- package/lib/src/permission.cjs +76 -0
- package/lib/src/router/index.cjs +16 -0
- package/lib/src/store/getters.cjs +2 -0
- package/lib/src/store/index.cjs +16 -0
- package/lib/src/store/modules/app.cjs +40 -0
- package/lib/src/store/modules/chat-ai-store.cjs +33 -0
- package/lib/src/store/modules/permission.cjs +30 -0
- package/lib/src/store/modules/system.cjs +10 -0
- package/lib/src/store/modules/tab-content.cjs +18 -0
- package/lib/src/store/modules/table.cjs +17 -0
- package/lib/src/store/modules/user.cjs +133 -0
- package/lib/src/utils/auth-api.cjs +132 -0
- package/lib/src/utils/auth.cjs +86 -0
- package/lib/src/utils/calculator/calculator-factory-wf.cjs +166 -0
- package/lib/src/utils/calculator/calculator-factory.cjs +92 -0
- package/lib/src/utils/calculator/calculator-util.cjs +53 -0
- package/lib/src/utils/chat-ai-util.cjs +26 -0
- package/lib/src/utils/common-util.cjs +362 -0
- package/lib/src/utils/eventBus.cjs +3 -0
- package/lib/src/utils/file-util.cjs +22 -0
- package/lib/src/utils/global-prop.cjs +22 -0
- package/lib/src/utils/guid.cjs +7 -0
- package/lib/src/utils/i18n-util.cjs +62 -0
- package/lib/src/utils/iconUtils.cjs +19 -0
- package/lib/src/utils/index.cjs +32 -0
- package/lib/src/utils/insert_css.cjs +18 -0
- package/lib/src/utils/json-util.cjs +45 -0
- package/lib/src/utils/jump-page-utils.cjs +256 -0
- package/lib/src/utils/local-storage.cjs +18 -0
- package/lib/src/utils/menu.cjs +13 -0
- package/lib/src/utils/permission.cjs +41 -0
- package/lib/src/utils/permissionAuth.cjs +120 -0
- package/lib/src/utils/range-selector.cjs +101 -0
- package/lib/src/utils/request.cjs +131 -0
- package/lib/src/utils/resize.cjs +11 -0
- package/lib/src/utils/restful-interface-utils.cjs +15 -0
- package/lib/src/utils/util.cjs +341 -0
- package/lib/src/utils/validate.cjs +12 -0
- package/lib/src/utils/voice-setting-cache.cjs +199 -0
- package/lib/src/utils/watermark-cache.cjs +10 -0
- package/lib/src/utils/watermark.cjs +33 -0
- package/lib/src/utils/workflow-util.cjs +41 -0
- package/lib/src/views/dsc-component/Sidebar/Item.vue.cjs +5 -0
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.cjs +9 -0
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.cjs +2 -0
- package/lib/src/views/dsc-component/Sidebar/Link.vue.cjs +11 -0
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.cjs +46 -0
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.cjs +2 -0
- package/lib/src/views/dsc-component/Sidebar/index.vue.cjs +103 -0
- package/lib/src/views/dsc-component/tabs/tab-content.vue.cjs +61 -0
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.cjs +2 -0
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.cjs +2 -0
- package/lib/src/views/error-page/401.vue.cjs +11 -0
- package/lib/src/views/error-page/401.vue2.cjs +2 -0
- package/lib/src/views/error-page/404.vue.cjs +8 -0
- package/lib/src/views/error-page/404.vue2.cjs +2 -0
- package/lib/src/views/layout/EmptyLayout.vue.cjs +7 -0
- package/lib/src/views/layout/Layout.vue.cjs +21 -0
- package/lib/src/views/layout/Layout.vue2.cjs +2 -0
- package/lib/src/views/layout/NewLayout.vue.cjs +7 -0
- package/lib/src/views/layout/components/AppMain.vue.cjs +11 -0
- package/lib/src/views/layout/components/AppMain.vue2.cjs +2 -0
- package/lib/src/views/layout/components/Breadcrumb/index.vue.cjs +56 -0
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.cjs +2 -0
- package/lib/src/views/layout/components/Menubar/Item.vue.cjs +5 -0
- package/lib/src/views/layout/components/Menubar/Item.vue2.cjs +13 -0
- package/lib/src/views/layout/components/Menubar/Item.vue3.cjs +2 -0
- package/lib/src/views/layout/components/Menubar/Link.vue.cjs +11 -0
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.cjs +47 -0
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.cjs +2 -0
- package/lib/src/views/layout/components/Menubar/index.vue.cjs +79 -0
- package/lib/src/views/layout/components/Sidebar/Item.vue.cjs +7 -0
- package/lib/src/views/layout/components/Sidebar/Item.vue2.cjs +3 -0
- package/lib/src/views/layout/components/Sidebar/Link.vue.cjs +9 -0
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.cjs +16 -0
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.cjs +2 -0
- package/lib/src/views/layout/components/Sidebar/index.vue.cjs +51 -0
- package/lib/src/views/layout/components/iframe-page.vue.cjs +12 -0
- package/lib/src/views/layout/components/iframe-page.vue2.cjs +2 -0
- package/lib/src/views/layout/components/tabs/tab-content.vue.cjs +60 -0
- package/lib/src/views/layout/components/tabs/tab-content.vue2.cjs +2 -0
- package/lib/src/views/layout/components/tabs/tab-content.vue3.cjs +2 -0
- package/lib/src/views/layout/mixin/ResizeHandler.cjs +14 -0
- package/lib/src/views/layout/tab-content-iframe-index.vue.cjs +12 -0
- package/lib/src/views/layout/tab-content-iframe-index.vue2.cjs +2 -0
- package/lib/src/views/layout/tab-content-index.vue.cjs +22 -0
- package/lib/src/views/layout/tab-content-index.vue2.cjs +2 -0
- package/lib/src/views/login/authredirect.vue.cjs +6 -0
- package/lib/src/views/redirect/index.vue.cjs +17 -0
- package/lib/src/views/super-icon/index.cjs +5 -0
- package/lib/src/views/super-icon/src/index.vue.cjs +5 -0
- package/lib/src/views/super-icon/src/index.vue2.cjs +10 -0
- package/lib/src/views/super-icon/src/index.vue3.cjs +2 -0
- package/lib/src/views/svg-icon/src/svg-icon.vue.cjs +2 -0
- package/lib/src/views/svg-icon/src/svg-icon.vue2.cjs +12 -0
- package/lib/src/views/wf-history/tache-subprocess-history.vue.cjs +12 -0
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.cjs +2 -0
- package/lib/style.css +1234 -1208
- package/lib/super-grid/index.cjs +5 -0
- package/lib/super-grid/src/apis.cjs +477 -0
- package/lib/super-grid/src/columns-config.vue.cjs +76 -0
- package/lib/super-grid/src/components/grid-icon.vue.cjs +39 -0
- package/lib/super-grid/src/components/grid-radio-input.vue.cjs +22 -0
- package/lib/super-grid/src/components/grid-radio-input.vue2.cjs +3 -0
- package/lib/super-grid/src/components/mobile-table-card.cjs +99 -0
- package/lib/super-grid/src/components/select-input.vue.cjs +141 -0
- package/lib/super-grid/src/components/select-input.vue2.cjs +3 -0
- package/lib/super-grid/src/custom-formatter.cjs +163 -0
- package/lib/super-grid/src/dynamic-input.vue.cjs +465 -0
- package/lib/super-grid/src/eventBus.cjs +3 -0
- package/lib/super-grid/src/events.cjs +35 -0
- package/lib/super-grid/src/formValidatorUtil.cjs +106 -0
- package/lib/super-grid/src/formatter.cjs +69 -0
- package/lib/super-grid/src/group-column.vue.cjs +19 -0
- package/lib/super-grid/src/header-context-menu.vue.cjs +12 -0
- package/lib/super-grid/src/header-context-menu.vue2.cjs +2 -0
- package/lib/super-grid/src/index-column.vue.cjs +19 -0
- package/lib/super-grid/src/normal-column-content.vue.cjs +303 -0
- package/lib/super-grid/src/normal-column-content.vue2.cjs +2 -0
- package/lib/super-grid/src/normal-column.vue.cjs +90 -0
- package/lib/super-grid/src/normal-column.vue2.cjs +2 -0
- package/lib/super-grid/src/public-methods.cjs +20 -0
- package/lib/super-grid/src/row-detail.vue.cjs +11 -0
- package/lib/super-grid/src/row-operation.vue.cjs +82 -0
- package/lib/super-grid/src/row-operation.vue2.cjs +2 -0
- package/lib/super-grid/src/scan-util.cjs +98 -0
- package/lib/super-grid/src/search-button.vue.cjs +20 -0
- package/lib/super-grid/src/search-condition-input.vue.cjs +13 -0
- package/lib/super-grid/src/search-condition-list.vue.cjs +17 -0
- package/lib/super-grid/src/search-form-advancedQuery.vue.cjs +106 -0
- package/lib/super-grid/src/search-form-advancedQuery.vue2.cjs +2 -0
- package/lib/super-grid/src/search-form-dialog.vue.cjs +23 -0
- package/lib/super-grid/src/search-form-item.vue.cjs +120 -0
- package/lib/super-grid/src/search-form-item.vue2.cjs +2 -0
- package/lib/super-grid/src/search-form-mobile.vue.cjs +32 -0
- package/lib/super-grid/src/search-form-mobile.vue2.cjs +2 -0
- package/lib/super-grid/src/search-form-number.vue.cjs +21 -0
- package/lib/super-grid/src/search-form-open.vue.cjs +46 -0
- package/lib/super-grid/src/search-form-ordinarySearch.vue.cjs +33 -0
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.cjs +2 -0
- package/lib/super-grid/src/search-form.vue.cjs +194 -0
- package/lib/super-grid/src/search-form.vue2.cjs +2 -0
- package/lib/super-grid/src/search-methods.cjs +163 -0
- package/lib/super-grid/src/selection-column.vue.cjs +9 -0
- package/lib/super-grid/src/store.cjs +3 -0
- package/lib/super-grid/src/super-grid-service.cjs +253 -0
- package/lib/super-grid/src/super-grid.vue.cjs +1083 -0
- package/lib/super-grid/src/super-grid.vue2.cjs +2 -0
- package/lib/super-grid/src/utils.cjs +373 -0
- package/lib/super-grid/src/view-image-dialog.vue.cjs +60 -0
- package/lib/super-icon/index.cjs +5 -0
- package/lib/super-icon/src/index.vue.cjs +5 -0
- package/lib/super-icon/src/index.vue2.cjs +10 -0
- package/lib/super-icon/src/index.vue3.cjs +2 -0
- package/lib/super-nine-grid/index.cjs +5 -0
- package/lib/super-nine-grid/src/apis.cjs +33 -0
- package/lib/super-nine-grid/src/custom-formatter.cjs +33 -0
- package/lib/super-nine-grid/src/formatter.cjs +36 -0
- package/lib/super-nine-grid/src/search-form-number.vue.cjs +9 -0
- package/lib/super-nine-grid/src/search-form.vue.cjs +84 -0
- package/lib/super-nine-grid/src/search-form.vue2.cjs +2 -0
- package/lib/super-nine-grid/src/search-methods.cjs +47 -0
- package/lib/super-nine-grid/src/store.cjs +3 -0
- package/lib/super-nine-grid/src/super-grid-service.cjs +35 -0
- package/lib/super-nine-grid/src/super-nine-grid.vue.cjs +215 -0
- package/lib/super-nine-grid/src/super-nine-grid.vue2.cjs +2 -0
- package/lib/super-nine-grid/src/utils.cjs +36 -0
- package/lib/svg-icon/index.cjs +5 -0
- package/lib/svg-icon/src/svg-icon.vue.cjs +12 -0
- package/lib/svg-icon/src/svg-icon.vue2.cjs +2 -0
- package/lib/utils/gogocodeTransfer.cjs +28 -0
- package/lib/utils/memory-cache-utils.cjs +28 -0
- package/lib/utils/organization.cjs +55 -0
- package/lib/utils/utils.cjs +85 -0
- package/lib/utils/value-set.cjs +92 -0
- package/lib/valid-code/index.cjs +5 -0
- package/lib/valid-code/src/valid-code.vue.cjs +20 -0
- package/lib/valid-code/src/valid-code.vue2.cjs +2 -0
- package/lib/workflow-button/index.cjs +5 -0
- package/lib/workflow-button/src/workflow-button.vue.cjs +80 -0
- package/lib/workflow-history-list/index.cjs +5 -0
- package/lib/workflow-history-list/src/api.cjs +5 -0
- package/lib/workflow-history-list/src/workflow-history-list.vue.cjs +83 -0
- package/lib/workflow-history-list/src/workflow-history-list.vue2.cjs +2 -0
- package/lib/workgroup-tree/index.cjs +5 -0
- package/lib/workgroup-tree/src/workgroup-tree.vue.cjs +17 -0
- package/lib/workgroup-tree-inline/index.cjs +5 -0
- package/lib/workgroup-tree-inline/src/search-result.vue.cjs +35 -0
- package/lib/workgroup-tree-inline/src/search-result.vue2.cjs +2 -0
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.cjs +119 -0
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.cjs +2 -0
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.cjs +33 -0
- package/lib/workgroup-tree-mobile/index.cjs +5 -0
- package/lib/workgroup-tree-mobile/src/dept-result.vue.cjs +14 -0
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.cjs +13 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.cjs +2 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.cjs +3 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.cjs +99 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.cjs +3 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.cjs +25 -0
- package/lib/workgroup-user-tree/index.cjs +5 -0
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.cjs +17 -0
- package/lib/workgroup-user-tree-inline/index.cjs +5 -0
- package/lib/workgroup-user-tree-inline/src/search-result.vue.cjs +35 -0
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.cjs +2 -0
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.cjs +71 -0
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.cjs +163 -0
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.cjs +2 -0
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.cjs +13 -0
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.cjs +14 -0
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.cjs +13 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.cjs +2 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.cjs +124 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.cjs +20 -0
- package/lib/year-range-picker/index.cjs +5 -0
- package/lib/year-range-picker/src/year-range-picker.vue.cjs +11 -0
- package/package.json +9 -7
- package/src/components/Card/index.jsx +12 -2
- package/src/components/Scrollbar/index.vue +165 -154
- package/src/i18n/langs/cn.js +10 -2
- package/src/i18n/langs/en.js +10 -2
- package/src/styles/index.scss +9 -2
- package/src/styles/theme/default.scss +18 -13
- package/src/styles/theme/tiffany-blue-mobile/home.scss +44 -1
- package/src/utils/auth-api.js +1 -0
- package/src/utils/common-util.js +13 -0
- package/src/utils/watermark.js +1 -1
- package/src/views/layout/components/Menubar/Item.vue +1 -1
- package/src/views/svg-icon/src/svg-icon.vue +5 -8
- package/vite.config.js +31 -71
- package/lib/IntervalSelection/index.js +0 -7
- package/lib/IntervalSelection/src/sectionDate.vue.js +0 -49
- package/lib/breadcrumb/index.js +0 -7
- package/lib/breadcrumb/src/breadcrumb.vue.js +0 -28
- package/lib/chat-embed/index.js +0 -7
- package/lib/chat-embed/src/chat-addition-data.vue.js +0 -7
- package/lib/chat-embed/src/chat-addition-data.vue2.js +0 -14
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +0 -7
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
- package/lib/chat-embed/src/chat-embed-message.js +0 -22
- package/lib/chat-embed/src/chat-sender.vue.js +0 -7
- package/lib/chat-embed/src/chat-sender.vue2.js +0 -157
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
- package/lib/chat-embed/src/components/history-detail.vue.js +0 -7
- package/lib/chat-embed/src/components/history-detail.vue2.js +0 -55
- package/lib/chat-embed/src/header.vue.js +0 -7
- package/lib/chat-embed/src/header.vue2.js +0 -46
- package/lib/chat-embed/src/index.vue.js +0 -7
- package/lib/chat-embed/src/index.vue2.js +0 -303
- package/lib/chat-embed/src/recommendation-message.vue.js +0 -7
- package/lib/chat-embed/src/recommendation-message.vue2.js +0 -8
- package/lib/chat-embed/src/sidebar-item.vue.js +0 -7
- package/lib/chat-embed/src/sidebar-item.vue2.js +0 -118
- package/lib/chat-embed/src/util/history-message-util.js +0 -96
- package/lib/chat-embed/src/util/mcp-utils.js +0 -53
- package/lib/chat-embed/src/voice/index.js +0 -7
- package/lib/chat-embed/src/voice/js/crypto-js.js +0 -1013
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +0 -178
- package/lib/chat-embed/src/voice/voice.vue.js +0 -103
- package/lib/date-picker-range/index.js +0 -7
- package/lib/date-picker-range/index.vue.js +0 -7
- package/lib/date-picker-range/index.vue2.js +0 -93
- package/lib/department-tree/index.js +0 -7
- package/lib/department-tree/src/department-tree.vue.js +0 -23
- package/lib/department-tree-inline/index.js +0 -7
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +0 -17
- package/lib/department-tree-inline/src/department-tree-service.js +0 -108
- package/lib/department-tree-inline/src/search-result.vue.js +0 -39
- package/lib/department-tree-mobile/index.js +0 -8
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +0 -15
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
- package/lib/department-tree-mobile/src/department-tree-service.js +0 -55
- package/lib/department-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/department-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/department-tree-mobile/src/dept-result.vue.js +0 -16
- package/lib/department-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/department-user-tree/index.js +0 -7
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +0 -19
- package/lib/department-user-tree/src/department-user-tree.vue.js +0 -27
- package/lib/department-user-tree-inline/index.js +0 -7
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
- package/lib/department-user-tree-inline/src/search-result.vue.js +0 -41
- package/lib/department-user-tree-mobile/index.js +0 -8
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/directives/prevent-reclick.js +0 -15
- package/lib/dynamic-source-select/index.js +0 -7
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +0 -275
- package/lib/empty-state/index.vue.js +0 -9
- package/lib/empty-state/index.vue2.js +0 -4
- package/lib/fs-preview/index.js +0 -7
- package/lib/fs-preview/src/fs-preview.vue.js +0 -120
- package/lib/fs-upload/index.js +0 -7
- package/lib/fs-upload/src/fs-upload-multi.vue.js +0 -71
- package/lib/fs-upload/src/fs-upload-single.vue.js +0 -73
- package/lib/fs-upload/src/fs-upload.vue.js +0 -24
- package/lib/fs-upload/src/see-big-picture.vue.js +0 -12
- package/lib/fs-upload-list/index.js +0 -7
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +0 -97
- package/lib/fs-upload-new/index.js +0 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -38
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +0 -7
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +0 -8
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +0 -65
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
- package/lib/hamburger/index.js +0 -7
- package/lib/hamburger/src/hamburger.vue.js +0 -15
- package/lib/index.js +0 -380
- package/lib/json-view/json-view-dialog.vue.js +0 -19
- package/lib/json-view/json-view-dialog.vue2.js +0 -4
- package/lib/json-view/json-view.vue.js +0 -4
- package/lib/json-view/json-view.vue2.js +0 -36
- package/lib/multipart-upload/index.js +0 -7
- package/lib/multipart-upload/src/index.vue.js +0 -13
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +0 -82
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +0 -101
- package/lib/organization-input/index.js +0 -7
- package/lib/organization-input/src/organization-input.vue.js +0 -224
- package/lib/plugins/export-data-new.js +0 -237
- package/lib/plugins/export-data.js +0 -179
- package/lib/plugins/index.js +0 -9
- package/lib/remove-department/index.js +0 -7
- package/lib/remove-department/src/remove-department.vue.js +0 -33
- package/lib/remove-user/index.js +0 -7
- package/lib/remove-user/src/remove-user.vue.js +0 -35
- package/lib/remove-workgroup/index.js +0 -7
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +0 -31
- package/lib/rich-editor/index.js +0 -7
- package/lib/rich-editor/index.vue.js +0 -115
- package/lib/rich-editor/viewer.vue.js +0 -27
- package/lib/row-form/index.js +0 -7
- package/lib/row-form/index.vue.js +0 -7
- package/lib/row-form/index.vue2.js +0 -62
- package/lib/row-form/operation.vue.js +0 -32
- package/lib/row-form/operation.vue2.js +0 -4
- package/lib/scan-code-input/index.js +0 -7
- package/lib/scan-code-input/src/events.js +0 -15
- package/lib/scan-code-input/src/scan-code-input.vue.js +0 -32
- package/lib/scan-code-input-browser/index.js +0 -7
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
- package/lib/secret-info/index.js +0 -7
- package/lib/secret-info/index.vue.js +0 -16
- package/lib/src/api/sso-service.js +0 -57
- package/lib/src/api/tab.js +0 -15
- package/lib/src/components/Affix/index.vue.js +0 -7
- package/lib/src/components/Affix/index.vue2.js +0 -81
- package/lib/src/components/Card/index.js +0 -48
- package/lib/src/components/Scrollbar/index.vue.js +0 -51
- package/lib/src/directives/permission/index.js +0 -7
- package/lib/src/directives/permission/permission.js +0 -11
- package/lib/src/i18n/i18n.js +0 -7
- package/lib/src/i18n/langs/cn.js +0 -4
- package/lib/src/i18n/langs/en.js +0 -4
- package/lib/src/permission.js +0 -78
- package/lib/src/router/index.js +0 -9
- package/lib/src/store/index.js +0 -13
- package/lib/src/store/modules/permission.js +0 -31
- package/lib/src/store/modules/system.js +0 -12
- package/lib/src/store/modules/tab-content.js +0 -20
- package/lib/src/store/modules/user.js +0 -139
- package/lib/src/utils/auth.js +0 -156
- package/lib/src/utils/calculator/calculator-util.js +0 -54
- package/lib/src/utils/chat-ai-util.js +0 -30
- package/lib/src/utils/common-util.js +0 -438
- package/lib/src/utils/insert_css.js +0 -16
- package/lib/src/utils/jump-page-utils.js +0 -264
- package/lib/src/utils/menu.js +0 -14
- package/lib/src/utils/permission.js +0 -45
- package/lib/src/utils/permissionAuth.js +0 -153
- package/lib/src/utils/range-selector.js +0 -105
- package/lib/src/utils/request.js +0 -140
- package/lib/src/utils/util.js +0 -361
- package/lib/src/utils/voice-setting-cache.js +0 -211
- package/lib/src/utils/watermark.js +0 -40
- package/lib/src/utils/workflow-util.js +0 -42
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +0 -111
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +0 -63
- package/lib/src/views/error-page/401.vue.js +0 -15
- package/lib/src/views/error-page/404.vue.js +0 -12
- package/lib/src/views/layout/EmptyLayout.vue.js +0 -9
- package/lib/src/views/layout/Layout.vue.js +0 -28
- package/lib/src/views/layout/NewLayout.vue.js +0 -11
- package/lib/src/views/layout/components/AppMain.vue.js +0 -13
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +0 -48
- package/lib/src/views/layout/components/Menubar/Item.vue.js +0 -7
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +0 -15
- package/lib/src/views/layout/components/Menubar/Link.vue.js +0 -14
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
- package/lib/src/views/layout/components/Menubar/index.vue.js +0 -90
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +0 -12
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
- package/lib/src/views/layout/components/Sidebar/index.vue.js +0 -58
- package/lib/src/views/layout/components/iframe-page.vue.js +0 -14
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +0 -62
- package/lib/src/views/layout/mixin/ResizeHandler.js +0 -16
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +0 -14
- package/lib/src/views/layout/tab-content-index.vue.js +0 -28
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
- package/lib/super-grid/index.js +0 -7
- package/lib/super-grid/src/apis.js +0 -458
- package/lib/super-grid/src/columns-config.vue.js +0 -81
- package/lib/super-grid/src/components/grid-icon.vue.js +0 -47
- package/lib/super-grid/src/components/grid-radio-input.vue.js +0 -25
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +0 -4
- package/lib/super-grid/src/components/mobile-table-card.js +0 -109
- package/lib/super-grid/src/components/select-input.vue.js +0 -148
- package/lib/super-grid/src/components/select-input.vue2.js +0 -4
- package/lib/super-grid/src/custom-formatter.js +0 -167
- package/lib/super-grid/src/dynamic-input.vue.js +0 -481
- package/lib/super-grid/src/events.js +0 -37
- package/lib/super-grid/src/formValidatorUtil.js +0 -109
- package/lib/super-grid/src/group-column.vue.js +0 -24
- package/lib/super-grid/src/header-context-menu.vue.js +0 -14
- package/lib/super-grid/src/index-column.vue.js +0 -22
- package/lib/super-grid/src/normal-column-content.vue.js +0 -318
- package/lib/super-grid/src/normal-column.vue.js +0 -106
- package/lib/super-grid/src/row-detail.vue.js +0 -14
- package/lib/super-grid/src/row-operation.vue.js +0 -89
- package/lib/super-grid/src/scan-util.js +0 -100
- package/lib/super-grid/src/search-button.vue.js +0 -23
- package/lib/super-grid/src/search-condition-input.vue.js +0 -17
- package/lib/super-grid/src/search-condition-list.vue.js +0 -20
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +0 -116
- package/lib/super-grid/src/search-form-dialog.vue.js +0 -16
- package/lib/super-grid/src/search-form-item.vue.js +0 -128
- package/lib/super-grid/src/search-form-mobile.vue.js +0 -41
- package/lib/super-grid/src/search-form-number.vue.js +0 -26
- package/lib/super-grid/src/search-form-open.vue.js +0 -50
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
- package/lib/super-grid/src/search-form.vue.js +0 -201
- package/lib/super-grid/src/selection-column.vue.js +0 -11
- package/lib/super-grid/src/super-grid-service.js +0 -259
- package/lib/super-grid/src/super-grid.vue.js +0 -1052
- package/lib/super-grid/src/utils.js +0 -355
- package/lib/super-grid/src/view-image-dialog.vue.js +0 -67
- package/lib/super-icon/index.js +0 -7
- package/lib/super-icon/src/index.vue.js +0 -7
- package/lib/super-icon/src/index.vue2.js +0 -13
- package/lib/super-nine-grid/index.js +0 -7
- package/lib/super-nine-grid/src/apis.js +0 -36
- package/lib/super-nine-grid/src/custom-formatter.js +0 -35
- package/lib/super-nine-grid/src/search-form-number.vue.js +0 -13
- package/lib/super-nine-grid/src/search-form.vue.js +0 -91
- package/lib/super-nine-grid/src/super-grid-service.js +0 -39
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +0 -225
- package/lib/super-nine-grid/src/utils.js +0 -32
- package/lib/svg-icon/index.js +0 -7
- package/lib/svg-icon/src/svg-icon.vue.js +0 -14
- package/lib/utils/memory-cache-utils.js +0 -30
- package/lib/utils/organization.js +0 -57
- package/lib/utils/utils.js +0 -87
- package/lib/utils/value-set.js +0 -94
- package/lib/valid-code/index.js +0 -7
- package/lib/valid-code/src/valid-code.vue.js +0 -23
- package/lib/workflow-button/index.js +0 -7
- package/lib/workflow-button/src/workflow-button.vue.js +0 -85
- package/lib/workflow-history-list/index.js +0 -7
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +0 -89
- package/lib/workgroup-tree/index.js +0 -7
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +0 -23
- package/lib/workgroup-tree-inline/index.js +0 -7
- package/lib/workgroup-tree-inline/src/search-result.vue.js +0 -39
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
- package/lib/workgroup-tree-mobile/index.js +0 -8
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
- package/lib/workgroup-user-tree/index.js +0 -7
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
- package/lib/workgroup-user-tree-inline/index.js +0 -7
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
- package/lib/year-range-picker/index.js +0 -7
- package/lib/year-range-picker/src/year-range-picker.vue.js +0 -14
- package/packages/IntervalSelection/index.js +0 -6
- package/packages/IntervalSelection/src/quarterScope.vue +0 -405
- package/packages/IntervalSelection/src/sectionDate.vue +0 -475
- package/packages/breadcrumb/index.js +0 -6
- package/packages/breadcrumb/src/breadcrumb.vue +0 -81
- package/packages/chat-embed/index.ts +0 -6
- package/packages/chat-embed/src/chat-addition-data.vue +0 -64
- package/packages/chat-embed/src/chat-ai-answer-tip.vue +0 -81
- package/packages/chat-embed/src/chat-bubble-footer.vue +0 -81
- package/packages/chat-embed/src/chat-embed-message.ts +0 -76
- package/packages/chat-embed/src/chat-embed.css +0 -207
- package/packages/chat-embed/src/chat-sender.vue +0 -620
- package/packages/chat-embed/src/components/answer-auto-chart.vue +0 -365
- package/packages/chat-embed/src/components/answer-home-chart.vue +0 -42
- package/packages/chat-embed/src/components/answer-interaction-data.vue +0 -569
- package/packages/chat-embed/src/components/history-detail.vue +0 -150
- package/packages/chat-embed/src/header.vue +0 -147
- package/packages/chat-embed/src/index.vue +0 -926
- package/packages/chat-embed/src/recommendation-message.vue +0 -37
- package/packages/chat-embed/src/sender-attachments.vue +0 -1
- package/packages/chat-embed/src/sidebar-item.vue +0 -521
- package/packages/chat-embed/src/type.ts +0 -74
- package/packages/chat-embed/src/util/chat-embed-util.ts +0 -67
- package/packages/chat-embed/src/util/history-message-util.ts +0 -161
- package/packages/chat-embed/src/util/mcp-utils.ts +0 -131
- package/packages/chat-embed/src/util/text-file-util.ts +0 -33
- package/packages/chat-embed/src/voice/index.ts +0 -6
- package/packages/chat-embed/src/voice/js/ai.js +0 -4
- package/packages/chat-embed/src/voice/js/crypto-js.js +0 -5736
- package/packages/chat-embed/src/voice/js/processor/index.umd.js +0 -1
- package/packages/chat-embed/src/voice/js/timer.js +0 -18
- package/packages/chat-embed/src/voice/voice.vue +0 -320
- package/packages/date-picker-range/index.ts +0 -6
- package/packages/date-picker-range/index.vue +0 -240
- package/packages/department-tree/index.js +0 -6
- package/packages/department-tree/src/department-tree.vue +0 -140
- package/packages/department-tree-inline/index.js +0 -6
- package/packages/department-tree-inline/src/department-multi-tree-inline.vue +0 -472
- package/packages/department-tree-inline/src/department-single-tree-inline.vue +0 -374
- package/packages/department-tree-inline/src/department-tree-inline.vue +0 -93
- package/packages/department-tree-inline/src/department-tree-service.js +0 -333
- package/packages/department-tree-inline/src/search-result.vue +0 -206
- package/packages/department-tree-mobile/index.js +0 -6
- package/packages/department-tree-mobile/src/department-tree-app.vue +0 -148
- package/packages/department-tree-mobile/src/department-tree-inline-app.vue +0 -418
- package/packages/department-tree-mobile/src/department-tree-service.ts +0 -124
- package/packages/department-tree-mobile/src/dept-path.vue +0 -36
- package/packages/department-tree-mobile/src/dept-result.vue +0 -51
- package/packages/department-user-tree/index.js +0 -6
- package/packages/department-user-tree/src/department-user-multiple-tree.vue +0 -131
- package/packages/department-user-tree/src/department-user-single-tree.vue +0 -93
- package/packages/department-user-tree/src/department-user-tree.vue +0 -138
- package/packages/department-user-tree-inline/index.js +0 -9
- package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +0 -779
- package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -394
- package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +0 -94
- package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -293
- package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +0 -158
- package/packages/department-user-tree-inline/src/group-user/group-input.vue +0 -162
- package/packages/department-user-tree-inline/src/group-user/group-list.vue +0 -106
- package/packages/department-user-tree-inline/src/group-user/group-user.vue +0 -38
- package/packages/department-user-tree-inline/src/group-user-multiple-tree.vue +0 -304
- package/packages/department-user-tree-inline/src/group-user-single-tree.vue +0 -155
- package/packages/department-user-tree-inline/src/group-user-tree-service.js +0 -80
- package/packages/department-user-tree-inline/src/search-result.vue +0 -274
- package/packages/department-user-tree-mobile/index.js +0 -6
- package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +0 -147
- package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +0 -466
- package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +0 -71
- package/packages/department-user-tree-mobile/src/dept-path.vue +0 -36
- package/packages/department-user-tree-mobile/src/dept-result.vue +0 -58
- package/packages/directives/prevent-reclick.js +0 -22
- package/packages/dynamic-source-select/index.js +0 -6
- package/packages/dynamic-source-select/src/dynamic-source-select-service.js +0 -134
- package/packages/dynamic-source-select/src/dynamic-source-select.vue +0 -946
- package/packages/dynamic-source-select/src/events.js +0 -72
- package/packages/empty-state/index.vue +0 -28
- package/packages/fs-preview/index.js +0 -6
- package/packages/fs-preview/src/fs-preview.vue +0 -535
- package/packages/fs-upload/index.js +0 -6
- package/packages/fs-upload/src/fs-upload-multi.vue +0 -464
- package/packages/fs-upload/src/fs-upload-single.vue +0 -369
- package/packages/fs-upload/src/fs-upload.vue +0 -193
- package/packages/fs-upload/src/see-big-picture.vue +0 -70
- package/packages/fs-upload-list/index.js +0 -6
- package/packages/fs-upload-list/src/fs-upload-list.vue +0 -436
- package/packages/fs-upload-new/index.ts +0 -6
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-app.vue +0 -276
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +0 -573
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-component.vue +0 -152
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-input.vue +0 -265
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload.vue +0 -262
- package/packages/fs-upload-new/src/fs-button-upload.vue +0 -312
- package/packages/fs-upload-new/src/fs-drag-upload.vue +0 -307
- package/packages/fs-upload-new/src/fs-preview-new.vue +0 -380
- package/packages/fs-upload-new/src/fs-upload-new.vue +0 -413
- package/packages/hamburger/index.js +0 -6
- package/packages/hamburger/src/hamburger.vue +0 -52
- package/packages/index.js +0 -274
- package/packages/json-view/index.ts +0 -3
- package/packages/json-view/json-view-dialog.vue +0 -53
- package/packages/json-view/json-view.vue +0 -126
- package/packages/multipart-upload/index.js +0 -6
- package/packages/multipart-upload/src/index.vue +0 -66
- package/packages/multipart-upload/src/multipart-upload-form.vue +0 -404
- package/packages/multipart-upload/src/multipart-upload-list.vue +0 -543
- package/packages/organization-input/index.js +0 -6
- package/packages/organization-input/src/organization-input.vue +0 -619
- package/packages/plugins/export-data-new.js +0 -667
- package/packages/plugins/export-data.js +0 -431
- package/packages/plugins/index.js +0 -15
- package/packages/plugins/public-method.js +0 -47
- package/packages/remove-department/index.js +0 -6
- package/packages/remove-department/src/remove-department.vue +0 -201
- package/packages/remove-department/src/remove-dept-service.js +0 -31
- package/packages/remove-user/index.js +0 -6
- package/packages/remove-user/src/remove-user-service.js +0 -31
- package/packages/remove-user/src/remove-user.vue +0 -227
- package/packages/remove-workgroup/index.js +0 -6
- package/packages/remove-workgroup/src/remove-workgroup-service.js +0 -31
- package/packages/remove-workgroup/src/remove-workgroup.vue +0 -184
- package/packages/rich-editor/index.js +0 -7
- package/packages/rich-editor/index.vue +0 -331
- package/packages/rich-editor/tinymce/icons/default/icons.min.js +0 -1
- package/packages/rich-editor/tinymce/langs/README.md +0 -3
- package/packages/rich-editor/tinymce/langs/zh-Hans.js +0 -1
- package/packages/rich-editor/tinymce/license.txt +0 -21
- package/packages/rich-editor/tinymce/models/dom/model.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/accordion/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/advlist/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/anchor/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autolink/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autoresize/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autosave/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/charmap/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/code/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/codesample/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/directionality/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -3
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.js +0 -1
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.min.js +0 -2
- package/packages/rich-editor/tinymce/plugins/emoticons/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/fullscreen/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/image/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/importcss/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/insertdatetime/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/link/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/lists/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/media/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/nonbreaking/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/pagebreak/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/preview/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/quickbars/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/save/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/searchreplace/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/table/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/template/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/visualblocks/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/visualchars/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/wordcount/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/skins/content/dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/default/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/default/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/document/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/document/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/writer/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/writer/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/themes/silver/theme.min.js +0 -4
- package/packages/rich-editor/tinymce/tinymce.d.ts +0 -3238
- package/packages/rich-editor/tinymce/tinymce.min.js +0 -4
- package/packages/rich-editor/tinymce/zh_CN.js +0 -418
- package/packages/rich-editor/viewer.vue +0 -105
- package/packages/row-form/index.js +0 -7
- package/packages/row-form/index.vue +0 -284
- package/packages/row-form/operation.vue +0 -151
- package/packages/scan-code-input/index.js +0 -6
- package/packages/scan-code-input/src/events.js +0 -34
- package/packages/scan-code-input/src/scan-code-input.vue +0 -164
- package/packages/scan-code-input-browser/index.js +0 -6
- package/packages/scan-code-input-browser/src/scan-code-input.vue +0 -113
- package/packages/secret-info/index.js +0 -7
- package/packages/secret-info/index.vue +0 -100
- package/packages/super-grid/index.js +0 -7
- package/packages/super-grid/src/apis.js +0 -1713
- package/packages/super-grid/src/columns-config.vue +0 -329
- package/packages/super-grid/src/components/grid-icon.vue +0 -157
- package/packages/super-grid/src/components/grid-radio-input.vue +0 -84
- package/packages/super-grid/src/components/hyperlinks.vue +0 -130
- package/packages/super-grid/src/components/mobile-table-card.jsx +0 -589
- package/packages/super-grid/src/components/select-input.vue +0 -520
- package/packages/super-grid/src/custom-formatter.js +0 -419
- package/packages/super-grid/src/dynamic-input.vue +0 -2158
- package/packages/super-grid/src/eventBus.js +0 -10
- package/packages/super-grid/src/events.js +0 -56
- package/packages/super-grid/src/formValidatorUtil.js +0 -362
- package/packages/super-grid/src/formatter.js +0 -200
- package/packages/super-grid/src/group-column.vue +0 -119
- package/packages/super-grid/src/header-context-menu.vue +0 -82
- package/packages/super-grid/src/index-column.vue +0 -78
- package/packages/super-grid/src/normal-column-content.vue +0 -1310
- package/packages/super-grid/src/normal-column.vue +0 -423
- package/packages/super-grid/src/public-methods.js +0 -30
- package/packages/super-grid/src/row-detail.vue +0 -50
- package/packages/super-grid/src/row-operation.vue +0 -315
- package/packages/super-grid/src/scan-util.ts +0 -243
- package/packages/super-grid/src/search-button.vue +0 -88
- package/packages/super-grid/src/search-condition-input.vue +0 -74
- package/packages/super-grid/src/search-condition-list.vue +0 -70
- package/packages/super-grid/src/search-form-advancedQuery.vue +0 -836
- package/packages/super-grid/src/search-form-dialog.vue +0 -77
- package/packages/super-grid/src/search-form-item.vue +0 -616
- package/packages/super-grid/src/search-form-mobile.vue +0 -255
- package/packages/super-grid/src/search-form-number.vue +0 -122
- package/packages/super-grid/src/search-form-open.vue +0 -175
- package/packages/super-grid/src/search-form-ordinarySearch.vue +0 -243
- package/packages/super-grid/src/search-form.vue +0 -795
- package/packages/super-grid/src/search-methods.js +0 -539
- package/packages/super-grid/src/selection-column.vue +0 -36
- package/packages/super-grid/src/store.js +0 -3
- package/packages/super-grid/src/super-grid-service.js +0 -800
- package/packages/super-grid/src/super-grid.vue +0 -3814
- package/packages/super-grid/src/utils.js +0 -946
- package/packages/super-grid/src/view-image-dialog.vue +0 -194
- package/packages/super-nine-grid/index.js +0 -7
- package/packages/super-nine-grid/src/apis.js +0 -108
- package/packages/super-nine-grid/src/custom-formatter.js +0 -73
- package/packages/super-nine-grid/src/formatter.js +0 -134
- package/packages/super-nine-grid/src/search-form-number.vue +0 -35
- package/packages/super-nine-grid/src/search-form.vue +0 -514
- package/packages/super-nine-grid/src/search-methods.js +0 -151
- package/packages/super-nine-grid/src/store.js +0 -3
- package/packages/super-nine-grid/src/super-grid-service.js +0 -110
- package/packages/super-nine-grid/src/super-nine-grid.vue +0 -1112
- package/packages/super-nine-grid/src/utils.js +0 -264
- package/packages/svg-icon/index.js +0 -6
- package/packages/svg-icon/src/svg-icon.vue +0 -43
- package/packages/utils/date-util.js +0 -292
- package/packages/utils/dom.js +0 -227
- package/packages/utils/gogocodeTransfer.js +0 -59
- package/packages/utils/memory-cache-utils.js +0 -117
- package/packages/utils/organization.ts +0 -173
- package/packages/utils/utils.js +0 -198
- package/packages/utils/value-set.js +0 -282
- package/packages/valid-code/index.js +0 -7
- package/packages/valid-code/src/valid-code.vue +0 -104
- package/packages/workflow-button/index.js +0 -6
- package/packages/workflow-button/src/workflow-button.vue +0 -574
- package/packages/workflow-history-list/index.js +0 -6
- package/packages/workflow-history-list/src/api.js +0 -7
- package/packages/workflow-history-list/src/workflow-history-list.vue +0 -394
- package/packages/workgroup-tree/index.js +0 -6
- package/packages/workgroup-tree/src/workgroup-tree.vue +0 -127
- package/packages/workgroup-tree-inline/index.js +0 -6
- package/packages/workgroup-tree-inline/src/search-result.vue +0 -227
- package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +0 -557
- package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +0 -119
- package/packages/workgroup-tree-mobile/index.js +0 -6
- package/packages/workgroup-tree-mobile/src/dept-result.vue +0 -52
- package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +0 -148
- package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +0 -407
- package/packages/workgroup-tree-mobile/src/workgroup-tree-service.ts +0 -62
- package/packages/workgroup-user-tree/index.js +0 -6
- package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +0 -121
- package/packages/workgroup-user-tree-inline/index.js +0 -9
- package/packages/workgroup-user-tree-inline/src/search-result.vue +0 -271
- package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -252
- package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +0 -665
- package/packages/workgroup-user-tree-mobile/index.js +0 -6
- package/packages/workgroup-user-tree-mobile/src/dept-path.vue +0 -36
- package/packages/workgroup-user-tree-mobile/src/dept-result.vue +0 -58
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue +0 -119
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue +0 -453
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-service.ts +0 -41
- package/packages/year-range-picker/index.js +0 -6
- package/packages/year-range-picker/src/year-range-picker.vue +0 -53
- /package/{public → dist}/favicon.svg +0 -0
- /package/{lib/IntervalSelection/src/sectionDate.vue2.js → es/IntervalSelection/src/sectionDate.vue2.mjs} +0 -0
- /package/{lib/_virtual/__vite-browser-external.js → es/_virtual/__vite-browser-external.mjs} +0 -0
- /package/{lib/_virtual/_plugin-vue_export-helper.js → es/_virtual/_plugin-vue_export-helper.mjs} +0 -0
- /package/{lib/breadcrumb/src/breadcrumb.vue2.js → es/breadcrumb/src/breadcrumb.vue2.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-addition-data.vue3.js → es/chat-embed/src/chat-addition-data.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-ai-answer-tip.vue3.js → es/chat-embed/src/chat-ai-answer-tip.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-bubble-footer.vue3.js → es/chat-embed/src/chat-bubble-footer.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-sender.vue3.js → es/chat-embed/src/chat-sender.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-auto-chart.vue3.js → es/chat-embed/src/components/answer-auto-chart.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-home-chart.vue2.js → es/chat-embed/src/components/answer-home-chart.vue2.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-home-chart.vue3.js → es/chat-embed/src/components/answer-home-chart.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-interaction-data.vue3.js → es/chat-embed/src/components/answer-interaction-data.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/history-detail.vue3.js → es/chat-embed/src/components/history-detail.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/header.vue3.js → es/chat-embed/src/header.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/index.vue3.js → es/chat-embed/src/index.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/recommendation-message.vue3.js → es/chat-embed/src/recommendation-message.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/sidebar-item.vue3.js → es/chat-embed/src/sidebar-item.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/type.js → es/chat-embed/src/type.mjs} +0 -0
- /package/{lib/chat-embed/src/util/chat-embed-util.js → es/chat-embed/src/util/chat-embed-util.mjs} +0 -0
- /package/{lib/chat-embed/src/util/text-file-util.js → es/chat-embed/src/util/text-file-util.mjs} +0 -0
- /package/{lib/chat-embed/src/voice/js/timer.js → es/chat-embed/src/voice/js/timer.mjs} +0 -0
- /package/{lib/date-picker-range/index.vue3.js → es/date-picker-range/index.vue3.mjs} +0 -0
- /package/{lib/department-tree-inline/src/department-multi-tree-inline.vue2.js → es/department-tree-inline/src/department-multi-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-tree-inline/src/department-single-tree-inline.vue2.js → es/department-tree-inline/src/department-single-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-tree-inline/src/search-result.vue2.js → es/department-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/department-tree-mobile/src/department-tree-app.vue2.js → es/department-tree-mobile/src/department-tree-app.vue2.mjs} +0 -0
- /package/{lib/department-user-tree/src/department-user-multiple-tree.vue2.js → es/department-user-tree/src/department-user-multiple-tree.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js → es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js → es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/group-user-tree-service.js → es/department-user-tree-inline/src/group-user-tree-service.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/search-result.vue2.js → es/department-user-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js → es/department-user-tree-mobile/src/department-user-tree-app.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-mobile/src/department-user-tree-service.js → es/department-user-tree-mobile/src/department-user-tree-service.mjs} +0 -0
- /package/{lib/dynamic-source-select/src/dynamic-source-select.vue2.js → es/dynamic-source-select/src/dynamic-source-select.vue2.mjs} +0 -0
- /package/{lib/dynamic-source-select/src/dynamic-source-select.vue3.js → es/dynamic-source-select/src/dynamic-source-select.vue3.mjs} +0 -0
- /package/{lib/dynamic-source-select/src/events.js → es/dynamic-source-select/src/events.mjs} +0 -0
- /package/{lib/fs-preview/src/fs-preview.vue2.js → es/fs-preview/src/fs-preview.vue2.mjs} +0 -0
- /package/{lib/fs-upload-list/src/fs-upload-list.vue2.js → es/fs-upload-list/src/fs-upload-list.vue2.mjs} +0 -0
- /package/{lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js → es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-button-upload.vue3.js → es/fs-upload-new/src/fs-button-upload.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-drag-upload.vue3.js → es/fs-upload-new/src/fs-drag-upload.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-preview-new.vue3.js → es/fs-upload-new/src/fs-preview-new.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-preview-new.vue4.js → es/fs-upload-new/src/fs-preview-new.vue4.mjs} +0 -0
- /package/{lib/hamburger/src/hamburger.vue2.js → es/hamburger/src/hamburger.vue2.mjs} +0 -0
- /package/{lib/organization-input/src/organization-input.vue2.js → es/organization-input/src/organization-input.vue2.mjs} +0 -0
- /package/{lib/plugins/public-method.js → es/plugins/public-method.mjs} +0 -0
- /package/{lib/remove-department/src/remove-dept-service.js → es/remove-department/src/remove-dept-service.mjs} +0 -0
- /package/{lib/remove-user/src/remove-user-service.js → es/remove-user/src/remove-user-service.mjs} +0 -0
- /package/{lib/remove-workgroup/src/remove-workgroup-service.js → es/remove-workgroup/src/remove-workgroup-service.mjs} +0 -0
- /package/{lib/rich-editor/tinymce/zh_CN.js → es/rich-editor/tinymce/zh_CN.mjs} +0 -0
- /package/{lib/row-form/index.vue3.js → es/row-form/index.vue3.mjs} +0 -0
- /package/{lib/src/assets/401/401.gif.js → es/src/assets/401/401.gif.mjs} +0 -0
- /package/{lib/src/assets/404/404-cloud.png.js → es/src/assets/404/404-cloud.png.mjs} +0 -0
- /package/{lib/src/assets/404/404.png.js → es/src/assets/404/404.png.mjs} +0 -0
- /package/{lib/src/assets/chat-embed/robot.gif.js → es/src/assets/chat-embed/robot.gif.mjs} +0 -0
- /package/{lib/src/assets/chat-embed/robot.svg.js → es/src/assets/chat-embed/robot.svg.mjs} +0 -0
- /package/{lib/src/assets/nonemessage.png.js → es/src/assets/nonemessage.png.mjs} +0 -0
- /package/{lib/src/components/Affix/index.vue3.js → es/src/components/Affix/index.vue3.mjs} +0 -0
- /package/{lib/src/components/Scrollbar/index.vue2.js → es/src/components/Scrollbar/index.vue2.mjs} +0 -0
- /package/{lib/src/mixins/resizeMixin.js → es/src/mixins/resizeMixin.mjs} +0 -0
- /package/{lib/src/store/getters.js → es/src/store/getters.mjs} +0 -0
- /package/{lib/src/store/modules/app.js → es/src/store/modules/app.mjs} +0 -0
- /package/{lib/src/store/modules/chat-ai-store.js → es/src/store/modules/chat-ai-store.mjs} +0 -0
- /package/{lib/src/store/modules/table.js → es/src/store/modules/table.mjs} +0 -0
- /package/{lib/src/utils/auth-api.js → es/src/utils/auth-api.mjs} +0 -0
- /package/{lib/src/utils/calculator/calculator-factory-wf.js → es/src/utils/calculator/calculator-factory-wf.mjs} +0 -0
- /package/{lib/src/utils/calculator/calculator-factory.js → es/src/utils/calculator/calculator-factory.mjs} +0 -0
- /package/{lib/src/utils/eventBus.js → es/src/utils/eventBus.mjs} +0 -0
- /package/{lib/src/utils/file-util.js → es/src/utils/file-util.mjs} +0 -0
- /package/{lib/src/utils/global-prop.js → es/src/utils/global-prop.mjs} +0 -0
- /package/{lib/src/utils/guid.js → es/src/utils/guid.mjs} +0 -0
- /package/{lib/src/utils/i18n-util.js → es/src/utils/i18n-util.mjs} +0 -0
- /package/{lib/src/utils/iconUtils.js → es/src/utils/iconUtils.mjs} +0 -0
- /package/{lib/src/utils/index.js → es/src/utils/index.mjs} +0 -0
- /package/{lib/src/utils/json-util.js → es/src/utils/json-util.mjs} +0 -0
- /package/{lib/src/utils/local-storage.js → es/src/utils/local-storage.mjs} +0 -0
- /package/{lib/src/utils/resize.js → es/src/utils/resize.mjs} +0 -0
- /package/{lib/src/utils/restful-interface-utils.js → es/src/utils/restful-interface-utils.mjs} +0 -0
- /package/{lib/src/utils/validate.js → es/src/utils/validate.mjs} +0 -0
- /package/{lib/src/utils/watermark-cache.js → es/src/utils/watermark-cache.mjs} +0 -0
- /package/{lib/src/views/dsc-component/Sidebar/Item.vue3.js → es/src/views/dsc-component/Sidebar/Item.vue3.mjs} +0 -0
- /package/{lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js → es/src/views/dsc-component/Sidebar/SidebarItem.vue2.mjs} +0 -0
- /package/{lib/src/views/dsc-component/tabs/tab-content.vue2.js → es/src/views/dsc-component/tabs/tab-content.vue2.mjs} +0 -0
- /package/{lib/src/views/dsc-component/tabs/tab-content.vue3.js → es/src/views/dsc-component/tabs/tab-content.vue3.mjs} +0 -0
- /package/{lib/src/views/error-page/401.vue2.js → es/src/views/error-page/401.vue2.mjs} +0 -0
- /package/{lib/src/views/error-page/404.vue2.js → es/src/views/error-page/404.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/Layout.vue2.js → es/src/views/layout/Layout.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/AppMain.vue2.js → es/src/views/layout/components/AppMain.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/Breadcrumb/index.vue2.js → es/src/views/layout/components/Breadcrumb/index.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/Menubar/Item.vue3.js → es/src/views/layout/components/Menubar/Item.vue3.mjs} +0 -0
- /package/{lib/src/views/layout/components/Menubar/SidebarItem.vue2.js → es/src/views/layout/components/Menubar/SidebarItem.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/Sidebar/Item.vue.js → es/src/views/layout/components/Sidebar/Item.vue.mjs} +0 -0
- /package/{lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js → es/src/views/layout/components/Sidebar/SidebarItem.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/iframe-page.vue2.js → es/src/views/layout/components/iframe-page.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/tabs/tab-content.vue2.js → es/src/views/layout/components/tabs/tab-content.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/tabs/tab-content.vue3.js → es/src/views/layout/components/tabs/tab-content.vue3.mjs} +0 -0
- /package/{lib/src/views/layout/tab-content-iframe-index.vue2.js → es/src/views/layout/tab-content-iframe-index.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/tab-content-index.vue2.js → es/src/views/layout/tab-content-index.vue2.mjs} +0 -0
- /package/{lib/src/views/login/authredirect.vue.js → es/src/views/login/authredirect.vue.mjs} +0 -0
- /package/{lib/src/views/redirect/index.vue.js → es/src/views/redirect/index.vue.mjs} +0 -0
- /package/{lib/src/views/svg-icon/src/svg-icon.vue.js → es/src/views/super-icon/src/index.vue3.mjs} +0 -0
- /package/{lib/src/views/wf-history/tache-subprocess-history.vue2.js → es/src/views/svg-icon/src/svg-icon.vue.mjs} +0 -0
- /package/{lib/super-grid/src/header-context-menu.vue2.js → es/src/views/wf-history/tache-subprocess-history.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/eventBus.js → es/super-grid/src/eventBus.mjs} +0 -0
- /package/{lib/super-grid/src/formatter.js → es/super-grid/src/formatter.mjs} +0 -0
- /package/{lib/super-grid/src/normal-column-content.vue2.js → es/super-grid/src/header-context-menu.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/normal-column.vue2.js → es/super-grid/src/normal-column-content.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/row-operation.vue2.js → es/super-grid/src/normal-column.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/public-methods.js → es/super-grid/src/public-methods.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-advancedQuery.vue2.js → es/super-grid/src/row-operation.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-item.vue2.js → es/super-grid/src/search-form-advancedQuery.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-mobile.vue2.js → es/super-grid/src/search-form-item.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-ordinarySearch.vue2.js → es/super-grid/src/search-form-mobile.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form.vue2.js → es/super-grid/src/search-form-ordinarySearch.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/super-grid.vue2.js → es/super-grid/src/search-form.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-methods.js → es/super-grid/src/search-methods.mjs} +0 -0
- /package/{lib/super-grid/src/store.js → es/super-grid/src/store.mjs} +0 -0
- /package/{lib/super-icon/src/index.vue3.js → es/super-grid/src/super-grid.vue2.mjs} +0 -0
- /package/{lib/super-nine-grid/src/search-form.vue2.js → es/super-icon/src/index.vue3.mjs} +0 -0
- /package/{lib/super-nine-grid/src/formatter.js → es/super-nine-grid/src/formatter.mjs} +0 -0
- /package/{lib/super-nine-grid/src/super-nine-grid.vue2.js → es/super-nine-grid/src/search-form.vue2.mjs} +0 -0
- /package/{lib/super-nine-grid/src/search-methods.js → es/super-nine-grid/src/search-methods.mjs} +0 -0
- /package/{lib/super-nine-grid/src/store.js → es/super-nine-grid/src/store.mjs} +0 -0
- /package/{lib/svg-icon/src/svg-icon.vue2.js → es/super-nine-grid/src/super-nine-grid.vue2.mjs} +0 -0
- /package/{lib/valid-code/src/valid-code.vue2.js → es/svg-icon/src/svg-icon.vue2.mjs} +0 -0
- /package/{lib/utils/gogocodeTransfer.js → es/utils/gogocodeTransfer.mjs} +0 -0
- /package/{lib/workflow-history-list/src/workflow-history-list.vue2.js → es/valid-code/src/valid-code.vue2.mjs} +0 -0
- /package/{lib/workflow-history-list/src/api.js → es/workflow-history-list/src/api.mjs} +0 -0
- /package/{lib/workgroup-tree-inline/src/search-result.vue2.js → es/workflow-history-list/src/workflow-history-list.vue2.mjs} +0 -0
- /package/{lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js → es/workgroup-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js → es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-inline/src/search-result.vue2.js → es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.mjs} +0 -0
- /package/{lib/workgroup-tree-mobile/src/workgroup-tree-service.js → es/workgroup-tree-mobile/src/workgroup-tree-service.mjs} +0 -0
- /package/{lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js → es/workgroup-user-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js → es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js → es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.mjs} +0 -0
- /package/{packages → src/views}/super-icon/index.js +0 -0
- /package/{packages → src/views}/super-icon/src/index.vue +0 -0
|
@@ -1,1713 +0,0 @@
|
|
|
1
|
-
import { $on, $off, $once, $emit } from '../../utils/gogocodeTransfer'
|
|
2
|
-
import store from './store'
|
|
3
|
-
import {
|
|
4
|
-
setCurrentRow,
|
|
5
|
-
isEditOptionFunction,
|
|
6
|
-
isLastEditRowSave,
|
|
7
|
-
isHasEditOption,
|
|
8
|
-
scrollYToBottom,
|
|
9
|
-
getAdditionalParamMap,
|
|
10
|
-
isDynamicDataSourceSource
|
|
11
|
-
} from './utils'
|
|
12
|
-
import formValidatorService from './formValidatorUtil'
|
|
13
|
-
import * as Vue from 'vue'
|
|
14
|
-
import {
|
|
15
|
-
getEntityFieldValue,
|
|
16
|
-
getI18n,
|
|
17
|
-
setEntityFieldValue,
|
|
18
|
-
getPropValue,
|
|
19
|
-
getPropValueNew
|
|
20
|
-
} from '../../../src/utils/util'
|
|
21
|
-
import eventBus from './eventBus'
|
|
22
|
-
import { isPromise } from '../../../src/utils/common-util'
|
|
23
|
-
import { updateWithPageValue } from '../../../src/utils/jump-page-utils'
|
|
24
|
-
import { getGuId } from '../../../src/utils/guid.js'
|
|
25
|
-
import { ElMessageBox } from 'element-plus'
|
|
26
|
-
import { parseSubTableActionCondition } from './utils'
|
|
27
|
-
|
|
28
|
-
const apis = {
|
|
29
|
-
// 列表工具栏控件刷新列表数据。添加该方法解决工具栏值清空后,列表内容没有还原问题
|
|
30
|
-
toolbarRefresh(parentRowIds, isLineEdit, toolbarFieldParam, isDeleteSubTableData) {
|
|
31
|
-
this.toolbarFieldParam = toolbarFieldParam
|
|
32
|
-
return this.refresh(parentRowIds, isLineEdit, toolbarFieldParam, isDeleteSubTableData)
|
|
33
|
-
},
|
|
34
|
-
// 刷新列表数据
|
|
35
|
-
refresh(parentRowIds, isLineEdit, toolbarFieldParam, isDeleteSubTableData) {
|
|
36
|
-
return new Promise((resolve, reject) => {
|
|
37
|
-
if (isDeleteSubTableData) {
|
|
38
|
-
// 清空options.subTableData
|
|
39
|
-
const gridParams = store.get(this.code)
|
|
40
|
-
gridParams.options['subTableData'] = null
|
|
41
|
-
}
|
|
42
|
-
if (!toolbarFieldParam && this.toolbarFieldParam) {
|
|
43
|
-
toolbarFieldParam = this.toolbarFieldParam
|
|
44
|
-
}
|
|
45
|
-
if (this.$refs) {
|
|
46
|
-
if (
|
|
47
|
-
typeof parentRowIds !== 'undefined' &&
|
|
48
|
-
parentRowIds !== null &&
|
|
49
|
-
parentRowIds instanceof Array &&
|
|
50
|
-
parentRowIds.length > 0
|
|
51
|
-
) {
|
|
52
|
-
// 树形数据时,刷新父记录对应的子记录集合时
|
|
53
|
-
if (this.$refs.sf) {
|
|
54
|
-
let param = this.$refs.sf.packageSearchParam()
|
|
55
|
-
if (param && param.length > 0) {
|
|
56
|
-
if (toolbarFieldParam && toolbarFieldParam.length > 0) {
|
|
57
|
-
if (param.length === 1) {
|
|
58
|
-
param[0].leftBracket = '('
|
|
59
|
-
param[0].rightBracket = ')'
|
|
60
|
-
}
|
|
61
|
-
if (param[param.length - 1].joinSign === 'or') {
|
|
62
|
-
param[param.length - 1].joinSign = 'and'
|
|
63
|
-
}
|
|
64
|
-
// 拼接
|
|
65
|
-
Array.prototype.push.apply(param, toolbarFieldParam)
|
|
66
|
-
}
|
|
67
|
-
} else {
|
|
68
|
-
if (toolbarFieldParam) {
|
|
69
|
-
param = []
|
|
70
|
-
param = toolbarFieldParam
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
this.search(param, false, parentRowIds)
|
|
74
|
-
.then(() => resolve())
|
|
75
|
-
.catch((error) => reject(error))
|
|
76
|
-
} else {
|
|
77
|
-
this.search(toolbarFieldParam, false, parentRowIds)
|
|
78
|
-
.then(() => resolve())
|
|
79
|
-
.catch((error) => reject(error))
|
|
80
|
-
}
|
|
81
|
-
} else {
|
|
82
|
-
// 刷新列表数据
|
|
83
|
-
if (this.$refs.sf) {
|
|
84
|
-
let param = this.$refs.sf.packageSearchParam()
|
|
85
|
-
if (param && param.length > 0) {
|
|
86
|
-
if (toolbarFieldParam && toolbarFieldParam.length > 0) {
|
|
87
|
-
if (param.length === 1) {
|
|
88
|
-
param[0].leftBracket = '('
|
|
89
|
-
param[0].rightBracket = ')'
|
|
90
|
-
}
|
|
91
|
-
if (param[param.length - 1].joinSign === 'or') {
|
|
92
|
-
param[param.length - 1].joinSign = 'and'
|
|
93
|
-
}
|
|
94
|
-
// 拼接
|
|
95
|
-
// param.concat(toolbarFieldParam)
|
|
96
|
-
Array.prototype.push.apply(param, toolbarFieldParam)
|
|
97
|
-
}
|
|
98
|
-
} else {
|
|
99
|
-
if (toolbarFieldParam) {
|
|
100
|
-
param = []
|
|
101
|
-
param = toolbarFieldParam
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
this.search(param, false)
|
|
105
|
-
.then(() => resolve())
|
|
106
|
-
.catch((error) => reject(error))
|
|
107
|
-
} else {
|
|
108
|
-
this.search(toolbarFieldParam, false)
|
|
109
|
-
.then(() => resolve())
|
|
110
|
-
.catch((error) => reject(error))
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
} else {
|
|
114
|
-
resolve()
|
|
115
|
-
}
|
|
116
|
-
})
|
|
117
|
-
},
|
|
118
|
-
// 显示查询
|
|
119
|
-
showSearchForm() {
|
|
120
|
-
this.showSearch = true
|
|
121
|
-
$emit(this, 'showSearch')
|
|
122
|
-
},
|
|
123
|
-
// 取消查询
|
|
124
|
-
cancelSearch() {
|
|
125
|
-
this.showSearch = false
|
|
126
|
-
$emit(this, 'cancelSearch')
|
|
127
|
-
},
|
|
128
|
-
// 获得查询条件
|
|
129
|
-
getSearchForm() {
|
|
130
|
-
const gridParams = store.get(this.code)
|
|
131
|
-
if (gridParams.searchForm) {
|
|
132
|
-
return gridParams.searchForm
|
|
133
|
-
} else {
|
|
134
|
-
return []
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
// 新建行
|
|
138
|
-
createRow(listCode, row, options, event) {
|
|
139
|
-
// addRowIndex 表示新建行插入到第几行后面,默认是-1表示添加到最后面
|
|
140
|
-
let addRowIndex = -1
|
|
141
|
-
if (event && event.rowIndex > -1) {
|
|
142
|
-
addRowIndex = event.rowIndex + 1
|
|
143
|
-
}
|
|
144
|
-
return new Promise((resolve, reject) => {
|
|
145
|
-
if (!listCode) {
|
|
146
|
-
listCode = store.get('_list_code')
|
|
147
|
-
}
|
|
148
|
-
const gridParams = store.get(listCode)
|
|
149
|
-
const gridData = gridParams.gridData
|
|
150
|
-
gridParams.superGrid?.clearSort?.()
|
|
151
|
-
// console.log('创建行记录的条件1', gridParams.lineEdit)
|
|
152
|
-
// console.log('创建行记录的条件2', gridParams.lineEdit.editable)
|
|
153
|
-
// console.log('创建行记录的条件3', gridParams.loaded)
|
|
154
|
-
if (
|
|
155
|
-
gridParams.lineEdit &&
|
|
156
|
-
gridParams.lineEdit.editable &&
|
|
157
|
-
typeof gridParams.loaded !== 'undefined' &&
|
|
158
|
-
gridParams.loaded === true
|
|
159
|
-
) {
|
|
160
|
-
// gridParams.loaded表示列表数据是否已加载成功,加载成功才允许新建记录
|
|
161
|
-
// 插入行前的回调
|
|
162
|
-
let canCreate = true
|
|
163
|
-
if (isEditOptionFunction('beforeInsertRow', listCode)) {
|
|
164
|
-
const isSubTableShowPage = gridParams.isSubTableShowPage
|
|
165
|
-
// 每页显示多少条
|
|
166
|
-
const pageSize = gridParams.pagination && gridParams.pagination.pageSize
|
|
167
|
-
const isMobile = this.isMobile
|
|
168
|
-
if (gridParams.pageContext) {
|
|
169
|
-
canCreate = gridParams.options.lineEditOptions.beforeInsertRow.call(this, {
|
|
170
|
-
gridData: isSubTableShowPage ? gridParams.subTableData : gridParams.gridData,
|
|
171
|
-
rowIndex: gridParams.$rowIndex,
|
|
172
|
-
isMobile,
|
|
173
|
-
baseURL: this.baseURL,
|
|
174
|
-
totalData: isSubTableShowPage ? gridParams.gridData : null,
|
|
175
|
-
pageSize,
|
|
176
|
-
additionalParamMap: gridParams.additionalParamMap,
|
|
177
|
-
row,
|
|
178
|
-
pageContext: gridParams.pageContext,
|
|
179
|
-
configureObj: gridParams.configureObj
|
|
180
|
-
})
|
|
181
|
-
} else {
|
|
182
|
-
canCreate = gridParams.options.lineEditOptions.beforeInsertRow.call(
|
|
183
|
-
this,
|
|
184
|
-
isSubTableShowPage ? gridParams.subTableData : gridParams.gridData,
|
|
185
|
-
gridParams.$rowIndex,
|
|
186
|
-
isMobile,
|
|
187
|
-
this.baseURL,
|
|
188
|
-
isSubTableShowPage ? gridParams.gridData : null,
|
|
189
|
-
pageSize,
|
|
190
|
-
gridParams.additionalParamMap,
|
|
191
|
-
row
|
|
192
|
-
)
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
// console.log('创建行记录执行前判断', canCreate)
|
|
196
|
-
// console.log('创建行记录gridParams.options.isFormSubTable=', gridParams.options.isFormSubTable)
|
|
197
|
-
if (canCreate === undefined || canCreate === true) {
|
|
198
|
-
if (gridParams.options && gridParams.options.isFormSubTable) {
|
|
199
|
-
// 如果是表单子表模式,则不需要判断上一行是否是编辑状态
|
|
200
|
-
// 取消上一行的编辑状态
|
|
201
|
-
let myGridData = gridParams.gridData
|
|
202
|
-
if (gridParams.isSubTableShowPage !== undefined && gridParams.isSubTableShowPage === true) {
|
|
203
|
-
// 子表集合
|
|
204
|
-
myGridData = gridParams.subTableData
|
|
205
|
-
}
|
|
206
|
-
const editRows = myGridData.filter((item) => item.$editing !== undefined && item.$editing === true)
|
|
207
|
-
if (editRows && editRows.length > 0) {
|
|
208
|
-
editRows.forEach((editRow) => {
|
|
209
|
-
setEntityFieldValue(editRow, '$editing', false)
|
|
210
|
-
// 取消上一行选中状态时,触发un-edit事件,处理下拉多选选项组问题
|
|
211
|
-
$emit(eventBus, 'un-edit', { row: editRow })
|
|
212
|
-
// Vue.set(editRow, '$editing', false)
|
|
213
|
-
})
|
|
214
|
-
}
|
|
215
|
-
gridParams.isEditRow = false
|
|
216
|
-
} else {
|
|
217
|
-
if (
|
|
218
|
-
!isLastEditRowSave(listCode) ||
|
|
219
|
-
(typeof gridParams.isCreateRow !== 'undefined' && gridParams.isCreateRow === true)
|
|
220
|
-
) {
|
|
221
|
-
// 最后编辑的一行没有保存 或(说明刚刚新建的行还没有保存 或 撤销编辑),则提示
|
|
222
|
-
window.$vueApp.config.globalProperties.$message({
|
|
223
|
-
showClose: true,
|
|
224
|
-
message: getI18n().t('superGrid.pleaseSaveLine', {
|
|
225
|
-
row: gridParams.$rowIndex + 1
|
|
226
|
-
}),
|
|
227
|
-
type: 'warning'
|
|
228
|
-
})
|
|
229
|
-
reject(new Error('please save line'))
|
|
230
|
-
return
|
|
231
|
-
}
|
|
232
|
-
// 取消上一行的编辑状态
|
|
233
|
-
if (
|
|
234
|
-
typeof gridParams.$rowIndex !== 'undefined' &&
|
|
235
|
-
gridParams.$rowIndex !== null &&
|
|
236
|
-
gridParams.$rowIndex < gridParams.gridData.length
|
|
237
|
-
) {
|
|
238
|
-
// 表示是有效行
|
|
239
|
-
const lastEditRow = gridParams.gridData[gridParams.$rowIndex]
|
|
240
|
-
setEntityFieldValue(lastEditRow, '$editing', false)
|
|
241
|
-
// Vue.set(lastEditRow, '$editing', false)
|
|
242
|
-
gridParams.isEditRow = false
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
const canExcuteAddAction = parseSubTableActionCondition(
|
|
246
|
-
gridParams,
|
|
247
|
-
this.parentFormData,
|
|
248
|
-
{},
|
|
249
|
-
gridParams.options.actionPermission?.addCondition
|
|
250
|
-
)
|
|
251
|
-
if (canExcuteAddAction === false) {
|
|
252
|
-
window.$vueApp.config.globalProperties.$message({
|
|
253
|
-
showClose: true,
|
|
254
|
-
message: getI18n().t('superGrid.canntAddTip'),
|
|
255
|
-
type: 'warning'
|
|
256
|
-
})
|
|
257
|
-
reject(new Error('can not create'))
|
|
258
|
-
return
|
|
259
|
-
}
|
|
260
|
-
// 新建行
|
|
261
|
-
row = this.getNewRow(
|
|
262
|
-
gridParams.defaultValueColumns,
|
|
263
|
-
gridParams.additionalParamMap,
|
|
264
|
-
gridParams.contextParameter,
|
|
265
|
-
row,
|
|
266
|
-
listCode,
|
|
267
|
-
options ? options.getDefaultValueFunc : null
|
|
268
|
-
)
|
|
269
|
-
|
|
270
|
-
// console.log('创建行记录要添加的新行1', row)
|
|
271
|
-
setEntityFieldValue(row, '$editing', true)
|
|
272
|
-
// Vue.set(row, '$editing', true)
|
|
273
|
-
gridParams.isEditRow = true
|
|
274
|
-
// console.log('创建行记录要添加的新行2', row)
|
|
275
|
-
// console.log('创建行所属的list1', gridData)
|
|
276
|
-
if (gridParams.options && gridParams.options.isFormSubTable) {
|
|
277
|
-
// 表单的子表行编辑时显示是添加到最后面
|
|
278
|
-
if (gridParams.isSubTableShowPage !== undefined && gridParams.isSubTableShowPage === true) {
|
|
279
|
-
// 子表集合添加该新建的行。会触发watch subTableData的监控
|
|
280
|
-
gridParams.isChangePage = true
|
|
281
|
-
if (addRowIndex >= 0) {
|
|
282
|
-
const lastPageRowIndex = (this.currentPage - 1) * this.pageSize
|
|
283
|
-
const subTableRowIndex = lastPageRowIndex + addRowIndex
|
|
284
|
-
gridParams.addRowIndex = subTableRowIndex + 1
|
|
285
|
-
|
|
286
|
-
gridParams.subTableData.splice(subTableRowIndex, 0, row)
|
|
287
|
-
} else {
|
|
288
|
-
let lastIndex = gridParams.subTableData.length
|
|
289
|
-
if (lastIndex <= 0) {
|
|
290
|
-
lastIndex = -1
|
|
291
|
-
}
|
|
292
|
-
gridParams.subTableData.splice(lastIndex, 0, row)
|
|
293
|
-
gridParams.addRowIndex = gridParams.subTableData.length
|
|
294
|
-
}
|
|
295
|
-
} else {
|
|
296
|
-
// 子表不分页
|
|
297
|
-
if (addRowIndex >= 0) {
|
|
298
|
-
gridData.splice(addRowIndex, 0, row)
|
|
299
|
-
} else {
|
|
300
|
-
gridData.splice(gridData.length, 0, row)
|
|
301
|
-
}
|
|
302
|
-
if (gridParams.lineEdit.editingCell) {
|
|
303
|
-
gridParams.lineEdit.editingCell.row = gridData.length
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
gridParams.$rowIndex = gridData.length
|
|
308
|
-
// 滚动条滚到最后
|
|
309
|
-
this.$nextTick(() => {
|
|
310
|
-
scrollYToBottom(listCode)
|
|
311
|
-
})
|
|
312
|
-
} else {
|
|
313
|
-
// 表格行编辑新建时是添加到最前面
|
|
314
|
-
gridData.splice(0, 0, row)
|
|
315
|
-
if (gridParams.lineEdit.editingCell) {
|
|
316
|
-
gridParams.lineEdit.editingCell.row = 0
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
gridParams.$rowIndex = 0
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
// console.log('创建行所属的list2', gridData)
|
|
323
|
-
// console.log('创建行所属的打印gridParams.gridData', gridParams.gridData)
|
|
324
|
-
const orgRow = Object.assign({}, row)
|
|
325
|
-
if (addRowIndex >= 0) {
|
|
326
|
-
gridParams.orgGridData.splice(addRowIndex, 0, orgRow)
|
|
327
|
-
} else {
|
|
328
|
-
gridParams.orgGridData.splice(0, 0, orgRow)
|
|
329
|
-
}
|
|
330
|
-
if (!gridParams.lineEdit.editingCell) {
|
|
331
|
-
gridParams.lineEdit.editingCell = {}
|
|
332
|
-
gridParams.lineEdit.validateErrorField = ''
|
|
333
|
-
}
|
|
334
|
-
// 插入行后的回调
|
|
335
|
-
if (isEditOptionFunction('afterInsertRow', listCode)) {
|
|
336
|
-
const isSubTableShowPage = gridParams.isSubTableShowPage
|
|
337
|
-
// 每页显示多少条
|
|
338
|
-
const pageSize = gridParams.pagination && gridParams.pagination.pageSize
|
|
339
|
-
const isMobile = this.isMobile
|
|
340
|
-
|
|
341
|
-
if (gridParams.pageContext) {
|
|
342
|
-
gridParams.options.lineEditOptions.afterInsertRow.call(this, {
|
|
343
|
-
gridData: isSubTableShowPage ? gridParams.subTableData : gridParams.gridData,
|
|
344
|
-
rowIndex: gridParams.$rowIndex,
|
|
345
|
-
isMobile,
|
|
346
|
-
baseURL: this.baseURL,
|
|
347
|
-
totalData: isSubTableShowPage ? gridParams.gridData : null,
|
|
348
|
-
pageSize,
|
|
349
|
-
additionalParamMap: gridParams.additionalParamMap,
|
|
350
|
-
pageContext: gridParams.pageContext,
|
|
351
|
-
configureObj: gridParams.configureObj
|
|
352
|
-
})
|
|
353
|
-
} else {
|
|
354
|
-
gridParams.options.lineEditOptions.afterInsertRow.call(
|
|
355
|
-
this,
|
|
356
|
-
isSubTableShowPage ? gridParams.subTableData : gridParams.gridData,
|
|
357
|
-
gridParams.$rowIndex,
|
|
358
|
-
isMobile,
|
|
359
|
-
this.baseURL,
|
|
360
|
-
isSubTableShowPage ? gridParams.gridData : null,
|
|
361
|
-
pageSize,
|
|
362
|
-
gridParams.additionalParamMap
|
|
363
|
-
)
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
gridParams.isCreateRow = true
|
|
368
|
-
resolve(row)
|
|
369
|
-
} else {
|
|
370
|
-
reject(new Error('can not create'))
|
|
371
|
-
}
|
|
372
|
-
} else {
|
|
373
|
-
reject(new Error('list not editable or data not loaded completely'))
|
|
374
|
-
}
|
|
375
|
-
})
|
|
376
|
-
},
|
|
377
|
-
// 获取一个新的对象,已经解析完默认值
|
|
378
|
-
getNewRow(defaultValueColumns, additionalParamMap, contextParameter, row, listCode, getDefaultValueFunc) {
|
|
379
|
-
if (!row) {
|
|
380
|
-
row = {}
|
|
381
|
-
}
|
|
382
|
-
if (!listCode) {
|
|
383
|
-
listCode = store.get('_list_code')
|
|
384
|
-
}
|
|
385
|
-
const gridParams = store.get(listCode)
|
|
386
|
-
if (gridParams && gridParams.allColumns) {
|
|
387
|
-
this.setColumnsDefaultValue(gridParams.allColumns, row, gridParams, getDefaultValueFunc)
|
|
388
|
-
}
|
|
389
|
-
if (defaultValueColumns && defaultValueColumns.length > 0) {
|
|
390
|
-
for (var i = 0; i < defaultValueColumns.length; i++) {
|
|
391
|
-
const col = defaultValueColumns[i]
|
|
392
|
-
if (col && col.prop) {
|
|
393
|
-
const propValue = getEntityFieldValue(row, col.prop)
|
|
394
|
-
if (col.prop !== '$selection' && col.prop !== '$index') {
|
|
395
|
-
if (
|
|
396
|
-
col.defaultValue &&
|
|
397
|
-
col.defaultValue !== '' &&
|
|
398
|
-
(propValue === undefined || propValue === '' || propValue === null)
|
|
399
|
-
) {
|
|
400
|
-
let value
|
|
401
|
-
if (gridParams.pageContext) {
|
|
402
|
-
value = getPropValueNew(col.defaultValue, gridParams.pageContext)
|
|
403
|
-
} else {
|
|
404
|
-
value = getPropValue(col.defaultValue, row, additionalParamMap, contextParameter)
|
|
405
|
-
}
|
|
406
|
-
setEntityFieldValue(row, col.prop, value)
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
return {
|
|
413
|
-
$rowDataGuId: getGuId(),
|
|
414
|
-
...row
|
|
415
|
-
}
|
|
416
|
-
},
|
|
417
|
-
// 设置默认值null
|
|
418
|
-
setColumnsDefaultValue(allColumns, row, gridParams, getDefaultValueFunc) {
|
|
419
|
-
for (let i = 0; i < allColumns.length; i++) {
|
|
420
|
-
const column = allColumns[i]
|
|
421
|
-
const prop = column.prop
|
|
422
|
-
if (prop === '$index' || prop === '$selection' || prop === 'operation') {
|
|
423
|
-
continue
|
|
424
|
-
}
|
|
425
|
-
if (column.hasOwnProperty('children')) {
|
|
426
|
-
// 表示是组合表头,需要判断子表头是否显示
|
|
427
|
-
this.setChildrenColumnsDefaultValue(column.children, row)
|
|
428
|
-
} else {
|
|
429
|
-
if (row[prop] === undefined) {
|
|
430
|
-
// 不是操作列,才需要设值
|
|
431
|
-
const defaultValueSet = column.defaultValue
|
|
432
|
-
let defaultValue = null
|
|
433
|
-
//console.log('setColumnsDefaultValue111------getDefaultValueFunc--', getDefaultValueFunc, 'column=',column,'defaultValueSet=', defaultValueSet)
|
|
434
|
-
if (getDefaultValueFunc) {
|
|
435
|
-
//console.log('setColumnsDefaultValue22---getDefaultValueFunc222---')
|
|
436
|
-
defaultValue = getDefaultValueFunc(gridParams.pageContext, defaultValueSet, null, null)
|
|
437
|
-
//console.log('setColumnsDefaultValue33---defaultValue---', defaultValue)
|
|
438
|
-
if (defaultValue === undefined) {
|
|
439
|
-
defaultValue = null
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
setEntityFieldValue(row, prop, defaultValue)
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
setEntityFieldValue(row, '$editing', false)
|
|
447
|
-
},
|
|
448
|
-
setChildrenColumnsDefaultValue(children, row) {
|
|
449
|
-
for (let i = 0; i < children.length; i++) {
|
|
450
|
-
const column = children[i]
|
|
451
|
-
const prop = column.prop
|
|
452
|
-
if (column.hasOwnProperty('children')) {
|
|
453
|
-
// 表示是组合表头,需要判断子表头是否显示
|
|
454
|
-
this.setChildrenColumnsDefaultValue(column.children, row)
|
|
455
|
-
} else {
|
|
456
|
-
if (row[prop] === undefined) {
|
|
457
|
-
if (prop !== 'operation') {
|
|
458
|
-
// 不是操作列,才需要设值
|
|
459
|
-
setEntityFieldValue(row, prop, null)
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
},
|
|
465
|
-
isLastEditRowSaveMessage(listCode) {
|
|
466
|
-
if (!listCode) {
|
|
467
|
-
listCode = store.get('_list_code')
|
|
468
|
-
}
|
|
469
|
-
const gridParams = store.get(listCode)
|
|
470
|
-
if (!isLastEditRowSave(listCode)) {
|
|
471
|
-
// 最后编辑的一行没有保存,则提示
|
|
472
|
-
window.$vueApp.config.globalProperties.$message({
|
|
473
|
-
showClose: true,
|
|
474
|
-
message: getI18n().t('superGrid.pleaseSaveLine', {
|
|
475
|
-
row: gridParams.$rowIndex + 1
|
|
476
|
-
}),
|
|
477
|
-
type: 'warning'
|
|
478
|
-
})
|
|
479
|
-
return false
|
|
480
|
-
}
|
|
481
|
-
return true
|
|
482
|
-
},
|
|
483
|
-
// 切换行编辑时候提示
|
|
484
|
-
confirmBeforeSwitchingRow(listCode, callback) {
|
|
485
|
-
if (!listCode) {
|
|
486
|
-
listCode = store.get('_list_code')
|
|
487
|
-
}
|
|
488
|
-
const { t } = getI18n()
|
|
489
|
-
const gridParams = store.get(listCode)
|
|
490
|
-
const rowIndex = gridParams.$rowIndex
|
|
491
|
-
if (!isLastEditRowSave(listCode)) {
|
|
492
|
-
ElMessageBox.confirm(
|
|
493
|
-
t('superGrid.rowEditMessageBox.content'), // 当前行有未保存的修改,你是否要切换编辑行?
|
|
494
|
-
t('superGrid.rowEditMessageBox.title'), // 操作确认
|
|
495
|
-
{
|
|
496
|
-
distinguishCancelAndClose: true,
|
|
497
|
-
confirmButtonText: t('superGrid.rowEditMessageBox.confirmButton'), // 提交修改
|
|
498
|
-
cancelButtonText: t('superGrid.rowEditMessageBox.cancelButton'), // 放弃修改
|
|
499
|
-
showClose: true,
|
|
500
|
-
beforeClose: (action, instance, done) => {
|
|
501
|
-
if (action === 'confirm') {
|
|
502
|
-
this.saveRow(rowIndex, listCode).then((res) => {
|
|
503
|
-
// this.editRow(rowIndex, listCode, true)
|
|
504
|
-
callback?.('confirm')
|
|
505
|
-
done()
|
|
506
|
-
})
|
|
507
|
-
} else if (action === 'cancel') {
|
|
508
|
-
this.restoreCurrentRow(rowIndex, listCode)
|
|
509
|
-
callback?.('cancel')
|
|
510
|
-
done()
|
|
511
|
-
} else if (action === 'close') {
|
|
512
|
-
done()
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
)
|
|
517
|
-
}
|
|
518
|
-
},
|
|
519
|
-
// 编辑行 SkipBeforeEdit 是否跳过编辑前校验
|
|
520
|
-
editRow(rowIndex, listCode, isSaveCallback, SkipBeforeEdit) {
|
|
521
|
-
if (!listCode) {
|
|
522
|
-
listCode = store.get('_list_code')
|
|
523
|
-
}
|
|
524
|
-
const gridParams = store.get(listCode)
|
|
525
|
-
if (gridParams && gridParams.lineEdit && gridParams.lineEdit.editable) {
|
|
526
|
-
if (
|
|
527
|
-
typeof gridParams.$rowIndex !== 'undefined' &&
|
|
528
|
-
gridParams.$rowIndex !== null &&
|
|
529
|
-
gridParams.$rowIndex !== rowIndex
|
|
530
|
-
) {
|
|
531
|
-
// 不是当前编辑行时
|
|
532
|
-
if (
|
|
533
|
-
typeof gridParams.options.lineEditOptions.autoSave === 'undefined' ||
|
|
534
|
-
(isHasEditOption('autoSave', listCode) && gridParams.options.lineEditOptions.autoSave === true)
|
|
535
|
-
) {
|
|
536
|
-
// 自动保存行数据
|
|
537
|
-
if (!isSaveCallback) {
|
|
538
|
-
// 点击了“编辑”按钮时需要走,不是自动保存行数据后回调方法中调用的editRow时
|
|
539
|
-
this.saveRow(gridParams.$rowIndex, listCode).then((res) => {
|
|
540
|
-
this.editRow(rowIndex, listCode, true)
|
|
541
|
-
})
|
|
542
|
-
return
|
|
543
|
-
}
|
|
544
|
-
} else {
|
|
545
|
-
// 如果不自动保存,则提示数据没有保存,让用户自己保存
|
|
546
|
-
if (!isLastEditRowSave(listCode)) {
|
|
547
|
-
// 最后编辑的一行没有保存,则提示
|
|
548
|
-
window.$vueApp.config.globalProperties.$message({
|
|
549
|
-
showClose: true,
|
|
550
|
-
message: getI18n().t('superGrid.pleaseSaveLine', {
|
|
551
|
-
row: gridParams.$rowIndex + 1
|
|
552
|
-
}),
|
|
553
|
-
type: 'warning'
|
|
554
|
-
})
|
|
555
|
-
return
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
let canEdit = true
|
|
561
|
-
if (!SkipBeforeEdit && isEditOptionFunction('beforeEdit', listCode)) {
|
|
562
|
-
const isSubTableShowPage = gridParams.isSubTableShowPage
|
|
563
|
-
// 每页显示多少条
|
|
564
|
-
const pageSize = gridParams.pagination && gridParams.pagination.pageSize
|
|
565
|
-
canEdit = gridParams.options.lineEditOptions.beforeEdit.call(this, {
|
|
566
|
-
gridData: isSubTableShowPage ? gridParams.subTableData : gridParams.gridData,
|
|
567
|
-
listCode: listCode,
|
|
568
|
-
entity: gridParams.gridData[rowIndex],
|
|
569
|
-
row: gridParams.gridData[rowIndex],
|
|
570
|
-
rowIndex: rowIndex,
|
|
571
|
-
columns: gridParams.columns,
|
|
572
|
-
isMobile: false,
|
|
573
|
-
pageGridData: isSubTableShowPage ? gridParams.gridData : null,
|
|
574
|
-
pageSize,
|
|
575
|
-
additionalParamMap: getAdditionalParamMap(gridParams),
|
|
576
|
-
pageContext: gridParams.pageContext,
|
|
577
|
-
configureObj: gridParams.configureObj
|
|
578
|
-
})
|
|
579
|
-
}
|
|
580
|
-
if (isPromise(canEdit)) {
|
|
581
|
-
canEdit.then((result) => {
|
|
582
|
-
if (result === undefined || result === true) {
|
|
583
|
-
this.doEditRow(gridParams, rowIndex)
|
|
584
|
-
}
|
|
585
|
-
})
|
|
586
|
-
} else {
|
|
587
|
-
if (canEdit === undefined || canEdit === true) {
|
|
588
|
-
this.doEditRow(gridParams, rowIndex)
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
doEditRow(gridParams, rowIndex) {
|
|
594
|
-
// 取消上一行的编辑状态
|
|
595
|
-
if (
|
|
596
|
-
typeof gridParams.$rowIndex !== 'undefined' &&
|
|
597
|
-
gridParams.$rowIndex !== null &&
|
|
598
|
-
gridParams.$rowIndex < gridParams.gridData.length
|
|
599
|
-
) {
|
|
600
|
-
const lastEditRow = gridParams.gridData[gridParams.$rowIndex]
|
|
601
|
-
setEntityFieldValue(lastEditRow, '$editing', false)
|
|
602
|
-
// Vue.set(lastEditRow, '$editing', false)
|
|
603
|
-
gridParams.isEditRow = false
|
|
604
|
-
}
|
|
605
|
-
// 使指定行变为编辑状态
|
|
606
|
-
const row = gridParams.gridData[rowIndex]
|
|
607
|
-
setEntityFieldValue(row, '$editing', true)
|
|
608
|
-
// Vue.set(row, '$editing', true)
|
|
609
|
-
gridParams.$lastSaveRowIndex = null
|
|
610
|
-
gridParams.$rowIndex = rowIndex
|
|
611
|
-
gridParams.isEditRow = true
|
|
612
|
-
// 使指定行变为编辑状态,触发获得焦点
|
|
613
|
-
if (gridParams.lineEdit.editingCell) {
|
|
614
|
-
gridParams.lineEdit.editingCell.row = rowIndex
|
|
615
|
-
}
|
|
616
|
-
},
|
|
617
|
-
saveRow(rowIndex, listCode) {
|
|
618
|
-
return new Promise((resolve, reject) => {
|
|
619
|
-
const vm = this
|
|
620
|
-
// 添加setTimeout是因为保存时事件和input等组件的@blur冲突,导致保存需要保存两次
|
|
621
|
-
setTimeout(function () {
|
|
622
|
-
vm.saveCurrentRow(rowIndex, listCode).then((data) => {
|
|
623
|
-
resolve(data)
|
|
624
|
-
})
|
|
625
|
-
}, 100)
|
|
626
|
-
})
|
|
627
|
-
},
|
|
628
|
-
saveCurrentRow(rowIndex, listCode) {
|
|
629
|
-
return new Promise((resolve, reject) => {
|
|
630
|
-
if (!listCode) {
|
|
631
|
-
listCode = store.get('_list_code')
|
|
632
|
-
}
|
|
633
|
-
const gridParams = store.get(listCode)
|
|
634
|
-
if (gridParams.lineEdit && gridParams.lineEdit.editable) {
|
|
635
|
-
if (
|
|
636
|
-
typeof gridParams.gridData[rowIndex].$editing === 'undefined' ||
|
|
637
|
-
gridParams.gridData[rowIndex].$editing === false
|
|
638
|
-
) {
|
|
639
|
-
window.$vueApp.config.globalProperties.$message({
|
|
640
|
-
showClose: true,
|
|
641
|
-
message: getI18n().t('superGrid.noNeedToSaveRow', {
|
|
642
|
-
row: rowIndex + 1
|
|
643
|
-
}),
|
|
644
|
-
type: 'warning'
|
|
645
|
-
})
|
|
646
|
-
return
|
|
647
|
-
}
|
|
648
|
-
// console.log('gridParams', gridParams)
|
|
649
|
-
if (gridParams.$rowIndex !== rowIndex && !isLastEditRowSave(listCode)) {
|
|
650
|
-
// 最后编辑的一行没有保存,则提示
|
|
651
|
-
window.$vueApp.config.globalProperties.$message({
|
|
652
|
-
showClose: true,
|
|
653
|
-
message: getI18n().t('superGrid.pleaseSaveLine', {
|
|
654
|
-
row: gridParams.$rowIndex + 1
|
|
655
|
-
}),
|
|
656
|
-
type: 'warning'
|
|
657
|
-
})
|
|
658
|
-
return
|
|
659
|
-
}
|
|
660
|
-
gridParams.$lastSaveRowIndex = null
|
|
661
|
-
if (
|
|
662
|
-
gridParams.isHasDynamic !== undefined &&
|
|
663
|
-
gridParams.isHasDynamic === false &&
|
|
664
|
-
!gridParams.lineEdit.urlToSaveRow &&
|
|
665
|
-
!isHasEditOption('urlToSaveRow', listCode) &&
|
|
666
|
-
!isEditOptionFunction('saveRow', listCode)
|
|
667
|
-
) {
|
|
668
|
-
window.$vueApp.config.globalProperties.$message({
|
|
669
|
-
showClose: true,
|
|
670
|
-
message: getI18n().t('superGrid.pleaseSetURLToSaveRowInformation'),
|
|
671
|
-
type: 'warning'
|
|
672
|
-
})
|
|
673
|
-
return
|
|
674
|
-
}
|
|
675
|
-
if (!gridParams.canSaveRow) {
|
|
676
|
-
// 防止重复保存
|
|
677
|
-
return
|
|
678
|
-
}
|
|
679
|
-
gridParams.canSaveRow = false
|
|
680
|
-
const row = gridParams.gridData[rowIndex]
|
|
681
|
-
let needValidate = true
|
|
682
|
-
if (isHasEditOption('isEnableValidate', listCode)) {
|
|
683
|
-
// 表示配置了是否启用必填验证
|
|
684
|
-
needValidate = gridParams.options.lineEditOptions['isEnableValidate']
|
|
685
|
-
}
|
|
686
|
-
let validateResult = true
|
|
687
|
-
if (needValidate === true) {
|
|
688
|
-
validateResult = formValidatorService.validator(row, listCode, rowIndex)
|
|
689
|
-
}
|
|
690
|
-
if (validateResult === true) {
|
|
691
|
-
let canSave = true
|
|
692
|
-
if (isEditOptionFunction('beforeSave', listCode)) {
|
|
693
|
-
if (gridParams.pageContext) {
|
|
694
|
-
canSave = gridParams.options.lineEditOptions['beforeSave'].call(this, {
|
|
695
|
-
row,
|
|
696
|
-
columns: gridParams.columns,
|
|
697
|
-
additionalParamMap: gridParams.additionalParamMap,
|
|
698
|
-
pageContext: gridParams.pageContext,
|
|
699
|
-
configureObj: gridParams.configureObj
|
|
700
|
-
})
|
|
701
|
-
} else {
|
|
702
|
-
canSave = gridParams.options.lineEditOptions['beforeSave'].call(
|
|
703
|
-
this,
|
|
704
|
-
row,
|
|
705
|
-
gridParams.columns,
|
|
706
|
-
gridParams.additionalParamMap
|
|
707
|
-
)
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
if (canSave === undefined || canSave === true) {
|
|
711
|
-
// 触发点击保存时的事件线,在 normal-column 监听处对字段控件是选项组的字段的值进行处理
|
|
712
|
-
$emit(eventBus, 'un-edit', { row })
|
|
713
|
-
const additionalParamMap = getAdditionalParamMap(gridParams)
|
|
714
|
-
let saveRowRequest
|
|
715
|
-
if (isEditOptionFunction('saveRow', listCode)) {
|
|
716
|
-
// 表示保存方法,用户自己重写了
|
|
717
|
-
if (gridParams.pageContext) {
|
|
718
|
-
saveRowRequest = gridParams.options.lineEditOptions['saveRow'].call(this, {
|
|
719
|
-
row,
|
|
720
|
-
columns: gridParams.columns,
|
|
721
|
-
dataTypeMap: gridParams.$dataTypeMap,
|
|
722
|
-
dynamicColumnInfo: gridParams.dynamicColumnInfo,
|
|
723
|
-
additionalParamMap,
|
|
724
|
-
mainDefaultValueColumns: gridParams.mainDefaultValueColumns,
|
|
725
|
-
pageContext: gridParams.pageContext,
|
|
726
|
-
configureObj: gridParams.configureObj
|
|
727
|
-
})
|
|
728
|
-
} else {
|
|
729
|
-
// 兼容历史数据
|
|
730
|
-
saveRowRequest = gridParams.options.lineEditOptions['saveRow'].call(
|
|
731
|
-
this,
|
|
732
|
-
row,
|
|
733
|
-
gridParams.columns,
|
|
734
|
-
gridParams.$dataTypeMap,
|
|
735
|
-
gridParams.dynamicColumnInfo,
|
|
736
|
-
additionalParamMap,
|
|
737
|
-
gridParams.mainDefaultValueColumns
|
|
738
|
-
)
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
if (!saveRowRequest && gridParams.lineEdit && gridParams.lineEdit.urlToSaveRow) {
|
|
742
|
-
// 使用默认的保存实现
|
|
743
|
-
let urlToSaveRow = gridParams.lineEdit.urlToSaveRow
|
|
744
|
-
if (isHasEditOption('urlToSaveRow', listCode)) {
|
|
745
|
-
// 表示手动配置了保存行记录的url
|
|
746
|
-
urlToSaveRow = gridParams.options.lineEditOptions['urlToSaveRow']
|
|
747
|
-
}
|
|
748
|
-
saveRowRequest = window.$vueApp.config.globalProperties.$http.post(
|
|
749
|
-
window.$vueApp.config.globalProperties.baseURL + urlToSaveRow,
|
|
750
|
-
row
|
|
751
|
-
)
|
|
752
|
-
}
|
|
753
|
-
if (gridParams.isHasDynamic !== undefined && gridParams.isHasDynamic === true && !saveRowRequest) {
|
|
754
|
-
// 表示有动态列,保存时使用平台封装好的请求
|
|
755
|
-
const urlToSaveRow = '/common/dynamic-values'
|
|
756
|
-
const dynamicValueDTO = {
|
|
757
|
-
mainTableName:
|
|
758
|
-
gridParams.basicInfo && gridParams.basicInfo.tableName ? gridParams.basicInfo.tableName : '',
|
|
759
|
-
row: row,
|
|
760
|
-
dynamicColumnInfo: gridParams.dynamicColumnInfo,
|
|
761
|
-
additionalParamMap: additionalParamMap,
|
|
762
|
-
dataTypeMap: gridParams.$dataTypeMap,
|
|
763
|
-
dynamicServiceName: gridParams.dynamicServiceName,
|
|
764
|
-
mainDefaultValueColumns: gridParams.mainDefaultValueColumns
|
|
765
|
-
}
|
|
766
|
-
saveRowRequest = window.$vueApp.config.globalProperties.$http.post(
|
|
767
|
-
window.$vueApp.config.globalProperties.baseURL + urlToSaveRow,
|
|
768
|
-
dynamicValueDTO
|
|
769
|
-
)
|
|
770
|
-
}
|
|
771
|
-
if (saveRowRequest) {
|
|
772
|
-
saveRowRequest
|
|
773
|
-
.then((data) => {
|
|
774
|
-
this.afterSave(gridParams, rowIndex, listCode, data, row)
|
|
775
|
-
.then((data) => {
|
|
776
|
-
resolve(data)
|
|
777
|
-
})
|
|
778
|
-
.catch((error) => {
|
|
779
|
-
reject(error)
|
|
780
|
-
})
|
|
781
|
-
})
|
|
782
|
-
.catch((error) => {
|
|
783
|
-
gridParams.canSaveRow = true
|
|
784
|
-
if (isEditOptionFunction('saveError', listCode)) {
|
|
785
|
-
gridParams.options.lineEditOptions['saveError'].call(this, row, gridParams.columns, rowIndex, error)
|
|
786
|
-
}
|
|
787
|
-
reject(error)
|
|
788
|
-
})
|
|
789
|
-
} else {
|
|
790
|
-
gridParams.canSaveRow = true
|
|
791
|
-
reject(getI18n().t('saveRowRequest is undefined'))
|
|
792
|
-
}
|
|
793
|
-
} else {
|
|
794
|
-
gridParams.canSaveRow = true
|
|
795
|
-
reject(getI18n().t('superGrid.theReturnValueOfTheBeforesaveCallbackMethodIsFalse'))
|
|
796
|
-
}
|
|
797
|
-
} else {
|
|
798
|
-
gridParams.canSaveRow = true
|
|
799
|
-
reject(getI18n().t('imatrixUIMessage.validationFailed'))
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
})
|
|
803
|
-
},
|
|
804
|
-
afterSave(gridParams, rowIndex, listCode, data, row) {
|
|
805
|
-
return new Promise((resolve, reject) => {
|
|
806
|
-
gridParams.isCreateRow = false
|
|
807
|
-
gridParams.canSaveRow = true
|
|
808
|
-
gridParams.$rowIndex = null
|
|
809
|
-
// 当前是否有正在编辑的行
|
|
810
|
-
gridParams.isEditRow = false
|
|
811
|
-
gridParams.$lastSaveRowIndex = rowIndex
|
|
812
|
-
window.$vueApp.config.globalProperties.$message({
|
|
813
|
-
showClose: true,
|
|
814
|
-
message: getI18n().t('superGrid.lineSavedSuccessfully', {
|
|
815
|
-
row: rowIndex + 1
|
|
816
|
-
}),
|
|
817
|
-
type: 'success'
|
|
818
|
-
})
|
|
819
|
-
if (
|
|
820
|
-
typeof gridParams.options.lineEditOptions.aftersaveIsCancelEditState === 'undefined' ||
|
|
821
|
-
(isHasEditOption('aftersaveIsCancelEditState', listCode) &&
|
|
822
|
-
gridParams.options.lineEditOptions.aftersaveIsCancelEditState === true)
|
|
823
|
-
) {
|
|
824
|
-
// 取消编辑状态
|
|
825
|
-
setEntityFieldValue(row, '$editing', false)
|
|
826
|
-
// Vue.set(row, '$editing', false)
|
|
827
|
-
gridParams.isEditRow = false
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
if (isEditOptionFunction('saveSuccess', listCode)) {
|
|
831
|
-
if (gridParams.pageContext) {
|
|
832
|
-
gridParams.options.lineEditOptions['saveSuccess'].call(this, {
|
|
833
|
-
data,
|
|
834
|
-
columns: gridParams.columns,
|
|
835
|
-
rowIndex,
|
|
836
|
-
row,
|
|
837
|
-
additionalParamMap: gridParams.additionalParamMap,
|
|
838
|
-
pageContext: gridParams.pageContext,
|
|
839
|
-
configureObj: gridParams.configureObj
|
|
840
|
-
})
|
|
841
|
-
} else {
|
|
842
|
-
gridParams.options.lineEditOptions['saveSuccess'].call(
|
|
843
|
-
this,
|
|
844
|
-
data,
|
|
845
|
-
gridParams.columns,
|
|
846
|
-
rowIndex,
|
|
847
|
-
row,
|
|
848
|
-
gridParams.additionalParamMap
|
|
849
|
-
)
|
|
850
|
-
}
|
|
851
|
-
gridParams.options.lineEditOptions['saveSuccess'].call(
|
|
852
|
-
this,
|
|
853
|
-
data,
|
|
854
|
-
gridParams.columns,
|
|
855
|
-
rowIndex,
|
|
856
|
-
row,
|
|
857
|
-
gridParams.additionalParamMap
|
|
858
|
-
)
|
|
859
|
-
}
|
|
860
|
-
Object.assign(gridParams.orgGridData[rowIndex], data)
|
|
861
|
-
// 必须加这句,否则连续保存时报事务异常
|
|
862
|
-
Object.assign(gridParams.gridData[rowIndex], data)
|
|
863
|
-
// 必须调用这句话,刷新一下列表,否则当前页总条数和记录总条数都会显示错误
|
|
864
|
-
this.refresh(false, true)
|
|
865
|
-
.then(() => {
|
|
866
|
-
if (
|
|
867
|
-
typeof gridParams.options.lineEditOptions.aftersaveIsCreateRow === 'undefined' ||
|
|
868
|
-
gridParams.options.lineEditOptions.aftersaveIsCreateRow
|
|
869
|
-
) {
|
|
870
|
-
this.createRow(listCode)
|
|
871
|
-
}
|
|
872
|
-
resolve({
|
|
873
|
-
rowIndex,
|
|
874
|
-
listCode
|
|
875
|
-
})
|
|
876
|
-
})
|
|
877
|
-
.catch((error) => reject(error))
|
|
878
|
-
})
|
|
879
|
-
},
|
|
880
|
-
restoreRow(rowIndex, listCode) {
|
|
881
|
-
// 撤销当前行的编辑的信息
|
|
882
|
-
return new Promise((resolve, reject) => {
|
|
883
|
-
this.restoreCurrentRow(rowIndex, listCode)
|
|
884
|
-
resolve()
|
|
885
|
-
})
|
|
886
|
-
},
|
|
887
|
-
/**
|
|
888
|
-
* 撤销当前指定编辑行的信息
|
|
889
|
-
*/
|
|
890
|
-
restoreCurrentRow(rowIndex, listCode) {
|
|
891
|
-
if (!listCode) {
|
|
892
|
-
listCode = store.get('_list_code')
|
|
893
|
-
}
|
|
894
|
-
const gridParams = store.get(listCode)
|
|
895
|
-
// console.log('restoreCurrentRow-gridParams.$rowIndex,rowIndex', gridParams.$rowIndex, rowIndex)
|
|
896
|
-
if (gridParams.lineEdit && gridParams.lineEdit.editable) {
|
|
897
|
-
if (gridParams.$rowIndex !== null && gridParams.$rowIndex !== rowIndex && !isLastEditRowSave(listCode)) {
|
|
898
|
-
// 最后编辑的一行没有保存,则提示
|
|
899
|
-
window.$vueApp.config.globalProperties.$message({
|
|
900
|
-
showClose: true,
|
|
901
|
-
message: getI18n().t('superGrid.pleaseSaveLine', {
|
|
902
|
-
row: gridParams.$rowIndex + 1
|
|
903
|
-
}),
|
|
904
|
-
type: 'warning'
|
|
905
|
-
})
|
|
906
|
-
return
|
|
907
|
-
}
|
|
908
|
-
// true表示没有编辑任何字段,false表示当前行有编辑的字段
|
|
909
|
-
const isUnEditing =
|
|
910
|
-
gridParams.$lastSaveRowIndex !== null &&
|
|
911
|
-
gridParams.$lastSaveRowIndex === rowIndex &&
|
|
912
|
-
typeof gridParams.gridData[rowIndex].id !== 'undefined'
|
|
913
|
-
let isValidate = true
|
|
914
|
-
// 撤销编辑前的回调
|
|
915
|
-
if (isEditOptionFunction('beforeRestoreValidate', listCode)) {
|
|
916
|
-
const isSubTableShowPage = gridParams.isSubTableShowPage
|
|
917
|
-
// 每页显示多少条
|
|
918
|
-
const pageSize = gridParams.pagination && gridParams.pagination.pageSize
|
|
919
|
-
const isMobile = this.isMobile
|
|
920
|
-
isValidate = gridParams.options.lineEditOptions.beforeRestoreValidate.call(this, {
|
|
921
|
-
rowIndex,
|
|
922
|
-
gridData: isSubTableShowPage ? gridParams.subTableData : gridParams.gridData,
|
|
923
|
-
entity: gridParams.gridData[rowIndex],
|
|
924
|
-
isMobile,
|
|
925
|
-
baseURL: this.baseURL,
|
|
926
|
-
isEditing: !isUnEditing,
|
|
927
|
-
pageGridData: isSubTableShowPage ? gridParams.gridData : null,
|
|
928
|
-
pageSize,
|
|
929
|
-
additionalParamMap: gridParams.additionalParamMap,
|
|
930
|
-
pageContext: gridParams.pageContext,
|
|
931
|
-
configureObj: gridParams.configureObj
|
|
932
|
-
})
|
|
933
|
-
}
|
|
934
|
-
if (isValidate === undefined || isValidate === true) {
|
|
935
|
-
// 例如:自定义验证成功,再继续平台的验证
|
|
936
|
-
if (isUnEditing === true) {
|
|
937
|
-
// 当前行已保存,已是最新数据,无需再撤销编辑
|
|
938
|
-
// console.log('gridParams.gridData[rowIndex].id=', gridParams.gridData[rowIndex].id)
|
|
939
|
-
window.$vueApp.config.globalProperties.$message({
|
|
940
|
-
showClose: true,
|
|
941
|
-
message: getI18n().t('superGrid.lineNoNeedToUndoEdit', {
|
|
942
|
-
row: rowIndex + 1
|
|
943
|
-
}),
|
|
944
|
-
type: 'warning'
|
|
945
|
-
})
|
|
946
|
-
return
|
|
947
|
-
}
|
|
948
|
-
} else {
|
|
949
|
-
return
|
|
950
|
-
}
|
|
951
|
-
let canRestore = true
|
|
952
|
-
// 撤销编辑前的回调
|
|
953
|
-
if (isEditOptionFunction('beforeRestore', listCode)) {
|
|
954
|
-
const isSubTableShowPage = gridParams.isSubTableShowPage
|
|
955
|
-
// 每页显示多少条
|
|
956
|
-
const pageSize = gridParams.pagination && gridParams.pagination.pageSize
|
|
957
|
-
const isMobile = this.isMobile
|
|
958
|
-
canRestore = gridParams.options.lineEditOptions.beforeRestore.call(this, {
|
|
959
|
-
rowIndex,
|
|
960
|
-
gridData: isSubTableShowPage ? gridParams.subTableData : gridParams.gridData,
|
|
961
|
-
entity: gridParams.gridData[rowIndex],
|
|
962
|
-
isMobile,
|
|
963
|
-
baseURL: window.$vueApp.config.globalProperties.baseURL,
|
|
964
|
-
isEditing: !isUnEditing,
|
|
965
|
-
pageGridData: isSubTableShowPage ? gridParams.gridData : null,
|
|
966
|
-
pageSize,
|
|
967
|
-
additionalParamMap: gridParams.additionalParamMap,
|
|
968
|
-
pageContext: gridParams.pageContext,
|
|
969
|
-
configureObj: gridParams.configureObj
|
|
970
|
-
})
|
|
971
|
-
}
|
|
972
|
-
if (canRestore === undefined || canRestore === true) {
|
|
973
|
-
// 如果没有编辑过任何行
|
|
974
|
-
if (!gridParams.orgGridData[rowIndex].id && !gridParams.orgGridData[rowIndex].ID) {
|
|
975
|
-
// 表示没有保存行数据,需要删除该行记录
|
|
976
|
-
this.deleteRow(rowIndex, listCode, true)
|
|
977
|
-
} else {
|
|
978
|
-
// 这样写会导致“如果字段值原来是空的,输入了内容后,取消编辑没法把输入的值清空”问题
|
|
979
|
-
// Object.assign(gridParams.gridData[rowIndex], gridParams.orgGridData[rowIndex])
|
|
980
|
-
// 所以改成如下写法
|
|
981
|
-
const orgRow = JSON.parse(JSON.stringify(gridParams.orgGridData[rowIndex]))
|
|
982
|
-
if (gridParams.isSubTableShowPage !== undefined && gridParams.isSubTableShowPage === true) {
|
|
983
|
-
// 子表集合移除该行。会触发watch subTableData的监控
|
|
984
|
-
const lastPageRowIndex = (this.currentPage - 1) * this.pageSize
|
|
985
|
-
const subTableRowIndex = lastPageRowIndex + rowIndex
|
|
986
|
-
gridParams.subTableData[subTableRowIndex] = gridParams.gridData[rowIndex]
|
|
987
|
-
}
|
|
988
|
-
window.$vueApp.config.globalProperties.$message({
|
|
989
|
-
showClose: true,
|
|
990
|
-
message: getI18n().t('superGrid.lineCancelledSuccessfully', {
|
|
991
|
-
row: rowIndex + 1
|
|
992
|
-
}),
|
|
993
|
-
type: 'success'
|
|
994
|
-
})
|
|
995
|
-
|
|
996
|
-
if (
|
|
997
|
-
typeof gridParams.options.lineEditOptions.afterRestoreIsCancelEditState === 'undefined' ||
|
|
998
|
-
(isHasEditOption('afterRestoreIsCancelEditState', listCode) &&
|
|
999
|
-
gridParams.options.lineEditOptions.afterRestoreIsCancelEditState === true)
|
|
1000
|
-
) {
|
|
1001
|
-
// 取消编辑状态
|
|
1002
|
-
// setEntityFieldValue(gridParams.gridData[rowIndex], '$editing', false)
|
|
1003
|
-
orgRow.$editing = false
|
|
1004
|
-
// Vue.set(gridParams.gridData[rowIndex], '$editing', false)
|
|
1005
|
-
gridParams.isEditRow = false
|
|
1006
|
-
}
|
|
1007
|
-
this.restoreCurrentRowTimer = setTimeout(() => {
|
|
1008
|
-
gridParams.gridData[rowIndex] = orgRow
|
|
1009
|
-
}, 100)
|
|
1010
|
-
}
|
|
1011
|
-
gridParams.$rowIndex = null
|
|
1012
|
-
gridParams.isCreateRow = false
|
|
1013
|
-
// 撤销编辑后回调
|
|
1014
|
-
if (isEditOptionFunction('afterRestore', listCode)) {
|
|
1015
|
-
if (gridParams.pageContext) {
|
|
1016
|
-
gridParams.options.lineEditOptions.afterRestore.call(this, {
|
|
1017
|
-
rowIndex,
|
|
1018
|
-
row: gridParams.orgGridData[rowIndex],
|
|
1019
|
-
additionalParamMap: gridParams.additionalParamMap,
|
|
1020
|
-
pageContext: gridParams.pageContext,
|
|
1021
|
-
configureObj: gridParams.configureObj
|
|
1022
|
-
})
|
|
1023
|
-
} else {
|
|
1024
|
-
gridParams.options.lineEditOptions.afterRestore.call(
|
|
1025
|
-
this,
|
|
1026
|
-
rowIndex,
|
|
1027
|
-
gridParams.orgGridData[rowIndex],
|
|
1028
|
-
gridParams.additionalParamMap
|
|
1029
|
-
)
|
|
1030
|
-
}
|
|
1031
|
-
}
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
},
|
|
1035
|
-
deleteRow(rowIndex, listCode, isRestore) {
|
|
1036
|
-
return new Promise((resolve, reject) => {
|
|
1037
|
-
if (!listCode) {
|
|
1038
|
-
listCode = store.get('_list_code')
|
|
1039
|
-
}
|
|
1040
|
-
const gridParams = store.get(listCode)
|
|
1041
|
-
let canDelete = true
|
|
1042
|
-
// 删除行记录前的回调
|
|
1043
|
-
if (isEditOptionFunction('beforeDelete', listCode)) {
|
|
1044
|
-
const isSubTableShowPage = gridParams.isSubTableShowPage
|
|
1045
|
-
// 每页显示多少条
|
|
1046
|
-
const pageSize = gridParams.pagination && gridParams.pagination.pageSize
|
|
1047
|
-
const gridData = isSubTableShowPage ? gridParams.subTableData : gridParams.gridData
|
|
1048
|
-
const isMobile = this.isMobile
|
|
1049
|
-
if (gridParams.pageContext) {
|
|
1050
|
-
canDelete = gridParams.options.lineEditOptions.beforeDelete.call(this, {
|
|
1051
|
-
rowIndex,
|
|
1052
|
-
row: gridParams.gridData[rowIndex],
|
|
1053
|
-
gridData,
|
|
1054
|
-
isMobile,
|
|
1055
|
-
baseURL: this.baseURL,
|
|
1056
|
-
totalData: isSubTableShowPage ? gridParams.gridData : null,
|
|
1057
|
-
pageSize,
|
|
1058
|
-
additionalParamMap: gridParams.additionalParamMap,
|
|
1059
|
-
pageContext: gridParams.pageContext,
|
|
1060
|
-
configureObj: gridParams.configureObj
|
|
1061
|
-
})
|
|
1062
|
-
} else {
|
|
1063
|
-
canDelete = gridParams.options.lineEditOptions.beforeDelete.call(
|
|
1064
|
-
this,
|
|
1065
|
-
rowIndex,
|
|
1066
|
-
gridParams.gridData[rowIndex],
|
|
1067
|
-
gridData,
|
|
1068
|
-
isMobile,
|
|
1069
|
-
this.baseURL,
|
|
1070
|
-
isSubTableShowPage ? gridParams.gridData : null,
|
|
1071
|
-
pageSize,
|
|
1072
|
-
gridParams.additionalParamMap
|
|
1073
|
-
)
|
|
1074
|
-
}
|
|
1075
|
-
}
|
|
1076
|
-
if (canDelete === undefined || canDelete === true) {
|
|
1077
|
-
if (!this.wfSubTableDeleteRowConditionParse(gridParams, this.parentFormData, gridParams.gridData[rowIndex])) {
|
|
1078
|
-
return
|
|
1079
|
-
}
|
|
1080
|
-
if (gridParams.isSubTableShowPage !== undefined && gridParams.isSubTableShowPage === true) {
|
|
1081
|
-
// 子表集合添加该新建的行。会触发watch subTableData的监控
|
|
1082
|
-
gridParams.isDelete = true
|
|
1083
|
-
const lastPageRowIndex = (this.currentPage - 1) * this.pageSize
|
|
1084
|
-
const subTableRowIndex = lastPageRowIndex + rowIndex
|
|
1085
|
-
|
|
1086
|
-
gridParams.subTableData.splice(subTableRowIndex, 1)
|
|
1087
|
-
} else {
|
|
1088
|
-
gridParams.gridData.splice(rowIndex, 1)
|
|
1089
|
-
gridParams.orgGridData.splice(rowIndex, 1)
|
|
1090
|
-
}
|
|
1091
|
-
// TODO 注释下面的代码,是因为表单子表删除记录时会造成未保存新增的记录的字段被清空的问题,不知道当时为什么要加这个代码
|
|
1092
|
-
// Object.assign(gridParams.gridData, gridParams.orgGridData)
|
|
1093
|
-
gridParams.$lastSaveRowIndex = null
|
|
1094
|
-
gridParams.$rowIndex = null
|
|
1095
|
-
gridParams.isEditRow = false
|
|
1096
|
-
window.$vueApp.config.globalProperties.$message({
|
|
1097
|
-
showClose: true,
|
|
1098
|
-
message: getI18n().t('superGrid.deleteSuccessful'),
|
|
1099
|
-
type: 'success'
|
|
1100
|
-
})
|
|
1101
|
-
if (gridParams.gridData.length === 0) {
|
|
1102
|
-
if (
|
|
1103
|
-
gridParams.options &&
|
|
1104
|
-
gridParams.options.isDefaultShowEdit !== null &&
|
|
1105
|
-
gridParams.options.isDefaultShowEdit !== undefined &&
|
|
1106
|
-
gridParams.options.isDefaultShowEdit === true
|
|
1107
|
-
) {
|
|
1108
|
-
// 表示没有记录时,需要创建新行
|
|
1109
|
-
this.createRow(listCode)
|
|
1110
|
-
}
|
|
1111
|
-
}
|
|
1112
|
-
if (gridParams.isMulitiSelect) {
|
|
1113
|
-
gridParams.superGrid?.clearSelection?.()
|
|
1114
|
-
}
|
|
1115
|
-
gridParams.isCreateRow = false
|
|
1116
|
-
if (isRestore === undefined || !isRestore) {
|
|
1117
|
-
// 表示是删除操作,执行删除记录后回调
|
|
1118
|
-
if (isEditOptionFunction('afterDelete', listCode)) {
|
|
1119
|
-
const isSubTableShowPage = gridParams.isSubTableShowPage
|
|
1120
|
-
// 每页显示多少条
|
|
1121
|
-
const pageSize = gridParams.pagination && gridParams.pagination.pageSize
|
|
1122
|
-
const isMobile = this.isMobile
|
|
1123
|
-
if (gridParams.pageContext) {
|
|
1124
|
-
gridParams.options.lineEditOptions.afterDelete.call(this, {
|
|
1125
|
-
rowIndex,
|
|
1126
|
-
row: gridParams.orgGridData[rowIndex],
|
|
1127
|
-
gridData: isSubTableShowPage ? gridParams.subTableData : gridParams.gridData,
|
|
1128
|
-
isMobile,
|
|
1129
|
-
baseURL: this.baseURL,
|
|
1130
|
-
totalData: isSubTableShowPage ? gridParams.gridData : null,
|
|
1131
|
-
pageSize,
|
|
1132
|
-
additionalParamMap: gridParams.additionalParamMap,
|
|
1133
|
-
pageContext: gridParams.pageContext,
|
|
1134
|
-
configureObj: gridParams.configureObj
|
|
1135
|
-
})
|
|
1136
|
-
} else {
|
|
1137
|
-
gridParams.options.lineEditOptions.afterDelete.call(
|
|
1138
|
-
this,
|
|
1139
|
-
rowIndex,
|
|
1140
|
-
gridParams.orgGridData[rowIndex],
|
|
1141
|
-
isSubTableShowPage ? gridParams.subTableData : gridParams.gridData,
|
|
1142
|
-
isMobile,
|
|
1143
|
-
this.baseURL,
|
|
1144
|
-
isSubTableShowPage ? gridParams.gridData : null,
|
|
1145
|
-
pageSize,
|
|
1146
|
-
gridParams.additionalParamMap
|
|
1147
|
-
)
|
|
1148
|
-
}
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
|
|
1153
|
-
resolve()
|
|
1154
|
-
})
|
|
1155
|
-
},
|
|
1156
|
-
getDeleteIndexes(dataArr, deleteRows, rowKey) {
|
|
1157
|
-
const indexes = []
|
|
1158
|
-
dataArr.forEach((row, index) => {
|
|
1159
|
-
if (indexes.length === deleteRows.length) return
|
|
1160
|
-
for (const delRow of deleteRows) {
|
|
1161
|
-
if (row[rowKey] === delRow[rowKey]) {
|
|
1162
|
-
indexes.push(index)
|
|
1163
|
-
break
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
})
|
|
1167
|
-
return indexes.sort((a, b) => b - a)
|
|
1168
|
-
},
|
|
1169
|
-
batchDeleteSubTableRowApi(listCode, deleteRows, rowKey) {
|
|
1170
|
-
return new Promise((resolve, reject) => {
|
|
1171
|
-
deleteRows = deleteRows || []
|
|
1172
|
-
if (!deleteRows.length) {
|
|
1173
|
-
window.$vueApp.config.globalProperties.$message({
|
|
1174
|
-
showClose: true,
|
|
1175
|
-
message: getI18n().t('imatrixUIMessage.pleaseSelectDeleteData'),
|
|
1176
|
-
type: 'warning'
|
|
1177
|
-
})
|
|
1178
|
-
resolve()
|
|
1179
|
-
return
|
|
1180
|
-
}
|
|
1181
|
-
listCode = listCode || store.get('_list_code')
|
|
1182
|
-
const gridParams = store.get(listCode)
|
|
1183
|
-
let canDelete = true
|
|
1184
|
-
// 删除行记录前的回调
|
|
1185
|
-
if (isEditOptionFunction('beforeDelete', listCode)) {
|
|
1186
|
-
const isSubTableShowPage = gridParams.isSubTableShowPage
|
|
1187
|
-
// 每页显示多少条
|
|
1188
|
-
const pageSize = gridParams.pagination && gridParams.pagination.pageSize
|
|
1189
|
-
const gridData = isSubTableShowPage ? gridParams.subTableData : gridParams.gridData
|
|
1190
|
-
const isMobile = this.isMobile
|
|
1191
|
-
if (gridParams.pageContext) {
|
|
1192
|
-
canDelete = gridParams.options.lineEditOptions.beforeDelete.call(this, {
|
|
1193
|
-
deleteRows: deleteRows,
|
|
1194
|
-
gridData,
|
|
1195
|
-
isMobile,
|
|
1196
|
-
baseURL: this.baseURL,
|
|
1197
|
-
totalData: isSubTableShowPage ? gridParams.gridData : null,
|
|
1198
|
-
pageSize,
|
|
1199
|
-
additionalParamMap: gridParams.additionalParamMap,
|
|
1200
|
-
pageContext: gridParams.pageContext,
|
|
1201
|
-
configureObj: gridParams.configureObj
|
|
1202
|
-
})
|
|
1203
|
-
} else {
|
|
1204
|
-
canDelete = gridParams.options.lineEditOptions.beforeDelete.call(
|
|
1205
|
-
this,
|
|
1206
|
-
deleteRows,
|
|
1207
|
-
gridData,
|
|
1208
|
-
isMobile,
|
|
1209
|
-
this.baseURL,
|
|
1210
|
-
isSubTableShowPage ? gridParams.gridData : null,
|
|
1211
|
-
pageSize,
|
|
1212
|
-
gridParams.additionalParamMap
|
|
1213
|
-
)
|
|
1214
|
-
}
|
|
1215
|
-
}
|
|
1216
|
-
if (canDelete === undefined || canDelete === true) {
|
|
1217
|
-
let deleteIndexs = []
|
|
1218
|
-
if (gridParams.isSubTableShowPage !== undefined && gridParams.isSubTableShowPage === true) {
|
|
1219
|
-
// 子表集合添加该新建的行。会触发watch subTableData的监控
|
|
1220
|
-
gridParams.isDelete = true
|
|
1221
|
-
deleteIndexs = this.getDeleteIndexes(gridParams.subTableData, deleteRows, rowKey)
|
|
1222
|
-
for (const idx of deleteIndexs) {
|
|
1223
|
-
if (
|
|
1224
|
-
!this.wfSubTableDeleteRowConditionParse(gridParams, this.parentFormData, gridParams.subTableData[idx])
|
|
1225
|
-
) {
|
|
1226
|
-
return
|
|
1227
|
-
}
|
|
1228
|
-
gridParams.subTableData.splice(idx, 1)
|
|
1229
|
-
}
|
|
1230
|
-
} else {
|
|
1231
|
-
deleteIndexs = this.getDeleteIndexes(gridParams.gridData, deleteRows, rowKey)
|
|
1232
|
-
for (const idx of deleteIndexs) {
|
|
1233
|
-
if (!this.wfSubTableDeleteRowConditionParse(gridParams, this.parentFormData, gridParams.gridData[idx])) {
|
|
1234
|
-
return
|
|
1235
|
-
}
|
|
1236
|
-
gridParams.gridData.splice(idx, 1)
|
|
1237
|
-
gridParams.orgGridData.splice(idx, 1)
|
|
1238
|
-
}
|
|
1239
|
-
}
|
|
1240
|
-
// TODO 注释下面的代码,是因为表单子表删除记录时会造成未保存新增的记录的字段被清空的问题,不知道当时为什么要加这个代码
|
|
1241
|
-
// Object.assign(gridParams.gridData, gridParams.orgGridData)
|
|
1242
|
-
gridParams.$lastSaveRowIndex = null
|
|
1243
|
-
gridParams.$rowIndex = null
|
|
1244
|
-
gridParams.isEditRow = false
|
|
1245
|
-
window.$vueApp.config.globalProperties.$message({
|
|
1246
|
-
showClose: true,
|
|
1247
|
-
message: getI18n().t('superGrid.deleteSuccessful'),
|
|
1248
|
-
type: 'success'
|
|
1249
|
-
})
|
|
1250
|
-
if (gridParams.gridData.length === 0) {
|
|
1251
|
-
if (
|
|
1252
|
-
gridParams.options &&
|
|
1253
|
-
gridParams.options.isDefaultShowEdit !== null &&
|
|
1254
|
-
gridParams.options.isDefaultShowEdit !== undefined &&
|
|
1255
|
-
gridParams.options.isDefaultShowEdit === true
|
|
1256
|
-
) {
|
|
1257
|
-
// 表示没有记录时,需要创建新行
|
|
1258
|
-
this.createRow(listCode)
|
|
1259
|
-
}
|
|
1260
|
-
}
|
|
1261
|
-
if (gridParams.isMulitiSelect) {
|
|
1262
|
-
gridParams.superGrid?.clearSelection?.()
|
|
1263
|
-
}
|
|
1264
|
-
gridParams.isCreateRow = false
|
|
1265
|
-
if (isRestore === undefined || !isRestore) {
|
|
1266
|
-
// 表示是删除操作,执行删除记录后回调
|
|
1267
|
-
if (isEditOptionFunction('afterDelete', listCode)) {
|
|
1268
|
-
const isSubTableShowPage = gridParams.isSubTableShowPage
|
|
1269
|
-
// 每页显示多少条
|
|
1270
|
-
const pageSize = gridParams.pagination && gridParams.pagination.pageSize
|
|
1271
|
-
const isMobile = this.isMobile
|
|
1272
|
-
if (gridParams.pageContext) {
|
|
1273
|
-
gridParams.options.lineEditOptions.afterDelete.call(this, {
|
|
1274
|
-
deleteRows: deleteRows,
|
|
1275
|
-
gridData: isSubTableShowPage ? gridParams.subTableData : gridParams.gridData,
|
|
1276
|
-
isMobile,
|
|
1277
|
-
baseURL: this.baseURL,
|
|
1278
|
-
totalData: isSubTableShowPage ? gridParams.gridData : null,
|
|
1279
|
-
pageSize,
|
|
1280
|
-
additionalParamMap: gridParams.additionalParamMap,
|
|
1281
|
-
pageContext: gridParams.pageContext,
|
|
1282
|
-
configureObj: gridParams.configureObj
|
|
1283
|
-
})
|
|
1284
|
-
} else {
|
|
1285
|
-
gridParams.options.lineEditOptions.afterDelete.call(
|
|
1286
|
-
this,
|
|
1287
|
-
deleteRows,
|
|
1288
|
-
isSubTableShowPage ? gridParams.subTableData : gridParams.gridData,
|
|
1289
|
-
isMobile,
|
|
1290
|
-
this.baseURL,
|
|
1291
|
-
isSubTableShowPage ? gridParams.gridData : null,
|
|
1292
|
-
pageSize,
|
|
1293
|
-
gridParams.additionalParamMap
|
|
1294
|
-
)
|
|
1295
|
-
}
|
|
1296
|
-
}
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1299
|
-
resolve()
|
|
1300
|
-
})
|
|
1301
|
-
},
|
|
1302
|
-
// 行编辑时,点击自定义组件时,使当前行获得焦点
|
|
1303
|
-
focus(rowIndex, listCode) {
|
|
1304
|
-
setCurrentRow(rowIndex, listCode)
|
|
1305
|
-
},
|
|
1306
|
-
// 获得列表所有数据
|
|
1307
|
-
getGridData(listCode) {
|
|
1308
|
-
if (!listCode) {
|
|
1309
|
-
listCode = store.get('_list_code')
|
|
1310
|
-
}
|
|
1311
|
-
const gridParams = store.get(listCode)
|
|
1312
|
-
const isSubTableShowPage = gridParams.isSubTableShowPage
|
|
1313
|
-
if (isSubTableShowPage) {
|
|
1314
|
-
return gridParams.subTableData
|
|
1315
|
-
} else {
|
|
1316
|
-
return gridParams.gridData
|
|
1317
|
-
}
|
|
1318
|
-
},
|
|
1319
|
-
// 获得字段配置
|
|
1320
|
-
getColumns(listCode) {
|
|
1321
|
-
if (!listCode) {
|
|
1322
|
-
listCode = store.get('_list_code')
|
|
1323
|
-
}
|
|
1324
|
-
const gridParams = store.get(listCode)
|
|
1325
|
-
return gridParams.columns
|
|
1326
|
-
},
|
|
1327
|
-
getPagination(listCode) {
|
|
1328
|
-
if (!listCode) {
|
|
1329
|
-
listCode = store.get('_list_code')
|
|
1330
|
-
}
|
|
1331
|
-
const gridParams = store.get(listCode)
|
|
1332
|
-
return gridParams.pagination
|
|
1333
|
-
},
|
|
1334
|
-
// 获得该列表中,下拉选是选项组的字段信息,返回的key是属性名,value是选项集合
|
|
1335
|
-
getOptionsValueSet(listCode) {
|
|
1336
|
-
const result = {}
|
|
1337
|
-
if (!listCode) {
|
|
1338
|
-
listCode = store.get('_list_code')
|
|
1339
|
-
}
|
|
1340
|
-
const gridParams = store.get(listCode)
|
|
1341
|
-
const columns = gridParams.columns
|
|
1342
|
-
columns.forEach((col) => {
|
|
1343
|
-
const prop = col.prop
|
|
1344
|
-
const isDynamicDataSource = isDynamicDataSourceSource(col)
|
|
1345
|
-
if (!isDynamicDataSource && col.valueSet && col.valueSet.length > 0) {
|
|
1346
|
-
result[prop] = col.valueSet
|
|
1347
|
-
}
|
|
1348
|
-
})
|
|
1349
|
-
return result
|
|
1350
|
-
},
|
|
1351
|
-
// 获得该列表中,下拉选是选项组的字段信息,返回的key是属性名,value是选项集合
|
|
1352
|
-
getTableSelectOptions(listCode) {
|
|
1353
|
-
const result = {}
|
|
1354
|
-
if (!listCode) {
|
|
1355
|
-
listCode = store.get('_list_code')
|
|
1356
|
-
}
|
|
1357
|
-
const gridParams = store.get(listCode)
|
|
1358
|
-
const columns = gridParams.columns
|
|
1359
|
-
columns.forEach((col) => {
|
|
1360
|
-
const prop = col.prop
|
|
1361
|
-
const isDynamicDataSource = isDynamicDataSourceSource(col)
|
|
1362
|
-
if (!isDynamicDataSource && col.valueSet && col.valueSet.length > 0) {
|
|
1363
|
-
result[prop] = {
|
|
1364
|
-
options: col.valueSet,
|
|
1365
|
-
column: col
|
|
1366
|
-
}
|
|
1367
|
-
}
|
|
1368
|
-
})
|
|
1369
|
-
return result
|
|
1370
|
-
},
|
|
1371
|
-
// 取消列表的编辑状态
|
|
1372
|
-
restoreGridEdit(listCode) {
|
|
1373
|
-
if (!listCode) {
|
|
1374
|
-
listCode = store.get('_list_code')
|
|
1375
|
-
}
|
|
1376
|
-
const gridParams = store.get(listCode)
|
|
1377
|
-
if (gridParams.options && gridParams.options.isFormSubTable) {
|
|
1378
|
-
const isSubTableShowPage = gridParams.isSubTableShowPage
|
|
1379
|
-
let gridData = []
|
|
1380
|
-
if (isSubTableShowPage) {
|
|
1381
|
-
gridData = gridParams.subTableData
|
|
1382
|
-
} else {
|
|
1383
|
-
gridData = gridParams.gridData
|
|
1384
|
-
}
|
|
1385
|
-
if (gridData && gridData.length > 0) {
|
|
1386
|
-
for (let i = 0; i < gridData.length; i++) {
|
|
1387
|
-
const row = gridData[i]
|
|
1388
|
-
// 取消最后一个编辑行的状态
|
|
1389
|
-
if (row.$editing !== undefined && row.$editing === true) {
|
|
1390
|
-
setEntityFieldValue(row, '$editing', false)
|
|
1391
|
-
// 取消上一行选中状态时,触发un-edit事件,处理下拉多选选项组问题
|
|
1392
|
-
$emit(eventBus, 'un-edit', { row: row })
|
|
1393
|
-
break
|
|
1394
|
-
}
|
|
1395
|
-
}
|
|
1396
|
-
}
|
|
1397
|
-
}
|
|
1398
|
-
},
|
|
1399
|
-
// api方法,super-pages中有调用该方法
|
|
1400
|
-
closePageDialog(popParams) {
|
|
1401
|
-
// popParams格式为:{ entity, pageCode }
|
|
1402
|
-
console.log('列表组件--closePageDialog---this.jumpPageSetting=', this.jumpPageSetting)
|
|
1403
|
-
if (this.jumpPageSetting) {
|
|
1404
|
-
// 调用关闭弹框事件
|
|
1405
|
-
const gridParams = store.get(this.code)
|
|
1406
|
-
const closeEventName = this.jumpPageSetting.closeEvent
|
|
1407
|
-
const row = this.jumpPageSetting.row
|
|
1408
|
-
let closeEvent
|
|
1409
|
-
if (
|
|
1410
|
-
gridParams.options.eventCallBack &&
|
|
1411
|
-
closeEventName &&
|
|
1412
|
-
closeEventName !== null &&
|
|
1413
|
-
gridParams.options.eventCallBack[closeEventName]
|
|
1414
|
-
) {
|
|
1415
|
-
// 表单页面中子表自定义事件集合
|
|
1416
|
-
closeEvent = gridParams.options.eventCallBack[closeEventName]
|
|
1417
|
-
}
|
|
1418
|
-
if (closeEvent) {
|
|
1419
|
-
const params = {
|
|
1420
|
-
params: gridParams.additionalParamMap,
|
|
1421
|
-
additionalParamMap: gridParams.additionalParamMap,
|
|
1422
|
-
entity: row
|
|
1423
|
-
}
|
|
1424
|
-
if (popParams) {
|
|
1425
|
-
params.eventParams = {
|
|
1426
|
-
popEntity: popParams.entity,
|
|
1427
|
-
popPageCode: popParams.pageCode,
|
|
1428
|
-
pageCode: this.pageCode
|
|
1429
|
-
}
|
|
1430
|
-
}
|
|
1431
|
-
closeEvent.call(this, params)
|
|
1432
|
-
if (popParams.jumpInfo && popParams.jumpInfo.successOperation === 'closeWindowAndRefresh') {
|
|
1433
|
-
this.refresh()
|
|
1434
|
-
}
|
|
1435
|
-
}
|
|
1436
|
-
const isRefreshWhenClosePopup = this.jumpPageSetting.isRefreshWhenClosePopup
|
|
1437
|
-
if (isRefreshWhenClosePopup !== undefined && isRefreshWhenClosePopup === true) {
|
|
1438
|
-
// 关闭弹框时,刷新父页面列表
|
|
1439
|
-
const gridParams = store.get(this.code)
|
|
1440
|
-
this.search(gridParams.searchForm)
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
|
-
this.isShowPageDialog = false
|
|
1444
|
-
this.jumpPageSetting = null
|
|
1445
|
-
},
|
|
1446
|
-
updateValues(sourceModel, sourceTableName, targetRowIndex) {
|
|
1447
|
-
// TODO 值更新
|
|
1448
|
-
const gridParams = store.get(this.code)
|
|
1449
|
-
const editRowIndex = targetRowIndex
|
|
1450
|
-
if (editRowIndex !== undefined && editRowIndex !== null && editRowIndex < this.gridData.length) {
|
|
1451
|
-
// 返回true表示不需要替换字段,false表示需要替换字段
|
|
1452
|
-
const isNotNeedReplaceFieldName =
|
|
1453
|
-
this.isSql === false ||
|
|
1454
|
-
(gridParams.options &&
|
|
1455
|
-
((gridParams.options.isAdministerListView !== undefined &&
|
|
1456
|
-
gridParams.options.isAdministerListView === true) ||
|
|
1457
|
-
(gridParams.options.isFormSubTable !== undefined && gridParams.options.isFormSubTable === true)))
|
|
1458
|
-
const tableName = this.tableName
|
|
1459
|
-
updateWithPageValue(
|
|
1460
|
-
sourceModel,
|
|
1461
|
-
sourceTableName,
|
|
1462
|
-
this.jumpPageSetting,
|
|
1463
|
-
this.gridData[editRowIndex],
|
|
1464
|
-
tableName,
|
|
1465
|
-
!isNotNeedReplaceFieldName
|
|
1466
|
-
)
|
|
1467
|
-
const updateValueEventName =
|
|
1468
|
-
this.jumpPageSetting && this.jumpPageSetting.updateValueEvent ? this.jumpPageSetting.updateValueEvent : null
|
|
1469
|
-
let updateValueEvent
|
|
1470
|
-
if (
|
|
1471
|
-
gridParams.options.eventCallBack &&
|
|
1472
|
-
updateValueEventName &&
|
|
1473
|
-
updateValueEventName !== null &&
|
|
1474
|
-
gridParams.options.eventCallBack[updateValueEventName]
|
|
1475
|
-
) {
|
|
1476
|
-
// 表单页面中子表自定义事件集合
|
|
1477
|
-
updateValueEvent = gridParams.options.eventCallBack[updateValueEventName]
|
|
1478
|
-
}
|
|
1479
|
-
if (updateValueEvent) {
|
|
1480
|
-
updateValueEvent.call(this, {
|
|
1481
|
-
sourceModel,
|
|
1482
|
-
sourceTableName,
|
|
1483
|
-
jumpPageSetting: this.jumpPageSetting,
|
|
1484
|
-
entity: this.gridData[editRowIndex],
|
|
1485
|
-
targetTableName: tableName,
|
|
1486
|
-
isNeedReplaceFieldName: !isNotNeedReplaceFieldName,
|
|
1487
|
-
additionalParamMap: gridParams.additionalParamMap
|
|
1488
|
-
})
|
|
1489
|
-
}
|
|
1490
|
-
}
|
|
1491
|
-
},
|
|
1492
|
-
refreshChildData(listCode, gridData, isShowPageArea) {
|
|
1493
|
-
const gridParams = store.get(listCode)
|
|
1494
|
-
if (isShowPageArea === undefined || isShowPageArea === null || isShowPageArea === false) {
|
|
1495
|
-
// 子表不分页
|
|
1496
|
-
// console.log('refreshChildData111====', listCode + 'listCode', gridData)
|
|
1497
|
-
gridParams.gridData = gridData
|
|
1498
|
-
this.gridData = gridData
|
|
1499
|
-
} else {
|
|
1500
|
-
// 子表分页
|
|
1501
|
-
// console.log('refreshChildData222====', listCode + 'listCode', gridData)
|
|
1502
|
-
gridParams.subTableData = gridData
|
|
1503
|
-
this.subTableData = gridData
|
|
1504
|
-
}
|
|
1505
|
-
},
|
|
1506
|
-
// 获得默认值字段集合
|
|
1507
|
-
getDefaultValueColumns(listCode) {
|
|
1508
|
-
const defaultValueColumnsMap = {}
|
|
1509
|
-
const gridParams = store.get(listCode)
|
|
1510
|
-
const defaultValueColumns = gridParams.defaultValueColumns
|
|
1511
|
-
if (defaultValueColumns && defaultValueColumns.length > 0) {
|
|
1512
|
-
defaultValueColumns.forEach((column) => {
|
|
1513
|
-
defaultValueColumnsMap[column.prop] = column.defaultValue
|
|
1514
|
-
})
|
|
1515
|
-
}
|
|
1516
|
-
return defaultValueColumnsMap
|
|
1517
|
-
},
|
|
1518
|
-
// 重新刷新子表数据
|
|
1519
|
-
reloadSubTableData(listCode) {
|
|
1520
|
-
const gridParams = store.get(listCode)
|
|
1521
|
-
gridParams.options['subTableData'] = null
|
|
1522
|
-
this.fetchListData()
|
|
1523
|
-
},
|
|
1524
|
-
/**
|
|
1525
|
-
* v10 行编辑时动态控制字段的编辑权限
|
|
1526
|
-
* @param pageContext 页面解析的上下文对象
|
|
1527
|
-
* @param customRules 格式如下:
|
|
1528
|
-
* [
|
|
1529
|
-
{
|
|
1530
|
-
name: '_all_fields', // _all_fields 表示所有字段
|
|
1531
|
-
disabled: true,
|
|
1532
|
-
required: true,
|
|
1533
|
-
rules: [
|
|
1534
|
-
{
|
|
1535
|
-
required: true,
|
|
1536
|
-
trigger: 'blur'
|
|
1537
|
-
},
|
|
1538
|
-
{
|
|
1539
|
-
type: 'email',
|
|
1540
|
-
trigger: ['blur', 'change']
|
|
1541
|
-
}
|
|
1542
|
-
]
|
|
1543
|
-
},
|
|
1544
|
-
{
|
|
1545
|
-
name: 'xxxx',
|
|
1546
|
-
disabled: true,
|
|
1547
|
-
required: true,
|
|
1548
|
-
rules: [
|
|
1549
|
-
{
|
|
1550
|
-
required: true,
|
|
1551
|
-
message: 'Please input email address',
|
|
1552
|
-
trigger: 'blur'
|
|
1553
|
-
},
|
|
1554
|
-
{
|
|
1555
|
-
type: 'email',
|
|
1556
|
-
message: 'Please input correct email address',
|
|
1557
|
-
trigger: ['blur', 'change']
|
|
1558
|
-
}
|
|
1559
|
-
]
|
|
1560
|
-
}
|
|
1561
|
-
]
|
|
1562
|
-
*/
|
|
1563
|
-
dynamicControlTableEdit(pageContext, customRules, listCode) {
|
|
1564
|
-
const gridParams = store.get(listCode)
|
|
1565
|
-
// console.log('dynamicControlTableEdit----customRules-----', customRules, gridParams.options.customRules)
|
|
1566
|
-
if (!customRules) {
|
|
1567
|
-
return
|
|
1568
|
-
}
|
|
1569
|
-
let gridCustomRules = {}
|
|
1570
|
-
if (gridParams.options.customRules) {
|
|
1571
|
-
gridCustomRules = JSON.parse(JSON.stringify(gridParams.options.customRules))
|
|
1572
|
-
}
|
|
1573
|
-
customRules.forEach((item) => {
|
|
1574
|
-
const copyItem = JSON.parse(JSON.stringify(item))
|
|
1575
|
-
const prop = item.name
|
|
1576
|
-
// 当前列新的自定义规则集合
|
|
1577
|
-
let columnRules
|
|
1578
|
-
if (!gridCustomRules[prop]) {
|
|
1579
|
-
gridCustomRules[prop] = {}
|
|
1580
|
-
}
|
|
1581
|
-
// console.log('dynamicControlTableEdit----gridCustomRules111-----', gridCustomRules)
|
|
1582
|
-
// 获得当前列已有的自定义规则集合
|
|
1583
|
-
columnRules = gridCustomRules[prop].rules
|
|
1584
|
-
|
|
1585
|
-
if (copyItem.rules) {
|
|
1586
|
-
if (!columnRules) {
|
|
1587
|
-
columnRules = []
|
|
1588
|
-
}
|
|
1589
|
-
// 将当前列自定义规则集合拼接到已有的自定义规则集合中
|
|
1590
|
-
columnRules = columnRules.concat(copyItem.rules)
|
|
1591
|
-
}
|
|
1592
|
-
// 当前列总的自定义规则更新
|
|
1593
|
-
copyItem.rules = columnRules
|
|
1594
|
-
// this.options.customRules[prop] = copyItem
|
|
1595
|
-
if (!gridParams.options.customRules) {
|
|
1596
|
-
gridParams.options.customRules = {}
|
|
1597
|
-
}
|
|
1598
|
-
copyItem.beforeValidate = item.beforeValidate
|
|
1599
|
-
// console.log('dynamicControlTableEdit----gridParams.options.customRules222-----', gridParams.options.customRules)
|
|
1600
|
-
gridParams.options.customRules[prop] = copyItem
|
|
1601
|
-
})
|
|
1602
|
-
// console.log('dynamicControlTableEdit----gridParams.options.customRules333-----', gridParams.options.customRules)
|
|
1603
|
-
},
|
|
1604
|
-
doLayout(hiddenColumns, listCode) {
|
|
1605
|
-
if (!listCode) {
|
|
1606
|
-
listCode = this.code
|
|
1607
|
-
}
|
|
1608
|
-
const gridParams = store.get(listCode)
|
|
1609
|
-
const orgHiddenColumns = gridParams.hiddenColumns
|
|
1610
|
-
// console.log('doLayout----orgHiddenColumns=', orgHiddenColumns)
|
|
1611
|
-
if (hiddenColumns && hiddenColumns.length > 0) {
|
|
1612
|
-
let hiddenColumnsResult = orgHiddenColumns
|
|
1613
|
-
if (!hiddenColumnsResult) {
|
|
1614
|
-
hiddenColumnsResult = []
|
|
1615
|
-
}
|
|
1616
|
-
if (hiddenColumnsResult.length === 0) {
|
|
1617
|
-
hiddenColumnsResult = hiddenColumns
|
|
1618
|
-
} else {
|
|
1619
|
-
hiddenColumns.forEach((prop) => {
|
|
1620
|
-
if (hiddenColumnsResult.indexOf(prop) < 0) {
|
|
1621
|
-
// 去重处理
|
|
1622
|
-
hiddenColumnsResult.push(prop)
|
|
1623
|
-
}
|
|
1624
|
-
})
|
|
1625
|
-
}
|
|
1626
|
-
// console.log('doLayout----hiddenColumnsResult=', hiddenColumnsResult)
|
|
1627
|
-
this.options.hiddenColumns = hiddenColumnsResult
|
|
1628
|
-
} else {
|
|
1629
|
-
this.options.hiddenColumns = orgHiddenColumns
|
|
1630
|
-
}
|
|
1631
|
-
if (this.$refs && this.$refs.superGrid) {
|
|
1632
|
-
this.$refs.superGrid.doLayout()
|
|
1633
|
-
}
|
|
1634
|
-
},
|
|
1635
|
-
getCustomFunc(funcName) {
|
|
1636
|
-
window.$PageUtil.getCustomFunc(this.pageContext, funcName)
|
|
1637
|
-
},
|
|
1638
|
-
addRequiredClass(fieldName, listCode, rowIndex, pageNum) {
|
|
1639
|
-
const gridParams = store.get(listCode)
|
|
1640
|
-
if (this.isFormSubTable && this.isSubTableShowPage) {
|
|
1641
|
-
rowIndex = rowIndex - 1
|
|
1642
|
-
if (pageNum !== this.currentPage) {
|
|
1643
|
-
this.currentPage = pageNum
|
|
1644
|
-
this.changePage(pageNum)
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1647
|
-
gridParams.gridData[rowIndex]['validateErrorField'] = fieldName
|
|
1648
|
-
},
|
|
1649
|
-
/**
|
|
1650
|
-
* 手动执行自定义查询
|
|
1651
|
-
* @param {Array} searchableColumns 查询字段集合
|
|
1652
|
-
* @param {object} searchData 查询值对象。例如:{'DEPT_CODE':'xxx','DEPT_NAME':'xxxx'}
|
|
1653
|
-
*/
|
|
1654
|
-
handleSearch(searchableColumns, searchData) {
|
|
1655
|
-
const searchForm = this.packageSearchParamNormalType(searchableColumns, searchData)
|
|
1656
|
-
this.doSearch(searchForm)
|
|
1657
|
-
},
|
|
1658
|
-
wfSubTableDeleteRowConditionParse(gridParams, parentFormData, row) {
|
|
1659
|
-
const canDelete = parseSubTableActionCondition(
|
|
1660
|
-
gridParams,
|
|
1661
|
-
parentFormData,
|
|
1662
|
-
row,
|
|
1663
|
-
gridParams.options.actionPermission?.deleteCondition
|
|
1664
|
-
)
|
|
1665
|
-
if (canDelete === false) {
|
|
1666
|
-
window.$vueApp.config.globalProperties.$message({
|
|
1667
|
-
showClose: true,
|
|
1668
|
-
message: getI18n().t('superGrid.rowCanntDeleteTip'),
|
|
1669
|
-
type: 'warning'
|
|
1670
|
-
})
|
|
1671
|
-
return false
|
|
1672
|
-
}
|
|
1673
|
-
return true
|
|
1674
|
-
}
|
|
1675
|
-
}
|
|
1676
|
-
export default apis
|
|
1677
|
-
|
|
1678
|
-
export const apisMixin = {
|
|
1679
|
-
data() {
|
|
1680
|
-
return {
|
|
1681
|
-
toolbarFieldParam: null,
|
|
1682
|
-
showSearch: false,
|
|
1683
|
-
isMobile: false,
|
|
1684
|
-
baseURL: '',
|
|
1685
|
-
currentPage: 1,
|
|
1686
|
-
pageSize: 10,
|
|
1687
|
-
code: '',
|
|
1688
|
-
pageCode: '',
|
|
1689
|
-
jumpPageSetting: null,
|
|
1690
|
-
isShowPageDialog: false,
|
|
1691
|
-
gridData: [],
|
|
1692
|
-
subTableData: [],
|
|
1693
|
-
searchForm: [],
|
|
1694
|
-
options: {},
|
|
1695
|
-
lineEdit: null,
|
|
1696
|
-
loaded: false,
|
|
1697
|
-
configureObj: {},
|
|
1698
|
-
additionalParamMap: {},
|
|
1699
|
-
basicInfo: {},
|
|
1700
|
-
dynamicColumnInfo: {},
|
|
1701
|
-
$dataTypeMap: {},
|
|
1702
|
-
mainDefaultValueColumns: [],
|
|
1703
|
-
dynamicServiceName: '',
|
|
1704
|
-
isHasDynamic: false,
|
|
1705
|
-
isMulitiSelect: false,
|
|
1706
|
-
sql: false,
|
|
1707
|
-
restoreCurrentRowTimer: null
|
|
1708
|
-
}
|
|
1709
|
-
},
|
|
1710
|
-
methods: {
|
|
1711
|
-
...apis
|
|
1712
|
-
}
|
|
1713
|
-
}
|