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,365 @@
|
|
|
1
|
+
import ssoService from '../../api/sso-service'
|
|
2
|
+
import {
|
|
3
|
+
getUsername,
|
|
4
|
+
removeAllLanguages,
|
|
5
|
+
removeCurrentUser,
|
|
6
|
+
removeDevpPermissions,
|
|
7
|
+
removeLanguage,
|
|
8
|
+
removePublishControl,
|
|
9
|
+
removeToken,
|
|
10
|
+
removeUsername,
|
|
11
|
+
setCurrentUser,
|
|
12
|
+
setLanguage,
|
|
13
|
+
setToken,
|
|
14
|
+
setUsername
|
|
15
|
+
} from '../../utils/auth'
|
|
16
|
+
|
|
17
|
+
import {
|
|
18
|
+
getMenus,
|
|
19
|
+
getPermissions,
|
|
20
|
+
removeMenus,
|
|
21
|
+
removePermissions,
|
|
22
|
+
setMenus,
|
|
23
|
+
setPermissions
|
|
24
|
+
} from '../../utils/permissionAuth'
|
|
25
|
+
|
|
26
|
+
import {isPlateSys} from '../../utils/common-util'
|
|
27
|
+
import {ElMessage} from 'element-plus'
|
|
28
|
+
|
|
29
|
+
const user = {
|
|
30
|
+
state: {
|
|
31
|
+
token: '',
|
|
32
|
+
name: '',
|
|
33
|
+
menus: [],
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
mutations: {
|
|
37
|
+
setToken: (state, token) => {
|
|
38
|
+
state.token = token
|
|
39
|
+
},
|
|
40
|
+
setName: (state, name) => {
|
|
41
|
+
state.name = name
|
|
42
|
+
},
|
|
43
|
+
setMenus: (state, menus) => {
|
|
44
|
+
state.menus = menus
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
actions: {
|
|
49
|
+
// 登录
|
|
50
|
+
login({ commit }, userInfo) {
|
|
51
|
+
const username = userInfo.username.trim()
|
|
52
|
+
return new Promise((resolve, reject) => {
|
|
53
|
+
ssoService
|
|
54
|
+
.login(username, userInfo.password, userInfo.language)
|
|
55
|
+
.then((data) => {
|
|
56
|
+
// const data = response.data
|
|
57
|
+
setToken(data.jwt)
|
|
58
|
+
setLanguage(data.language)
|
|
59
|
+
if(data.lockTip){
|
|
60
|
+
ElMessage({
|
|
61
|
+
showClose: true,
|
|
62
|
+
message: data.lockTip,
|
|
63
|
+
type: 'warning',
|
|
64
|
+
duration: 10000
|
|
65
|
+
})
|
|
66
|
+
}
|
|
67
|
+
commit('setToken', data.jwt)
|
|
68
|
+
return ssoService.getCurrentUserPermissionsBySystem(data.subject)
|
|
69
|
+
})
|
|
70
|
+
.then((permissions) => {
|
|
71
|
+
let currentPermissions = ['index']
|
|
72
|
+
currentPermissions = currentPermissions.concat(permissions)
|
|
73
|
+
setPermissions(currentPermissions)
|
|
74
|
+
resolve()
|
|
75
|
+
})
|
|
76
|
+
.catch((error) => {
|
|
77
|
+
reject(error)
|
|
78
|
+
})
|
|
79
|
+
})
|
|
80
|
+
},
|
|
81
|
+
// 登录
|
|
82
|
+
loginWithValidateCode({ commit }, userInfo) {
|
|
83
|
+
const username = userInfo.username.trim()
|
|
84
|
+
return new Promise((resolve, reject) => {
|
|
85
|
+
ssoService
|
|
86
|
+
.loginWithValidateCode(
|
|
87
|
+
username,
|
|
88
|
+
userInfo.password,
|
|
89
|
+
userInfo.language,
|
|
90
|
+
userInfo.validCode,
|
|
91
|
+
userInfo.imageCodeKey
|
|
92
|
+
)
|
|
93
|
+
.then((data) => {
|
|
94
|
+
// const data = response.data
|
|
95
|
+
setToken(data.jwt)
|
|
96
|
+
setLanguage(data.language)
|
|
97
|
+
if(data.lockTip){
|
|
98
|
+
ElMessage({
|
|
99
|
+
showClose: true,
|
|
100
|
+
message: data.lockTip,
|
|
101
|
+
type: 'warning',
|
|
102
|
+
duration: 10000
|
|
103
|
+
})
|
|
104
|
+
}
|
|
105
|
+
commit('setToken', data.jwt)
|
|
106
|
+
return ssoService.getCurrentUserPermissionsBySystem(data.subject)
|
|
107
|
+
})
|
|
108
|
+
.then((permissions) => {
|
|
109
|
+
let currentPermissions = ['index']
|
|
110
|
+
currentPermissions = currentPermissions.concat(permissions)
|
|
111
|
+
setPermissions(currentPermissions)
|
|
112
|
+
resolve()
|
|
113
|
+
})
|
|
114
|
+
.catch((error) => {
|
|
115
|
+
reject(error)
|
|
116
|
+
})
|
|
117
|
+
})
|
|
118
|
+
},
|
|
119
|
+
// 登录。根据token登录系统
|
|
120
|
+
loginWithCookieToken({ commit }, loginName) {
|
|
121
|
+
return new Promise((resolve, reject) => {
|
|
122
|
+
if (!loginName) {
|
|
123
|
+
ssoService.getCurrentUser().then(user => {
|
|
124
|
+
if (user) {
|
|
125
|
+
loginName = user.loginName
|
|
126
|
+
setUsername(user.loginName)
|
|
127
|
+
setCurrentUser(user)
|
|
128
|
+
commit('setName', user.name)
|
|
129
|
+
}
|
|
130
|
+
resolve(user)
|
|
131
|
+
}).catch(error => {
|
|
132
|
+
reject(error)
|
|
133
|
+
})
|
|
134
|
+
}
|
|
135
|
+
if (loginName) {
|
|
136
|
+
// setToken(tokenInfo.jwt)
|
|
137
|
+
// commit('setToken', tokenInfo.jwt)
|
|
138
|
+
ssoService
|
|
139
|
+
.getCurrentUserPermissionsBySystem(loginName)
|
|
140
|
+
.then((permissions) => {
|
|
141
|
+
let currentPermissions = ['index']
|
|
142
|
+
currentPermissions = currentPermissions.concat(permissions)
|
|
143
|
+
setPermissions(currentPermissions)
|
|
144
|
+
resolve()
|
|
145
|
+
})
|
|
146
|
+
.catch((error) => {
|
|
147
|
+
reject(error)
|
|
148
|
+
})
|
|
149
|
+
}
|
|
150
|
+
})
|
|
151
|
+
},
|
|
152
|
+
|
|
153
|
+
// 获取用户信息
|
|
154
|
+
getCurrentUser({ commit, state }) {
|
|
155
|
+
return new Promise((resolve, reject) => {
|
|
156
|
+
const storeUserName = getUsername()
|
|
157
|
+
if (
|
|
158
|
+
typeof storeUserName === 'undefined' ||
|
|
159
|
+
storeUserName === '' ||
|
|
160
|
+
storeUserName === null
|
|
161
|
+
) {
|
|
162
|
+
ssoService
|
|
163
|
+
.getCurrentUser()
|
|
164
|
+
.then((user) => {
|
|
165
|
+
if (user) {
|
|
166
|
+
setUsername(user.loginName)
|
|
167
|
+
setCurrentUser(user)
|
|
168
|
+
commit('setName', user.name)
|
|
169
|
+
} else {
|
|
170
|
+
removeUsername()
|
|
171
|
+
removeCurrentUser()
|
|
172
|
+
commit('setName', '')
|
|
173
|
+
}
|
|
174
|
+
// commit('SET_AVATAR', data.avatar)
|
|
175
|
+
resolve(user)
|
|
176
|
+
})
|
|
177
|
+
.catch((error) => {
|
|
178
|
+
reject(error)
|
|
179
|
+
})
|
|
180
|
+
} else {
|
|
181
|
+
commit('setName', storeUserName)
|
|
182
|
+
resolve({ loginName: storeUserName })
|
|
183
|
+
}
|
|
184
|
+
})
|
|
185
|
+
},
|
|
186
|
+
|
|
187
|
+
// 登出
|
|
188
|
+
logout({ commit, state }) {
|
|
189
|
+
return new Promise((resolve, reject) => {
|
|
190
|
+
ssoService
|
|
191
|
+
.logout(state.token)
|
|
192
|
+
.then((data) => {
|
|
193
|
+
commit('setToken', '')
|
|
194
|
+
removeToken()
|
|
195
|
+
removeLanguage()
|
|
196
|
+
removeAllLanguages()
|
|
197
|
+
|
|
198
|
+
commit('setName', '')
|
|
199
|
+
removeUsername()
|
|
200
|
+
removeCurrentUser()
|
|
201
|
+
|
|
202
|
+
removePermissions()
|
|
203
|
+
|
|
204
|
+
removeMenus()
|
|
205
|
+
removePublishControl()
|
|
206
|
+
removeDevpPermissions()
|
|
207
|
+
resolve(data)
|
|
208
|
+
})
|
|
209
|
+
.catch((error) => {
|
|
210
|
+
reject(error)
|
|
211
|
+
})
|
|
212
|
+
})
|
|
213
|
+
},
|
|
214
|
+
|
|
215
|
+
// 出现401错误时清空过期的jwt
|
|
216
|
+
clearToken({ commit }) {
|
|
217
|
+
return new Promise((resolve) => {
|
|
218
|
+
commit('setToken', '')
|
|
219
|
+
removeToken()
|
|
220
|
+
removeLanguage()
|
|
221
|
+
removeAllLanguages()
|
|
222
|
+
|
|
223
|
+
commit('setName', '')
|
|
224
|
+
removeUsername()
|
|
225
|
+
removeCurrentUser()
|
|
226
|
+
|
|
227
|
+
removePermissions()
|
|
228
|
+
|
|
229
|
+
removeMenus()
|
|
230
|
+
removePublishControl()
|
|
231
|
+
removeDevpPermissions()
|
|
232
|
+
|
|
233
|
+
resolve()
|
|
234
|
+
})
|
|
235
|
+
},
|
|
236
|
+
|
|
237
|
+
// 获得当前用户权限集合
|
|
238
|
+
getCurrentUserPermissions({ commit }, loginName, systemCode) {
|
|
239
|
+
return new Promise((resolve, reject) => {
|
|
240
|
+
let storePermissions = getPermissions()
|
|
241
|
+
// 这个判断会导致资源不会重新加载??
|
|
242
|
+
if (
|
|
243
|
+
typeof storePermissions === 'undefined' ||
|
|
244
|
+
storePermissions === '' ||
|
|
245
|
+
storePermissions === null
|
|
246
|
+
) {
|
|
247
|
+
ssoService
|
|
248
|
+
.getCurrentUserPermissionsBySystem(loginName, systemCode)
|
|
249
|
+
.then((permissions) => {
|
|
250
|
+
let currentPermissions = ['index']
|
|
251
|
+
currentPermissions = currentPermissions.concat(permissions)
|
|
252
|
+
storePermissions = setPermissions(currentPermissions)
|
|
253
|
+
resolve(storePermissions)
|
|
254
|
+
})
|
|
255
|
+
.catch((error) => {
|
|
256
|
+
reject(error)
|
|
257
|
+
})
|
|
258
|
+
} else {
|
|
259
|
+
resolve(storePermissions)
|
|
260
|
+
}
|
|
261
|
+
})
|
|
262
|
+
},
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* 获得开发平台指定角色的权限集合
|
|
266
|
+
* @param {*} param0
|
|
267
|
+
* @param {*} roleCodes 岗位编码
|
|
268
|
+
* @returns
|
|
269
|
+
*/
|
|
270
|
+
getDevPlatformPermissions({ commit }, roleCodes) {
|
|
271
|
+
return new Promise((resolve, reject) => {
|
|
272
|
+
let storePermissions = getPermissions()
|
|
273
|
+
// 这个判断会导致资源不会重新加载??
|
|
274
|
+
if (
|
|
275
|
+
typeof storePermissions === 'undefined' ||
|
|
276
|
+
storePermissions === '' ||
|
|
277
|
+
storePermissions === null
|
|
278
|
+
) {
|
|
279
|
+
ssoService
|
|
280
|
+
.getDevPlatformPermissions(roleCodes)
|
|
281
|
+
.then((permissions) => {
|
|
282
|
+
let currentPermissions = ['index']
|
|
283
|
+
currentPermissions = currentPermissions.concat(permissions)
|
|
284
|
+
storePermissions = setPermissions(currentPermissions)
|
|
285
|
+
resolve(storePermissions)
|
|
286
|
+
})
|
|
287
|
+
.catch((error) => {
|
|
288
|
+
reject(error)
|
|
289
|
+
})
|
|
290
|
+
} else {
|
|
291
|
+
resolve(storePermissions)
|
|
292
|
+
}
|
|
293
|
+
})
|
|
294
|
+
},
|
|
295
|
+
|
|
296
|
+
// 判断当前用户密码是否过期
|
|
297
|
+
isPasswordExpired({ commit }, userInfo) {
|
|
298
|
+
const username = userInfo.username.trim()
|
|
299
|
+
return new Promise((resolve, reject) => {
|
|
300
|
+
ssoService
|
|
301
|
+
.isPasswordExpired(username, userInfo.password)
|
|
302
|
+
.then((message) => {
|
|
303
|
+
resolve(message)
|
|
304
|
+
})
|
|
305
|
+
.catch((error) => {
|
|
306
|
+
reject(error)
|
|
307
|
+
})
|
|
308
|
+
})
|
|
309
|
+
},
|
|
310
|
+
|
|
311
|
+
updatePassword({ commit }, map) {
|
|
312
|
+
return new Promise((resolve, reject) => {
|
|
313
|
+
ssoService
|
|
314
|
+
.updatePassword(map, map.userId)
|
|
315
|
+
.then((data) => {
|
|
316
|
+
resolve(data)
|
|
317
|
+
})
|
|
318
|
+
.catch((error) => {
|
|
319
|
+
reject(error)
|
|
320
|
+
})
|
|
321
|
+
})
|
|
322
|
+
},
|
|
323
|
+
// 判断jwt是否超时,防止出现401错误提示信息
|
|
324
|
+
isLoginTimeOut({ commit }) {
|
|
325
|
+
return new Promise((resolve, reject) => {
|
|
326
|
+
ssoService
|
|
327
|
+
.isLoginTimeOut()
|
|
328
|
+
.then((message) => {
|
|
329
|
+
resolve(message)
|
|
330
|
+
})
|
|
331
|
+
.catch((error) => {
|
|
332
|
+
reject(error)
|
|
333
|
+
})
|
|
334
|
+
})
|
|
335
|
+
},
|
|
336
|
+
// 获得有权限的菜单集合
|
|
337
|
+
getPermissionMenus({ commit }, systemCode) {
|
|
338
|
+
return new Promise((resolve, reject) => {
|
|
339
|
+
const storePermissionMenus = getMenus(systemCode)
|
|
340
|
+
if (
|
|
341
|
+
isPlateSys(systemCode) || (
|
|
342
|
+
typeof storePermissionMenus === 'undefined' ||
|
|
343
|
+
storePermissionMenus === '' ||
|
|
344
|
+
storePermissionMenus === null
|
|
345
|
+
)
|
|
346
|
+
) {
|
|
347
|
+
ssoService
|
|
348
|
+
.getUserPermissionMenusBySystemCode(systemCode)
|
|
349
|
+
.then((menus) => {
|
|
350
|
+
// commit('setMenus', menus)
|
|
351
|
+
setMenus(menus, systemCode)
|
|
352
|
+
resolve(menus)
|
|
353
|
+
})
|
|
354
|
+
.catch((error) => {
|
|
355
|
+
reject(error)
|
|
356
|
+
})
|
|
357
|
+
} else {
|
|
358
|
+
resolve(storePermissionMenus)
|
|
359
|
+
}
|
|
360
|
+
})
|
|
361
|
+
},
|
|
362
|
+
},
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export default user
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.flex-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
|
|
5
|
+
.tree-area {
|
|
6
|
+
flex: 0 0 200px;
|
|
7
|
+
overflow: auto;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.list-area {
|
|
11
|
+
flex: 1;
|
|
12
|
+
overflow: auto;
|
|
13
|
+
margin-left: 20px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.three-column-layout {
|
|
18
|
+
height: calc(100vh - 20px);
|
|
19
|
+
|
|
20
|
+
.el-aside {
|
|
21
|
+
margin-right: 0px;
|
|
22
|
+
padding-top: 5px;
|
|
23
|
+
background-color: #FFFFFF;
|
|
24
|
+
box-shadow: 0px 1px 8px 0px #00000019;
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.el-main {
|
|
29
|
+
padding: 20px 0 0 20px;
|
|
30
|
+
border-radius: 6px;
|
|
31
|
+
background: #FFFFFF;
|
|
32
|
+
box-shadow: 0px 1px 8px 0px #00000019;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
//to reset element-ui default css
|
|
2
|
+
.el-upload {
|
|
3
|
+
input[type="file"] {
|
|
4
|
+
display: none !important;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.el-upload__input {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
|
|
13
|
+
.el-dialog {
|
|
14
|
+
transform: none;
|
|
15
|
+
left: 0;
|
|
16
|
+
position: relative;
|
|
17
|
+
margin: 0 auto;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//element ui upload
|
|
21
|
+
.upload-container {
|
|
22
|
+
.el-upload {
|
|
23
|
+
width: 100%;
|
|
24
|
+
.el-upload-dragger {
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 200px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
@import './mixin.scss';
|
|
2
|
+
@import './transition.scss';
|
|
3
|
+
@import './element-ui.scss';
|
|
4
|
+
@import './theme/black/index.scss';
|
|
5
|
+
@import './theme/black/sidebar.scss';
|
|
6
|
+
@import './theme/blue/index.scss';
|
|
7
|
+
@import './theme/blue/sidebar.scss';
|
|
8
|
+
@import './theme/blue2/index.scss';
|
|
9
|
+
@import './theme/blue2/sidebar.scss';
|
|
10
|
+
@import './theme/gray/index.scss';
|
|
11
|
+
@import './theme/gray/sidebar.scss';
|
|
12
|
+
@import './theme/dark-blue/index.scss';
|
|
13
|
+
@import './theme/dark-blue/sidebar.scss';
|
|
14
|
+
@import './display-layout.scss';
|
|
15
|
+
|
|
16
|
+
body {
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// 省略号
|
|
21
|
+
.ellipsis {
|
|
22
|
+
// display: inline-block;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
text-overflow: ellipsis;
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
word-break: keep-all;
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// 解决el-table表头错位问题
|
|
31
|
+
body .el-table th.gutter {
|
|
32
|
+
display: table-cell !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
body .el-table colgroup.gutter {
|
|
36
|
+
display: table-cell !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// 日期控件宽度不自适应问题
|
|
40
|
+
.formContent .el-date-editor.el-input,
|
|
41
|
+
.formContent .el-date-editor.el-input__input,
|
|
42
|
+
.formContent .el-date-editor.el-input__inner,
|
|
43
|
+
.grid-search-form .el-date-editor.el-input,
|
|
44
|
+
.grid-search-form .el-date-editor.el-input__input,
|
|
45
|
+
.grid-search-form .el-date-editor.el-input__inner {
|
|
46
|
+
width: 100%;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.formContent .el-date-editor--daterange.el-input,
|
|
50
|
+
.formContent .el-date-editor--daterange.el-input__inner,
|
|
51
|
+
.formContent .el-date-editor--timerange.el-input,
|
|
52
|
+
.formContent .el-date-editor--timerange.el-input__inner,
|
|
53
|
+
.grid-search-form .el-date-editor--daterange.el-input,
|
|
54
|
+
.grid-search-form .el-date-editor--daterange.el-input__inner,
|
|
55
|
+
.grid-search-form .el-date-editor--timerange.el-input,
|
|
56
|
+
.grid-search-form .el-date-editor--timerange.el-input__inner {
|
|
57
|
+
width: 100%;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// 日期选择按钮太小问题(gcommon ui)
|
|
61
|
+
.el-picker-panel__footer .el-button--mini {
|
|
62
|
+
font-size: 16px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// 显示必填标志
|
|
66
|
+
.is_req {
|
|
67
|
+
.required__label::before {
|
|
68
|
+
content: '*';
|
|
69
|
+
color: #f56c6c;
|
|
70
|
+
margin-right: 4px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.formContent .el-form-item {
|
|
75
|
+
margin-bottom: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.operation-area,
|
|
79
|
+
.grid-search-form .search-button,
|
|
80
|
+
.grid-area .grid-operation-buttons {
|
|
81
|
+
.el-button:not(:first-child) {
|
|
82
|
+
margin-left: 10px;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.button-at-top {
|
|
87
|
+
width: 100%;
|
|
88
|
+
background: rgb(255, 255, 255);
|
|
89
|
+
line-height: 72px;
|
|
90
|
+
height: 72px;
|
|
91
|
+
position: absolute;
|
|
92
|
+
z-index: 100;
|
|
93
|
+
top: 0px;
|
|
94
|
+
left: 0px;
|
|
95
|
+
right: 0px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.button-at-bottom {
|
|
99
|
+
width: 100%;
|
|
100
|
+
background: rgb(255, 255, 255);
|
|
101
|
+
line-height: 72px;
|
|
102
|
+
height: 72px;
|
|
103
|
+
position: absolute;
|
|
104
|
+
bottom: 0px;
|
|
105
|
+
z-index: 100;
|
|
106
|
+
left: 0px;
|
|
107
|
+
right: 0px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.form-top-button {
|
|
111
|
+
height: 72px;
|
|
112
|
+
float: left;
|
|
113
|
+
padding-left: 24px;
|
|
114
|
+
line-height: 72px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.form-bottom-button {
|
|
118
|
+
height: 72px;
|
|
119
|
+
float: right;
|
|
120
|
+
padding-right: 24px;
|
|
121
|
+
line-height: 72px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// 带有tab页签的表单高度
|
|
125
|
+
.tab-form-container {
|
|
126
|
+
height: calc(100vh - 190px);
|
|
127
|
+
overflow: auto;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.form-container {
|
|
131
|
+
height: calc(100vh - 90px);
|
|
132
|
+
overflow: auto;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.form-container-bottom-button {
|
|
136
|
+
margin-bottom: 50px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.form-container .el-form .el-card {
|
|
140
|
+
margin-bottom: 10px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.form-container .el-form .el-card:last-child {
|
|
144
|
+
margin-bottom: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.operation-area-float {
|
|
148
|
+
float: right;
|
|
149
|
+
position: fixed;
|
|
150
|
+
bottom: 0;
|
|
151
|
+
right: 4%;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.el-button+.el-button {
|
|
155
|
+
margin-left: 10px;
|
|
156
|
+
}
|
|
157
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@mixin clearfix {
|
|
2
|
+
&:after {
|
|
3
|
+
content: "";
|
|
4
|
+
display: table;
|
|
5
|
+
clear: both;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin scrollBar {
|
|
10
|
+
&::-webkit-scrollbar-track-piece {
|
|
11
|
+
background: #d3dce6;
|
|
12
|
+
}
|
|
13
|
+
&::-webkit-scrollbar {
|
|
14
|
+
width: 6px;
|
|
15
|
+
}
|
|
16
|
+
&::-webkit-scrollbar-thumb {
|
|
17
|
+
background: #99a9bf;
|
|
18
|
+
border-radius: 20px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@mixin relative {
|
|
23
|
+
position: relative;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
.gray {
|
|
2
|
+
$titleColor: rgba(0, 0, 0, 0.85);
|
|
3
|
+
|
|
4
|
+
.list-file {
|
|
5
|
+
color: rgba(0, 13, 31, 0.45);
|
|
6
|
+
font-size: 14px;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.form-list-file {
|
|
11
|
+
color: rgba(0, 0, 0, 0.65);
|
|
12
|
+
background: #F2F6FA;
|
|
13
|
+
border-radius: 6px;
|
|
14
|
+
font-size: 14px;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
height: 28px;
|
|
17
|
+
line-height: 28px;
|
|
18
|
+
padding: 0 8px 0 8px;
|
|
19
|
+
margin-right: 32px
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.tip-font {
|
|
23
|
+
color: rgba(0, 0, 0, 0.65);
|
|
24
|
+
font-size: 14px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.superForm {
|
|
28
|
+
.el-form-item__label {
|
|
29
|
+
color: rgba(0, 13, 31, 0.85);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.page-layout__title {
|
|
34
|
+
width: 46px;
|
|
35
|
+
height: 16px;
|
|
36
|
+
font-size: 11px;
|
|
37
|
+
font-weight: 500;
|
|
38
|
+
color: #333333;
|
|
39
|
+
line-height: 13px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.component-type-name__title {
|
|
43
|
+
width: 40px;
|
|
44
|
+
height: 14px;
|
|
45
|
+
font-size: 10px;
|
|
46
|
+
font-weight: 500;
|
|
47
|
+
color: #333333;
|
|
48
|
+
line-height: 12px;
|
|
49
|
+
// -webkit-background-clip: text;
|
|
50
|
+
// -webkit-text-fill-color: transparent;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.page-layout__title::before {
|
|
54
|
+
content: "";
|
|
55
|
+
text-align: center;
|
|
56
|
+
background: #1A6BF3;
|
|
57
|
+
float: left;
|
|
58
|
+
position: relative;
|
|
59
|
+
border-radius: 3px;
|
|
60
|
+
/** 定义成 block 元素 **/
|
|
61
|
+
display: block;
|
|
62
|
+
// height: 21px;
|
|
63
|
+
// width: 4px;
|
|
64
|
+
margin-right: 12px;
|
|
65
|
+
|
|
66
|
+
width: 2px;
|
|
67
|
+
height: 16px;
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
}
|