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,2158 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div
|
|
3
|
-
v-if="type && type.indexOf('custom:') >= 0 && componentName != ''"
|
|
4
|
-
:class="
|
|
5
|
-
!this.isFormSubTable && row.validateErrorField && row.validateErrorField === column.prop ? 'required_bg' : ''
|
|
6
|
-
"
|
|
7
|
-
>
|
|
8
|
-
<component
|
|
9
|
-
:is="componentName"
|
|
10
|
-
ref="customItem"
|
|
11
|
-
:disabled="disabled"
|
|
12
|
-
:entity="row"
|
|
13
|
-
:grid-data="gridData"
|
|
14
|
-
:page-grid-data="pageGridData"
|
|
15
|
-
:additional-settings="controlConfig"
|
|
16
|
-
:parent="parentFormData"
|
|
17
|
-
:prop="column.prop"
|
|
18
|
-
:custom-params="myCustomParams"
|
|
19
|
-
:row="row"
|
|
20
|
-
:row-index="position ? position.row : null"
|
|
21
|
-
:select-options="options"
|
|
22
|
-
:value="innerValue"
|
|
23
|
-
:additional-param-map="additionalParamMap"
|
|
24
|
-
:listCode="listCode"
|
|
25
|
-
:component-id="componentId"
|
|
26
|
-
:page-context="pageContext"
|
|
27
|
-
@change="cellEvent('change', $event)"
|
|
28
|
-
@input="cellEvent('input', $event)"
|
|
29
|
-
/>
|
|
30
|
-
</div>
|
|
31
|
-
<div
|
|
32
|
-
v-else
|
|
33
|
-
:class="
|
|
34
|
-
!this.isFormSubTable && row.validateErrorField && row.validateErrorField === column.prop ? 'required_bg' : ''
|
|
35
|
-
"
|
|
36
|
-
>
|
|
37
|
-
<!--必须有@input ,否则无法输入值-->
|
|
38
|
-
<el-date-picker
|
|
39
|
-
v-if="type === 'year' || type === 'month' || type === 'week'"
|
|
40
|
-
ref="item"
|
|
41
|
-
v-model="innerValue"
|
|
42
|
-
:disabled="disabled"
|
|
43
|
-
:editable="false"
|
|
44
|
-
:format="isFormat()"
|
|
45
|
-
:placeholder="$t('imatrixUIMessage.selectTime')"
|
|
46
|
-
:type="type"
|
|
47
|
-
:value-format="isValueFormat()"
|
|
48
|
-
style="width: 100%"
|
|
49
|
-
@blur="cellEvent('blur', $event)"
|
|
50
|
-
@change="cellEvent('change', $event)"
|
|
51
|
-
@focus="cellEvent('focus', $event)"
|
|
52
|
-
@input="cellEvent('input', $event)"
|
|
53
|
-
/>
|
|
54
|
-
<el-date-picker
|
|
55
|
-
v-else-if="type === 'yearRange'"
|
|
56
|
-
ref="item"
|
|
57
|
-
v-model="innerValue"
|
|
58
|
-
:disabled="disabled"
|
|
59
|
-
:editable="false"
|
|
60
|
-
:placeholder="$t('imatrixUIMessage.selectYear')"
|
|
61
|
-
style="width: 100%"
|
|
62
|
-
type="year"
|
|
63
|
-
value-format="YYYY"
|
|
64
|
-
@blur="cellEvent('blur', $event)"
|
|
65
|
-
@change="cellEvent('change', $event)"
|
|
66
|
-
@focus="cellEvent('focus', $event)"
|
|
67
|
-
@input="cellEvent('input', $event)"
|
|
68
|
-
/>
|
|
69
|
-
<!--必须有@input ,否则无法输入值-->
|
|
70
|
-
<el-date-picker
|
|
71
|
-
v-else-if="type === 'dateTimePicker'"
|
|
72
|
-
ref="item"
|
|
73
|
-
v-model="innerValue"
|
|
74
|
-
:disabled="disabled"
|
|
75
|
-
:editable="false"
|
|
76
|
-
:format="isFormat()"
|
|
77
|
-
:placeholder="$t('imatrixUIMessage.selectTime')"
|
|
78
|
-
:value-format="isValueFormat()"
|
|
79
|
-
style="width: 100%"
|
|
80
|
-
type="datetime"
|
|
81
|
-
@blur="cellEvent('blur', $event)"
|
|
82
|
-
@change="cellEvent('change', $event)"
|
|
83
|
-
@focus="cellEvent('focus', $event)"
|
|
84
|
-
@input="cellEvent('input', $event)"
|
|
85
|
-
/>
|
|
86
|
-
<el-date-picker
|
|
87
|
-
v-else-if="type === 'date'"
|
|
88
|
-
ref="item"
|
|
89
|
-
v-model="innerValue"
|
|
90
|
-
:disabled="disabled"
|
|
91
|
-
:editable="false"
|
|
92
|
-
:format="isFormat()"
|
|
93
|
-
:picker-options="pickerOptions"
|
|
94
|
-
:placeholder="$t('imatrixUIMessage.selectionDate')"
|
|
95
|
-
:value-format="isValueFormat()"
|
|
96
|
-
style="width: 100%"
|
|
97
|
-
type="date"
|
|
98
|
-
@blur="cellEvent('blur', $event)"
|
|
99
|
-
@change="cellEvent('change', $event)"
|
|
100
|
-
@focus="cellEvent('focus', $event)"
|
|
101
|
-
@input="cellEvent('input', $event)"
|
|
102
|
-
/>
|
|
103
|
-
<el-time-picker
|
|
104
|
-
v-else-if="type === 'timePicker' || (type === 'input' && column.dataType === 'TIME')"
|
|
105
|
-
ref="item"
|
|
106
|
-
v-model="innerValue"
|
|
107
|
-
:disabled="disabled"
|
|
108
|
-
:format="isFormat()"
|
|
109
|
-
:placeholder="$t('imatrixUIMessage.pleaseEnterATimePoint')"
|
|
110
|
-
:value-format="isValueFormat()"
|
|
111
|
-
style="width: 100%"
|
|
112
|
-
@blur="cellEvent('blur', $event)"
|
|
113
|
-
@change="cellEvent('change', $event)"
|
|
114
|
-
@focus="cellEvent('focus', $event)"
|
|
115
|
-
@input="cellEvent('input', $event)"
|
|
116
|
-
/>
|
|
117
|
-
<!--必须有@input ,否则无法输入值-->
|
|
118
|
-
<el-date-picker
|
|
119
|
-
v-else-if="type === 'time'"
|
|
120
|
-
ref="item"
|
|
121
|
-
v-model="innerValue"
|
|
122
|
-
:disabled="disabled"
|
|
123
|
-
:editable="false"
|
|
124
|
-
:format="isFormat()"
|
|
125
|
-
:placeholder="$t('imatrixUIMessage.selectTime')"
|
|
126
|
-
:value-format="isValueFormat()"
|
|
127
|
-
style="width: 100%"
|
|
128
|
-
type="datetime"
|
|
129
|
-
@blur="cellEvent('blur', $event)"
|
|
130
|
-
@change="cellEvent('change', $event)"
|
|
131
|
-
@focus="cellEvent('focus', $event)"
|
|
132
|
-
@input="cellEvent('input', $event)"
|
|
133
|
-
/>
|
|
134
|
-
<el-date-picker
|
|
135
|
-
v-else-if="column.dataType === 'DATE'"
|
|
136
|
-
ref="item"
|
|
137
|
-
v-model="innerValue"
|
|
138
|
-
:disabled="disabled"
|
|
139
|
-
:editable="false"
|
|
140
|
-
:format="isFormat()"
|
|
141
|
-
:picker-options="pickerOptions"
|
|
142
|
-
:placeholder="$t('imatrixUIMessage.selectionDate')"
|
|
143
|
-
:value-format="isValueFormat()"
|
|
144
|
-
style="width: 100%"
|
|
145
|
-
type="date"
|
|
146
|
-
@blur="cellEvent('blur', $event)"
|
|
147
|
-
@change="cellEvent('change', $event)"
|
|
148
|
-
@focus="cellEvent('focus', $event)"
|
|
149
|
-
@input="cellEvent('input', $event)"
|
|
150
|
-
/>
|
|
151
|
-
<!--必须有@input ,否则无法输入值,如果是数字类型需要加上.number修饰符-->
|
|
152
|
-
<el-input
|
|
153
|
-
v-else-if="type === 'input' && (column.dataType === 'INTEGER' || column.dataType === 'LONG')"
|
|
154
|
-
ref="item"
|
|
155
|
-
v-model.number="innerValue"
|
|
156
|
-
:disabled="disabled"
|
|
157
|
-
:placeholder="$t('imatrixUIMessage.pleaseEnterContent')"
|
|
158
|
-
:title="innerValue"
|
|
159
|
-
:type="column.dataType === 'INTEGER' || column.dataType === 'LONG' ? 'number' : 'text'"
|
|
160
|
-
clearable
|
|
161
|
-
@blur="cellEvent('blur', $event)"
|
|
162
|
-
@change="cellEvent('change', $event)"
|
|
163
|
-
@clear="cellEvent('clear', $event)"
|
|
164
|
-
@focus="cellEvent('focus', $event)"
|
|
165
|
-
@input="cellEvent('input', $event, true)"
|
|
166
|
-
/>
|
|
167
|
-
<!--必须有@input ,否则无法输入值-->
|
|
168
|
-
<!-- <el-input
|
|
169
|
-
v-else-if="type === 'input'"
|
|
170
|
-
ref="item"
|
|
171
|
-
v-model="innerValue"
|
|
172
|
-
:disabled="disabled"
|
|
173
|
-
:maxlength="controlConfig && controlConfig.maxlength ? controlConfig.maxlength : ''"
|
|
174
|
-
:minlength="controlConfig && controlConfig.minlength ? controlConfig.minlength : ''"
|
|
175
|
-
:placeholder="$t('imatrixUIMessage.pleaseEnterContent')"
|
|
176
|
-
:title="innerValue"
|
|
177
|
-
clearable
|
|
178
|
-
@blur="cellEvent('blur', $event)"
|
|
179
|
-
@change="cellEvent('change', $event)"
|
|
180
|
-
@clear="cellEvent('clear', $event)"
|
|
181
|
-
@focus="cellEvent('focus', $event)"
|
|
182
|
-
@input="cellEvent('input', $event, true)"
|
|
183
|
-
>
|
|
184
|
-
<template v-if="isShowScanIcon" #append>
|
|
185
|
-
<SuperIcon iconValue="fa-barcode" @click="scanClick()"></SuperIcon>
|
|
186
|
-
</template>
|
|
187
|
-
</el-input> -->
|
|
188
|
-
<el-input
|
|
189
|
-
v-else-if="type === 'input'"
|
|
190
|
-
ref="item"
|
|
191
|
-
:disabled="disabled"
|
|
192
|
-
:maxlength="controlConfig && controlConfig.maxlength ? controlConfig.maxlength : ''"
|
|
193
|
-
:minlength="controlConfig && controlConfig.minlength ? controlConfig.minlength : ''"
|
|
194
|
-
:placeholder="$t('imatrixUIMessage.pleaseEnterContent')"
|
|
195
|
-
:title="innerValue"
|
|
196
|
-
clearable
|
|
197
|
-
v-model="innerValue"
|
|
198
|
-
@blur="cellEvent('blur', $event)"
|
|
199
|
-
@change="cellEvent('change', $event)"
|
|
200
|
-
@clear="cellEvent('clear', $event)"
|
|
201
|
-
@focus="cellEvent('focus', $event)"
|
|
202
|
-
@input="cellEvent('input', $event, true)"
|
|
203
|
-
>
|
|
204
|
-
<template
|
|
205
|
-
v-if="
|
|
206
|
-
designProperty.iconPosition != 'outer' &&
|
|
207
|
-
((designProperty.preIconType && designProperty.preIconValue) || designProperty.preText)
|
|
208
|
-
"
|
|
209
|
-
#prefix
|
|
210
|
-
>
|
|
211
|
-
<SuperIcon
|
|
212
|
-
v-if="designProperty.preIconType && designProperty.preIconValue"
|
|
213
|
-
:iconType="designProperty.preIconType"
|
|
214
|
-
:iconValue="designProperty.preIconValue"
|
|
215
|
-
@click="doClickwithJumpPage('prefixClick')"
|
|
216
|
-
></SuperIcon>
|
|
217
|
-
<span v-if="designProperty.preText">{{ $t(designProperty.preText) }}</span>
|
|
218
|
-
</template>
|
|
219
|
-
<template
|
|
220
|
-
v-if="
|
|
221
|
-
designProperty.iconPosition == 'outer' &&
|
|
222
|
-
((designProperty.preIconType && designProperty.preIconValue) || designProperty.preText)
|
|
223
|
-
"
|
|
224
|
-
#prepend
|
|
225
|
-
>
|
|
226
|
-
<SuperIcon
|
|
227
|
-
v-if="designProperty.preIconType && designProperty.preIconValue"
|
|
228
|
-
:iconType="designProperty.preIconType"
|
|
229
|
-
:iconValue="designProperty.preIconValue"
|
|
230
|
-
@click="doClickwithJumpPage('prefixClick')"
|
|
231
|
-
></SuperIcon>
|
|
232
|
-
<span v-if="designProperty.preText">{{ $t(designProperty.preText) }}</span>
|
|
233
|
-
</template>
|
|
234
|
-
<template
|
|
235
|
-
v-if="
|
|
236
|
-
designProperty.iconPosition != 'outer' &&
|
|
237
|
-
((designProperty.sufIconType && designProperty.sufIconValue) || designProperty.sufText)
|
|
238
|
-
"
|
|
239
|
-
#suffix
|
|
240
|
-
>
|
|
241
|
-
<SuperIcon
|
|
242
|
-
v-if="designProperty.sufIconType && designProperty.sufIconValue"
|
|
243
|
-
:iconType="designProperty.sufIconType"
|
|
244
|
-
:iconValue="designProperty.sufIconValue"
|
|
245
|
-
@click="doClickwithJumpPage('suffixClick')"
|
|
246
|
-
></SuperIcon>
|
|
247
|
-
<span v-if="designProperty.sufText">{{ $t(designProperty.sufText) }}</span>
|
|
248
|
-
</template>
|
|
249
|
-
<template
|
|
250
|
-
v-if="
|
|
251
|
-
isShowScanIcon ||
|
|
252
|
-
(designProperty.iconPosition == 'outer' &&
|
|
253
|
-
((designProperty.sufIconType && designProperty.sufIconValue) || designProperty.sufText))
|
|
254
|
-
"
|
|
255
|
-
#append
|
|
256
|
-
>
|
|
257
|
-
<SuperIcon v-if="isShowScanIcon" iconValue="fa-barcode" @click="scanClick()"></SuperIcon>
|
|
258
|
-
<SuperIcon
|
|
259
|
-
v-if="designProperty.sufIconType && designProperty.sufIconValue"
|
|
260
|
-
:iconType="designProperty.sufIconType"
|
|
261
|
-
:iconValue="designProperty.sufIconValue"
|
|
262
|
-
@click="doClickwithJumpPage('suffixClick')"
|
|
263
|
-
></SuperIcon>
|
|
264
|
-
<span v-if="designProperty.sufText">{{ $t(designProperty.sufText) }}</span>
|
|
265
|
-
</template>
|
|
266
|
-
</el-input>
|
|
267
|
-
|
|
268
|
-
<el-input
|
|
269
|
-
v-else-if="type === 'textarea'"
|
|
270
|
-
ref="item"
|
|
271
|
-
v-model="innerValue"
|
|
272
|
-
:disabled="disabled"
|
|
273
|
-
:maxlength="controlConfig && controlConfig.maxlength ? controlConfig.maxlength : ''"
|
|
274
|
-
:minlength="controlConfig && controlConfig.minlength ? controlConfig.minlength : ''"
|
|
275
|
-
:placeholder="$t('imatrixUIMessage.pleaseEnterContent')"
|
|
276
|
-
:rows="designProperty.rows ? designProperty.rows : 2"
|
|
277
|
-
:title="innerValue"
|
|
278
|
-
clearable
|
|
279
|
-
type="textarea"
|
|
280
|
-
@blur="cellEvent('blur', $event)"
|
|
281
|
-
@change="cellEvent('change', $event)"
|
|
282
|
-
@clear="cellEvent('clear', $event)"
|
|
283
|
-
@focus="cellEvent('focus', $event)"
|
|
284
|
-
@input="cellEvent('input', $event)"
|
|
285
|
-
/>
|
|
286
|
-
<fs-upload-list
|
|
287
|
-
v-else-if="type === 'annex'"
|
|
288
|
-
ref="fileUploadRef"
|
|
289
|
-
:custom-view-url="true"
|
|
290
|
-
:disabled="disabled"
|
|
291
|
-
:file-info="fileInfo"
|
|
292
|
-
:file-list="fileList"
|
|
293
|
-
:file-set-obj="fileSetObj"
|
|
294
|
-
:is-sql="isSql"
|
|
295
|
-
:row="row"
|
|
296
|
-
:value="innerValue"
|
|
297
|
-
:page-context="pageContext"
|
|
298
|
-
:list-code="listCode"
|
|
299
|
-
:componentId="componentId"
|
|
300
|
-
@delete="deleteFile"
|
|
301
|
-
@delete-success="deleteSuccess"
|
|
302
|
-
@upload-success="uploadOnSuccess"
|
|
303
|
-
@on-error="onError"
|
|
304
|
-
/>
|
|
305
|
-
<multipart-upload
|
|
306
|
-
v-else-if="type === 'multipartUpload'"
|
|
307
|
-
:disabled="disabled"
|
|
308
|
-
:entity="row"
|
|
309
|
-
:file-info="fileInfo"
|
|
310
|
-
:file-list="fileList"
|
|
311
|
-
:file-set-obj="fileSetObj"
|
|
312
|
-
:value="innerValue"
|
|
313
|
-
type="list"
|
|
314
|
-
@delete="deleteFile"
|
|
315
|
-
@delete-success="deleteSuccess"
|
|
316
|
-
@upload-success="uploadOnSuccess"
|
|
317
|
-
/>
|
|
318
|
-
<!-- <el-input
|
|
319
|
-
v-else-if="type==='annex' && !fileMultiple"
|
|
320
|
-
ref="item"
|
|
321
|
-
:value="innerValue"
|
|
322
|
-
:readonly="true"
|
|
323
|
-
:disabled="disabled"
|
|
324
|
-
:placeholder="$t('imatrixUIMessage.pleaseEnterContent')"
|
|
325
|
-
>
|
|
326
|
-
<el-button slot="append" size="default" :disabled="disabled" icon="el-icon-upload2" @click="openAnnexUpload" />
|
|
327
|
-
<el-button v-if="innerValue" slot="append" :disabled="disabled" size="default" icon="el-icon-zoom-in" @click="previewImg" />
|
|
328
|
-
</el-input>
|
|
329
|
-
|
|
330
|
-
<el-input
|
|
331
|
-
v-else-if="type==='annex' && fileMultiple"
|
|
332
|
-
ref="item"
|
|
333
|
-
:value="lastFileName"
|
|
334
|
-
:readonly="true"
|
|
335
|
-
:disabled="disabled"
|
|
336
|
-
:placeholder="$t('imatrixUIMessage.pleaseEnterContent')"
|
|
337
|
-
>
|
|
338
|
-
<el-button slot="append" size="default" :disabled="disabled" icon="el-icon-upload2" @click="openAnnexUpload" />
|
|
339
|
-
<el-button v-if="innerValue" slot="append" :disabled="disabled" size="default" icon="el-icon-zoom-in" @click="previewImg" />
|
|
340
|
-
</el-input> -->
|
|
341
|
-
|
|
342
|
-
<!-- <custom-fma v-if="type==null ||type === ''" /> -->
|
|
343
|
-
<!-- v-model="newValue" -->
|
|
344
|
-
<!--必须有@input ,否则无法输入值-->
|
|
345
|
-
<GridRadioInput
|
|
346
|
-
v-else-if="type === 'radio'"
|
|
347
|
-
v-model="innerValue"
|
|
348
|
-
@update:modelValue="innerValue = $event"
|
|
349
|
-
:disabled="disabled"
|
|
350
|
-
:options="options"
|
|
351
|
-
:value-set-options="valueSetOptions"
|
|
352
|
-
:prop="column.prop"
|
|
353
|
-
:entity="row"
|
|
354
|
-
@cellEvent="cellEvent"
|
|
355
|
-
/>
|
|
356
|
-
<SelectInput
|
|
357
|
-
v-else-if="type === 'multiselect' || type === 'select'"
|
|
358
|
-
v-model="innerValue"
|
|
359
|
-
:disabled="disabled"
|
|
360
|
-
:options="options"
|
|
361
|
-
:value-set-options="valueSetOptions"
|
|
362
|
-
:prop="column.prop"
|
|
363
|
-
:entity="row"
|
|
364
|
-
:column="column"
|
|
365
|
-
:type="type"
|
|
366
|
-
:controlConfig="controlConfig"
|
|
367
|
-
:listCode="listCode"
|
|
368
|
-
:listToolbarFormData="listToolbarFormData"
|
|
369
|
-
:dynamicDataSourceCode="dynamicDataSourceCode"
|
|
370
|
-
:additionalParamMap="additionalParamMap"
|
|
371
|
-
:isSql="isSql"
|
|
372
|
-
:parentFormData="parentFormData"
|
|
373
|
-
:tableName="tableName"
|
|
374
|
-
@update:modelValue="innerValue = $event"
|
|
375
|
-
@cellEvent="cellEvent"
|
|
376
|
-
@extendParams="setExtendParams"
|
|
377
|
-
@setCellValue="setCellValue"
|
|
378
|
-
@setCellValueWithProp="setCellValueWithProp"
|
|
379
|
-
@callCustomEventWithParam="callCustomEventWithParam"
|
|
380
|
-
/>
|
|
381
|
-
<el-input-number
|
|
382
|
-
v-else-if="type === 'inputNumber'"
|
|
383
|
-
ref="item"
|
|
384
|
-
v-model="innerValue"
|
|
385
|
-
:controls-position="inputNumberSet.position"
|
|
386
|
-
:disabled="disabled"
|
|
387
|
-
:max="inputNumberSet.max == 0 ? 0 : !inputNumberSet.max ? Infinity : inputNumberSet.max"
|
|
388
|
-
:min="inputNumberSet.min == 0 ? 0 : !inputNumberSet.min ? -Infinity : inputNumberSet.min"
|
|
389
|
-
:precision="inputNumberSet.precision"
|
|
390
|
-
:step="!inputNumberSet.step ? 1 : inputNumberSet.step"
|
|
391
|
-
@blur="cellEvent('blur', $event)"
|
|
392
|
-
@change="cellEvent('change', $event)"
|
|
393
|
-
@focus="cellEvent('focus', $event)"
|
|
394
|
-
@input="cellEvent('input', $event)"
|
|
395
|
-
/>
|
|
396
|
-
<!--mysql数据库--->
|
|
397
|
-
<!-- <el-switch
|
|
398
|
-
v-else-if="(type === 'switch' || column.dataType === 'BOOLEAN') && dataSourceType === 'mysql'"
|
|
399
|
-
ref="item"
|
|
400
|
-
v-model="innerValue"
|
|
401
|
-
:disabled="disabled"
|
|
402
|
-
active-color="#13ce66"
|
|
403
|
-
inactive-color="#ff4949"
|
|
404
|
-
@change="cellEvent('change', $event)"
|
|
405
|
-
@input="cellEvent('input', $event, true)"
|
|
406
|
-
/> -->
|
|
407
|
-
<!--oracle或sqlserver数据库--->
|
|
408
|
-
<el-switch
|
|
409
|
-
v-else-if="type === 'switch' || column.dataType === 'BOOLEAN'"
|
|
410
|
-
ref="item"
|
|
411
|
-
v-model="innerValue"
|
|
412
|
-
:active-text="getSwitchConfig('activeText')"
|
|
413
|
-
:active-value="getSwitchConfig('activeValue')"
|
|
414
|
-
:disabled="disabled"
|
|
415
|
-
:inactive-text="getSwitchConfig('inactiveText')"
|
|
416
|
-
:inactive-value="getSwitchConfig('inactiveValue')"
|
|
417
|
-
@change="cellEvent('change', $event)"
|
|
418
|
-
@input="cellEvent('input', $event, true)"
|
|
419
|
-
/>
|
|
420
|
-
<el-slider
|
|
421
|
-
v-else-if="type === 'slider'"
|
|
422
|
-
ref="item"
|
|
423
|
-
v-model="innerValue"
|
|
424
|
-
:disabled="disabled"
|
|
425
|
-
@change="cellEvent('change', $event)"
|
|
426
|
-
@input="cellEvent('input', $event, true)"
|
|
427
|
-
/>
|
|
428
|
-
|
|
429
|
-
<el-rate
|
|
430
|
-
v-else-if="type === 'rate'"
|
|
431
|
-
ref="item"
|
|
432
|
-
v-model="innerValue"
|
|
433
|
-
:disabled="disabled"
|
|
434
|
-
@change="cellEvent('change', $event)"
|
|
435
|
-
@input="cellEvent('input', $event, true)"
|
|
436
|
-
/>
|
|
437
|
-
|
|
438
|
-
<organization-input
|
|
439
|
-
v-else-if="deptManTree || deptTree || wgManTree || wgTree"
|
|
440
|
-
:check-strictly="isCheckStrictly"
|
|
441
|
-
:department-info="departmentInfo"
|
|
442
|
-
:disabled="disabled"
|
|
443
|
-
:limit-filter-column="controlConfig?.limitFilterColumn"
|
|
444
|
-
:fields="fields"
|
|
445
|
-
:is-join-table="isJoinTable"
|
|
446
|
-
:models="row"
|
|
447
|
-
:multiple="isMultiTree"
|
|
448
|
-
:table-name="tableName"
|
|
449
|
-
:tree-type="
|
|
450
|
-
deptManTree ? 'DeptUserTree' : deptTree ? 'DeptTree' : wgManTree ? 'WgUserTree' : wgTree ? 'WgTree' : null
|
|
451
|
-
"
|
|
452
|
-
:value="innerValue"
|
|
453
|
-
@append="appendOrganizationInputEvent"
|
|
454
|
-
@clear="clearOrganizationInputEvent"
|
|
455
|
-
@focus="showOrganizationTree"
|
|
456
|
-
@replace="replaceOrganizationInputEvent"
|
|
457
|
-
@setValue="organizationInputEvent"
|
|
458
|
-
/>
|
|
459
|
-
<el-dialog
|
|
460
|
-
:append-to-body="true"
|
|
461
|
-
:show-close="true"
|
|
462
|
-
:title="$t('imatrixUIMessage.tips')"
|
|
463
|
-
:visible.sync="annexUploadFlag"
|
|
464
|
-
width="30%"
|
|
465
|
-
>
|
|
466
|
-
<el-upload
|
|
467
|
-
v-if="type === 'annex' && annexUploadFlag"
|
|
468
|
-
:accept="fileSetObj && fileSetObj.accept ? fileSetObj.accept : null"
|
|
469
|
-
:action="defaultAction"
|
|
470
|
-
:before-upload="handleBeforeUpload"
|
|
471
|
-
:headers="headers"
|
|
472
|
-
:on-success="uploadOnSuccess"
|
|
473
|
-
:with-credentials="true"
|
|
474
|
-
name="file"
|
|
475
|
-
>
|
|
476
|
-
<el-button>{{ $t('imatrixUIMessage.upload') }}</el-button>
|
|
477
|
-
</el-upload>
|
|
478
|
-
</el-dialog>
|
|
479
|
-
<view-image-dialog
|
|
480
|
-
v-if="showSingleImgFlag"
|
|
481
|
-
:deleteable="!disabled"
|
|
482
|
-
:downloadable="!disabled"
|
|
483
|
-
:file-list="fileList"
|
|
484
|
-
@close="showSingleImgFlag = false"
|
|
485
|
-
@delete="deleteFile"
|
|
486
|
-
/>
|
|
487
|
-
<scan-code-input-browser v-if="isShowBrowserScan" @close="closeBrowserScan" />
|
|
488
|
-
</div>
|
|
489
|
-
</template>
|
|
490
|
-
<script>
|
|
491
|
-
import store from './store'
|
|
492
|
-
import {
|
|
493
|
-
analysisFileSetObj,
|
|
494
|
-
getAdditionalParamMap,
|
|
495
|
-
getFileList,
|
|
496
|
-
isDisableEdit,
|
|
497
|
-
isDynamicDataSourceSource,
|
|
498
|
-
isEditOptionFunction,
|
|
499
|
-
otherFilesToStandard,
|
|
500
|
-
getControlConfig,
|
|
501
|
-
rowBeforeValidate
|
|
502
|
-
} from './utils'
|
|
503
|
-
import dynamicSourceSelect from '../../dynamic-source-select/src/dynamic-source-select.vue'
|
|
504
|
-
import {
|
|
505
|
-
getEntityFieldValue,
|
|
506
|
-
setEntityFieldValue,
|
|
507
|
-
getPropValueNew,
|
|
508
|
-
watchPageContextDynamicVariable,
|
|
509
|
-
formatCustomParams
|
|
510
|
-
} from '../../../src/utils/util'
|
|
511
|
-
import { getToken } from '../../../src/utils/auth'
|
|
512
|
-
import apis from './apis'
|
|
513
|
-
import ViewImageDialog from './view-image-dialog.vue'
|
|
514
|
-
import { $emit } from '../../utils/gogocodeTransfer'
|
|
515
|
-
import eventBus from './eventBus'
|
|
516
|
-
import { isMobileBrowser, isDingTalkEnv } from '../../../src/utils/common-util'
|
|
517
|
-
import { analysisScanValue, setScanAnalysisValue } from './scan-util.ts'
|
|
518
|
-
import customFormatter from './custom-formatter'
|
|
519
|
-
import GridRadioInput from './components/grid-radio-input.vue'
|
|
520
|
-
import SelectInput from './components/select-input.vue'
|
|
521
|
-
// import ClipboardJs from 'clipboard'
|
|
522
|
-
export default {
|
|
523
|
-
name: 'DynamicInput',
|
|
524
|
-
components: {
|
|
525
|
-
dynamicSourceSelect,
|
|
526
|
-
ViewImageDialog,
|
|
527
|
-
GridRadioInput,
|
|
528
|
-
SelectInput
|
|
529
|
-
},
|
|
530
|
-
props: {
|
|
531
|
-
value: {
|
|
532
|
-
type: [String, Boolean, Number, Date, Array],
|
|
533
|
-
default: null
|
|
534
|
-
},
|
|
535
|
-
type: {
|
|
536
|
-
type: String,
|
|
537
|
-
default: 'input'
|
|
538
|
-
},
|
|
539
|
-
position: {
|
|
540
|
-
type: Object,
|
|
541
|
-
default: null
|
|
542
|
-
},
|
|
543
|
-
lineEdit: {
|
|
544
|
-
type: Object,
|
|
545
|
-
default: null
|
|
546
|
-
},
|
|
547
|
-
// 下拉选选项集合
|
|
548
|
-
options: {
|
|
549
|
-
type: Array,
|
|
550
|
-
default: null
|
|
551
|
-
},
|
|
552
|
-
// 字段配置
|
|
553
|
-
column: {
|
|
554
|
-
type: Object,
|
|
555
|
-
default: null
|
|
556
|
-
},
|
|
557
|
-
// 行数据
|
|
558
|
-
row: {
|
|
559
|
-
type: Object,
|
|
560
|
-
default: null
|
|
561
|
-
},
|
|
562
|
-
listCode: {
|
|
563
|
-
type: String,
|
|
564
|
-
default: null
|
|
565
|
-
},
|
|
566
|
-
isSql: {
|
|
567
|
-
type: Boolean,
|
|
568
|
-
default: false
|
|
569
|
-
},
|
|
570
|
-
listToolbarFormData: {
|
|
571
|
-
type: Object,
|
|
572
|
-
default: null
|
|
573
|
-
},
|
|
574
|
-
rowIndex: {
|
|
575
|
-
type: Number,
|
|
576
|
-
default: -1
|
|
577
|
-
},
|
|
578
|
-
disabled: {
|
|
579
|
-
type: Boolean,
|
|
580
|
-
default: false
|
|
581
|
-
},
|
|
582
|
-
// 列表配置信息
|
|
583
|
-
gridOptions: {
|
|
584
|
-
type: Object,
|
|
585
|
-
default: null
|
|
586
|
-
}
|
|
587
|
-
},
|
|
588
|
-
data() {
|
|
589
|
-
let innerValue = this.value
|
|
590
|
-
if (this.type && this.type === 'select') {
|
|
591
|
-
// 单选下拉框时值处理
|
|
592
|
-
if (this.column.dataType !== 'TEXT') {
|
|
593
|
-
innerValue = this.value && this.value !== null && typeof this.value !== 'string' ? this.value + '' : this.value
|
|
594
|
-
$emit(this, 'update:value', innerValue)
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
const defaultValue = this.getDefaultValue(innerValue)
|
|
598
|
-
if (defaultValue !== undefined && defaultValue !== null) {
|
|
599
|
-
innerValue = defaultValue
|
|
600
|
-
}
|
|
601
|
-
const disabled = isDisableEdit(this.column.prop, this.listCode, this.row, this.rowIndex)
|
|
602
|
-
this.$emit('change-disabled', disabled)
|
|
603
|
-
const defaultAction = window.$vueApp.config.globalProperties.baseAPI + '/component/super-form/uploads'
|
|
604
|
-
if (!this.listCode) {
|
|
605
|
-
this.listCode = store.get('_list_code')
|
|
606
|
-
}
|
|
607
|
-
const gridParams = store.get(this.listCode)
|
|
608
|
-
let tableName
|
|
609
|
-
if (gridParams && gridParams.basicInfo && gridParams.basicInfo.tableName) {
|
|
610
|
-
tableName = gridParams.basicInfo.tableName
|
|
611
|
-
}
|
|
612
|
-
// let isHasJoinTable
|
|
613
|
-
// if (gridParams && gridParams.basicInfo && gridParams.basicInfo.hasJoinTable) {
|
|
614
|
-
// isHasJoinTable = gridParams.basicInfo.hasJoinTable
|
|
615
|
-
// }
|
|
616
|
-
let parentFormData
|
|
617
|
-
if (gridParams.options.extraParam && gridParams.options.extraParam.entityMap) {
|
|
618
|
-
parentFormData = gridParams.options.extraParam.entityMap
|
|
619
|
-
}
|
|
620
|
-
const headers = { Authorization: getToken() }
|
|
621
|
-
// 数据库类型,值为mysql、oracle、sqlserver,默认是mysql,el-switch组件值保存需要使用
|
|
622
|
-
let dataSourceType = 'mysql'
|
|
623
|
-
if (window.$vueApp.config.globalProperties.dataSourceType) {
|
|
624
|
-
dataSourceType = window.$vueApp.config.globalProperties.dataSourceType.toLowerCase()
|
|
625
|
-
}
|
|
626
|
-
const gridData = gridParams.gridData
|
|
627
|
-
const subTableData = gridParams.subTableData
|
|
628
|
-
const isSubTableShowPage = gridParams.isSubTableShowPage
|
|
629
|
-
|
|
630
|
-
const additionalParamMap = getAdditionalParamMap(gridParams)
|
|
631
|
-
const pageContext = gridParams.options.pageContext
|
|
632
|
-
const isMobile = isMobileBrowser()
|
|
633
|
-
|
|
634
|
-
const componentId = this.listCode + '_' + this.column.prop
|
|
635
|
-
let scanEnable = false
|
|
636
|
-
let controlConfig = {}
|
|
637
|
-
if (this.column.controlConfig) {
|
|
638
|
-
controlConfig = JSON.parse(this.column.controlConfig)
|
|
639
|
-
}
|
|
640
|
-
if (controlConfig.scanEnable) {
|
|
641
|
-
scanEnable = true
|
|
642
|
-
}
|
|
643
|
-
let userAgent
|
|
644
|
-
const userAgentOrg = navigator.userAgent
|
|
645
|
-
if (userAgentOrg.indexOf(' uni-app ') > 0) {
|
|
646
|
-
// 表示uni-app中访问的
|
|
647
|
-
userAgent = 'app'
|
|
648
|
-
} else {
|
|
649
|
-
// 表示手机浏览器访问的
|
|
650
|
-
userAgent = 'browser'
|
|
651
|
-
}
|
|
652
|
-
const isDingTalk = isDingTalkEnv() ? true : false
|
|
653
|
-
const isApk = isMobile && userAgent && userAgent === 'app' ? true : false
|
|
654
|
-
const isShowScanIcon =
|
|
655
|
-
isApk || isDingTalk || (isMobile && scanEnable && window.location.protocol === 'https:' ? true : false)
|
|
656
|
-
|
|
657
|
-
// let baseURL = gridParams.options.backendUrl
|
|
658
|
-
// if (!baseURL) {
|
|
659
|
-
// baseURL = window.$vueApp.config.globalProperties.baseURL
|
|
660
|
-
// }
|
|
661
|
-
const colConfigure = gridParams.colConfigureMap ? gridParams.colConfigureMap[this.column.prop] : null
|
|
662
|
-
const runtimeInfo = colConfigure && colConfigure.runtime ? colConfigure.runtime : {}
|
|
663
|
-
const designProperty = runtimeInfo.props ? runtimeInfo.props : {}
|
|
664
|
-
let systemCode
|
|
665
|
-
if (gridParams && gridParams.basicInfo && gridParams.basicInfo.systemCode) {
|
|
666
|
-
systemCode = gridParams.basicInfo.systemCode
|
|
667
|
-
}
|
|
668
|
-
const copyBtnId = 'copyBtn_' + new Date().getTime()
|
|
669
|
-
return {
|
|
670
|
-
deptManTree: false, // 是否是部门人员树
|
|
671
|
-
isMultiTree: false, // 是否是多选树
|
|
672
|
-
isCheckStrictly: false, // 父子不互相关联也就是不选中子部门节点
|
|
673
|
-
deptTree: false, // 是否是部门树
|
|
674
|
-
wgManTree: false, // 是否是工作组人员树
|
|
675
|
-
wgTree: false, // 是否是工作组树
|
|
676
|
-
newValue: null,
|
|
677
|
-
// disabled, // 当前用户是否禁止编辑该字段/ 是否新增行
|
|
678
|
-
componentName: '',
|
|
679
|
-
annexUploadFlag: false,
|
|
680
|
-
defaultAction,
|
|
681
|
-
fileMultiple: false, // 文件是否多选
|
|
682
|
-
fileList: [],
|
|
683
|
-
lastServerName: '',
|
|
684
|
-
fileSetObj: null,
|
|
685
|
-
showSingleImgFlag: false,
|
|
686
|
-
singleImgSrc: '',
|
|
687
|
-
fields: null,
|
|
688
|
-
innerValue, // 输入的内容
|
|
689
|
-
dynamicSourceSelectOptions: {},
|
|
690
|
-
valueSetOptions: null,
|
|
691
|
-
dynamicDataSourceCode: null,
|
|
692
|
-
tableName,
|
|
693
|
-
// isJoinTable: isHasJoinTable, // 是否是关联表
|
|
694
|
-
departmentInfo: null, // 指定部门或分支
|
|
695
|
-
parentFormData,
|
|
696
|
-
headers,
|
|
697
|
-
dataSourceType,
|
|
698
|
-
inputNumberSet: {},
|
|
699
|
-
fileInfo: { showName: null, serverPath: null },
|
|
700
|
-
gridData: isSubTableShowPage ? subTableData : gridData,
|
|
701
|
-
pageGridData: isSubTableShowPage ? gridData : null,
|
|
702
|
-
additionalParamMap,
|
|
703
|
-
controlConfig: getControlConfig(this.column),
|
|
704
|
-
// 设置日期选择器选择范围
|
|
705
|
-
pickerOptions: {
|
|
706
|
-
disabledDate: (time) => {
|
|
707
|
-
if (this.stateForbiddenTime && this.endForbiddenTime) {
|
|
708
|
-
return time.getTime() < this.stateForbiddenTime || time.getTime() > this.endForbiddenTime
|
|
709
|
-
} else if (this.stateForbiddenTime && !this.endForbiddenTime) {
|
|
710
|
-
return time.getTime() < this.stateForbiddenTime
|
|
711
|
-
} else if (!this.stateForbiddenTime && this.endForbiddenTime) {
|
|
712
|
-
return time.getTime() > this.endForbiddenTime
|
|
713
|
-
} else {
|
|
714
|
-
return false
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
},
|
|
718
|
-
stateForbiddenTime: null,
|
|
719
|
-
endForbiddenTime: null,
|
|
720
|
-
pageContext,
|
|
721
|
-
isMobile,
|
|
722
|
-
componentId,
|
|
723
|
-
scanEnable,
|
|
724
|
-
userAgent,
|
|
725
|
-
isApk,
|
|
726
|
-
isDingTalk,
|
|
727
|
-
isShowBrowserScan: false,
|
|
728
|
-
isShowScanIcon,
|
|
729
|
-
// baseURL,
|
|
730
|
-
colConfigure, // v10字段配置原信息
|
|
731
|
-
designProperty, // 字段配置
|
|
732
|
-
myCustomParams: {},
|
|
733
|
-
systemCode,
|
|
734
|
-
isFormSubTable: false, // 是否是表单子表
|
|
735
|
-
copyBtnId
|
|
736
|
-
}
|
|
737
|
-
},
|
|
738
|
-
computed: {},
|
|
739
|
-
watch: {
|
|
740
|
-
value: {
|
|
741
|
-
handler(newValue, oldValue) {
|
|
742
|
-
// this.value = newValue
|
|
743
|
-
// this.innerValue = this.value
|
|
744
|
-
if (this.type && this.type === 'multiselect') {
|
|
745
|
-
// 修改时多选下拉值回显 ,将字符串转换为数组
|
|
746
|
-
const tempMultData =
|
|
747
|
-
this.value && this.value !== null && typeof this.value === 'string' ? this.value.split(',') : this.value
|
|
748
|
-
this.innerValue = tempMultData
|
|
749
|
-
} else {
|
|
750
|
-
if (this.type === 'yearRange') {
|
|
751
|
-
this.innerValue = '' + newValue
|
|
752
|
-
}
|
|
753
|
-
// else if (this.type === 'input' && newValue !== null) {
|
|
754
|
-
// // 不允许输入框首尾有空格及全空格处理
|
|
755
|
-
// if (newValue && typeof newValue === 'string') {
|
|
756
|
-
// newValue = newValue.trim()
|
|
757
|
-
// }
|
|
758
|
-
// if (newValue === '') {
|
|
759
|
-
// newValue = null
|
|
760
|
-
// }
|
|
761
|
-
// this.innerValue = newValue
|
|
762
|
-
// }
|
|
763
|
-
else {
|
|
764
|
-
this.innerValue = newValue
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
const gridParams = store.get(this.listCode)
|
|
768
|
-
if (gridParams.editProp === this.column.prop) {
|
|
769
|
-
// 如果是当前编辑的字段,且是自定义控件才需要手动获得一下焦点
|
|
770
|
-
this.$nextTick(() => {
|
|
771
|
-
if (this.$refs.customItem) {
|
|
772
|
-
this.$refs.customItem.focus()
|
|
773
|
-
}
|
|
774
|
-
})
|
|
775
|
-
}
|
|
776
|
-
},
|
|
777
|
-
deep: true,
|
|
778
|
-
immediate: true
|
|
779
|
-
}
|
|
780
|
-
},
|
|
781
|
-
created() {
|
|
782
|
-
const gridParams = store.get(this.listCode)
|
|
783
|
-
if (gridParams && gridParams.options && gridParams.options.isFormSubTable) {
|
|
784
|
-
this.isFormSubTable = gridParams.options.isFormSubTable
|
|
785
|
-
}
|
|
786
|
-
if (this.controlConfig?.customParams) {
|
|
787
|
-
if (!this.pageContext) {
|
|
788
|
-
this.pageContext = gridParams.options.pageContext
|
|
789
|
-
}
|
|
790
|
-
this.myCustomParams = formatCustomParams(this.controlConfig.customParams, this.pageContext, this.row)
|
|
791
|
-
}
|
|
792
|
-
this.gridParams = gridParams
|
|
793
|
-
this.isCreateRow = gridParams.isCreateRow
|
|
794
|
-
this.setTreeType()
|
|
795
|
-
if (this.type && this.type.indexOf('custom:') >= 0) {
|
|
796
|
-
this.componentName = this.type.substring(this.type.indexOf(':') + 1)
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
if (
|
|
800
|
-
this.column.fileSet &&
|
|
801
|
-
this.column.fileSet !== '' &&
|
|
802
|
-
(this.column.componentType === 'annex' || this.column.componentType === 'multipartUpload')
|
|
803
|
-
) {
|
|
804
|
-
const fileSetObj = JSON.parse(this.column.fileSet)
|
|
805
|
-
this.fileInfo.showName = this.row[fileSetObj.showNameData.dbName]
|
|
806
|
-
this.fileInfo.serverPath = this.row[fileSetObj.serverNameData.dbName]
|
|
807
|
-
this.fileSetObj = fileSetObj
|
|
808
|
-
if (fileSetObj && fileSetObj.multiple) {
|
|
809
|
-
this.fileMultiple = true
|
|
810
|
-
}
|
|
811
|
-
this.fileList = getFileList(this.row, this.column, this.isSql)
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
if (this.column.componentType === 'inputNumber') {
|
|
815
|
-
this.setInputNumberConfig()
|
|
816
|
-
}
|
|
817
|
-
// 如果是多选文件类型,需要解析(需要设置临时字段,判断文件还是图片,图片需要预览)
|
|
818
|
-
if (this.column.valueSetOptions) {
|
|
819
|
-
if (this.column.componentType === 'switch') {
|
|
820
|
-
let valueSetOptionsObj = JSON.parse(this.column.valueSetOptions)
|
|
821
|
-
if (typeof valueSetOptionsObj === 'string') {
|
|
822
|
-
// 再转一次
|
|
823
|
-
valueSetOptionsObj = JSON.parse(valueSetOptionsObj)
|
|
824
|
-
}
|
|
825
|
-
if (valueSetOptionsObj) {
|
|
826
|
-
this.valueSetOptions = valueSetOptionsObj
|
|
827
|
-
}
|
|
828
|
-
} else if (this.column.componentType !== 'inputNumber') {
|
|
829
|
-
let valueSetOptionsObj = JSON.parse(this.column.valueSetOptions)
|
|
830
|
-
if (typeof valueSetOptionsObj === 'string') {
|
|
831
|
-
// 再转一次
|
|
832
|
-
valueSetOptionsObj = JSON.parse(valueSetOptionsObj)
|
|
833
|
-
}
|
|
834
|
-
if (valueSetOptionsObj && valueSetOptionsObj.valueSetOptions) {
|
|
835
|
-
this.valueSetOptions = valueSetOptionsObj.valueSetOptions
|
|
836
|
-
}
|
|
837
|
-
if (valueSetOptionsObj.dynamicDataSourceCode && valueSetOptionsObj.dynamicDataSourceCode !== '') {
|
|
838
|
-
this.dynamicDataSourceCode = valueSetOptionsObj.dynamicDataSourceCode
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
if (this.column.orgTreeSet) {
|
|
844
|
-
const orgTreeSet = JSON.parse(this.column.orgTreeSet)
|
|
845
|
-
if (this.type.indexOf('DeptTree') > 0 && orgTreeSet.checkStrictly) {
|
|
846
|
-
this.isCheckStrictly = orgTreeSet.checkStrictly
|
|
847
|
-
}
|
|
848
|
-
if (orgTreeSet.length) {
|
|
849
|
-
this.fields = orgTreeSet
|
|
850
|
-
} else {
|
|
851
|
-
if (orgTreeSet.orgTreeSetArr) {
|
|
852
|
-
this.fields = orgTreeSet.orgTreeSetArr
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
}
|
|
856
|
-
this.getDateAllowTime()
|
|
857
|
-
if (!this.gridOptions.customRules) {
|
|
858
|
-
this.gridOptions.customRules = {}
|
|
859
|
-
}
|
|
860
|
-
this.$watch(
|
|
861
|
-
'gridOptions.customRules.' + this.column.prop,
|
|
862
|
-
(newVal, oldVal) => {
|
|
863
|
-
this.packageCustomRules(newVal)
|
|
864
|
-
},
|
|
865
|
-
{
|
|
866
|
-
immediate: true,
|
|
867
|
-
deep: true
|
|
868
|
-
}
|
|
869
|
-
)
|
|
870
|
-
this.$watch(
|
|
871
|
-
'gridOptions.customRules._all_fields',
|
|
872
|
-
(newVal, oldVal) => {
|
|
873
|
-
this.packageCustomRules(newVal)
|
|
874
|
-
},
|
|
875
|
-
{
|
|
876
|
-
immediate: true,
|
|
877
|
-
deep: true
|
|
878
|
-
}
|
|
879
|
-
)
|
|
880
|
-
},
|
|
881
|
-
mounted() {
|
|
882
|
-
// 去掉该监听,否则导致焦点总是跳到第一个编辑框
|
|
883
|
-
// this.$watch('lineEdit.editingCell', function(newVal, oldVal) {
|
|
884
|
-
// this.focus()
|
|
885
|
-
// }, {
|
|
886
|
-
// immediate: true,
|
|
887
|
-
// deep: true
|
|
888
|
-
// })
|
|
889
|
-
const that = this
|
|
890
|
-
// 选择文件结束
|
|
891
|
-
eventBus.$on(this.componentId + '-pickFileDone', (data) => {
|
|
892
|
-
if (that.$refs.fileUploadRef) {
|
|
893
|
-
that.$refs.fileUploadRef.pickFileDone(data)
|
|
894
|
-
}
|
|
895
|
-
})
|
|
896
|
-
// 上传文件结束
|
|
897
|
-
eventBus.$on(this.componentId + '-uploadFileDone', (data) => {
|
|
898
|
-
if (that.$refs.fileUploadRef) {
|
|
899
|
-
that.$refs.fileUploadRef.uploadFileDone(data)
|
|
900
|
-
}
|
|
901
|
-
})
|
|
902
|
-
// 扫描结束
|
|
903
|
-
eventBus.$on(this.componentId + '-scanDone', (data) => {
|
|
904
|
-
that.innerValue = data.result
|
|
905
|
-
that.blurEvent()
|
|
906
|
-
this.callCustomEvent('afterScanDone')
|
|
907
|
-
})
|
|
908
|
-
// const clipboard = new ClipboardJs('#'+this.copyBtnId,{
|
|
909
|
-
// text:function (){
|
|
910
|
-
// return that.getSelectItemsTitle(that.innerValue)
|
|
911
|
-
// }
|
|
912
|
-
// })
|
|
913
|
-
// clipboard.on('success',()=>{
|
|
914
|
-
// that.$message({
|
|
915
|
-
// type: 'success',
|
|
916
|
-
// message: that.$t('chatEmbed.copySuccess'),
|
|
917
|
-
// showClose: true
|
|
918
|
-
// })
|
|
919
|
-
// })
|
|
920
|
-
// clipboard.on('error',(e)=>{
|
|
921
|
-
// console.error('复制失败',e)
|
|
922
|
-
// })
|
|
923
|
-
},
|
|
924
|
-
destroyed() {
|
|
925
|
-
eventBus.$off(this.componentId + '-pickFileDone')
|
|
926
|
-
// 上传文件结束
|
|
927
|
-
eventBus.$off(this.componentId + '-uploadFileDone')
|
|
928
|
-
// 扫描结束
|
|
929
|
-
eventBus.$off(this.componentId + '-scanDone')
|
|
930
|
-
},
|
|
931
|
-
methods: {
|
|
932
|
-
...customFormatter,
|
|
933
|
-
// /**
|
|
934
|
-
// * @author: 梁旭
|
|
935
|
-
// * @description: 获取提示标题
|
|
936
|
-
// * @Date: 2023-08-04 10:53:24
|
|
937
|
-
// * @param {*}
|
|
938
|
-
// * @return {*}
|
|
939
|
-
// */
|
|
940
|
-
// getClassOptionTitle(val) {
|
|
941
|
-
// if (val !== null && val !== undefined && val !== '' && val.length > 0) {
|
|
942
|
-
// let selectTittle = ''
|
|
943
|
-
// if (typeof val === 'string') {
|
|
944
|
-
// // 单选
|
|
945
|
-
// this.options?.forEach((item) => {
|
|
946
|
-
// if (item.value === val) {
|
|
947
|
-
// selectTittle = item.label
|
|
948
|
-
// }
|
|
949
|
-
// })
|
|
950
|
-
// } else {
|
|
951
|
-
// // 多选
|
|
952
|
-
// this.options?.forEach((item) => {
|
|
953
|
-
// val.forEach((Vtem) => {
|
|
954
|
-
// if (item.value === Vtem) {
|
|
955
|
-
// selectTittle = selectTittle + item.label + ','
|
|
956
|
-
// }
|
|
957
|
-
// })
|
|
958
|
-
// })
|
|
959
|
-
// selectTittle = selectTittle.slice(0, selectTittle.length - 1)
|
|
960
|
-
// }
|
|
961
|
-
// return selectTittle
|
|
962
|
-
// }
|
|
963
|
-
// },
|
|
964
|
-
/**
|
|
965
|
-
* @description: 获取日期选择器可选时间范围
|
|
966
|
-
* @Date: 2023-07-20 13:18:14
|
|
967
|
-
* @param {*}
|
|
968
|
-
* @return {*}
|
|
969
|
-
*/
|
|
970
|
-
getDateAllowTime() {
|
|
971
|
-
if (this.column.valueSetOptions) {
|
|
972
|
-
let optionsObj = JSON.parse(this.column.valueSetOptions)
|
|
973
|
-
if (typeof optionsObj === 'string') {
|
|
974
|
-
// 再转一次
|
|
975
|
-
optionsObj = JSON.parse(optionsObj)
|
|
976
|
-
}
|
|
977
|
-
const nowTime = Date.now()
|
|
978
|
-
if (optionsObj.stateForbiddenTime) {
|
|
979
|
-
const stateDayNumber = optionsObj.stateForbiddenTime
|
|
980
|
-
this.stateForbiddenTime = nowTime - stateDayNumber * 24 * 60 * 60 * 1000
|
|
981
|
-
} else {
|
|
982
|
-
this.stateForbiddenTime = null
|
|
983
|
-
}
|
|
984
|
-
if (optionsObj.endForbiddenTime) {
|
|
985
|
-
const endDayNumber = optionsObj.endForbiddenTime
|
|
986
|
-
this.endForbiddenTime = nowTime + endDayNumber * 24 * 60 * 60 * 1000 - 24 * 60 * 60 * 1000
|
|
987
|
-
} else {
|
|
988
|
-
this.endForbiddenTime = null
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
},
|
|
992
|
-
focus() {
|
|
993
|
-
if (this.type !== 'slider' && this.type !== 'rate') {
|
|
994
|
-
// slider滑块组件 和 rate评分组件 没有focus方法
|
|
995
|
-
if (
|
|
996
|
-
this.lineEdit.editingCell &&
|
|
997
|
-
this.position &&
|
|
998
|
-
this.position.row === this.lineEdit.editingCell.row &&
|
|
999
|
-
this.position.prop === this.lineEdit.editingCell.prop
|
|
1000
|
-
) {
|
|
1001
|
-
if (this.$refs.item) {
|
|
1002
|
-
this.$refs.item.focus()
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
},
|
|
1007
|
-
handleBeforeUpload(file) {
|
|
1008
|
-
let limitFileSize = this.fileSetObj.limitFileSize
|
|
1009
|
-
if (limitFileSize === undefined) {
|
|
1010
|
-
// 默认是30M
|
|
1011
|
-
limitFileSize = 30
|
|
1012
|
-
}
|
|
1013
|
-
if (file.size > limitFileSize * 1024 * 1024) {
|
|
1014
|
-
// 超过最大限制
|
|
1015
|
-
this.$message({
|
|
1016
|
-
type: 'warning',
|
|
1017
|
-
message: this.$t('imatrixUIMessage.exceedFileSize', { fileSize: limitFileSize }),
|
|
1018
|
-
showClose: true
|
|
1019
|
-
})
|
|
1020
|
-
// 返回false停止上传
|
|
1021
|
-
return false
|
|
1022
|
-
}
|
|
1023
|
-
},
|
|
1024
|
-
setTreeType() {
|
|
1025
|
-
if (this.type) {
|
|
1026
|
-
if (this.type.indexOf('single') >= 0 && this.type.indexOf('Tree') > 0) {
|
|
1027
|
-
this.isMultiTree = false
|
|
1028
|
-
} else {
|
|
1029
|
-
this.isMultiTree = true
|
|
1030
|
-
}
|
|
1031
|
-
if (this.type.indexOf('DeptManTree') > 0) {
|
|
1032
|
-
// 说明是部门人员树
|
|
1033
|
-
this.deptManTree = true
|
|
1034
|
-
}
|
|
1035
|
-
if (this.type.indexOf('DeptTree') > 0) {
|
|
1036
|
-
// 说明是部门树
|
|
1037
|
-
this.deptTree = true
|
|
1038
|
-
}
|
|
1039
|
-
if (this.type.indexOf('WgManTree') > 0) {
|
|
1040
|
-
// 说明是工作组人员树
|
|
1041
|
-
this.wgManTree = true
|
|
1042
|
-
}
|
|
1043
|
-
if (this.type.indexOf('WgTree') > 0) {
|
|
1044
|
-
// 说明是工作组树
|
|
1045
|
-
this.wgTree = true
|
|
1046
|
-
}
|
|
1047
|
-
this.deptScopeLimit()
|
|
1048
|
-
}
|
|
1049
|
-
},
|
|
1050
|
-
orgTreeSetSort() {
|
|
1051
|
-
// 设值排下序,否则出现所有映射还没设值完毕,就触发了change事件问题
|
|
1052
|
-
const columnPropIndex = this.fields.findIndex((filed) => filed.model === this.column.prop)
|
|
1053
|
-
if (columnPropIndex > -1) {
|
|
1054
|
-
const tempFiled = this.fields[columnPropIndex]
|
|
1055
|
-
this.fields.splice(columnPropIndex, 1)
|
|
1056
|
-
this.fields.push(tempFiled)
|
|
1057
|
-
}
|
|
1058
|
-
},
|
|
1059
|
-
// 显示组织树时需要计算指定部门
|
|
1060
|
-
showOrganizationTree() {
|
|
1061
|
-
if (this.column.orgTreeSet) {
|
|
1062
|
-
const orgTreeSet = JSON.parse(this.column.orgTreeSet)
|
|
1063
|
-
if (orgTreeSet.length) {
|
|
1064
|
-
this.fields = orgTreeSet
|
|
1065
|
-
this.orgTreeSetSort()
|
|
1066
|
-
} else {
|
|
1067
|
-
if (orgTreeSet.orgTreeSetArr) {
|
|
1068
|
-
this.fields = orgTreeSet.orgTreeSetArr
|
|
1069
|
-
this.orgTreeSetSort()
|
|
1070
|
-
}
|
|
1071
|
-
if (orgTreeSet.specifyType) {
|
|
1072
|
-
if (orgTreeSet.specifyType === 'dataTable') {
|
|
1073
|
-
// 根据字段获取值
|
|
1074
|
-
if (orgTreeSet.dataTableField) {
|
|
1075
|
-
const dataTableFieldValue = getEntityFieldValue(this.row, orgTreeSet.dataTableField)
|
|
1076
|
-
if (dataTableFieldValue && dataTableFieldValue !== '') {
|
|
1077
|
-
this.departmentInfo = dataTableFieldValue.split(',')
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
} else if (orgTreeSet.specifyType === 'dept' || orgTreeSet.specifyType === 'workGroup') {
|
|
1081
|
-
if (orgTreeSet.specifyDept && orgTreeSet.specifyDept !== '') {
|
|
1082
|
-
if (typeof orgTreeSet.specifyDept === 'object') {
|
|
1083
|
-
// 固定值
|
|
1084
|
-
this.departmentInfo = orgTreeSet.specifyDept
|
|
1085
|
-
} else {
|
|
1086
|
-
this.departmentInfo = orgTreeSet.specifyDept.split(',')
|
|
1087
|
-
}
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
}
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
},
|
|
1094
|
-
// isInputEventUpdateValue input事件时是否更新value值
|
|
1095
|
-
cellEvent(eventName, event, isInputEventUpdateValue) {
|
|
1096
|
-
console.log('cellEvent---eventName=', eventName, 'this.innerValue=', this.innerValue, event, isInputEventUpdateValue)
|
|
1097
|
-
let isInputVal = false
|
|
1098
|
-
if (eventName === 'focus') {
|
|
1099
|
-
$emit(this, 'focus', event)
|
|
1100
|
-
}
|
|
1101
|
-
if (eventName === 'input' && this.isDateControll()) {
|
|
1102
|
-
// 如果是日期控件,如果使用blur事件来修改数据内容,清空文本框内容不会改变model的值,所以还是需要input事件时处理
|
|
1103
|
-
let val = event
|
|
1104
|
-
if (val === '') {
|
|
1105
|
-
val = null
|
|
1106
|
-
}
|
|
1107
|
-
$emit(this, 'update:value', val)
|
|
1108
|
-
this.clearValidateErrorField()
|
|
1109
|
-
isInputVal = true
|
|
1110
|
-
// 在callCustomEvent方法中使用了innerValue属性
|
|
1111
|
-
this.innerValue = val
|
|
1112
|
-
} else if (eventName === 'input' && this.isSelectControll()) {
|
|
1113
|
-
// 如果是下拉框选择器控件,如果使用blur事件来修改数据内容,有时会更新不到最新数据
|
|
1114
|
-
// console.log('cellEvent2---this.innerValue=', this.innerValue)
|
|
1115
|
-
if (
|
|
1116
|
-
this.type === 'multiselect' &&
|
|
1117
|
-
this.innerValue &&
|
|
1118
|
-
Object.prototype.toString.apply(this.innerValue) === '[object Array]'
|
|
1119
|
-
) {
|
|
1120
|
-
// 如果是多选下拉框,且值是数组
|
|
1121
|
-
const saveAll = 'saveAll'
|
|
1122
|
-
if (this.innerValue.indexOf(saveAll) < 0) {
|
|
1123
|
-
// 不包含“全选”时才走input,全选是在multiselectchange中特殊处理的
|
|
1124
|
-
$emit(this, 'update:value', this.innerValue.join(','))
|
|
1125
|
-
this.clearValidateErrorField()
|
|
1126
|
-
}
|
|
1127
|
-
} else {
|
|
1128
|
-
$emit(this, 'update:value', this.innerValue)
|
|
1129
|
-
this.clearValidateErrorField()
|
|
1130
|
-
}
|
|
1131
|
-
isInputVal = true
|
|
1132
|
-
} else if (eventName === 'input' && isInputEventUpdateValue !== undefined && isInputEventUpdateValue === true) {
|
|
1133
|
-
// 表示input事件时更新值,switch、rate、slider组件时会走该分支
|
|
1134
|
-
// 在callCustomEvent方法中使用了innerValue属性
|
|
1135
|
-
this.innerValue = event
|
|
1136
|
-
$emit(this, 'update:value', event)
|
|
1137
|
-
this.clearValidateErrorField()
|
|
1138
|
-
isInputVal = true
|
|
1139
|
-
} else if (eventName === 'blur' && !this.isSelectControll()) {
|
|
1140
|
-
// 为了使输入时流畅,所以在blur时调用input,更改组件的数据
|
|
1141
|
-
this.blurEvent()
|
|
1142
|
-
isInputVal = true
|
|
1143
|
-
if (this.innerValue && this.isInputControl() && this.column.dataType === 'TEXT') {
|
|
1144
|
-
this.innerValue = this.innerValue.trim()
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
if (!isInputVal && eventName === 'change') {
|
|
1148
|
-
// 走完chang事件,触发一次失焦事件
|
|
1149
|
-
// this.$refs.item.blur()
|
|
1150
|
-
this.blurEvent()
|
|
1151
|
-
// 验证是否是合法的小数
|
|
1152
|
-
// 保存时后台给出数字类型转换错误的验证,前台不提供了,因为会同时出现两个类型错误提示信息的问题
|
|
1153
|
-
// this.checkDecimal()
|
|
1154
|
-
}
|
|
1155
|
-
if (eventName === 'clear') {
|
|
1156
|
-
if ((this.type === 'multiselect' || this.type === 'select') && isDynamicDataSourceSource(this.column)) {
|
|
1157
|
-
for (let index = 0; index < this.valueSetOptions.length; index++) {
|
|
1158
|
-
if (this.column.prop !== this.valueSetOptions[index].valueColumn.dbColumnName) {
|
|
1159
|
-
this.setCellValue(this.valueSetOptions[index].valueColumn.dbColumnName, null, 'input')
|
|
1160
|
-
}
|
|
1161
|
-
}
|
|
1162
|
-
}
|
|
1163
|
-
// 清空时,必须这样调用input事件 ,否则组件无法输入值
|
|
1164
|
-
$emit(this, 'update:value', null)
|
|
1165
|
-
}
|
|
1166
|
-
const gridParams = store.get(this.listCode)
|
|
1167
|
-
gridParams.editProp = this.column.prop
|
|
1168
|
-
|
|
1169
|
-
// console.log('cellEvent4---this.innerValue=', this.innerValue)
|
|
1170
|
-
if (this.column.events && this.column.events[eventName]) {
|
|
1171
|
-
// 事件回调
|
|
1172
|
-
this.callCustomEvent(eventName)
|
|
1173
|
-
} else if (isEditOptionFunction(eventName, this.listCode)) {
|
|
1174
|
-
// 为了兼容历史版本保留了该判断
|
|
1175
|
-
|
|
1176
|
-
gridParams.options.lineEditOptions[eventName].call(
|
|
1177
|
-
this,
|
|
1178
|
-
event,
|
|
1179
|
-
this.row,
|
|
1180
|
-
this.column,
|
|
1181
|
-
gridParams.additionalParamMap
|
|
1182
|
-
)
|
|
1183
|
-
}
|
|
1184
|
-
$emit(this, 'findIndex')
|
|
1185
|
-
// console.log('cellEvent5---this.innerValue=', this.innerValue)
|
|
1186
|
-
},
|
|
1187
|
-
blurEvent() {
|
|
1188
|
-
if (this.innerValue === null || this.innerValue === undefined) {
|
|
1189
|
-
this.innerValue = null
|
|
1190
|
-
this.val = null
|
|
1191
|
-
}
|
|
1192
|
-
// 必须这样调用input事件 ,否则组件无法输入值
|
|
1193
|
-
$emit(this, 'update:value', this.innerValue) // 现在的用法
|
|
1194
|
-
this.clearValidateErrorField()
|
|
1195
|
-
// 扫描组件时监控值变化
|
|
1196
|
-
this.watchScanValueChange(this.innerValue)
|
|
1197
|
-
},
|
|
1198
|
-
// 清空单元格必填样式
|
|
1199
|
-
clearValidateErrorField() {
|
|
1200
|
-
if (this.row.validateErrorField) {
|
|
1201
|
-
this.row.validateErrorField = undefined
|
|
1202
|
-
}
|
|
1203
|
-
},
|
|
1204
|
-
// 是否是输入框
|
|
1205
|
-
isInputControl() {
|
|
1206
|
-
return this.type === 'input' || this.type === 'textarea'
|
|
1207
|
-
},
|
|
1208
|
-
// 是否是日期时间选择器
|
|
1209
|
-
isDateControll() {
|
|
1210
|
-
return (
|
|
1211
|
-
this.type === 'date' ||
|
|
1212
|
-
this.column.dataType === 'DATE' ||
|
|
1213
|
-
this.type === 'time' ||
|
|
1214
|
-
this.column.dataType === 'TIME'
|
|
1215
|
-
)
|
|
1216
|
-
},
|
|
1217
|
-
// 是否是下拉框选择器
|
|
1218
|
-
isSelectControll() {
|
|
1219
|
-
return this.type === 'select' || this.type === 'multiselect'
|
|
1220
|
-
},
|
|
1221
|
-
// 值设置是否是动态数据源类型的数据源
|
|
1222
|
-
isDynamicDataSourceSource() {
|
|
1223
|
-
return isDynamicDataSourceSource(this.column)
|
|
1224
|
-
},
|
|
1225
|
-
// 是否是小数类型字段
|
|
1226
|
-
isDecimalDateType() {
|
|
1227
|
-
return (this.column.dataType && this.column.dataType === 'DOUBLE') || this.column.dataType === 'FLOAT'
|
|
1228
|
-
},
|
|
1229
|
-
// 调用自定义事件回调
|
|
1230
|
-
callCustomEvent(eventName) {
|
|
1231
|
-
this.callCustomEventWithParam(eventName, {
|
|
1232
|
-
value: this.innerValue,
|
|
1233
|
-
row: this.row,
|
|
1234
|
-
column: this.column,
|
|
1235
|
-
extendParams: this.extendParams
|
|
1236
|
-
})
|
|
1237
|
-
},
|
|
1238
|
-
// 调用自定义事件回调
|
|
1239
|
-
callCustomEventWithParam(eventName, param) {
|
|
1240
|
-
console.log('callCustomEventWithParam---', eventName, param)
|
|
1241
|
-
// this.column.events 是个对象,key是事件名,value是options.eventCallBack中对应的方法名
|
|
1242
|
-
if (this.column && this.column.events && this.column.events[eventName]) {
|
|
1243
|
-
const funName = this.column.events[eventName]
|
|
1244
|
-
if (!this.listCode) {
|
|
1245
|
-
this.listCode = store.get('_list_code')
|
|
1246
|
-
}
|
|
1247
|
-
const gridParams = store.get(this.listCode)
|
|
1248
|
-
if (
|
|
1249
|
-
gridParams.options &&
|
|
1250
|
-
gridParams.options['eventCallBack'] &&
|
|
1251
|
-
gridParams.options['eventCallBack'][funName] &&
|
|
1252
|
-
typeof gridParams.options['eventCallBack'][funName] === 'function'
|
|
1253
|
-
) {
|
|
1254
|
-
if (!param) {
|
|
1255
|
-
param = {}
|
|
1256
|
-
}
|
|
1257
|
-
param.formData = gridParams.options && gridParams.options.formData ? gridParams.options.formData : null
|
|
1258
|
-
param.parent = this.parentFormData
|
|
1259
|
-
param.rowIndex = this.rowIndex
|
|
1260
|
-
param.additionalParamMap = gridParams.additionalParamMap
|
|
1261
|
-
if (gridParams.options.pageContext) {
|
|
1262
|
-
param.pageContext = gridParams.options.pageContext
|
|
1263
|
-
param.configure = gridParams.options.configureObj
|
|
1264
|
-
const eventFunc = gridParams.options['eventCallBack'][funName]
|
|
1265
|
-
// 兼容新页面事件
|
|
1266
|
-
eventFunc.apply(eventFunc, [param])
|
|
1267
|
-
} else {
|
|
1268
|
-
// 兼容老页面事件调用
|
|
1269
|
-
gridParams.options['eventCallBack'][funName].call(this, param)
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
|
-
},
|
|
1274
|
-
// 验证是否是合法的小数
|
|
1275
|
-
checkDecimal() {
|
|
1276
|
-
if (this.isDecimalDateType() && this.innerValue && this.innerValue !== null) {
|
|
1277
|
-
// 小数类型的字段,失去焦点时,判断输入的内容是否合法
|
|
1278
|
-
const numberReg = /^(-?\d+)(\.\d+)?$/
|
|
1279
|
-
if (!numberReg.test(this.innerValue + '')) {
|
|
1280
|
-
// 表示该字段还未验证,或验证成功,需要再次验证
|
|
1281
|
-
// 表示输入的不合法
|
|
1282
|
-
this.$message({
|
|
1283
|
-
type: 'warning',
|
|
1284
|
-
message: this.$t('imatrixUIMessage.invalideDoubleValue', { num: this.innerValue }),
|
|
1285
|
-
showClose: true
|
|
1286
|
-
})
|
|
1287
|
-
this.focus()
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
},
|
|
1291
|
-
// 自定义编辑组件修改属性值
|
|
1292
|
-
customFocus() {
|
|
1293
|
-
apis.focus(this.position ? this.position.row : null)
|
|
1294
|
-
},
|
|
1295
|
-
openAnnexUpload() {
|
|
1296
|
-
this.annexUploadFlag = true
|
|
1297
|
-
},
|
|
1298
|
-
previewImg() {
|
|
1299
|
-
this.fileList = getFileList(this.row, this.column, this.isSql)
|
|
1300
|
-
this.showSingleImgFlag = true
|
|
1301
|
-
},
|
|
1302
|
-
// 上传成功
|
|
1303
|
-
uploadOnSuccess(response) {
|
|
1304
|
-
console.log('superGrid---uploadOnSuccess----response=', response)
|
|
1305
|
-
if (response) {
|
|
1306
|
-
if (this.isMobile) {
|
|
1307
|
-
// 移动端时事件
|
|
1308
|
-
if (this.column.fileSet && this.column.fileSet !== '') {
|
|
1309
|
-
const fileSetObj = JSON.parse(this.column.fileSet)
|
|
1310
|
-
if (fileSetObj) {
|
|
1311
|
-
// 判断单选还是多选
|
|
1312
|
-
if (this.fileMultiple) {
|
|
1313
|
-
this.multiStorageMobile(fileSetObj, response)
|
|
1314
|
-
} else {
|
|
1315
|
-
const fileObj = response[0]
|
|
1316
|
-
const responseFile = { name: fileObj.showName, serverPath: fileObj.serverPath }
|
|
1317
|
-
this.radioStorageFile(fileSetObj, responseFile)
|
|
1318
|
-
}
|
|
1319
|
-
this.fileList = getFileList(this.row, this.column, this.isSql)
|
|
1320
|
-
}
|
|
1321
|
-
}
|
|
1322
|
-
} else {
|
|
1323
|
-
// PC端
|
|
1324
|
-
const responseFile = { name: response.showName, serverPath: response.serverPath }
|
|
1325
|
-
if (this.column.fileSet && this.column.fileSet !== '') {
|
|
1326
|
-
const fileSetObj = JSON.parse(this.column.fileSet)
|
|
1327
|
-
if (fileSetObj) {
|
|
1328
|
-
// 判断单选还是多选
|
|
1329
|
-
if (this.fileMultiple) {
|
|
1330
|
-
this.multiStorage(fileSetObj, responseFile)
|
|
1331
|
-
} else {
|
|
1332
|
-
this.radioStorageFile(fileSetObj, responseFile)
|
|
1333
|
-
}
|
|
1334
|
-
this.fileList = getFileList(this.row, this.column, this.isSql)
|
|
1335
|
-
console.log('superGrid---uploadOnSuccess----fileList=', this.fileList)
|
|
1336
|
-
}
|
|
1337
|
-
}
|
|
1338
|
-
}
|
|
1339
|
-
this.callCustomEventWithParam('uploaded', {
|
|
1340
|
-
value: response,
|
|
1341
|
-
row: this.row,
|
|
1342
|
-
column: this.column,
|
|
1343
|
-
extendParams: this.extendParams
|
|
1344
|
-
})
|
|
1345
|
-
}
|
|
1346
|
-
this.annexUploadFlag = false
|
|
1347
|
-
},
|
|
1348
|
-
// eventNames 事件名称值为input或clear,input表示值改变时触发的事件,clear表示值清空时触发的事件
|
|
1349
|
-
setCellValue(prop, value, eventNames) {
|
|
1350
|
-
console.log('setCellValue---', prop, value, eventNames)
|
|
1351
|
-
this.setCellValueWithProp(prop, value)
|
|
1352
|
-
if (eventNames) {
|
|
1353
|
-
eventNames.split(',').forEach((eventName) => {
|
|
1354
|
-
this.callCustomEventWithParam(eventName, { value, row: this.row, column: this.column, prop })
|
|
1355
|
-
})
|
|
1356
|
-
}
|
|
1357
|
-
},
|
|
1358
|
-
// 设置指定字段的值,不需要走事件
|
|
1359
|
-
setCellValueWithProp(prop, value) {
|
|
1360
|
-
console.log('setCellValueWithProp---', prop, value)
|
|
1361
|
-
this.row[prop] = value
|
|
1362
|
-
},
|
|
1363
|
-
// 单选上传完成后存储
|
|
1364
|
-
radioStorageFile(fileSetObj, responseFile) {
|
|
1365
|
-
if (fileSetObj.showNameData) {
|
|
1366
|
-
if (this.isSql) {
|
|
1367
|
-
if (fileSetObj.showNameData.dbName) {
|
|
1368
|
-
this.setCellValue(fileSetObj.showNameData.dbName, responseFile.name, 'input')
|
|
1369
|
-
}
|
|
1370
|
-
} else {
|
|
1371
|
-
if (fileSetObj.showNameData.name) {
|
|
1372
|
-
this.setCellValue(fileSetObj.showNameData.name, responseFile.name, 'input')
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
|
-
}
|
|
1376
|
-
if (fileSetObj.serverNameData) {
|
|
1377
|
-
if (this.isSql) {
|
|
1378
|
-
if (fileSetObj.serverNameData.dbName) {
|
|
1379
|
-
this.setCellValue(fileSetObj.serverNameData.dbName, responseFile.serverPath)
|
|
1380
|
-
}
|
|
1381
|
-
} else {
|
|
1382
|
-
if (fileSetObj.serverNameData.name) {
|
|
1383
|
-
this.setCellValue(fileSetObj.serverNameData.name, responseFile.serverPath)
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
},
|
|
1388
|
-
// 多选上传完成后存储
|
|
1389
|
-
multiStorage(fileSetObj, responseFile) {
|
|
1390
|
-
const keyValueParam = analysisFileSetObj(fileSetObj, this.isSql)
|
|
1391
|
-
// 存储
|
|
1392
|
-
// 判断主表拼接还是子表保存
|
|
1393
|
-
if (fileSetObj.childAnnexDataTableCode) {
|
|
1394
|
-
// 存储子表
|
|
1395
|
-
// const lowerStr = fileSetObj.childAnnexDataTableCode.toLowerCase()
|
|
1396
|
-
let fileArr = this.row[this.column.prop]
|
|
1397
|
-
if (!fileArr) {
|
|
1398
|
-
fileArr = []
|
|
1399
|
-
}
|
|
1400
|
-
const fileObj = this.responseFileToFileObj(fileSetObj, responseFile)
|
|
1401
|
-
fileArr.push(fileObj)
|
|
1402
|
-
this.fileList = otherFilesToStandard(fileSetObj, keyValueParam, fileArr, null)
|
|
1403
|
-
this.setCellValue(this.column.prop, fileArr, 'input')
|
|
1404
|
-
} else {
|
|
1405
|
-
let showNameStr = ''
|
|
1406
|
-
let pathNameStr = ''
|
|
1407
|
-
// 存储主表
|
|
1408
|
-
if (fileSetObj.showNameData) {
|
|
1409
|
-
if (this.isSql) {
|
|
1410
|
-
if (fileSetObj.showNameData.dbName) {
|
|
1411
|
-
if (this.row) {
|
|
1412
|
-
if (this.row[fileSetObj.showNameData.dbName]) {
|
|
1413
|
-
let str = this.row[fileSetObj.showNameData.dbName]
|
|
1414
|
-
str += ',' + responseFile.name
|
|
1415
|
-
this.setCellValue(fileSetObj.showNameData.dbName, str, 'input')
|
|
1416
|
-
} else {
|
|
1417
|
-
this.setCellValue(fileSetObj.showNameData.dbName, responseFile.name, 'input')
|
|
1418
|
-
}
|
|
1419
|
-
showNameStr = this.row[fileSetObj.showNameData.dbName]
|
|
1420
|
-
}
|
|
1421
|
-
}
|
|
1422
|
-
} else {
|
|
1423
|
-
if (fileSetObj.showNameData.name) {
|
|
1424
|
-
if (this.row) {
|
|
1425
|
-
if (this.row[fileSetObj.showNameData.name]) {
|
|
1426
|
-
let str = this.row[fileSetObj.showNameData.name]
|
|
1427
|
-
str += ',' + responseFile.name
|
|
1428
|
-
this.setCellValue(fileSetObj.showNameData.name, str, 'input')
|
|
1429
|
-
} else {
|
|
1430
|
-
this.setCellValue(fileSetObj.showNameData.name, responseFile.name, 'input')
|
|
1431
|
-
}
|
|
1432
|
-
showNameStr = this.row[fileSetObj.showNameData.name]
|
|
1433
|
-
}
|
|
1434
|
-
}
|
|
1435
|
-
}
|
|
1436
|
-
}
|
|
1437
|
-
if (fileSetObj.serverNameData) {
|
|
1438
|
-
if (this.isSql) {
|
|
1439
|
-
if (fileSetObj.serverNameData.dbName) {
|
|
1440
|
-
if (this.row) {
|
|
1441
|
-
if (this.row[fileSetObj.serverNameData.dbName]) {
|
|
1442
|
-
let str = this.row[fileSetObj.serverNameData.dbName]
|
|
1443
|
-
str += ',' + responseFile.serverPath
|
|
1444
|
-
this.setCellValue(fileSetObj.serverNameData.dbName, str)
|
|
1445
|
-
} else {
|
|
1446
|
-
this.setCellValue(fileSetObj.serverNameData.dbName, responseFile.serverPath)
|
|
1447
|
-
}
|
|
1448
|
-
pathNameStr = this.row[fileSetObj.serverNameData.dbName]
|
|
1449
|
-
}
|
|
1450
|
-
}
|
|
1451
|
-
} else {
|
|
1452
|
-
if (fileSetObj.serverNameData.name) {
|
|
1453
|
-
if (this.row) {
|
|
1454
|
-
if (this.row[fileSetObj.serverNameData.name]) {
|
|
1455
|
-
let str = this.row[fileSetObj.serverNameData.name]
|
|
1456
|
-
str += ',' + responseFile.serverPath
|
|
1457
|
-
this.setCellValue(fileSetObj.serverNameData.name, str)
|
|
1458
|
-
} else {
|
|
1459
|
-
this.setCellValue(fileSetObj.serverNameData.name, responseFile.serverPath)
|
|
1460
|
-
}
|
|
1461
|
-
pathNameStr = this.row[fileSetObj.serverNameData.name]
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1464
|
-
}
|
|
1465
|
-
}
|
|
1466
|
-
this.fileList = otherFilesToStandard(fileSetObj, keyValueParam, null, {
|
|
1467
|
-
showName: showNameStr,
|
|
1468
|
-
serverPath: pathNameStr
|
|
1469
|
-
})
|
|
1470
|
-
}
|
|
1471
|
-
},
|
|
1472
|
-
// 多选上传完成后存储 移动端时
|
|
1473
|
-
multiStorageMobile(fileSetObj, responseFiles) {
|
|
1474
|
-
console.log('superGrid---multiStorageMobile----responseFiles=', responseFiles, 'fileSetObj=', fileSetObj)
|
|
1475
|
-
const keyValueParam = analysisFileSetObj(fileSetObj, this.isSql)
|
|
1476
|
-
// 存储
|
|
1477
|
-
// 判断主表拼接还是子表保存
|
|
1478
|
-
if (fileSetObj.childAnnexDataTableCode) {
|
|
1479
|
-
// 存储子表
|
|
1480
|
-
// const lowerStr = fileSetObj.childAnnexDataTableCode.toLowerCase()
|
|
1481
|
-
let fileArr = this.row[this.column.prop]
|
|
1482
|
-
if (!fileArr) {
|
|
1483
|
-
fileArr = []
|
|
1484
|
-
}
|
|
1485
|
-
responseFiles.forEach((responseFile) => {
|
|
1486
|
-
const fileObj = this.responseFileToFileObj(fileSetObj, responseFile)
|
|
1487
|
-
fileArr.push(fileObj)
|
|
1488
|
-
})
|
|
1489
|
-
this.fileList = otherFilesToStandard(fileSetObj, keyValueParam, fileArr, null)
|
|
1490
|
-
this.setCellValue(this.column.prop, fileArr, 'input')
|
|
1491
|
-
} else {
|
|
1492
|
-
let showNameStr = ''
|
|
1493
|
-
let pathNameStr = ''
|
|
1494
|
-
// 存储主表
|
|
1495
|
-
if (fileSetObj.showNameData) {
|
|
1496
|
-
if (this.isSql) {
|
|
1497
|
-
if (fileSetObj.showNameData.dbName) {
|
|
1498
|
-
if (this.row) {
|
|
1499
|
-
let showName = ''
|
|
1500
|
-
responseFiles.forEach((responseFile) => {
|
|
1501
|
-
showName = showName + responseFile.name + ','
|
|
1502
|
-
})
|
|
1503
|
-
if (showName.indexOf(',') >= 0) {
|
|
1504
|
-
showName = showName.substring(0, showName.lastIndexOf(','))
|
|
1505
|
-
}
|
|
1506
|
-
this.setCellValue(fileSetObj.showNameData.dbName, showName, 'input')
|
|
1507
|
-
showNameStr = this.row[fileSetObj.showNameData.dbName]
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
1510
|
-
} else {
|
|
1511
|
-
if (fileSetObj.showNameData.name) {
|
|
1512
|
-
if (this.row) {
|
|
1513
|
-
let showName = ''
|
|
1514
|
-
responseFiles.forEach((responseFile) => {
|
|
1515
|
-
showName = showName + responseFile.name + ','
|
|
1516
|
-
})
|
|
1517
|
-
if (showName.indexOf(',') >= 0) {
|
|
1518
|
-
showName = showName.substring(0, showName.lastIndexOf(','))
|
|
1519
|
-
}
|
|
1520
|
-
this.setCellValue(fileSetObj.showNameData.name, showName, 'input')
|
|
1521
|
-
showNameStr = this.row[fileSetObj.showNameData.name]
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
}
|
|
1526
|
-
if (fileSetObj.serverNameData) {
|
|
1527
|
-
if (this.isSql) {
|
|
1528
|
-
if (fileSetObj.serverNameData.dbName) {
|
|
1529
|
-
if (this.row) {
|
|
1530
|
-
let serverName = ''
|
|
1531
|
-
responseFiles.forEach((responseFile) => {
|
|
1532
|
-
serverName = serverName + responseFile.serverPath + ','
|
|
1533
|
-
})
|
|
1534
|
-
if (serverName.indexOf(',') >= 0) {
|
|
1535
|
-
serverName = serverName.substring(0, serverName.lastIndexOf(','))
|
|
1536
|
-
}
|
|
1537
|
-
this.setCellValue(fileSetObj.serverNameData.dbName, serverName, 'input')
|
|
1538
|
-
pathNameStr = this.row[fileSetObj.serverNameData.dbName]
|
|
1539
|
-
}
|
|
1540
|
-
}
|
|
1541
|
-
} else {
|
|
1542
|
-
if (fileSetObj.serverNameData.name) {
|
|
1543
|
-
if (this.row) {
|
|
1544
|
-
let serverName = ''
|
|
1545
|
-
responseFiles.forEach((responseFile) => {
|
|
1546
|
-
serverName = serverName + responseFile.serverPath + ','
|
|
1547
|
-
})
|
|
1548
|
-
if (serverName.indexOf(',') >= 0) {
|
|
1549
|
-
serverName = serverName.substring(0, serverName.lastIndexOf(','))
|
|
1550
|
-
}
|
|
1551
|
-
this.setCellValue(fileSetObj.serverNameData.name, serverName, 'input')
|
|
1552
|
-
pathNameStr = this.row[fileSetObj.serverNameData.name]
|
|
1553
|
-
}
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
}
|
|
1557
|
-
this.fileList = otherFilesToStandard(fileSetObj, keyValueParam, null, {
|
|
1558
|
-
showName: showNameStr,
|
|
1559
|
-
serverPath: pathNameStr
|
|
1560
|
-
})
|
|
1561
|
-
}
|
|
1562
|
-
},
|
|
1563
|
-
responseFileToFileObj(fileSetObj, responseFile) {
|
|
1564
|
-
const fileObj = {}
|
|
1565
|
-
if (fileSetObj.showNameData) {
|
|
1566
|
-
if (this.isSql) {
|
|
1567
|
-
if (fileSetObj.showNameData.dbName) {
|
|
1568
|
-
fileObj.fileSetObj.showNameData.dbName = responseFile.name
|
|
1569
|
-
}
|
|
1570
|
-
} else {
|
|
1571
|
-
if (fileSetObj.showNameData.name) {
|
|
1572
|
-
fileObj.fileSetObj.showNameData.name = responseFile.name
|
|
1573
|
-
}
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
if (fileSetObj.serverNameData) {
|
|
1577
|
-
if (this.isSql) {
|
|
1578
|
-
if (fileSetObj.serverNameData.dbName) {
|
|
1579
|
-
fileObj.fileSetObj.serverNameData.dbName = responseFile.serverPath
|
|
1580
|
-
}
|
|
1581
|
-
} else {
|
|
1582
|
-
if (fileSetObj.serverNameData.name) {
|
|
1583
|
-
fileObj.fileSetObj.serverNameData.name = responseFile.serverPath
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
}
|
|
1587
|
-
return fileObj
|
|
1588
|
-
},
|
|
1589
|
-
// 单选删除文件
|
|
1590
|
-
deleteAnnexFile(fileSetObj) {
|
|
1591
|
-
if (fileSetObj) {
|
|
1592
|
-
if (fileSetObj.showNameData) {
|
|
1593
|
-
if (this.isSql) {
|
|
1594
|
-
if (fileSetObj.showNameData.dbName) {
|
|
1595
|
-
this.setCellValue(fileSetObj.showNameData.dbName, null, 'input,clear')
|
|
1596
|
-
}
|
|
1597
|
-
} else {
|
|
1598
|
-
if (fileSetObj.showNameData.name) {
|
|
1599
|
-
this.setCellValue(fileSetObj.showNameData.name, null, 'input,clear')
|
|
1600
|
-
}
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
1603
|
-
if (fileSetObj.serverNameData) {
|
|
1604
|
-
if (this.isSql) {
|
|
1605
|
-
if (fileSetObj.serverNameData.dbName) {
|
|
1606
|
-
this.setCellValue(fileSetObj.serverNameData.dbName, null)
|
|
1607
|
-
}
|
|
1608
|
-
} else {
|
|
1609
|
-
if (fileSetObj.serverNameData.name) {
|
|
1610
|
-
this.setCellValue(fileSetObj.serverNameData.name, null)
|
|
1611
|
-
}
|
|
1612
|
-
}
|
|
1613
|
-
}
|
|
1614
|
-
}
|
|
1615
|
-
},
|
|
1616
|
-
deleteFile(fileList, index) {
|
|
1617
|
-
console.log(JSON.stringify(fileList))
|
|
1618
|
-
this.fileList = fileList
|
|
1619
|
-
if (index !== undefined && index !== -1) {
|
|
1620
|
-
this.fileList.splice(index, 1)
|
|
1621
|
-
}
|
|
1622
|
-
console.log(JSON.stringify(this.fileList))
|
|
1623
|
-
if (this.column.fileSet && this.column.fileSet !== '') {
|
|
1624
|
-
const fileSetObj = JSON.parse(this.column.fileSet)
|
|
1625
|
-
if (fileSetObj) {
|
|
1626
|
-
if (this.fileMultiple) {
|
|
1627
|
-
// 多选附件
|
|
1628
|
-
const keyValueParam = analysisFileSetObj(fileSetObj, this.isSql)
|
|
1629
|
-
this.standardToOtherFiles(fileSetObj, keyValueParam)
|
|
1630
|
-
} else {
|
|
1631
|
-
// 单选附件
|
|
1632
|
-
this.deleteAnnexFile(fileSetObj)
|
|
1633
|
-
}
|
|
1634
|
-
}
|
|
1635
|
-
}
|
|
1636
|
-
},
|
|
1637
|
-
// fileList 赋值Row
|
|
1638
|
-
standardToOtherFiles(fileSetObj, keyValueParam) {
|
|
1639
|
-
if (fileSetObj.childAnnexDataTableCode) {
|
|
1640
|
-
// 子表
|
|
1641
|
-
let fileArr = null
|
|
1642
|
-
if (this.fileList && this.fileList.length > 0) {
|
|
1643
|
-
fileArr = []
|
|
1644
|
-
for (var i = 0; i < this.fileList.length; i++) {
|
|
1645
|
-
const file = this.fileList[i]
|
|
1646
|
-
const otherFile = {}
|
|
1647
|
-
otherFile.keyValueParam.showName = file.showName
|
|
1648
|
-
otherFile.keyValueParam.serverPath = file.serverPath
|
|
1649
|
-
fileArr.push(otherFile)
|
|
1650
|
-
}
|
|
1651
|
-
}
|
|
1652
|
-
this.setCellValue(this.column.prop, fileArr, 'input')
|
|
1653
|
-
} else {
|
|
1654
|
-
// 主表
|
|
1655
|
-
let showNameStr = null
|
|
1656
|
-
let serverNameStr = null
|
|
1657
|
-
if (this.fileList && this.fileList.length > 0) {
|
|
1658
|
-
showNameStr = ''
|
|
1659
|
-
serverNameStr = ''
|
|
1660
|
-
for (var k = 0; k < this.fileList.length; k++) {
|
|
1661
|
-
const file = this.fileList[k]
|
|
1662
|
-
if (showNameStr !== '') {
|
|
1663
|
-
showNameStr += ','
|
|
1664
|
-
}
|
|
1665
|
-
if (serverNameStr !== '') {
|
|
1666
|
-
serverNameStr += ','
|
|
1667
|
-
}
|
|
1668
|
-
showNameStr += file.showName
|
|
1669
|
-
serverNameStr += file.serverPath
|
|
1670
|
-
}
|
|
1671
|
-
}
|
|
1672
|
-
this.setCellValue(keyValueParam.showName, showNameStr, 'input')
|
|
1673
|
-
this.setCellValue(keyValueParam.serverPath, serverNameStr)
|
|
1674
|
-
}
|
|
1675
|
-
},
|
|
1676
|
-
// 组织结构树文本框值改变事件
|
|
1677
|
-
organizationInputEvent(prop, value) {
|
|
1678
|
-
// console.log('organizationInputEvent1---prop=', prop, 'this.column.prop=', this.column.prop, 'value=', value)
|
|
1679
|
-
if (this.isSql && prop && prop.indexOf('.') < 0) {
|
|
1680
|
-
if (prop !== this.column.prop && this.tableName) {
|
|
1681
|
-
const replaceDot = '__'
|
|
1682
|
-
prop = this.tableName + replaceDot + prop
|
|
1683
|
-
}
|
|
1684
|
-
}
|
|
1685
|
-
setEntityFieldValue(this.row, prop, value)
|
|
1686
|
-
if (prop && prop === this.column.prop) {
|
|
1687
|
-
// 必须手动调用一下input事件,否则不会更新组件的值
|
|
1688
|
-
// console.log('organizationInputEvent2---prop=', prop, 'value=', value)
|
|
1689
|
-
if (this.column && this.column.events) {
|
|
1690
|
-
Object.keys(this.column.events).forEach((eventType) => {
|
|
1691
|
-
this.callCustomEventWithParam(eventType, {
|
|
1692
|
-
value,
|
|
1693
|
-
row: this.row,
|
|
1694
|
-
column: this.column,
|
|
1695
|
-
prop
|
|
1696
|
-
})
|
|
1697
|
-
})
|
|
1698
|
-
}
|
|
1699
|
-
}
|
|
1700
|
-
},
|
|
1701
|
-
// 组织结构树文本框值清空事件
|
|
1702
|
-
clearOrganizationInputEvent(prop) {
|
|
1703
|
-
if (this.isSql) {
|
|
1704
|
-
// sql处理时在后台会把空串当做null处理
|
|
1705
|
-
// this.$set(this.row, prop, '')
|
|
1706
|
-
setEntityFieldValue(this.row, prop, '')
|
|
1707
|
-
} else {
|
|
1708
|
-
// 非sql处理时需要设为null,否则保存时后台可能会报字段类型不正确,无法保存
|
|
1709
|
-
// this.$set(this.row, prop, null)
|
|
1710
|
-
setEntityFieldValue(this.row, prop, null)
|
|
1711
|
-
}
|
|
1712
|
-
if (prop && prop === this.column.prop) {
|
|
1713
|
-
// 必须手动调用一下input事件,否则不会更新组件的值
|
|
1714
|
-
this.callCustomEventWithParam('clear', { row: this.row, column: this.column, prop })
|
|
1715
|
-
}
|
|
1716
|
-
},
|
|
1717
|
-
// 组织结构树文本框值追加事件
|
|
1718
|
-
appendOrganizationInputEvent(prop, originalValue, appendValue, separator, finallyValue) {
|
|
1719
|
-
// this.$set(this.row, prop, finallyValue)
|
|
1720
|
-
setEntityFieldValue(this.row, prop, finallyValue)
|
|
1721
|
-
if (prop && prop === this.column.prop) {
|
|
1722
|
-
this.callCustomEventWithParam('append', {
|
|
1723
|
-
originalValue,
|
|
1724
|
-
appendValue,
|
|
1725
|
-
separator,
|
|
1726
|
-
finallyValue,
|
|
1727
|
-
row: this.row,
|
|
1728
|
-
column: this.column,
|
|
1729
|
-
prop
|
|
1730
|
-
})
|
|
1731
|
-
}
|
|
1732
|
-
},
|
|
1733
|
-
// 组织结构树文本框值替换事件
|
|
1734
|
-
replaceOrganizationInputEvent(prop, originalValue, newValue) {
|
|
1735
|
-
// this.$set(this.row, prop, newValue)
|
|
1736
|
-
setEntityFieldValue(this.row, prop, newValue)
|
|
1737
|
-
if (prop && prop === this.column.prop) {
|
|
1738
|
-
this.callCustomEventWithParam('replace', { originalValue, newValue, row: this.row, column: this.column, prop })
|
|
1739
|
-
}
|
|
1740
|
-
},
|
|
1741
|
-
// setDynamicSourceSelectValue({ value, sourceColumnName, targetColumnName, options, selectedItem }) {
|
|
1742
|
-
// if (targetColumnName) {
|
|
1743
|
-
// this.setCellValue(targetColumnName, value, 'input')
|
|
1744
|
-
// this.callCustomEventWithParam('input', {
|
|
1745
|
-
// value,
|
|
1746
|
-
// extendParams: selectedItem,
|
|
1747
|
-
// row: this.row,
|
|
1748
|
-
// column: this.column,
|
|
1749
|
-
// targetColumnName
|
|
1750
|
-
// })
|
|
1751
|
-
// }
|
|
1752
|
-
// },
|
|
1753
|
-
// multiselectChange(arr, selectedItem) {
|
|
1754
|
-
// // console.log('multiselectChange1---arr=', arr)
|
|
1755
|
-
// this.extendParams = selectedItem
|
|
1756
|
-
// let isSaveAll = false
|
|
1757
|
-
// if (arr && arr.length > 0 && this.type === 'multiselect' && !this.isDynamicDataSourceSource()) {
|
|
1758
|
-
// const saveAll = 'saveAll'
|
|
1759
|
-
// if (arr.indexOf(saveAll) !== -1) {
|
|
1760
|
-
// const length = arr.length
|
|
1761
|
-
// if (length - 1 >= this.options.length) {
|
|
1762
|
-
// this.innerValue = null
|
|
1763
|
-
// // 取消全选
|
|
1764
|
-
// } else {
|
|
1765
|
-
// // 全选
|
|
1766
|
-
// if (!this.innerValue || this.innerValue.indexOf(saveAll) >= 0) {
|
|
1767
|
-
// this.innerValue = []
|
|
1768
|
-
// }
|
|
1769
|
-
// this.options?.forEach((item) => {
|
|
1770
|
-
// if (this.innerValue.indexOf(item.value) === -1) {
|
|
1771
|
-
// this.innerValue.push(item.value)
|
|
1772
|
-
// }
|
|
1773
|
-
// })
|
|
1774
|
-
// }
|
|
1775
|
-
// isSaveAll = true
|
|
1776
|
-
// }
|
|
1777
|
-
// }
|
|
1778
|
-
// if (this.type === 'multiselect') {
|
|
1779
|
-
// // console.log('multiselectChange2---this.innerValue=', this.innerValue)
|
|
1780
|
-
// if (this.innerValue && typeof this.innerValue !== 'number' && this.innerValue.indexOf('saveAll') !== -1) {
|
|
1781
|
-
// this.innerValue.splice(this.innerValue.indexOf('saveAll'), 1)
|
|
1782
|
-
// }
|
|
1783
|
-
// // console.log('multiselectChange3---this.innerValue=', this.innerValue)
|
|
1784
|
-
// const val = this.innerValue && this.innerValue.length > 0 ? this.innerValue.join(',') : null
|
|
1785
|
-
// if (isSaveAll) {
|
|
1786
|
-
// this.cellEvent('input', val)
|
|
1787
|
-
// }
|
|
1788
|
-
// this.cellEvent('change', val)
|
|
1789
|
-
// this.setCellValue(this.column.prop, val, 'change')
|
|
1790
|
-
// } else {
|
|
1791
|
-
// this.cellEvent('change', arr)
|
|
1792
|
-
// }
|
|
1793
|
-
// },
|
|
1794
|
-
getDefaultValue(val) {
|
|
1795
|
-
// 表示当前字段的是空的,但是有默认值时,给当前字段设置值
|
|
1796
|
-
// if (val === undefined || val === null || val === '') {
|
|
1797
|
-
if (this.isInvalidValue(val)) {
|
|
1798
|
-
// 没有值的时候才设置默认值
|
|
1799
|
-
if (this.column.componentType === 'select' && !isDynamicDataSourceSource(this.column) && this.column.valueSet) {
|
|
1800
|
-
// TODO 不知道为什么这个方法调用了三遍, 需要看下
|
|
1801
|
-
// 如果没有给字段设置默认值时,如果是选项组则选项组如果有默认选中,则将默认选中值赋值给当前字段
|
|
1802
|
-
// console.log(this.column.valueSet.find(element => element.selected === true), 'xxxxxxxxxxx')
|
|
1803
|
-
const defaultSelected = this.column.valueSet.find((element) => element.selected === true)
|
|
1804
|
-
if (defaultSelected) {
|
|
1805
|
-
setEntityFieldValue(this.row, this.column.prop, defaultSelected.value)
|
|
1806
|
-
return defaultSelected.value
|
|
1807
|
-
}
|
|
1808
|
-
} else if (this.column.componentType === 'inputNumber') {
|
|
1809
|
-
let defaultValue = 0
|
|
1810
|
-
if (
|
|
1811
|
-
this.column.valueSetOptions &&
|
|
1812
|
-
this.column.valueSetOptions !== '' &&
|
|
1813
|
-
this.column.componentType === 'inputNumber'
|
|
1814
|
-
) {
|
|
1815
|
-
let inputNumberSetting = JSON.parse(this.column.valueSetOptions)
|
|
1816
|
-
if (typeof inputNumberSetting === 'string') {
|
|
1817
|
-
// 再转一次
|
|
1818
|
-
inputNumberSetting = JSON.parse(inputNumberSetting)
|
|
1819
|
-
}
|
|
1820
|
-
if (inputNumberSetting.min) {
|
|
1821
|
-
defaultValue = inputNumberSetting.min
|
|
1822
|
-
}
|
|
1823
|
-
}
|
|
1824
|
-
setEntityFieldValue(this.row, this.column.prop, defaultValue)
|
|
1825
|
-
return defaultValue
|
|
1826
|
-
}
|
|
1827
|
-
} else {
|
|
1828
|
-
if (this.column.componentType === 'inputNumber') {
|
|
1829
|
-
// 因为新增行记录时 getNewRow时 如果有默认值,赋值的是字符串类型,会让校验不通过,所以需要转为number
|
|
1830
|
-
const numberValue = Number(val)
|
|
1831
|
-
setEntityFieldValue(this.row, this.column.prop, numberValue)
|
|
1832
|
-
return numberValue
|
|
1833
|
-
}
|
|
1834
|
-
}
|
|
1835
|
-
return val
|
|
1836
|
-
},
|
|
1837
|
-
refresData(data) {
|
|
1838
|
-
$emit(this, 'refresData', data)
|
|
1839
|
-
},
|
|
1840
|
-
refresPortData(port, value) {
|
|
1841
|
-
$emit(this, 'refresPortData', port, value)
|
|
1842
|
-
},
|
|
1843
|
-
refresPortsData(map) {
|
|
1844
|
-
$emit(this, 'refresPortsData', map)
|
|
1845
|
-
},
|
|
1846
|
-
refresMainTableFields(map) {
|
|
1847
|
-
$emit(this, 'refresMainTableFields', map)
|
|
1848
|
-
},
|
|
1849
|
-
deleteSuccess(deleteFile) {
|
|
1850
|
-
this.callCustomEventWithParam('deleted', {
|
|
1851
|
-
value: deleteFile,
|
|
1852
|
-
row: this.row,
|
|
1853
|
-
column: this.column,
|
|
1854
|
-
extendParams: this.extendParams
|
|
1855
|
-
})
|
|
1856
|
-
console.log('deleteSuccess', deleteFile, this.fileInfo)
|
|
1857
|
-
},
|
|
1858
|
-
// 时间格式判断是否是字符串类型,如果是字符串类型使用格式化的数据,如果是时间格式的显示时间搓
|
|
1859
|
-
isValueFormat() {
|
|
1860
|
-
if (this.column.dataType === 'TEXT' || this.column.dataType === 'text') {
|
|
1861
|
-
return this.isFormat()
|
|
1862
|
-
}
|
|
1863
|
-
if (this.type === 'week') {
|
|
1864
|
-
if (this.controlConfig && this.controlConfig.valueFormat) {
|
|
1865
|
-
return this.controlConfig.valueFormat
|
|
1866
|
-
}
|
|
1867
|
-
}
|
|
1868
|
-
// timestamp毫秒值为x
|
|
1869
|
-
return 'x'
|
|
1870
|
-
},
|
|
1871
|
-
// 时间格式判断是否是字符串类型,显示格式
|
|
1872
|
-
isFormat() {
|
|
1873
|
-
if (this.type === 'dateTimePicker') {
|
|
1874
|
-
return 'YYYY-MM-DD HH:mm:ss'
|
|
1875
|
-
} else if (this.type === 'timePicker') {
|
|
1876
|
-
if (this.column.originalFormat) {
|
|
1877
|
-
return this.column.originalFormat
|
|
1878
|
-
}
|
|
1879
|
-
return 'HH:mm:ss'
|
|
1880
|
-
} else if (this.type === 'year') {
|
|
1881
|
-
return 'YYYY'
|
|
1882
|
-
} else if (this.type === 'month') {
|
|
1883
|
-
return 'MM'
|
|
1884
|
-
} else if (this.type === 'date') {
|
|
1885
|
-
return 'YYYY-MM-DD'
|
|
1886
|
-
} else if (this.type === 'week') {
|
|
1887
|
-
if (this.controlConfig && this.controlConfig.format) {
|
|
1888
|
-
return this.controlConfig.format
|
|
1889
|
-
}
|
|
1890
|
-
return 'ww'
|
|
1891
|
-
} else if (this.type === 'time' || this.column.dataType === 'TIME') {
|
|
1892
|
-
return 'HH:mm:ss'
|
|
1893
|
-
} else if (this.column.dataType === 'DATE') {
|
|
1894
|
-
return 'YYYY-MM-DD'
|
|
1895
|
-
}
|
|
1896
|
-
return 'YYYY-MM-DD'
|
|
1897
|
-
},
|
|
1898
|
-
fnProhibitToEdit(entity) {
|
|
1899
|
-
eventBus.$emit('prohibitToEdit', entity)
|
|
1900
|
-
$emit(this, 'prohibitToEdit', entity)
|
|
1901
|
-
},
|
|
1902
|
-
setInputNumberConfig() {
|
|
1903
|
-
if (this.column.componentType === 'inputNumber') {
|
|
1904
|
-
if (
|
|
1905
|
-
this.column.valueSetOptions &&
|
|
1906
|
-
this.column.valueSetOptions !== '' &&
|
|
1907
|
-
this.column.componentType === 'inputNumber'
|
|
1908
|
-
) {
|
|
1909
|
-
let inputNumberSetting = JSON.parse(this.column.valueSetOptions)
|
|
1910
|
-
if (typeof inputNumberSetting === 'string') {
|
|
1911
|
-
// 再转一次
|
|
1912
|
-
inputNumberSetting = JSON.parse(inputNumberSetting)
|
|
1913
|
-
}
|
|
1914
|
-
this.inputNumberSet = inputNumberSetting
|
|
1915
|
-
} else {
|
|
1916
|
-
this.inputNumberSet = {
|
|
1917
|
-
min: null,
|
|
1918
|
-
max: null,
|
|
1919
|
-
step: 1,
|
|
1920
|
-
precision: 0,
|
|
1921
|
-
position: ''
|
|
1922
|
-
}
|
|
1923
|
-
}
|
|
1924
|
-
}
|
|
1925
|
-
},
|
|
1926
|
-
isValidValue(value) {
|
|
1927
|
-
return value !== undefined && value !== null && value !== ''
|
|
1928
|
-
},
|
|
1929
|
-
isInvalidValue(value) {
|
|
1930
|
-
return value === undefined || value === null || value === ''
|
|
1931
|
-
},
|
|
1932
|
-
refreshList() {
|
|
1933
|
-
this.$emit('refresh-list')
|
|
1934
|
-
},
|
|
1935
|
-
getSwitchConfig(switchProp) {
|
|
1936
|
-
if (this.valueSetOptions && this.valueSetOptions[switchProp]) {
|
|
1937
|
-
const value = this.valueSetOptions[switchProp]
|
|
1938
|
-
if ('true' === value || 'false' === value) {
|
|
1939
|
-
return 'true' === value
|
|
1940
|
-
} else {
|
|
1941
|
-
return this.valueSetOptions[switchProp]
|
|
1942
|
-
}
|
|
1943
|
-
} else {
|
|
1944
|
-
if (switchProp === 'activeValue') {
|
|
1945
|
-
if (this.dataSourceType === 'mysql') {
|
|
1946
|
-
return true
|
|
1947
|
-
} else {
|
|
1948
|
-
return 1
|
|
1949
|
-
}
|
|
1950
|
-
} else if (switchProp === 'inactiveValue') {
|
|
1951
|
-
if (this.dataSourceType === 'mysql') {
|
|
1952
|
-
return false
|
|
1953
|
-
} else {
|
|
1954
|
-
return 0
|
|
1955
|
-
}
|
|
1956
|
-
}
|
|
1957
|
-
// else if (switchProp === 'offColor') {
|
|
1958
|
-
// return '#ff4949'
|
|
1959
|
-
// } else if (switchProp === 'onColor') {
|
|
1960
|
-
// return '#13ce66'
|
|
1961
|
-
// }
|
|
1962
|
-
}
|
|
1963
|
-
},
|
|
1964
|
-
scanClick() {
|
|
1965
|
-
console.log('scanClick----userAgent=', this.userAgent)
|
|
1966
|
-
if (this.isApk || this.isDingTalk) {
|
|
1967
|
-
// 表示是APK中
|
|
1968
|
-
const message = {
|
|
1969
|
-
type: 'scan',
|
|
1970
|
-
componentId: this.componentId,
|
|
1971
|
-
systemCode: this.systemCode,
|
|
1972
|
-
listCode: this.listCode
|
|
1973
|
-
}
|
|
1974
|
-
if (this.isDingTalk) {
|
|
1975
|
-
message.type = 'dingTalkScan'
|
|
1976
|
-
}
|
|
1977
|
-
window.parent.postMessage(JSON.stringify(message), '*')
|
|
1978
|
-
} else {
|
|
1979
|
-
// 表示是移动端浏览器中
|
|
1980
|
-
this.isShowBrowserScan = true
|
|
1981
|
-
}
|
|
1982
|
-
},
|
|
1983
|
-
/**
|
|
1984
|
-
* 扫描组件时,监听扫描值变化
|
|
1985
|
-
*/
|
|
1986
|
-
watchScanValueChange(newValue) {
|
|
1987
|
-
if (this.scanEnable && this.type === 'input') {
|
|
1988
|
-
const valueSet = analysisScanValue(newValue, this.column._scanRuleSets)
|
|
1989
|
-
if (valueSet) {
|
|
1990
|
-
setScanAnalysisValue(this.row, valueSet.scanSet, valueSet.params)
|
|
1991
|
-
}
|
|
1992
|
-
}
|
|
1993
|
-
},
|
|
1994
|
-
closeBrowserScan(value) {
|
|
1995
|
-
this.isShowBrowserScan = false
|
|
1996
|
-
this.innerValue = value
|
|
1997
|
-
this.blurEvent()
|
|
1998
|
-
},
|
|
1999
|
-
packageCustomRules(columnRule) {
|
|
2000
|
-
if (!columnRule) {
|
|
2001
|
-
return
|
|
2002
|
-
}
|
|
2003
|
-
let beforeValidateResult = true
|
|
2004
|
-
if (columnRule.beforeValidate) {
|
|
2005
|
-
const gridParams = store.get(this.listCode)
|
|
2006
|
-
beforeValidateResult = rowBeforeValidate(columnRule, gridParams, this.row, this.rowIndex)
|
|
2007
|
-
if (beforeValidateResult === false) {
|
|
2008
|
-
return
|
|
2009
|
-
}
|
|
2010
|
-
}
|
|
2011
|
-
if (columnRule.disabled !== undefined) {
|
|
2012
|
-
this.$emit('change-disabled', columnRule.disabled)
|
|
2013
|
-
}
|
|
2014
|
-
if (columnRule.required !== undefined) {
|
|
2015
|
-
this.$emit('change-required', columnRule.required)
|
|
2016
|
-
}
|
|
2017
|
-
},
|
|
2018
|
-
doClickwithJumpPage(eventName) {
|
|
2019
|
-
let configureObj = this.colConfigure
|
|
2020
|
-
let linkPage = configureObj.props.linkPage
|
|
2021
|
-
console.log('doClickwithJumpPage-----linkPage=', linkPage, 'eventName=', eventName)
|
|
2022
|
-
if (
|
|
2023
|
-
eventName &&
|
|
2024
|
-
(eventName === 'click' || eventName === 'prefixClick' || eventName === 'suffixClick') &&
|
|
2025
|
-
linkPage &&
|
|
2026
|
-
linkPage.jumpPageUrl
|
|
2027
|
-
) {
|
|
2028
|
-
// 表示有跳转页面配置
|
|
2029
|
-
const jumpJson = JSON.parse(JSON.stringify(linkPage))
|
|
2030
|
-
if (jumpJson && Array.isArray(jumpJson)) {
|
|
2031
|
-
format.multPage = true
|
|
2032
|
-
jumpJson.forEach((item) => {
|
|
2033
|
-
if (
|
|
2034
|
-
item.jumpPageSetting.displayTextJudge &&
|
|
2035
|
-
item.jumpPageSetting.dynamicTags &&
|
|
2036
|
-
item.jumpPageSetting.dynamicTags.length > 0
|
|
2037
|
-
) {
|
|
2038
|
-
item.jumpPageSetting.displayText = item.jumpPageSetting.dynamicTags.join('-#-#')
|
|
2039
|
-
}
|
|
2040
|
-
})
|
|
2041
|
-
} else {
|
|
2042
|
-
if (jumpJson.displayTextJudge && jumpJson.dynamicTags && jumpJson.dynamicTags.length > 0) {
|
|
2043
|
-
jumpJson.displayText = jumpJson.dynamicTags.join('-#-#')
|
|
2044
|
-
}
|
|
2045
|
-
}
|
|
2046
|
-
this.jumpPageLink(this.column, this.row, this.listCode, this.rowIndex, jumpJson)
|
|
2047
|
-
} else {
|
|
2048
|
-
// 表示没有跳转页面配置
|
|
2049
|
-
this.callCustomEvent(eventName)
|
|
2050
|
-
}
|
|
2051
|
-
},
|
|
2052
|
-
deptScopeLimit() {
|
|
2053
|
-
if (this.controlConfig && this.controlConfig.deptScope) {
|
|
2054
|
-
// 表示有部门范围限制
|
|
2055
|
-
if (this.controlConfig.deptScope == 'field' && this.controlConfig.deptScopeField) {
|
|
2056
|
-
if (this.controlConfig.deptScopeField.indexOf('${row.') === 0) {
|
|
2057
|
-
// 表示是行记录的字段
|
|
2058
|
-
const fieldName = this.controlConfig.deptScopeField.replace('${row.', '').replace('}', '')
|
|
2059
|
-
if (this.row[fieldName]) {
|
|
2060
|
-
this.departmentInfo = this.row[fieldName].split(',')
|
|
2061
|
-
} else {
|
|
2062
|
-
this.departmentInfo = []
|
|
2063
|
-
}
|
|
2064
|
-
this.$watch('row.' + fieldName, (newVal, oldVal) => {
|
|
2065
|
-
if (newVal) {
|
|
2066
|
-
this.departmentInfo = newVal.split(',')
|
|
2067
|
-
} else {
|
|
2068
|
-
this.departmentInfo = []
|
|
2069
|
-
}
|
|
2070
|
-
})
|
|
2071
|
-
} else {
|
|
2072
|
-
// 表示是页面pageContext的字段
|
|
2073
|
-
this.setLimitDepartmentInfo()
|
|
2074
|
-
if (!this.controlConfig.deptScopeField.indexOf('${fixed.') === 0) {
|
|
2075
|
-
watchPageContextDynamicVariable(
|
|
2076
|
-
this,
|
|
2077
|
-
this.pageContext,
|
|
2078
|
-
this.controlConfig.deptScopeField,
|
|
2079
|
-
(newVal, oldVal) => {
|
|
2080
|
-
this.setLimitDepartmentInfo()
|
|
2081
|
-
}
|
|
2082
|
-
)
|
|
2083
|
-
}
|
|
2084
|
-
}
|
|
2085
|
-
} else if (this.controlConfig.deptScope == 'depts' && this.controlConfig.deptScopeCodes) {
|
|
2086
|
-
// 表示固定部门范围
|
|
2087
|
-
this.departmentInfo = this.controlConfig.deptScopeCodes.split(',')
|
|
2088
|
-
}
|
|
2089
|
-
}
|
|
2090
|
-
},
|
|
2091
|
-
setLimitDepartmentInfo() {
|
|
2092
|
-
const deptScopeFieldValue = getPropValueNew(this.controlConfig.deptScopeField, this.pageContext, this.row)
|
|
2093
|
-
if (deptScopeFieldValue) {
|
|
2094
|
-
this.departmentInfo = deptScopeFieldValue.split(',')
|
|
2095
|
-
} else {
|
|
2096
|
-
this.departmentInfo = []
|
|
2097
|
-
}
|
|
2098
|
-
},
|
|
2099
|
-
onError(error) {
|
|
2100
|
-
console.error('Upload error:', error)
|
|
2101
|
-
if (error.message) {
|
|
2102
|
-
let message = JSON.parse(error.message)
|
|
2103
|
-
if (message && message.message) {
|
|
2104
|
-
message = JSON.parse(message.message)
|
|
2105
|
-
}
|
|
2106
|
-
this.$message({
|
|
2107
|
-
type: 'error',
|
|
2108
|
-
message: message,
|
|
2109
|
-
showClose: true
|
|
2110
|
-
})
|
|
2111
|
-
} else {
|
|
2112
|
-
this.$message({
|
|
2113
|
-
type: 'error',
|
|
2114
|
-
message: this.$t('fsUpload.uploadFailed'),
|
|
2115
|
-
showClose: true
|
|
2116
|
-
})
|
|
2117
|
-
}
|
|
2118
|
-
},
|
|
2119
|
-
setExtendParams(extendParams){
|
|
2120
|
-
this.extendParams = extendParams
|
|
2121
|
-
console.log('setExtendParams----extendParams=', extendParams)
|
|
2122
|
-
}
|
|
2123
|
-
// 获得选中项的label值
|
|
2124
|
-
// getSelectItemsTitle(val) {
|
|
2125
|
-
// if (val !== null && val !== undefined && val !== '' && val.length > 0) {
|
|
2126
|
-
// let selectTittle = ''
|
|
2127
|
-
// if (typeof val === 'string') {
|
|
2128
|
-
// // 单选
|
|
2129
|
-
// if(this.options.length > 0){
|
|
2130
|
-
// this.options.forEach((Ttem) => {
|
|
2131
|
-
// if (Ttem['value'] === val) {
|
|
2132
|
-
// selectTittle = Ttem.label
|
|
2133
|
-
// }
|
|
2134
|
-
// })
|
|
2135
|
-
// } else {
|
|
2136
|
-
// selectTittle = val
|
|
2137
|
-
// }
|
|
2138
|
-
// } else {
|
|
2139
|
-
// // 多选
|
|
2140
|
-
// if(this.options.length > 0){
|
|
2141
|
-
// this.options.forEach((Ttem) => {
|
|
2142
|
-
// val.forEach((Vtem) => {
|
|
2143
|
-
// if (Ttem['value'] === Vtem) {
|
|
2144
|
-
// selectTittle = selectTittle + Ttem.label + ','
|
|
2145
|
-
// }
|
|
2146
|
-
// })
|
|
2147
|
-
// })
|
|
2148
|
-
// selectTittle = selectTittle.slice(0, selectTittle.length - 1)
|
|
2149
|
-
// } else {
|
|
2150
|
-
// selectTittle = val.join(',')
|
|
2151
|
-
// }
|
|
2152
|
-
// }
|
|
2153
|
-
// return selectTittle
|
|
2154
|
-
// }
|
|
2155
|
-
// }
|
|
2156
|
-
}
|
|
2157
|
-
}
|
|
2158
|
-
</script>
|