agilebuilder-ui 1.0.0
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/README.md +7 -0
- package/index.html +13 -0
- package/package.json +36 -0
- package/packages/IntervalSelection/index.js +6 -0
- package/packages/IntervalSelection/src/quarterScope.vue +405 -0
- package/packages/IntervalSelection/src/sectionDate.vue +475 -0
- package/packages/breadcrumb/index.js +6 -0
- package/packages/breadcrumb/src/breadcrumb.vue +81 -0
- package/packages/department-tree/index.js +6 -0
- package/packages/department-tree/src/department-tree.vue +114 -0
- package/packages/department-tree-inline/index.js +6 -0
- package/packages/department-tree-inline/src/department-multi-tree-inline.vue +494 -0
- package/packages/department-tree-inline/src/department-single-tree-inline.vue +367 -0
- package/packages/department-tree-inline/src/department-tree-inline.vue +86 -0
- package/packages/department-tree-inline/src/department-tree-service.js +344 -0
- package/packages/department-tree-inline/src/search-result.vue +238 -0
- package/packages/department-user-tree/index.js +6 -0
- package/packages/department-user-tree/src/department-user-multiple-tree.vue +133 -0
- package/packages/department-user-tree/src/department-user-single-tree.vue +96 -0
- package/packages/department-user-tree/src/department-user-tree.vue +115 -0
- package/packages/department-user-tree-inline/index.js +9 -0
- package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +758 -0
- package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +358 -0
- package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +87 -0
- package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +309 -0
- package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +180 -0
- package/packages/department-user-tree-inline/src/search-result.vue +286 -0
- package/packages/directives/prevent-reclick.js +22 -0
- package/packages/dynamic-source-select/index.js +6 -0
- package/packages/dynamic-source-select/src/dynamic-source-select-service.js +124 -0
- package/packages/dynamic-source-select/src/dynamic-source-select.vue +857 -0
- package/packages/dynamic-source-select/src/events.js +77 -0
- package/packages/fs-preview/index.js +6 -0
- package/packages/fs-preview/src/fs-preview.vue +303 -0
- package/packages/fs-upload/index.js +6 -0
- package/packages/fs-upload/src/fs-upload-multi.vue +458 -0
- package/packages/fs-upload/src/fs-upload-single.vue +365 -0
- package/packages/fs-upload/src/fs-upload.vue +191 -0
- package/packages/fs-upload/src/see-big-picture.vue +67 -0
- package/packages/fs-upload-list/index.js +6 -0
- package/packages/fs-upload-list/src/fs-upload-list.vue +387 -0
- package/packages/hamburger/index.js +6 -0
- package/packages/hamburger/src/hamburger.vue +50 -0
- package/packages/index.js +124 -0
- package/packages/multipart-upload/index.js +6 -0
- package/packages/multipart-upload/src/index.vue +66 -0
- package/packages/multipart-upload/src/multipart-upload-form.vue +395 -0
- package/packages/multipart-upload/src/multipart-upload-list.vue +539 -0
- package/packages/organization-input/index.js +6 -0
- package/packages/organization-input/src/organization-input.vue +579 -0
- package/packages/plugins/export-data-new.js +630 -0
- package/packages/plugins/export-data.js +431 -0
- package/packages/plugins/index.js +15 -0
- package/packages/plugins/public-method.js +47 -0
- package/packages/remove-department/index.js +6 -0
- package/packages/remove-department/src/remove-department.vue +201 -0
- package/packages/remove-department/src/remove-dept-service.js +31 -0
- package/packages/remove-user/index.js +6 -0
- package/packages/remove-user/src/remove-user-service.js +31 -0
- package/packages/remove-user/src/remove-user.vue +227 -0
- package/packages/remove-workgroup/index.js +6 -0
- package/packages/remove-workgroup/src/remove-workgroup-service.js +31 -0
- package/packages/remove-workgroup/src/remove-workgroup.vue +184 -0
- package/packages/rich-editor/index.js +7 -0
- package/packages/rich-editor/index.vue +314 -0
- package/packages/rich-editor/tinymce/icons/default/icons.min.js +1 -0
- package/packages/rich-editor/tinymce/langs/README.md +3 -0
- package/packages/rich-editor/tinymce/langs/zh-Hans.js +1 -0
- package/packages/rich-editor/tinymce/license.txt +21 -0
- package/packages/rich-editor/tinymce/models/dom/model.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/accordion/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/advlist/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/anchor/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/autolink/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/autoresize/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/autosave/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/charmap/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/code/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/codesample/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/directionality/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.js +1 -0
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.min.js +3 -0
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.js +1 -0
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.min.js +2 -0
- package/packages/rich-editor/tinymce/plugins/emoticons/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/fullscreen/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ar.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ca.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/cs.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/da.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/de.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/el.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/en.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/es.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/eu.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fa.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fi.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/he_IL.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hi.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hr.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/id.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/it.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ja.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/kk.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ms.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nl.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pl.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ro.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ru.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sk.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/th_TH.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/tr.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/uk.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/vi.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +84 -0
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +90 -0
- package/packages/rich-editor/tinymce/plugins/help/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/image/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/importcss/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/insertdatetime/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/link/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/lists/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/media/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/nonbreaking/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/pagebreak/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/preview/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/quickbars/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/save/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/searchreplace/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/table/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/template/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/visualblocks/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/visualchars/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/plugins/wordcount/plugin.min.js +4 -0
- package/packages/rich-editor/tinymce/skins/content/dark/content.js +2 -0
- package/packages/rich-editor/tinymce/skins/content/dark/content.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/content/default/content.js +2 -0
- package/packages/rich-editor/tinymce/skins/content/default/content.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/content/document/content.js +2 -0
- package/packages/rich-editor/tinymce/skins/content/document/content.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.js +2 -0
- package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.js +2 -0
- package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/content/writer/content.js +2 -0
- package/packages/rich-editor/tinymce/skins/content/writer/content.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +2 -0
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -0
- package/packages/rich-editor/tinymce/themes/silver/theme.min.js +4 -0
- package/packages/rich-editor/tinymce/tinymce.d.ts +3238 -0
- package/packages/rich-editor/tinymce/tinymce.min.js +4 -0
- package/packages/rich-editor/tinymce/zh_CN.js +418 -0
- package/packages/rich-editor/viewer.vue +105 -0
- package/packages/scan-code-input/index.js +6 -0
- package/packages/scan-code-input/src/events.js +34 -0
- package/packages/scan-code-input/src/scan-code-input-colse.vue +140 -0
- package/packages/scan-code-input/src/scan-code-input.vue +132 -0
- package/packages/secret-info/index.js +7 -0
- package/packages/secret-info/index.vue +100 -0
- package/packages/super-grid/index.js +7 -0
- package/packages/super-grid/src/apis.js +1193 -0
- package/packages/super-grid/src/columns-config.vue +429 -0
- package/packages/super-grid/src/components/grid-icon.vue +162 -0
- package/packages/super-grid/src/components/hyperlinks.vue +114 -0
- package/packages/super-grid/src/custom-formatter.js +430 -0
- package/packages/super-grid/src/dynamic-input.vue +1473 -0
- package/packages/super-grid/src/eventBus.js +10 -0
- package/packages/super-grid/src/events.js +56 -0
- package/packages/super-grid/src/formValidatorUtil.js +300 -0
- package/packages/super-grid/src/formatter.js +196 -0
- package/packages/super-grid/src/group-column.vue +99 -0
- package/packages/super-grid/src/header-context-menu.vue +82 -0
- package/packages/super-grid/src/index-column.vue +69 -0
- package/packages/super-grid/src/normal-column.vue +1239 -0
- package/packages/super-grid/src/public-methods.js +30 -0
- package/packages/super-grid/src/row-operation.vue +193 -0
- package/packages/super-grid/src/search-button.vue +79 -0
- package/packages/super-grid/src/search-condition-input.vue +74 -0
- package/packages/super-grid/src/search-condition-list.vue +70 -0
- package/packages/super-grid/src/search-form-advancedQuery.vue +833 -0
- package/packages/super-grid/src/search-form-dialog.vue +77 -0
- package/packages/super-grid/src/search-form-item.vue +496 -0
- package/packages/super-grid/src/search-form-number.vue +111 -0
- package/packages/super-grid/src/search-form-open.vue +178 -0
- package/packages/super-grid/src/search-form-ordinarySearch.vue +248 -0
- package/packages/super-grid/src/search-form.vue +767 -0
- package/packages/super-grid/src/search-methods.js +591 -0
- package/packages/super-grid/src/selection-column.vue +46 -0
- package/packages/super-grid/src/store.js +3 -0
- package/packages/super-grid/src/super-grid-service.js +729 -0
- package/packages/super-grid/src/super-grid.vue +3025 -0
- package/packages/super-grid/src/utils.js +880 -0
- package/packages/super-grid/src/view-image-dialog.vue +190 -0
- package/packages/super-nine-grid/index.js +7 -0
- package/packages/super-nine-grid/src/apis.js +108 -0
- package/packages/super-nine-grid/src/custom-formatter.js +73 -0
- package/packages/super-nine-grid/src/formatter.js +134 -0
- package/packages/super-nine-grid/src/search-form-number.vue +35 -0
- package/packages/super-nine-grid/src/search-form.vue +704 -0
- package/packages/super-nine-grid/src/search-methods.js +151 -0
- package/packages/super-nine-grid/src/store.js +3 -0
- package/packages/super-nine-grid/src/super-grid-service.js +108 -0
- package/packages/super-nine-grid/src/super-nine-grid.vue +1211 -0
- package/packages/super-nine-grid/src/utils.js +264 -0
- package/packages/svg-icon/index.js +6 -0
- package/packages/svg-icon/src/svg-icon.vue +43 -0
- package/packages/utils/date-util.js +292 -0
- package/packages/utils/dom.js +227 -0
- package/packages/utils/gogocodeTransfer.js +59 -0
- package/packages/utils/memory-cache-utils.js +117 -0
- package/packages/utils/utils.js +180 -0
- package/packages/utils/value-set.js +97 -0
- package/packages/valid-code/index.js +7 -0
- package/packages/valid-code/src/valid-code.vue +104 -0
- package/packages/workflow-button/index.js +6 -0
- package/packages/workflow-button/src/workflow-button.vue +569 -0
- package/packages/workflow-history-list/index.js +6 -0
- package/packages/workflow-history-list/src/api.js +7 -0
- package/packages/workflow-history-list/src/workflow-history-list.vue +302 -0
- package/packages/workgroup-tree/index.js +6 -0
- package/packages/workgroup-tree/src/workgroup-tree.vue +87 -0
- package/packages/workgroup-tree-inline/index.js +6 -0
- package/packages/workgroup-tree-inline/src/search-result.vue +226 -0
- package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +539 -0
- package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +93 -0
- package/packages/workgroup-user-tree/index.js +6 -0
- package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +104 -0
- package/packages/workgroup-user-tree-inline/index.js +9 -0
- package/packages/workgroup-user-tree-inline/src/search-result.vue +270 -0
- package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +239 -0
- package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +681 -0
- package/packages/year-range-picker/index.js +6 -0
- package/packages/year-range-picker/src/year-range-picker.vue +53 -0
- package/public/vite.svg +1 -0
- package/src/api/sso-service.js +193 -0
- package/src/api/tab.js +36 -0
- package/src/api/user-service.js +11 -0
- package/src/assets/401/401.gif +0 -0
- package/src/assets/404/404-cloud.png +0 -0
- package/src/assets/404/404.png +0 -0
- package/src/assets/cloud.png +0 -0
- package/src/assets/nonemessage.png +0 -0
- package/src/directives/permission/index.js +13 -0
- package/src/directives/permission/permission.js +20 -0
- package/src/i18n/i18n.js +16 -0
- package/src/i18n/langs/cn.js +266 -0
- package/src/i18n/langs/en.js +276 -0
- package/src/index.js +93 -0
- package/src/permission.js +242 -0
- package/src/plugins.js +18 -0
- package/src/router/index.js +92 -0
- package/src/store/getters.js +15 -0
- package/src/store/index.js +19 -0
- package/src/store/modules/app.js +54 -0
- package/src/store/modules/permission.js +143 -0
- package/src/store/modules/tab-content.js +36 -0
- package/src/store/modules/user.js +365 -0
- package/src/styles/display-layout.scss +34 -0
- package/src/styles/element-ui.scss +29 -0
- package/src/styles/index.scss +157 -0
- package/src/styles/mixin.scss +27 -0
- package/src/styles/theme/black/font-style.scss +70 -0
- package/src/styles/theme/black/index.scss +306 -0
- package/src/styles/theme/black/sidebar.scss +189 -0
- package/src/styles/theme/blue/font-style.scss +46 -0
- package/src/styles/theme/blue/index.scss +172 -0
- package/src/styles/theme/blue/sidebar.scss +171 -0
- package/src/styles/theme/blue2/font-style.scss +70 -0
- package/src/styles/theme/blue2/index.scss +188 -0
- package/src/styles/theme/blue2/sidebar.scss +201 -0
- package/src/styles/theme/dark-blue/button.scss +78 -0
- package/src/styles/theme/dark-blue/card.scss +63 -0
- package/src/styles/theme/dark-blue/checkbox.scss +10 -0
- package/src/styles/theme/dark-blue/dark-blue-var.scss +9 -0
- package/src/styles/theme/dark-blue/dialog.scss +17 -0
- package/src/styles/theme/dark-blue/element-variables.scss +7 -0
- package/src/styles/theme/dark-blue/font.scss +71 -0
- package/src/styles/theme/dark-blue/form.scss +51 -0
- package/src/styles/theme/dark-blue/index.scss +277 -0
- package/src/styles/theme/dark-blue/input.scss +15 -0
- package/src/styles/theme/dark-blue/message.scss +8 -0
- package/src/styles/theme/dark-blue/pagination.scss +18 -0
- package/src/styles/theme/dark-blue/radio.scss +13 -0
- package/src/styles/theme/dark-blue/scrollbar-style.scss +32 -0
- package/src/styles/theme/dark-blue/sidebar.scss +268 -0
- package/src/styles/theme/dark-blue/tab.scss +83 -0
- package/src/styles/theme/dark-blue/table.scss +60 -0
- package/src/styles/theme/dark-blue/tree.scss +57 -0
- package/src/styles/theme/dark-blue/var.scss +1028 -0
- package/src/styles/theme/gray/card-style.scss +54 -0
- package/src/styles/theme/gray/font-style.scss +70 -0
- package/src/styles/theme/gray/index.scss +172 -0
- package/src/styles/theme/gray/input-style.scss +19 -0
- package/src/styles/theme/gray/scrollbar-style.scss +32 -0
- package/src/styles/theme/gray/sidebar.scss +243 -0
- package/src/styles/theme/gray/tab-style.scss +81 -0
- package/src/styles/transition.scss +47 -0
- package/src/utils/auth-api.js +259 -0
- package/src/utils/auth.js +98 -0
- package/src/utils/calculator/calculator-factory-wf.js +558 -0
- package/src/utils/calculator/calculator-factory.js +145 -0
- package/src/utils/calculator/calculator-util.js +166 -0
- package/src/utils/common-util.js +474 -0
- package/src/utils/eventBus.js +10 -0
- package/src/utils/iconUtils.js +37 -0
- package/src/utils/index.js +102 -0
- package/src/utils/jump-page-utils.js +824 -0
- package/src/utils/local-storage.js +33 -0
- package/src/utils/menu.js +19 -0
- package/src/utils/permission.js +31 -0
- package/src/utils/permissionAuth.js +121 -0
- package/src/utils/range-selector.js +204 -0
- package/src/utils/request.js +280 -0
- package/src/utils/restful-interface-utils.js +57 -0
- package/src/utils/util.js +910 -0
- package/src/utils/validate.js +34 -0
- package/src/utils/watermark.js +108 -0
- package/src/utils/workflow-util.js +104 -0
- package/src/views/404.vue +248 -0
- package/src/views/dsc-component/Sidebar/Item.vue +81 -0
- package/src/views/dsc-component/Sidebar/Link.vue +38 -0
- package/src/views/dsc-component/Sidebar/SidebarItem.vue +197 -0
- package/src/views/dsc-component/Sidebar/index.vue +229 -0
- package/src/views/dsc-component/tabs/tab-content.vue +215 -0
- package/src/views/error-page/401.vue +106 -0
- package/src/views/error-page/404.vue +248 -0
- package/src/views/layout/EmptyLayout.vue +3 -0
- package/src/views/layout/Layout.vue +81 -0
- package/src/views/layout/NewLayout.vue +18 -0
- package/src/views/layout/components/AppMain.vue +39 -0
- package/src/views/layout/components/Breadcrumb/index.vue +158 -0
- package/src/views/layout/components/Menubar/Item.vue +79 -0
- package/src/views/layout/components/Menubar/Link.vue +38 -0
- package/src/views/layout/components/Menubar/SidebarItem.vue +261 -0
- package/src/views/layout/components/Menubar/index.vue +210 -0
- package/src/views/layout/components/Sidebar/Item.vue +53 -0
- package/src/views/layout/components/Sidebar/Link.vue +38 -0
- package/src/views/layout/components/Sidebar/SidebarItem.vue +135 -0
- package/src/views/layout/components/Sidebar/index.vue +141 -0
- package/src/views/layout/components/iframe-page.vue +38 -0
- package/src/views/layout/components/index.js +4 -0
- package/src/views/layout/components/tabs/tab-content.vue +214 -0
- package/src/views/layout/mixin/ResizeHandler.js +41 -0
- package/src/views/layout/tab-content-iframe-index.vue +38 -0
- package/src/views/layout/tab-content-index.vue +92 -0
- package/src/views/login/authredirect.vue +10 -0
- package/src/views/login/index.vue +296 -0
- package/src/views/login/update-password.vue +243 -0
- package/src/views/redirect/index.vue +14 -0
- package/src/views/svg-icon/index.js +6 -0
- package/src/views/svg-icon/src/svg-icon.vue +46 -0
- package/src/views/wf-history/tache-subprocess-history.vue +45 -0
- package/vite.config.js +37 -0
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="grid-search-row">
|
|
4
|
+
<el-row v-for="r of rowNum" v-show="myOpen || r === 1" :key="r">
|
|
5
|
+
<el-col
|
|
6
|
+
v-for="n of fieldNum"
|
|
7
|
+
:key="n"
|
|
8
|
+
:xs="spanNum"
|
|
9
|
+
:sm="spanNum"
|
|
10
|
+
:md="spanNum"
|
|
11
|
+
:lg="spanNum"
|
|
12
|
+
:xl="spanNum"
|
|
13
|
+
>
|
|
14
|
+
<template
|
|
15
|
+
v-if="fieldNum * (r - 1) + (n - 1) < searchableColumns.length"
|
|
16
|
+
>
|
|
17
|
+
<!--初始进入台账页面时 或 展开时显示按钮--->
|
|
18
|
+
<search-form-item
|
|
19
|
+
v-show="(!myOpen && r === 1 && n < fieldNum) || myOpen"
|
|
20
|
+
:search-form="searchForm"
|
|
21
|
+
:column="searchableColumns[fieldNum * (r - 1) + (n - 1)]"
|
|
22
|
+
:code="code"
|
|
23
|
+
:is-sql="isSql"
|
|
24
|
+
:table-name="tableName"
|
|
25
|
+
:is-join-table="isJoinTable"
|
|
26
|
+
/>
|
|
27
|
+
</template>
|
|
28
|
+
<!--初始进入台账页面时 或 展开时显示按钮--->
|
|
29
|
+
<search-button
|
|
30
|
+
v-if="
|
|
31
|
+
(!myOpen && r === 1 && n === fieldNum) ||
|
|
32
|
+
(myOpen && !isButtonNewRow && r === rowNum && n === fieldNum)
|
|
33
|
+
"
|
|
34
|
+
ref="searchBtnOpen"
|
|
35
|
+
:is-open="myOpen"
|
|
36
|
+
@submit-form="$emit('submit-form')"
|
|
37
|
+
@reset-form="$emit('reset-form')"
|
|
38
|
+
@save-condition="$emit('save-condition')"
|
|
39
|
+
@open-fold="openFold"
|
|
40
|
+
/>
|
|
41
|
+
</el-col>
|
|
42
|
+
</el-row>
|
|
43
|
+
</div>
|
|
44
|
+
<!--按钮单独一行放置时--->
|
|
45
|
+
<el-row v-if="isShowNewBtnRow">
|
|
46
|
+
<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
|
47
|
+
<search-button
|
|
48
|
+
ref="searchBtnOpen"
|
|
49
|
+
:is-open="myOpen"
|
|
50
|
+
@submit-form="$emit('submit-form')"
|
|
51
|
+
@reset-form="$emit('reset-form')"
|
|
52
|
+
@save-condition="$emit('save-condition')"
|
|
53
|
+
@open-fold="openFold"
|
|
54
|
+
/>
|
|
55
|
+
</el-col>
|
|
56
|
+
</el-row>
|
|
57
|
+
</div>
|
|
58
|
+
</template>
|
|
59
|
+
<script>
|
|
60
|
+
import searchMethods from './search-methods'
|
|
61
|
+
import SearchFormItem from './search-form-item.vue'
|
|
62
|
+
import SearchButton from './search-button.vue'
|
|
63
|
+
export default {
|
|
64
|
+
name: 'SearchFormOpen',
|
|
65
|
+
components: {
|
|
66
|
+
SearchFormItem,
|
|
67
|
+
SearchButton,
|
|
68
|
+
},
|
|
69
|
+
props: {
|
|
70
|
+
// 第一行的字段集合
|
|
71
|
+
searchableColumns: {
|
|
72
|
+
type: Array,
|
|
73
|
+
default: null,
|
|
74
|
+
},
|
|
75
|
+
// 查询表单信息
|
|
76
|
+
searchForm: {
|
|
77
|
+
type: Object,
|
|
78
|
+
default: null,
|
|
79
|
+
},
|
|
80
|
+
code: {
|
|
81
|
+
type: String,
|
|
82
|
+
default: null,
|
|
83
|
+
},
|
|
84
|
+
isSql: {
|
|
85
|
+
type: Boolean,
|
|
86
|
+
default: false,
|
|
87
|
+
},
|
|
88
|
+
tableName: {
|
|
89
|
+
type: String,
|
|
90
|
+
default: null,
|
|
91
|
+
},
|
|
92
|
+
isJoinTable: {
|
|
93
|
+
type: Boolean,
|
|
94
|
+
default: false,
|
|
95
|
+
},
|
|
96
|
+
spanNum: {
|
|
97
|
+
type: Number,
|
|
98
|
+
default: 8,
|
|
99
|
+
},
|
|
100
|
+
// 每行几个字段
|
|
101
|
+
fieldNum: {
|
|
102
|
+
type: Number,
|
|
103
|
+
default: null,
|
|
104
|
+
},
|
|
105
|
+
// 一共多少行
|
|
106
|
+
rowNum: {
|
|
107
|
+
type: Number,
|
|
108
|
+
default: null,
|
|
109
|
+
},
|
|
110
|
+
// 查询条件是否展开
|
|
111
|
+
isOpen: {
|
|
112
|
+
type: Boolean,
|
|
113
|
+
default: false,
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
data() {
|
|
117
|
+
let isButtonNewRow = false
|
|
118
|
+
let isShowNewBtnRow = false
|
|
119
|
+
const myOpen = this.isOpen
|
|
120
|
+
if (
|
|
121
|
+
this.searchableColumns.length % this.fieldNum === 0 ||
|
|
122
|
+
this.rowNum > 6
|
|
123
|
+
) {
|
|
124
|
+
// 表示查询字段正好占满行,或行数大于6时,需要另起一行放查询按钮
|
|
125
|
+
isButtonNewRow = true
|
|
126
|
+
isShowNewBtnRow = true
|
|
127
|
+
}
|
|
128
|
+
if (isButtonNewRow && !myOpen) {
|
|
129
|
+
// 需要另起一行,但是当前是收起状态,暂不显示最后一行按钮
|
|
130
|
+
isShowNewBtnRow = false
|
|
131
|
+
}
|
|
132
|
+
return {
|
|
133
|
+
isButtonNewRow,
|
|
134
|
+
isShowNewBtnRow,
|
|
135
|
+
myOpen,
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
watch: {
|
|
139
|
+
myOpen() {
|
|
140
|
+
if (this.isButtonNewRow) {
|
|
141
|
+
if (!this.myOpen) {
|
|
142
|
+
// 需要另起一行,但是当前是收起状态,暂不显示最后一行按钮
|
|
143
|
+
this.isShowNewBtnRow = false
|
|
144
|
+
} else {
|
|
145
|
+
// 需要另起一行,当前是展开状态,显示最后一行按钮
|
|
146
|
+
this.isShowNewBtnRow = true
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
methods: {
|
|
152
|
+
...searchMethods,
|
|
153
|
+
openFold(isOpen) {
|
|
154
|
+
this.myOpen = isOpen
|
|
155
|
+
this.$emit('open-fold', isOpen)
|
|
156
|
+
},
|
|
157
|
+
// 查询完毕
|
|
158
|
+
searchComplete() {
|
|
159
|
+
if (this.$refs.searchBtnOpen) {
|
|
160
|
+
if (Array.isArray(this.$refs.searchBtnOpen)) {
|
|
161
|
+
if (this.$refs.searchBtnOpen.length > 0) {
|
|
162
|
+
this.$refs.searchBtnOpen[0].searchComplete()
|
|
163
|
+
}
|
|
164
|
+
} else {
|
|
165
|
+
this.$refs.searchBtnOpen.searchComplete()
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
}
|
|
171
|
+
</script>
|
|
172
|
+
|
|
173
|
+
<style scoped>
|
|
174
|
+
.grid-search-row {
|
|
175
|
+
overflow: auto;
|
|
176
|
+
max-height: 320px;
|
|
177
|
+
}
|
|
178
|
+
</style>
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-form
|
|
4
|
+
v-if="searchableColumns.length > 0"
|
|
5
|
+
ref="searchForm"
|
|
6
|
+
:model="searchForm"
|
|
7
|
+
:rules="rules"
|
|
8
|
+
class="grid-search-form"
|
|
9
|
+
label-position="right"
|
|
10
|
+
size="default"
|
|
11
|
+
>
|
|
12
|
+
<search-form-open
|
|
13
|
+
ref="searchFormContent"
|
|
14
|
+
:code="code"
|
|
15
|
+
:field-num="fieldNum"
|
|
16
|
+
:is-join-table="isJoinTable"
|
|
17
|
+
:is-open="isOpen"
|
|
18
|
+
:is-sql="isSql"
|
|
19
|
+
:load-complete-query="loadCompleteQuery"
|
|
20
|
+
:row-num="rowNum"
|
|
21
|
+
:search-form="searchForm"
|
|
22
|
+
:searchable-columns="searchableColumns"
|
|
23
|
+
:span-num="spanNum"
|
|
24
|
+
:table-name="tableName"
|
|
25
|
+
@submit-form="$emit('submit-form')"
|
|
26
|
+
@reset-form="$emit('reset-form')"
|
|
27
|
+
@save-condition="$emit('save-condition')"
|
|
28
|
+
@open-fold="openFold"
|
|
29
|
+
/>
|
|
30
|
+
</el-form>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<script>
|
|
35
|
+
import {$on, $off, $once, $emit} from '../../utils/gogocodeTransfer'
|
|
36
|
+
import searchMethods from './search-methods'
|
|
37
|
+
import store from './store'
|
|
38
|
+
import {addDynamicProp, addDynamicPropDateSection} from './utils'
|
|
39
|
+
import SearchFormOpen from './search-form-open.vue'
|
|
40
|
+
import eventBus from '../../../src/utils/eventBus'
|
|
41
|
+
|
|
42
|
+
export default {
|
|
43
|
+
name: 'SearchForm',
|
|
44
|
+
components: {
|
|
45
|
+
SearchFormOpen,
|
|
46
|
+
},
|
|
47
|
+
props: {
|
|
48
|
+
searchableColumns: {
|
|
49
|
+
type: Array,
|
|
50
|
+
default: null,
|
|
51
|
+
},
|
|
52
|
+
searchForm: {
|
|
53
|
+
type: Object,
|
|
54
|
+
default: null,
|
|
55
|
+
},
|
|
56
|
+
fieldNum: {
|
|
57
|
+
type: Number,
|
|
58
|
+
default: null,
|
|
59
|
+
},
|
|
60
|
+
rules: {
|
|
61
|
+
type: Object,
|
|
62
|
+
default: null,
|
|
63
|
+
},
|
|
64
|
+
labelWidth: {
|
|
65
|
+
type: String,
|
|
66
|
+
default: null,
|
|
67
|
+
},
|
|
68
|
+
query: {
|
|
69
|
+
type: Object,
|
|
70
|
+
default: null,
|
|
71
|
+
},
|
|
72
|
+
rowNum: {
|
|
73
|
+
type: Number,
|
|
74
|
+
default: null,
|
|
75
|
+
},
|
|
76
|
+
code: {
|
|
77
|
+
type: String,
|
|
78
|
+
default: null,
|
|
79
|
+
},
|
|
80
|
+
isSql: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
default: false,
|
|
83
|
+
},
|
|
84
|
+
spanNum: {
|
|
85
|
+
type: Number,
|
|
86
|
+
default: 8,
|
|
87
|
+
},
|
|
88
|
+
loadCompleteQuery: {
|
|
89
|
+
type: Boolean,
|
|
90
|
+
default: false,
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
data() {
|
|
94
|
+
const gridParams = store.get(this.code)
|
|
95
|
+
let tableName
|
|
96
|
+
if (gridParams && gridParams.basicInfo && gridParams.basicInfo.tableName) {
|
|
97
|
+
tableName = gridParams.basicInfo.tableName
|
|
98
|
+
}
|
|
99
|
+
let isHasJoinTable
|
|
100
|
+
if (
|
|
101
|
+
gridParams &&
|
|
102
|
+
gridParams.basicInfo &&
|
|
103
|
+
gridParams.basicInfo.hasJoinTable
|
|
104
|
+
) {
|
|
105
|
+
isHasJoinTable = gridParams.basicInfo.hasJoinTable
|
|
106
|
+
}
|
|
107
|
+
const customComponentNames = new Set()
|
|
108
|
+
return {
|
|
109
|
+
customComponentNames: customComponentNames,
|
|
110
|
+
dateOne: null,
|
|
111
|
+
dataTwo: null,
|
|
112
|
+
tableName,
|
|
113
|
+
isJoinTable: isHasJoinTable, // 是否是关联表
|
|
114
|
+
isOpen: false,
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
computed: {},
|
|
118
|
+
watch: {},
|
|
119
|
+
created() {
|
|
120
|
+
},
|
|
121
|
+
methods: {
|
|
122
|
+
...searchMethods,
|
|
123
|
+
validateForm() {
|
|
124
|
+
return new Promise((resolve, reject) => {
|
|
125
|
+
this.$refs.searchForm.validate((valid) => {
|
|
126
|
+
resolve(valid)
|
|
127
|
+
})
|
|
128
|
+
})
|
|
129
|
+
},
|
|
130
|
+
resetForm() {
|
|
131
|
+
$emit(eventBus, 'remoteMethod')
|
|
132
|
+
// console.log('customComponentNames=', this.customComponentNames)
|
|
133
|
+
if (this.customComponentNames && this.customComponentNames.length > 0) {
|
|
134
|
+
for (const componentName of this.customComponentNames) {
|
|
135
|
+
// 遍历
|
|
136
|
+
this.$refs[componentName][0].resetField()
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
this.$refs.searchForm.resetFields()
|
|
140
|
+
// 当是保持页数默认赋值的查询字段resetFields()不会被清空,需要下面的方法遍历设未null
|
|
141
|
+
this.searchableColumns.forEach((column) => {
|
|
142
|
+
// 表示没有默认初始查询字段
|
|
143
|
+
if (column.prop && column.prop.indexOf('.') > 0) {
|
|
144
|
+
if (column.componentType === 'dateSection') {
|
|
145
|
+
addDynamicPropDateSection(this.searchForm, column.prop)
|
|
146
|
+
} else {
|
|
147
|
+
// 动态给searchForm添加属性,包括多级嵌套属性,属性的初始值都为 null
|
|
148
|
+
addDynamicProp(this.searchForm, column.prop)
|
|
149
|
+
}
|
|
150
|
+
} else {
|
|
151
|
+
if (column.componentType === 'dateSection') {
|
|
152
|
+
this.searchForm[column.prop] = [new Date(), new Date()]
|
|
153
|
+
} else if (column.componentType === 'yearRange') {
|
|
154
|
+
this.searchForm[column.prop][0] = ''
|
|
155
|
+
this.searchForm[column.prop][1] = ''
|
|
156
|
+
} else if (
|
|
157
|
+
column.componentType === 'inputNumber' &&
|
|
158
|
+
this.searchForm[column.prop]
|
|
159
|
+
) {
|
|
160
|
+
this.searchForm[column.prop][0] = 0
|
|
161
|
+
this.searchForm[column.prop][1] = 0
|
|
162
|
+
} else {
|
|
163
|
+
this.searchForm[column.prop] = null
|
|
164
|
+
}
|
|
165
|
+
this.setDefaultQueryValue(column, this.searchForm)
|
|
166
|
+
}
|
|
167
|
+
})
|
|
168
|
+
// 取消当前选中的条件列表的信息
|
|
169
|
+
// this.$refs.searchConditionList.editConditionId = null
|
|
170
|
+
// this.$emit('reset')
|
|
171
|
+
// 重置条件后查询列表
|
|
172
|
+
$emit(this, 'submit-form')
|
|
173
|
+
},
|
|
174
|
+
openFold(isOpen) {
|
|
175
|
+
this.isOpen = isOpen
|
|
176
|
+
$emit(this, 'open-fold', isOpen)
|
|
177
|
+
},
|
|
178
|
+
// 查询完毕
|
|
179
|
+
searchComplete() {
|
|
180
|
+
if (this.$refs.searchFormContent) {
|
|
181
|
+
this.$refs.searchFormContent.searchComplete()
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
emits: [
|
|
186
|
+
'submit-form',
|
|
187
|
+
'reset-form',
|
|
188
|
+
'save-condition',
|
|
189
|
+
'open-fold',
|
|
190
|
+
'remoteMethod',
|
|
191
|
+
,
|
|
192
|
+
'submit-form',
|
|
193
|
+
'reset-form',
|
|
194
|
+
'save-condition',
|
|
195
|
+
],
|
|
196
|
+
}
|
|
197
|
+
</script>
|
|
198
|
+
|
|
199
|
+
<style lang="scss" scoped>
|
|
200
|
+
.grid-search-form {
|
|
201
|
+
overflow: auto;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.grid-search-form {
|
|
205
|
+
:deep(.el-form-item) {
|
|
206
|
+
margin-bottom: 0px;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.grid-search-form {
|
|
211
|
+
:deep(.el-form-item__label) {
|
|
212
|
+
overflow: hidden;
|
|
213
|
+
text-overflow: ellipsis;
|
|
214
|
+
white-space: nowrap;
|
|
215
|
+
word-break: keep-all;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.grid-search-form {
|
|
220
|
+
:deep(.search-btn) {
|
|
221
|
+
margin-bottom: 5px;
|
|
222
|
+
text-align: center;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.grid-search-form {
|
|
227
|
+
:deep(.el-select) {
|
|
228
|
+
width: 100%;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
:deep(.customComponent) {
|
|
232
|
+
width: 100%;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.grid-search-form {
|
|
237
|
+
:deep(.el-row) {
|
|
238
|
+
padding-right: 24px;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.grid-search-form {
|
|
243
|
+
:deep(.el-col) {
|
|
244
|
+
padding-left: 24px;
|
|
245
|
+
padding-bottom: 16px;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
</style>
|