hrp-ui-base 1.4.7 → 1.4.8
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 +51 -51
- package/dist/components.cjs +1 -1
- package/dist/components.es.js +25 -25
- package/dist/style.css +1 -1
- package/package.json +101 -101
- package/packages/approval-process/.eslintrc +6 -6
- package/packages/approval-process/README.md +22 -22
- package/packages/approval-process/index.ts +65 -65
- package/packages/approval-process/package.json +17 -17
- package/packages/approval-process/packages/components/choose-member/BO/departBo.ts +8 -8
- package/packages/approval-process/packages/components/choose-member/BO/memberBo.ts +14 -14
- package/packages/approval-process/packages/components/choose-member/BO/roleBo.ts +16 -16
- package/packages/approval-process/packages/components/choose-member/index.vue +496 -496
- package/packages/approval-process/packages/components/choose-member/styles/common.scss +133 -133
- package/packages/approval-process/packages/components/comment/assets/download.svg +4 -4
- package/packages/approval-process/packages/components/comment/assets/mp3.svg +11 -11
- package/packages/approval-process/packages/components/comment/assets/mp4.svg +11 -11
- package/packages/approval-process/packages/components/comment/assets/other.svg +11 -11
- package/packages/approval-process/packages/components/comment/assets/pdf.svg +11 -11
- package/packages/approval-process/packages/components/comment/assets/ppt.svg +11 -11
- package/packages/approval-process/packages/components/comment/assets/preview.svg +4 -4
- package/packages/approval-process/packages/components/comment/assets/word.svg +11 -11
- package/packages/approval-process/packages/components/comment/assets/xls.svg +11 -11
- package/packages/approval-process/packages/components/comment/index.vue +843 -843
- package/packages/approval-process/packages/components/comment/modules/previewMp.vue +53 -53
- package/packages/approval-process/packages/components/comment/styles/comment-style.scss +303 -303
- package/packages/approval-process/packages/components/image-cropper/index.vue +202 -202
- package/packages/approval-process/packages/components/sign/index.vue +766 -766
- package/packages/approval-process/packages/components/sign/modules/full-screen-sign.vue +19 -19
- package/packages/approval-process/packages/components/urge-dialog/index.vue +120 -120
- package/packages/approval-process/packages/components/vue-esign/index.vue +289 -289
- package/packages/approval-process/packages/flow/approve-component/approve-success.vue +81 -81
- package/packages/approval-process/packages/flow/approve-component/route-params-error.vue +48 -48
- package/packages/approval-process/packages/flow/approve-component/submit-success.vue +58 -58
- package/packages/approval-process/packages/flow/examine-approve-itr.vue +978 -978
- package/packages/approval-process/packages/flow/examine-approve.vue +1065 -1065
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/README.md +38 -38
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/index.vue +158 -158
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/modules/associated-approval-form-mobile.vue +297 -297
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/modules/associated-approval-form-pc.vue +314 -314
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/style/curd-area-mobile.scss +109 -109
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/style/curd-area.scss +95 -95
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/style/out-put.scss +47 -47
- package/packages/approval-process/packages/flow/form-component/show-sign.vue +27 -27
- package/packages/approval-process/packages/flow/styles/common.scss +133 -133
- package/packages/approval-process/packages/flow/styles/examine-approve-pc.scss +465 -465
- package/packages/approval-process/packages/flow/styles/examine-approve-phone.scss +292 -292
- package/packages/approval-process/packages/flow/styles/submit-approve-pc.scss +379 -379
- package/packages/approval-process/packages/flow/styles/submit-approve-phone.scss +336 -336
- package/packages/approval-process/packages/flow/submit-approve-itr.vue +622 -622
- package/packages/approval-process/packages/flow/submit-approve.vue +627 -627
- package/packages/approval-process/packages/flow/systemCom/BO/departBo.ts +8 -8
- package/packages/approval-process/packages/flow/systemCom/BO/memberBo.ts +14 -14
- package/packages/approval-process/packages/flow/systemCom/BO/roleBo.ts +16 -16
- package/packages/approval-process/packages/flow/systemCom/choose-depart.vue +398 -398
- package/packages/approval-process/packages/flow/systemCom/choose-member-phone.vue +514 -514
- package/packages/approval-process/packages/flow/systemCom/choose-member.vue +564 -564
- package/packages/approval-process/packages/flow/systemCom/choose-role.vue +300 -300
- package/packages/approval-process/packages/styles/common.scss +133 -133
- package/packages/approval-process/packages/styles/flex-common.scss +117 -117
- package/packages/approval-process/packages/styles/flexCommon.scss +72 -72
- package/packages/approval-process/packages/styles/main.css +216 -216
- package/packages/approval-process/packages/styles/router-page.scss +370 -370
- package/packages/approval-process/packages/styles/style-set.ts +207 -207
- package/packages/approval-process/packages/types.d.ts +3 -3
- package/packages/approval-process/packages/utils/base.ts +15 -15
- package/packages/approval-process/packages/utils/crypto.ts +66 -66
- package/packages/approval-process/packages/utils/ddUtils.ts +56 -56
- package/packages/approval-process/packages/utils/debounce.ts +35 -35
- package/packages/approval-process/packages/utils/des.js +1107 -1107
- package/packages/approval-process/packages/utils/download.ts +38 -38
- package/packages/approval-process/packages/utils/editor.ts +36 -36
- package/packages/approval-process/packages/utils/getEnv.ts +36 -36
- package/packages/approval-process/packages/utils/os.ts +20 -20
- package/packages/approval-process/packages/utils/path-util.ts +31 -31
- package/packages/approval-process/packages/utils/routerUtil.ts +304 -304
- package/packages/approval-process/packages/utils/string-utils.ts +13 -13
- package/packages/approval-process/packages/utils/throttle.ts +44 -44
- package/packages/approval-process/packages/utils/validate.ts +92 -92
- package/packages/approval-process/packages/utils/ws.ts +218 -218
- package/packages/approval-process/tsconfig.json +72 -72
- package/packages/approval-process/vite.config.ts +56 -56
- package/src/api/bms/dict/bo/DictConfigBO.ts +23 -23
- package/src/api/bms/dict/bo/DictConfigBaseVO.ts +24 -24
- package/src/api/bms/dict/bo/DictConfigSearchBO.ts +12 -12
- package/src/api/bms/dict/bo/DictImportBO.ts +6 -6
- package/src/api/bms/dict/bo/DictVO.ts +21 -21
- package/src/api/bms/dict/bo/PageBaseVO.ts +8 -8
- package/src/api/bms/dict/bo/TotalDictBO.ts +11 -11
- package/src/api/bms/dict/bo/TotalDictPageVO.ts +17 -17
- package/src/api/bms/dict/dict-controller.ts +78 -78
- package/src/api/bms/file/FileExportController.ts +19 -19
- package/src/api/bms/file/FileUploadController.ts +131 -131
- package/src/api/bms/file/bo/FileBaseInfo.ts +13 -13
- package/src/api/bms/file/bo/FileExportVO.ts +17 -17
- package/src/api/bms/file/bo/FilePreviewVO.ts +8 -8
- package/src/api/bms/file/bo/FileUploadInfo.ts +22 -22
- package/src/api/bms/file/bo/FileUrlVO.ts +10 -10
- package/src/api/bms/file/bo/StsTokenVO.ts +20 -20
- package/src/api/bms/flow/FlowCommentController.ts +50 -50
- package/src/api/bms/flow/FlowInstanceController.ts +179 -179
- package/src/api/bms/flow/FlowProcessController.ts +55 -55
- package/src/api/bms/flow/FlowSheetController.ts +27 -27
- package/src/api/bms/flow/FlowSignController.ts +76 -76
- package/src/api/bms/flow/bo/AssociatedApprovalBO.ts +15 -15
- package/src/api/bms/flow/bo/AssociatedApprovalVO.ts +35 -35
- package/src/api/bms/flow/bo/AuditBaseInfo.ts +39 -39
- package/src/api/bms/flow/bo/ButtonVo.ts +7 -7
- package/src/api/bms/flow/bo/DingCallbackBo.ts +13 -13
- package/src/api/bms/flow/bo/FlowCommentBO.ts +12 -12
- package/src/api/bms/flow/bo/FlowCommentVO.ts +23 -23
- package/src/api/bms/flow/bo/FlowInstanceBO.ts +14 -14
- package/src/api/bms/flow/bo/FlowNodeVO.ts +24 -24
- package/src/api/bms/flow/bo/FlowNoticeBO.ts +17 -17
- package/src/api/bms/flow/bo/FlowProcessBO.ts +13 -13
- package/src/api/bms/flow/bo/FlowProcessVO.ts +9 -9
- package/src/api/bms/flow/bo/FlowReplyVO.ts +23 -23
- package/src/api/bms/flow/bo/FlowSheetVO.ts +16 -16
- package/src/api/bms/flow/bo/InstanceBackBO.ts +9 -9
- package/src/api/bms/flow/bo/InstanceNodeBO.ts +13 -13
- package/src/api/bms/flow/bo/InstanceNodeVO.ts +21 -21
- package/src/api/bms/flow/bo/NodeShowVo.ts +19 -19
- package/src/api/bms/flow/bo/ReviewBO.ts +11 -11
- package/src/api/bms/flow/bo/SheetSearchBO.ts +11 -11
- package/src/api/bms/flow/bo/SystemVO.ts +7 -7
- package/src/api/bms/flow/bo/TransmitBO.ts +9 -9
- package/src/api/bms/flow/bo/UrgeFlowBO.ts +7 -7
- package/src/api/bms/flow/bo/UserBaseInfoVo.ts +13 -13
- package/src/api/bms/flow/bo/UserInfoVo.ts +44 -44
- package/src/api/bms/flow/bo/UserResultVo.ts +17 -17
- package/src/api/bms/flow/bo/ValueMapBo.ts +7 -7
- package/src/api/bms/home/HomeController.ts +106 -106
- package/src/api/bms/home/bo/CollectedMenuBo.ts +9 -9
- package/src/api/bms/home/bo/DeptBaseVo.ts +9 -9
- package/src/api/bms/home/bo/DomainVO.ts +13 -13
- package/src/api/bms/home/bo/FunPermission.ts +17 -17
- package/src/api/bms/home/bo/GroupVO.ts +10 -10
- package/src/api/bms/home/bo/HomeMenu.ts +22 -22
- package/src/api/bms/home/bo/HomeMenuVo.ts +11 -11
- package/src/api/bms/home/bo/PersonalizationBo.ts +17 -17
- package/src/api/bms/home/bo/PersonalizationVo.ts +19 -19
- package/src/api/bms/home/bo/PhoneMenu.ts +14 -14
- package/src/api/bms/home/bo/SearchMenuVo.ts +10 -10
- package/src/api/bms/home/bo/UserBaseInfoVo.ts +11 -11
- package/src/api/bms/permission-manage/PermissionController.ts +133 -133
- package/src/api/bms/permission-manage/bo/DataScopeConfig.ts +17 -17
- package/src/api/bms/permission-manage/bo/DataScopePoint.ts +15 -15
- package/src/api/bms/permission-manage/bo/DeptBaseVo.ts +9 -9
- package/src/api/bms/permission-manage/bo/FunPermissionConfig.ts +18 -18
- package/src/api/bms/permission-manage/bo/FunPointVo.ts +9 -9
- package/src/api/bms/permission-manage/bo/PermissionGroupBo.ts +11 -11
- package/src/api/bms/permission-manage/bo/PermissionGroupMemberVo.ts +18 -18
- package/src/api/bms/permission-manage/bo/PermissionGroupPageVo.ts +17 -17
- package/src/api/bms/permission-manage/bo/PermissionGroupVo.ts +17 -17
- package/src/api/bms/permission-manage/bo/RoleBaseVo.ts +9 -9
- package/src/api/bms/permission-manage/bo/TheFirstStepVo.ts +13 -13
- package/src/api/bms/permission-manage/bo/TheSecondStepVo.ts +14 -14
- package/src/api/bms/permission-manage/bo/UserBaseInfoVo.ts +11 -11
- package/src/api/bms/tabulation/TabulationController.ts +78 -78
- package/src/api/bms/tabulation/bo/FieldConditionBO.ts +10 -10
- package/src/api/bms/tabulation/bo/FieldConditionVO.ts +10 -10
- package/src/api/bms/tabulation/bo/OperateButtonVO.ts +9 -9
- package/src/api/bms/tabulation/bo/PersonViewVO.ts +33 -33
- package/src/api/bms/tabulation/bo/SearchVO.ts +33 -33
- package/src/api/bms/tabulation/bo/TabulationBO.ts +14 -14
- package/src/api/bms/tabulation/bo/ViewSortBO.ts +7 -7
- package/src/api/bms/tabulation/bo/ViewVO.ts +12 -12
- package/src/api/common/FileBaseInfo.ts +10 -10
- package/src/api/common/ResponseBean.ts +9 -9
- package/src/api/common/ResponseBeanList.ts +15 -15
- package/src/api/common/ResponseBeanTablePage.ts +21 -21
- package/src/api/common/TableQueryCriteriaVO.ts +10 -10
- package/src/api/common/bo/PageResult.ts +22 -22
- package/src/api/hrms/dept/bo/DeptBaseVo.ts +6 -6
- package/src/api/hrms/dept/bo/DeptTreeVo.ts +23 -23
- package/src/api/hrms/dept/bo/DeptUserVo.ts +9 -9
- package/src/api/hrms/dept/bo/DeptUsersVo.ts +10 -10
- package/src/api/hrms/dept/bo/DeptVo.ts +19 -19
- package/src/api/hrms/dept/bo/UserBaseInfoVo.ts +7 -7
- package/src/api/hrms/dept/deptController.ts +100 -100
- package/src/api/hrms/role/bo/RoleBaseVo.ts +6 -6
- package/src/api/hrms/role/bo/RoleGroupVo.ts +11 -11
- package/src/api/hrms/role/bo/RoleVo.ts +22 -22
- package/src/api/hrms/role/roleController.ts +19 -19
- package/src/api/hrms/user/bo/UserBaseInfoVo.ts +11 -11
- package/src/api/hrms/user/bo/UserCardVO.ts +13 -13
- package/src/api/hrms/user/bo/UserDeptBO.ts +13 -13
- package/src/api/hrms/user/bo/UserRoleBO.ts +11 -11
- package/src/api/hrms/user/bo/UserVO.ts +23 -23
- package/src/api/hrms/user/userController.ts +86 -86
- package/src/api/index.ts +9 -9
- package/src/api/notice/NoticeController.ts +73 -73
- package/src/api/notice/bo/NoticePageBO.ts +24 -24
- package/src/api/notice/bo/NoticeVO.ts +31 -31
- package/src/api/work-order-pc/flow/Bo/ValueMapBo.ts +7 -7
- package/src/api/work-order-pc/flow/ItrFlowProcessController.ts +41 -41
- package/src/api/work-order-pc/flow/Vo/FlowNodeVO.ts +24 -24
- package/src/api/work-order-pc/flow/Vo/UserInfoVo.ts +44 -44
- package/src/assets/layout/avatar-default.svg +6 -6
- package/src/assets/layout/collect-active.svg +7 -7
- package/src/assets/layout/collect-default.svg +7 -7
- package/src/assets/layout/download-active.svg +8 -8
- package/src/assets/layout/download-default.svg +8 -8
- package/src/assets/layout/export-dark.svg +7 -7
- package/src/assets/layout/export-default.svg +7 -7
- package/src/assets/layout/font-active.svg +6 -6
- package/src/assets/layout/font-default.svg +6 -6
- package/src/assets/layout/help-active.svg +10 -10
- package/src/assets/layout/help-default.svg +10 -10
- package/src/assets/layout/home-active.svg +6 -6
- package/src/assets/layout/home.svg +6 -6
- package/src/assets/layout/menu-expand.svg +6 -6
- package/src/assets/layout/menu-position-active.svg +6 -6
- package/src/assets/layout/menu-position-default.svg +6 -6
- package/src/assets/layout/message-active.svg +9 -9
- package/src/assets/layout/message-default.svg +9 -9
- package/src/assets/layout/moon.svg +8 -8
- package/src/assets/layout/router-all-dark.svg +11 -11
- package/src/assets/layout/router-all-default.svg +17 -17
- package/src/assets/layout/search-active.svg +20 -20
- package/src/assets/layout/search-default.svg +20 -20
- package/src/assets/layout/star-default.svg +3 -3
- package/src/assets/layout/sun-active.svg +6 -6
- package/src/assets/layout/sun-default.svg +6 -6
- package/src/assets/layout/switch-moon.svg +3 -3
- package/src/assets/layout/switch-sun.svg +41 -41
- package/src/assets/layout/todo-active.svg +12 -12
- package/src/assets/layout/todo-default.svg +12 -12
- package/src/assets/layout/user-dark.svg +13 -13
- package/src/assets/layout/user-default.svg +13 -13
- package/src/assets/no-permiss-dark.svg +16 -16
- package/src/assets/no-permiss-day.svg +16 -16
- package/src/assets/process/drawer/manyLevel1close.svg +9 -9
- package/src/assets/process/drawer/manyLevel1open.svg +6 -6
- package/src/assets/process/drawer/manyLevel2close.svg +6 -6
- package/src/assets/process/drawer/manyLevel2open.svg +6 -6
- package/src/assets/table-delete/table-delete.svg +2 -2
- package/src/components/annex-img-upload/assets/download.svg +4 -4
- package/src/components/annex-img-upload/assets/mp3.svg +11 -11
- package/src/components/annex-img-upload/assets/mp4.svg +11 -11
- package/src/components/annex-img-upload/assets/other.svg +11 -11
- package/src/components/annex-img-upload/assets/pdf.svg +11 -11
- package/src/components/annex-img-upload/assets/ppt.svg +11 -11
- package/src/components/annex-img-upload/assets/preview.svg +4 -4
- package/src/components/annex-img-upload/assets/word.svg +11 -11
- package/src/components/annex-img-upload/assets/xls.svg +11 -11
- package/src/components/annex-img-upload/index.vue +609 -609
- package/src/components/annex-img-upload/modules/previewMp.vue +53 -53
- package/src/components/annex-upload/assets/download.svg +4 -4
- package/src/components/annex-upload/assets/mp3.svg +11 -11
- package/src/components/annex-upload/assets/mp4.svg +11 -11
- package/src/components/annex-upload/assets/other.svg +11 -11
- package/src/components/annex-upload/assets/pdf.svg +11 -11
- package/src/components/annex-upload/assets/ppt.svg +11 -11
- package/src/components/annex-upload/assets/preview.svg +4 -4
- package/src/components/annex-upload/assets/word.svg +11 -11
- package/src/components/annex-upload/assets/xls.svg +11 -11
- package/src/components/annex-upload/index.vue +800 -800
- package/src/components/annex-upload/modules/previewMp.vue +53 -53
- package/src/components/annex-upload-weijian/assets/download.svg +4 -4
- package/src/components/annex-upload-weijian/assets/mp3.svg +11 -11
- package/src/components/annex-upload-weijian/assets/mp4.svg +11 -11
- package/src/components/annex-upload-weijian/assets/other.svg +11 -11
- package/src/components/annex-upload-weijian/assets/pdf.svg +11 -11
- package/src/components/annex-upload-weijian/assets/ppt.svg +11 -11
- package/src/components/annex-upload-weijian/assets/preview.svg +4 -4
- package/src/components/annex-upload-weijian/assets/word.svg +11 -11
- package/src/components/annex-upload-weijian/assets/xls.svg +11 -11
- package/src/components/annex-upload-weijian/index.vue +772 -772
- package/src/components/annex-upload-weijian/modules/previewMp.vue +53 -53
- package/src/components/base-layout/index.vue +199 -199
- package/src/components/button.vue +14 -14
- package/src/components/layout/ApprovalCenterDrawer.vue +231 -231
- package/src/components/layout/ExportCenterDrawer.vue +164 -164
- package/src/components/layout/LayoutContainer.vue +542 -542
- package/src/components/layout/SysHeader.vue +90 -90
- package/src/components/layout/SysHeaderLeft.vue +114 -114
- package/src/components/layout/SysHeaderRight.vue +112 -112
- package/src/components/layout/SysHeaderTabs.vue +289 -289
- package/src/components/layout/components/avatar-component.vue +77 -77
- package/src/components/layout/components/dark-component.vue +82 -82
- package/src/components/layout/components/download-component.vue +49 -49
- package/src/components/layout/components/font-size-component.vue +66 -66
- package/src/components/layout/components/menu-position-component.vue +97 -97
- package/src/components/layout/components/message-component.vue +64 -64
- package/src/components/layout/components/todo-component.vue +55 -55
- package/src/components/layout/index.ts +34 -34
- package/src/components/layout/message/message-dictionary.ts +27 -27
- package/src/components/layout/message/message-icon//345/205/250/351/203/250/351/200/232/347/237/245-/350/223/235.svg +8 -8
- package/src/components/layout/message/message-icon//345/205/250/351/203/250/351/200/232/347/237/245-/351/273/221.svg +8 -8
- package/src/components/layout/message/message-icon//345/205/250/351/203/250/351/200/232/347/237/245.svg +8 -8
- package/src/components/layout/message/message-icon//345/205/254/345/221/212/351/200/232/347/237/245-/350/223/235.svg +12 -12
- package/src/components/layout/message/message-icon//345/205/254/345/221/212/351/200/232/347/237/245-/351/273/221.svg +12 -12
- package/src/components/layout/message/message-icon//345/205/254/345/221/212/351/200/232/347/237/245.svg +12 -12
- package/src/components/layout/message/message-icon//345/256/241/346/211/271/351/200/232/347/237/245-/350/223/235.svg +8 -8
- package/src/components/layout/message/message-icon//345/256/241/346/211/271/351/200/232/347/237/245-/351/273/221.svg +8 -8
- package/src/components/layout/message/message-icon//345/256/241/346/211/271/351/200/232/347/237/245.svg +8 -8
- package/src/components/layout/message/message-icon//345/257/274/345/207/272/351/200/232/347/237/245-/350/223/235.svg +13 -13
- package/src/components/layout/message/message-icon//345/257/274/345/207/272/351/200/232/347/237/245-/351/273/221.svg +13 -13
- package/src/components/layout/message/message-icon//345/257/274/345/207/272/351/200/232/347/237/245.svg +13 -13
- package/src/components/layout/message/message-icon//346/234/252/350/257/273/351/200/232/347/237/245-/350/223/235.svg +11 -11
- package/src/components/layout/message/message-icon//346/234/252/350/257/273/351/200/232/347/237/245-/351/273/221.svg +11 -11
- package/src/components/layout/message/message-icon//346/234/252/350/257/273/351/200/232/347/237/245.svg +11 -11
- package/src/components/layout/message/message-icon//347/251/272/347/212/266/346/200/201.svg +17 -17
- package/src/components/layout/message/message-icon//347/263/273/347/273/237/351/200/232/347/237/245-/350/223/235.svg +13 -13
- package/src/components/layout/message/message-icon//347/263/273/347/273/237/351/200/232/347/237/245-/351/273/221.svg +13 -13
- package/src/components/layout/message/message-icon//347/263/273/347/273/237/351/200/232/347/237/245.svg +13 -13
- package/src/components/layout/message/message-notification-drawer.vue +533 -533
- package/src/components/layout/personal-sign/ImageCropper.vue +187 -187
- package/src/components/layout/personal-sign/PersonalSignDialog.vue +658 -658
- package/src/components/layout/personalization-guide-dialog.vue +255 -255
- package/src/components/layout/plugin.ts +32 -32
- package/src/components/layout/sideMenu-global.scss +115 -115
- package/src/components/layout/sideMenu.scss +312 -312
- package/src/components/layout/sideMenu.vue +541 -541
- package/src/components/layout/sideMenuSonList.vue +185 -185
- package/src/components/layout/stores/index.ts +5 -5
- package/src/components/layout/stores/useLayoutConfigStore.ts +231 -231
- package/src/components/layout/stores/useLayoutMenuStore.ts +232 -232
- package/src/components/layout/stores/useLayoutNoticeStore.ts +77 -77
- package/src/components/layout/stores/useLayoutTabsStore.ts +367 -367
- package/src/components/layout/styles/icon.scss +72 -72
- package/src/components/layout/types.ts +98 -98
- package/src/components/layout/utils/redirect.ts +144 -144
- package/src/components/list-search-content/components/index.ts +11 -11
- package/src/components/list-search-content/components/search-date-range.vue +74 -74
- package/src/components/list-search-content/components/search-date-time-range.vue +48 -48
- package/src/components/list-search-content/components/search-date.vue +97 -97
- package/src/components/list-search-content/components/search-input-number.vue +59 -59
- package/src/components/list-search-content/components/search-input.vue +46 -46
- package/src/components/list-search-content/components/search-multiple_select.vue +69 -69
- package/src/components/list-search-content/components/search-select.vue +64 -64
- package/src/components/list-search-content/index.vue +803 -803
- package/src/components/list-search-content/modules/add-views-package-dialog.vue +147 -147
- package/src/components/list-search-content/modules/search-condition-area.vue +252 -252
- package/src/components/list-search-content/modules/views-package-manage-dialog.vue +265 -265
- package/src/components/switch.vue +16 -16
- package/src/components.ts +67 -67
- package/src/enum/system/StorageEnum.ts +4 -4
- package/src/global.d.ts +19 -19
- package/src/index.ts +4 -4
- package/src/init.ts +37 -37
- package/src/styles/common.scss +133 -133
- package/src/styles/flex-common.scss +117 -117
- package/src/styles/flexCommon.scss +72 -72
- package/src/styles/main.css +277 -277
- package/src/styles/router-page.scss +370 -370
- package/src/styles/style-set.ts +809 -809
- package/src/utils/HttpUtil.ts +427 -427
- package/src/utils/base.ts +47 -47
- package/src/utils/cell-style.ts +11 -11
- package/src/utils/crypto.ts +98 -98
- package/src/utils/dd-utils.ts +157 -157
- package/src/utils/debounce.ts +35 -35
- package/src/utils/debounceleading.ts +48 -48
- package/src/utils/download.ts +38 -38
- package/src/utils/exitLogin.ts +58 -58
- package/src/utils/filter-key.ts +4 -4
- package/src/utils/formatter-handler.ts +12 -12
- package/src/utils/get-dict.ts +26 -26
- package/src/utils/get-env.ts +36 -36
- package/src/utils/login-path.ts +35 -35
- package/src/utils/path-utils.ts +31 -31
- package/src/utils/permit-utils.ts +68 -68
- package/src/utils/router-utils.ts +321 -321
- package/src/utils/string-utils.ts +166 -166
- package/src/utils/style-set.ts +750 -750
- package/src/utils/throttle.ts +62 -62
- package/src/utils/transform-data.ts +31 -31
- package/src/utils/validate.ts +92 -92
- package/src/utils/ws.ts +218 -218
- package/src/utils/wujie-son.ts +50 -50
- package/src/utils.ts +24 -24
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
* @description: 菜单栏位置配置
|
|
3
|
-
* @fileName: menu-position-component.vue
|
|
4
|
-
!-->
|
|
5
|
-
<template>
|
|
6
|
-
<div>
|
|
7
|
-
<el-dropdown trigger="click" @visible-change="clickChange">
|
|
8
|
-
<div
|
|
9
|
-
id="tourMenuPositionId"
|
|
10
|
-
:class="'icon-box menu-position-icon ' + (isClick ? 'icon-box-active' : '')"
|
|
11
|
-
@mouseenter="mouseEnterIcon"
|
|
12
|
-
@mouseleave="mouseLeaveIcon"
|
|
13
|
-
@mousemove="mouseEnterIcon"
|
|
14
|
-
>
|
|
15
|
-
<img :src="menuPositionDefaultIcon" v-if="!isClick" />
|
|
16
|
-
<img :src="menuPositionActiveIcon" v-if="isClick" />
|
|
17
|
-
</div>
|
|
18
|
-
<template #dropdown>
|
|
19
|
-
<div class="menu-position-dropdown">
|
|
20
|
-
<span>菜单栏位置</span>
|
|
21
|
-
<el-segmented
|
|
22
|
-
v-model="localMenuPosition"
|
|
23
|
-
:options="menuPositionOption"
|
|
24
|
-
size="default"
|
|
25
|
-
@change="changeMenuPosition"
|
|
26
|
-
/>
|
|
27
|
-
</div>
|
|
28
|
-
</template>
|
|
29
|
-
</el-dropdown>
|
|
30
|
-
<div
|
|
31
|
-
class="popover-tooltip-custom"
|
|
32
|
-
ref="popoverTooptipRef"
|
|
33
|
-
v-show="isMouseEnter && !isClick"
|
|
34
|
-
style="left: -50%;"
|
|
35
|
-
>
|
|
36
|
-
<div class="triangle-top"></div>
|
|
37
|
-
<div>菜单栏位置</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</template>
|
|
41
|
-
|
|
42
|
-
<script setup lang="ts">
|
|
43
|
-
import { ref, watch } from "vue";
|
|
44
|
-
import menuPositionDefaultIcon from '../../../assets/layout/menu-position-default.svg'
|
|
45
|
-
import menuPositionActiveIcon from '../../../assets/layout/menu-position-active.svg'
|
|
46
|
-
|
|
47
|
-
const props = defineProps<{
|
|
48
|
-
menuPosition: string
|
|
49
|
-
}>()
|
|
50
|
-
|
|
51
|
-
const emit = defineEmits<{
|
|
52
|
-
(e: 'change', value: string): void
|
|
53
|
-
}>()
|
|
54
|
-
|
|
55
|
-
const localMenuPosition = ref(props.menuPosition)
|
|
56
|
-
watch(() => props.menuPosition, (val) => { localMenuPosition.value = val })
|
|
57
|
-
|
|
58
|
-
/** 菜单栏位置选项 */
|
|
59
|
-
const menuPositionOption = ref([
|
|
60
|
-
{ label: "顶部", value: "top" },
|
|
61
|
-
{ label: "左侧", value: "left" },
|
|
62
|
-
]);
|
|
63
|
-
|
|
64
|
-
const isMouseEnter = ref(false);
|
|
65
|
-
const isClick = ref(false);
|
|
66
|
-
const popoverTooptipRef = ref();
|
|
67
|
-
|
|
68
|
-
const mouseEnterIcon = () => { isMouseEnter.value = true };
|
|
69
|
-
const mouseLeaveIcon = () => { isMouseEnter.value = false };
|
|
70
|
-
|
|
71
|
-
const clickChange = (isVisiable: boolean) => {
|
|
72
|
-
isClick.value = isVisiable;
|
|
73
|
-
isMouseEnter.value = false;
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
const changeMenuPosition = (menuPosition: string | number | boolean) => {
|
|
77
|
-
emit('change', menuPosition as string);
|
|
78
|
-
};
|
|
79
|
-
</script>
|
|
80
|
-
|
|
81
|
-
<style scoped lang="scss">
|
|
82
|
-
@use '../styles/icon.scss';
|
|
83
|
-
|
|
84
|
-
.menu-position-dropdown {
|
|
85
|
-
display: flex;
|
|
86
|
-
align-items: center;
|
|
87
|
-
gap: 12px;
|
|
88
|
-
padding: 10px 12px;
|
|
89
|
-
white-space: nowrap;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.menu-position-icon {
|
|
93
|
-
img {
|
|
94
|
-
width: 23px;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
</style>
|
|
1
|
+
<!--
|
|
2
|
+
* @description: 菜单栏位置配置
|
|
3
|
+
* @fileName: menu-position-component.vue
|
|
4
|
+
!-->
|
|
5
|
+
<template>
|
|
6
|
+
<div>
|
|
7
|
+
<el-dropdown trigger="click" @visible-change="clickChange">
|
|
8
|
+
<div
|
|
9
|
+
id="tourMenuPositionId"
|
|
10
|
+
:class="'icon-box menu-position-icon ' + (isClick ? 'icon-box-active' : '')"
|
|
11
|
+
@mouseenter="mouseEnterIcon"
|
|
12
|
+
@mouseleave="mouseLeaveIcon"
|
|
13
|
+
@mousemove="mouseEnterIcon"
|
|
14
|
+
>
|
|
15
|
+
<img :src="menuPositionDefaultIcon" v-if="!isClick" />
|
|
16
|
+
<img :src="menuPositionActiveIcon" v-if="isClick" />
|
|
17
|
+
</div>
|
|
18
|
+
<template #dropdown>
|
|
19
|
+
<div class="menu-position-dropdown">
|
|
20
|
+
<span>菜单栏位置</span>
|
|
21
|
+
<el-segmented
|
|
22
|
+
v-model="localMenuPosition"
|
|
23
|
+
:options="menuPositionOption"
|
|
24
|
+
size="default"
|
|
25
|
+
@change="changeMenuPosition"
|
|
26
|
+
/>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
</el-dropdown>
|
|
30
|
+
<div
|
|
31
|
+
class="popover-tooltip-custom"
|
|
32
|
+
ref="popoverTooptipRef"
|
|
33
|
+
v-show="isMouseEnter && !isClick"
|
|
34
|
+
style="left: -50%;"
|
|
35
|
+
>
|
|
36
|
+
<div class="triangle-top"></div>
|
|
37
|
+
<div>菜单栏位置</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</template>
|
|
41
|
+
|
|
42
|
+
<script setup lang="ts">
|
|
43
|
+
import { ref, watch } from "vue";
|
|
44
|
+
import menuPositionDefaultIcon from '../../../assets/layout/menu-position-default.svg'
|
|
45
|
+
import menuPositionActiveIcon from '../../../assets/layout/menu-position-active.svg'
|
|
46
|
+
|
|
47
|
+
const props = defineProps<{
|
|
48
|
+
menuPosition: string
|
|
49
|
+
}>()
|
|
50
|
+
|
|
51
|
+
const emit = defineEmits<{
|
|
52
|
+
(e: 'change', value: string): void
|
|
53
|
+
}>()
|
|
54
|
+
|
|
55
|
+
const localMenuPosition = ref(props.menuPosition)
|
|
56
|
+
watch(() => props.menuPosition, (val) => { localMenuPosition.value = val })
|
|
57
|
+
|
|
58
|
+
/** 菜单栏位置选项 */
|
|
59
|
+
const menuPositionOption = ref([
|
|
60
|
+
{ label: "顶部", value: "top" },
|
|
61
|
+
{ label: "左侧", value: "left" },
|
|
62
|
+
]);
|
|
63
|
+
|
|
64
|
+
const isMouseEnter = ref(false);
|
|
65
|
+
const isClick = ref(false);
|
|
66
|
+
const popoverTooptipRef = ref();
|
|
67
|
+
|
|
68
|
+
const mouseEnterIcon = () => { isMouseEnter.value = true };
|
|
69
|
+
const mouseLeaveIcon = () => { isMouseEnter.value = false };
|
|
70
|
+
|
|
71
|
+
const clickChange = (isVisiable: boolean) => {
|
|
72
|
+
isClick.value = isVisiable;
|
|
73
|
+
isMouseEnter.value = false;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
const changeMenuPosition = (menuPosition: string | number | boolean) => {
|
|
77
|
+
emit('change', menuPosition as string);
|
|
78
|
+
};
|
|
79
|
+
</script>
|
|
80
|
+
|
|
81
|
+
<style scoped lang="scss">
|
|
82
|
+
@use '../styles/icon.scss';
|
|
83
|
+
|
|
84
|
+
.menu-position-dropdown {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
gap: 12px;
|
|
88
|
+
padding: 10px 12px;
|
|
89
|
+
white-space: nowrap;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.menu-position-icon {
|
|
93
|
+
img {
|
|
94
|
+
width: 23px;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
</style>
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
* @description: 消息通知按钮
|
|
3
|
-
* @fileName: message-component.vue
|
|
4
|
-
!-->
|
|
5
|
-
<template>
|
|
6
|
-
<div id="tourMessageId">
|
|
7
|
-
<div :class="'icon-box ' + (isClick ? 'icon-box-active' : '')" @click="showNotice" @mouseenter="mouseEnterIcon"
|
|
8
|
-
@mouseleave="mouseLeaveIcon" @mousemove="mouseEnterIcon" style="margin-top:2px; overflow: visible;position:relative;"
|
|
9
|
-
id="tourMessageButtonAreaId">
|
|
10
|
-
<el-badge :value="noticeCount" class="item" :max="99" :hidden="noticeCount === 0" :offset="[0, 1]">
|
|
11
|
-
<img :src="messageDefaultIcon" v-if="!isClick">
|
|
12
|
-
<img :src="messageActiveIcon" v-if="isClick">
|
|
13
|
-
</el-badge>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="popover-tooltip-custom" ref="popoverTooptipRef" v-show="isMouseEnter && !isClick">
|
|
16
|
-
<div class="triangle-top"></div>
|
|
17
|
-
<div>消息通知</div>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
|
|
22
|
-
<script setup lang='ts'>
|
|
23
|
-
import { ref, watch } from 'vue'
|
|
24
|
-
import messageDefaultIcon from '../../../assets/layout/message-default.svg'
|
|
25
|
-
import messageActiveIcon from '../../../assets/layout/message-active.svg'
|
|
26
|
-
|
|
27
|
-
const props = defineProps<{
|
|
28
|
-
noticeCount?: number
|
|
29
|
-
active?: boolean
|
|
30
|
-
}>()
|
|
31
|
-
|
|
32
|
-
const emit = defineEmits<{
|
|
33
|
-
(e: 'click', isOpen: boolean): void
|
|
34
|
-
}>()
|
|
35
|
-
|
|
36
|
-
const isMouseEnter = ref(false)
|
|
37
|
-
const isClick = ref(props.active || false)
|
|
38
|
-
|
|
39
|
-
watch(() => props.active, (val) => { isClick.value = !!val })
|
|
40
|
-
|
|
41
|
-
const noticeCount = ref(props.noticeCount || 0)
|
|
42
|
-
watch(() => props.noticeCount, (val) => { noticeCount.value = val || 0 })
|
|
43
|
-
|
|
44
|
-
const mouseEnterIcon = () => { isMouseEnter.value = true }
|
|
45
|
-
const mouseLeaveIcon = () => { isMouseEnter.value = false }
|
|
46
|
-
|
|
47
|
-
/** 显示通知 */
|
|
48
|
-
const showNotice = () => {
|
|
49
|
-
isClick.value = !isClick.value
|
|
50
|
-
isMouseEnter.value = false
|
|
51
|
-
emit('click', isClick.value)
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/** 外部关闭 */
|
|
55
|
-
const close = () => {
|
|
56
|
-
isClick.value = false
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
defineExpose({ close })
|
|
60
|
-
</script>
|
|
61
|
-
|
|
62
|
-
<style scoped lang='scss'>
|
|
63
|
-
@use '../styles/icon.scss';
|
|
64
|
-
</style>
|
|
1
|
+
<!--
|
|
2
|
+
* @description: 消息通知按钮
|
|
3
|
+
* @fileName: message-component.vue
|
|
4
|
+
!-->
|
|
5
|
+
<template>
|
|
6
|
+
<div id="tourMessageId">
|
|
7
|
+
<div :class="'icon-box ' + (isClick ? 'icon-box-active' : '')" @click="showNotice" @mouseenter="mouseEnterIcon"
|
|
8
|
+
@mouseleave="mouseLeaveIcon" @mousemove="mouseEnterIcon" style="margin-top:2px; overflow: visible;position:relative;"
|
|
9
|
+
id="tourMessageButtonAreaId">
|
|
10
|
+
<el-badge :value="noticeCount" class="item" :max="99" :hidden="noticeCount === 0" :offset="[0, 1]">
|
|
11
|
+
<img :src="messageDefaultIcon" v-if="!isClick">
|
|
12
|
+
<img :src="messageActiveIcon" v-if="isClick">
|
|
13
|
+
</el-badge>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="popover-tooltip-custom" ref="popoverTooptipRef" v-show="isMouseEnter && !isClick">
|
|
16
|
+
<div class="triangle-top"></div>
|
|
17
|
+
<div>消息通知</div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script setup lang='ts'>
|
|
23
|
+
import { ref, watch } from 'vue'
|
|
24
|
+
import messageDefaultIcon from '../../../assets/layout/message-default.svg'
|
|
25
|
+
import messageActiveIcon from '../../../assets/layout/message-active.svg'
|
|
26
|
+
|
|
27
|
+
const props = defineProps<{
|
|
28
|
+
noticeCount?: number
|
|
29
|
+
active?: boolean
|
|
30
|
+
}>()
|
|
31
|
+
|
|
32
|
+
const emit = defineEmits<{
|
|
33
|
+
(e: 'click', isOpen: boolean): void
|
|
34
|
+
}>()
|
|
35
|
+
|
|
36
|
+
const isMouseEnter = ref(false)
|
|
37
|
+
const isClick = ref(props.active || false)
|
|
38
|
+
|
|
39
|
+
watch(() => props.active, (val) => { isClick.value = !!val })
|
|
40
|
+
|
|
41
|
+
const noticeCount = ref(props.noticeCount || 0)
|
|
42
|
+
watch(() => props.noticeCount, (val) => { noticeCount.value = val || 0 })
|
|
43
|
+
|
|
44
|
+
const mouseEnterIcon = () => { isMouseEnter.value = true }
|
|
45
|
+
const mouseLeaveIcon = () => { isMouseEnter.value = false }
|
|
46
|
+
|
|
47
|
+
/** 显示通知 */
|
|
48
|
+
const showNotice = () => {
|
|
49
|
+
isClick.value = !isClick.value
|
|
50
|
+
isMouseEnter.value = false
|
|
51
|
+
emit('click', isClick.value)
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/** 外部关闭 */
|
|
55
|
+
const close = () => {
|
|
56
|
+
isClick.value = false
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
defineExpose({ close })
|
|
60
|
+
</script>
|
|
61
|
+
|
|
62
|
+
<style scoped lang='scss'>
|
|
63
|
+
@use '../styles/icon.scss';
|
|
64
|
+
</style>
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
* @description: 审批中心(抽屉展示)
|
|
3
|
-
* @fileName: todo-component.vue
|
|
4
|
-
!-->
|
|
5
|
-
<template>
|
|
6
|
-
<div>
|
|
7
|
-
<div :class="'icon-box ' + (isActive ? 'icon-box-active' : '')" @click="showTodo" id="tourToDoId"
|
|
8
|
-
@mouseenter="mouseEnterIcon" @mouseleave="mouseLeaveIcon" @mousemove="mouseEnterIcon" style="overflow: visible">
|
|
9
|
-
<el-badge :value="approvalCount" class="item" :max="99" :hidden="approvalCount === 0" :offset="[0, 2]">
|
|
10
|
-
<img :src="todoDefaultIcon" v-if="!isActive">
|
|
11
|
-
<img :src="todoActiveIcon" v-if="isActive">
|
|
12
|
-
</el-badge>
|
|
13
|
-
</div>
|
|
14
|
-
<div class="popover-tooltip-custom" ref="popoverTooptipRef" v-show="isMouseEnter && !isActive">
|
|
15
|
-
<div class="triangle-top"></div>
|
|
16
|
-
<div>审批中心</div>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
|
|
21
|
-
<script setup lang='ts'>
|
|
22
|
-
import { ref, watch } from 'vue'
|
|
23
|
-
import todoDefaultIcon from '../../../assets/layout/todo-default.svg'
|
|
24
|
-
import todoActiveIcon from '../../../assets/layout/todo-active.svg'
|
|
25
|
-
|
|
26
|
-
const props = defineProps<{
|
|
27
|
-
approvalCount?: number
|
|
28
|
-
active?: boolean
|
|
29
|
-
}>()
|
|
30
|
-
|
|
31
|
-
const emit = defineEmits<{
|
|
32
|
-
(e: 'click'): void
|
|
33
|
-
}>()
|
|
34
|
-
|
|
35
|
-
const isMouseEnter = ref(false)
|
|
36
|
-
const isActive = ref(props.active || false)
|
|
37
|
-
|
|
38
|
-
watch(() => props.active, (val) => { isActive.value = !!val })
|
|
39
|
-
|
|
40
|
-
const mouseEnterIcon = () => { isMouseEnter.value = true }
|
|
41
|
-
const mouseLeaveIcon = () => { isMouseEnter.value = false }
|
|
42
|
-
|
|
43
|
-
const approvalCount = ref(props.approvalCount || 0)
|
|
44
|
-
watch(() => props.approvalCount, (val) => { approvalCount.value = val || 0 })
|
|
45
|
-
|
|
46
|
-
/** 点击审批中心 */
|
|
47
|
-
const showTodo = () => {
|
|
48
|
-
isActive.value = !isActive.value
|
|
49
|
-
emit('click')
|
|
50
|
-
}
|
|
51
|
-
</script>
|
|
52
|
-
|
|
53
|
-
<style scoped lang='scss'>
|
|
54
|
-
@use '../styles/icon.scss';
|
|
55
|
-
</style>
|
|
1
|
+
<!--
|
|
2
|
+
* @description: 审批中心(抽屉展示)
|
|
3
|
+
* @fileName: todo-component.vue
|
|
4
|
+
!-->
|
|
5
|
+
<template>
|
|
6
|
+
<div>
|
|
7
|
+
<div :class="'icon-box ' + (isActive ? 'icon-box-active' : '')" @click="showTodo" id="tourToDoId"
|
|
8
|
+
@mouseenter="mouseEnterIcon" @mouseleave="mouseLeaveIcon" @mousemove="mouseEnterIcon" style="overflow: visible">
|
|
9
|
+
<el-badge :value="approvalCount" class="item" :max="99" :hidden="approvalCount === 0" :offset="[0, 2]">
|
|
10
|
+
<img :src="todoDefaultIcon" v-if="!isActive">
|
|
11
|
+
<img :src="todoActiveIcon" v-if="isActive">
|
|
12
|
+
</el-badge>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="popover-tooltip-custom" ref="popoverTooptipRef" v-show="isMouseEnter && !isActive">
|
|
15
|
+
<div class="triangle-top"></div>
|
|
16
|
+
<div>审批中心</div>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script setup lang='ts'>
|
|
22
|
+
import { ref, watch } from 'vue'
|
|
23
|
+
import todoDefaultIcon from '../../../assets/layout/todo-default.svg'
|
|
24
|
+
import todoActiveIcon from '../../../assets/layout/todo-active.svg'
|
|
25
|
+
|
|
26
|
+
const props = defineProps<{
|
|
27
|
+
approvalCount?: number
|
|
28
|
+
active?: boolean
|
|
29
|
+
}>()
|
|
30
|
+
|
|
31
|
+
const emit = defineEmits<{
|
|
32
|
+
(e: 'click'): void
|
|
33
|
+
}>()
|
|
34
|
+
|
|
35
|
+
const isMouseEnter = ref(false)
|
|
36
|
+
const isActive = ref(props.active || false)
|
|
37
|
+
|
|
38
|
+
watch(() => props.active, (val) => { isActive.value = !!val })
|
|
39
|
+
|
|
40
|
+
const mouseEnterIcon = () => { isMouseEnter.value = true }
|
|
41
|
+
const mouseLeaveIcon = () => { isMouseEnter.value = false }
|
|
42
|
+
|
|
43
|
+
const approvalCount = ref(props.approvalCount || 0)
|
|
44
|
+
watch(() => props.approvalCount, (val) => { approvalCount.value = val || 0 })
|
|
45
|
+
|
|
46
|
+
/** 点击审批中心 */
|
|
47
|
+
const showTodo = () => {
|
|
48
|
+
isActive.value = !isActive.value
|
|
49
|
+
emit('click')
|
|
50
|
+
}
|
|
51
|
+
</script>
|
|
52
|
+
|
|
53
|
+
<style scoped lang='scss'>
|
|
54
|
+
@use '../styles/icon.scss';
|
|
55
|
+
</style>
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
// Layout components
|
|
2
|
-
export { default as SysHeader } from './SysHeader.vue'
|
|
3
|
-
export { default as SysHeaderLeft } from './SysHeaderLeft.vue'
|
|
4
|
-
export { default as SysHeaderRight } from './SysHeaderRight.vue'
|
|
5
|
-
export { default as SysHeaderTabs } from './SysHeaderTabs.vue'
|
|
6
|
-
export { default as SideMenu } from './sideMenu.vue'
|
|
7
|
-
export { default as SideMenuSonList } from './sideMenuSonList.vue'
|
|
8
|
-
export { default as PersonalizationGuideDialog } from './personalization-guide-dialog.vue'
|
|
9
|
-
export { default as MessageNotificationDrawer } from './message/message-notification-drawer.vue'
|
|
10
|
-
export { default as LayoutContainer } from './LayoutContainer.vue'
|
|
11
|
-
export { default as ExportCenterDrawer } from './ExportCenterDrawer.vue'
|
|
12
|
-
export { default as ApprovalCenterDrawer } from './ApprovalCenterDrawer.vue'
|
|
13
|
-
|
|
14
|
-
// Sub-components
|
|
15
|
-
export { default as DarkComponent } from './components/dark-component.vue'
|
|
16
|
-
export { default as FontSizeComponent } from './components/font-size-component.vue'
|
|
17
|
-
export { default as MenuPositionComponent } from './components/menu-position-component.vue'
|
|
18
|
-
export { default as DownloadComponent } from './components/download-component.vue'
|
|
19
|
-
export { default as TodoComponent } from './components/todo-component.vue'
|
|
20
|
-
export { default as MessageComponent } from './components/message-component.vue'
|
|
21
|
-
export { default as AvatarComponent } from './components/avatar-component.vue'
|
|
22
|
-
|
|
23
|
-
// Types
|
|
24
|
-
export * from './types'
|
|
25
|
-
|
|
26
|
-
// Stores
|
|
27
|
-
export * from './stores'
|
|
28
|
-
|
|
29
|
-
// Plugin
|
|
30
|
-
export { createLayoutPlugin } from './plugin'
|
|
31
|
-
export type { LayoutPluginOptions } from './plugin'
|
|
32
|
-
|
|
33
|
-
// Message dictionary
|
|
34
|
-
export { NOTIFICATION_TYPE } from './message/message-dictionary'
|
|
1
|
+
// Layout components
|
|
2
|
+
export { default as SysHeader } from './SysHeader.vue'
|
|
3
|
+
export { default as SysHeaderLeft } from './SysHeaderLeft.vue'
|
|
4
|
+
export { default as SysHeaderRight } from './SysHeaderRight.vue'
|
|
5
|
+
export { default as SysHeaderTabs } from './SysHeaderTabs.vue'
|
|
6
|
+
export { default as SideMenu } from './sideMenu.vue'
|
|
7
|
+
export { default as SideMenuSonList } from './sideMenuSonList.vue'
|
|
8
|
+
export { default as PersonalizationGuideDialog } from './personalization-guide-dialog.vue'
|
|
9
|
+
export { default as MessageNotificationDrawer } from './message/message-notification-drawer.vue'
|
|
10
|
+
export { default as LayoutContainer } from './LayoutContainer.vue'
|
|
11
|
+
export { default as ExportCenterDrawer } from './ExportCenterDrawer.vue'
|
|
12
|
+
export { default as ApprovalCenterDrawer } from './ApprovalCenterDrawer.vue'
|
|
13
|
+
|
|
14
|
+
// Sub-components
|
|
15
|
+
export { default as DarkComponent } from './components/dark-component.vue'
|
|
16
|
+
export { default as FontSizeComponent } from './components/font-size-component.vue'
|
|
17
|
+
export { default as MenuPositionComponent } from './components/menu-position-component.vue'
|
|
18
|
+
export { default as DownloadComponent } from './components/download-component.vue'
|
|
19
|
+
export { default as TodoComponent } from './components/todo-component.vue'
|
|
20
|
+
export { default as MessageComponent } from './components/message-component.vue'
|
|
21
|
+
export { default as AvatarComponent } from './components/avatar-component.vue'
|
|
22
|
+
|
|
23
|
+
// Types
|
|
24
|
+
export * from './types'
|
|
25
|
+
|
|
26
|
+
// Stores
|
|
27
|
+
export * from './stores'
|
|
28
|
+
|
|
29
|
+
// Plugin
|
|
30
|
+
export { createLayoutPlugin } from './plugin'
|
|
31
|
+
export type { LayoutPluginOptions } from './plugin'
|
|
32
|
+
|
|
33
|
+
// Message dictionary
|
|
34
|
+
export { NOTIFICATION_TYPE } from './message/message-dictionary'
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/** 通知类型字典 */
|
|
2
|
-
export const NOTIFICATION_TYPE: {name: string, id: string}[] = [
|
|
3
|
-
{
|
|
4
|
-
name: "全部通知",
|
|
5
|
-
id: "all",
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
name: "未读通知",
|
|
9
|
-
id: "unread",
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
name: "审批通知",
|
|
13
|
-
id: "approval-notice",
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
name: "系统通知",
|
|
17
|
-
id: "system-notice",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
name: "公告通知",
|
|
21
|
-
id: "message-notice",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
name: "导出通知",
|
|
25
|
-
id: "file-notice",
|
|
26
|
-
},
|
|
27
|
-
];
|
|
1
|
+
/** 通知类型字典 */
|
|
2
|
+
export const NOTIFICATION_TYPE: {name: string, id: string}[] = [
|
|
3
|
+
{
|
|
4
|
+
name: "全部通知",
|
|
5
|
+
id: "all",
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
name: "未读通知",
|
|
9
|
+
id: "unread",
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
name: "审批通知",
|
|
13
|
+
id: "approval-notice",
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: "系统通知",
|
|
17
|
+
id: "system-notice",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: "公告通知",
|
|
21
|
+
id: "message-notice",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: "导出通知",
|
|
25
|
+
id: "file-notice",
|
|
26
|
+
},
|
|
27
|
+
];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="34" height="34" viewBox="0 0 34 34">
|
|
2
|
-
<g id="组_1253" data-name="组 1253" transform="translate(19670.5 18180)">
|
|
3
|
-
<g id="组_1085" data-name="组 1085" transform="translate(-19899.422 -18315.922)">
|
|
4
|
-
<rect id="BG" width="34" height="34" rx="4" transform="translate(228.923 135.922)" fill="none"/>
|
|
5
|
-
<path id="通知管理" d="M123.644,88.482h-2.008V77.655a10.081,10.081,0,0,0-6.438-9.371,3.7,3.7,0,0,0-7.255.01,10.121,10.121,0,0,0-6.437,9.4V88.483h-1.95a1.006,1.006,0,0,0,0,2.01h7.575a4.808,4.808,0,0,0,8.889,0h7.624a1.006,1.006,0,0,0,0-2.01Zm-12.072-21.6a2.123,2.123,0,0,1,1.712.871,10.026,10.026,0,0,0-3.43.006A2.123,2.123,0,0,1,111.571,66.882ZM103.518,77.69a7.956,7.956,0,0,1,.635-3.128,8.168,8.168,0,0,1,4.308-4.308,8,8,0,0,1,6.242,0,8.133,8.133,0,0,1,4.286,4.289,7.921,7.921,0,0,1,.633,3.113V88.48h-16.1Zm8.058,14.2a3.235,3.235,0,0,1-2.664-1.4h5.33A3.235,3.235,0,0,1,111.575,91.894Z" transform="translate(134.322 73.533)" fill="#409eff"/>
|
|
6
|
-
</g>
|
|
7
|
-
</g>
|
|
8
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="34" height="34" viewBox="0 0 34 34">
|
|
2
|
+
<g id="组_1253" data-name="组 1253" transform="translate(19670.5 18180)">
|
|
3
|
+
<g id="组_1085" data-name="组 1085" transform="translate(-19899.422 -18315.922)">
|
|
4
|
+
<rect id="BG" width="34" height="34" rx="4" transform="translate(228.923 135.922)" fill="none"/>
|
|
5
|
+
<path id="通知管理" d="M123.644,88.482h-2.008V77.655a10.081,10.081,0,0,0-6.438-9.371,3.7,3.7,0,0,0-7.255.01,10.121,10.121,0,0,0-6.437,9.4V88.483h-1.95a1.006,1.006,0,0,0,0,2.01h7.575a4.808,4.808,0,0,0,8.889,0h7.624a1.006,1.006,0,0,0,0-2.01Zm-12.072-21.6a2.123,2.123,0,0,1,1.712.871,10.026,10.026,0,0,0-3.43.006A2.123,2.123,0,0,1,111.571,66.882ZM103.518,77.69a7.956,7.956,0,0,1,.635-3.128,8.168,8.168,0,0,1,4.308-4.308,8,8,0,0,1,6.242,0,8.133,8.133,0,0,1,4.286,4.289,7.921,7.921,0,0,1,.633,3.113V88.48h-16.1Zm8.058,14.2a3.235,3.235,0,0,1-2.664-1.4h5.33A3.235,3.235,0,0,1,111.575,91.894Z" transform="translate(134.322 73.533)" fill="#409eff"/>
|
|
6
|
+
</g>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="34" height="34" viewBox="0 0 34 34">
|
|
2
|
-
<g id="组_1252" data-name="组 1252" transform="translate(19670.5 18180)">
|
|
3
|
-
<g id="组_1085" data-name="组 1085" transform="translate(-19899.422 -18315.922)">
|
|
4
|
-
<rect id="BG" width="34" height="34" rx="4" transform="translate(228.923 135.922)" fill="none"/>
|
|
5
|
-
<path id="通知管理" d="M123.644,88.482h-2.008V77.655a10.081,10.081,0,0,0-6.438-9.371,3.7,3.7,0,0,0-7.255.01,10.121,10.121,0,0,0-6.437,9.4V88.483h-1.95a1.006,1.006,0,0,0,0,2.01h7.575a4.808,4.808,0,0,0,8.889,0h7.624a1.006,1.006,0,0,0,0-2.01Zm-12.072-21.6a2.123,2.123,0,0,1,1.712.871,10.026,10.026,0,0,0-3.43.006A2.123,2.123,0,0,1,111.571,66.882ZM103.518,77.69a7.956,7.956,0,0,1,.635-3.128,8.168,8.168,0,0,1,4.308-4.308,8,8,0,0,1,6.242,0,8.133,8.133,0,0,1,4.286,4.289,7.921,7.921,0,0,1,.633,3.113V88.48h-16.1Zm8.058,14.2a3.235,3.235,0,0,1-2.664-1.4h5.33A3.235,3.235,0,0,1,111.575,91.894Z" transform="translate(134.322 73.533)" fill="#303133"/>
|
|
6
|
-
</g>
|
|
7
|
-
</g>
|
|
8
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="34" height="34" viewBox="0 0 34 34">
|
|
2
|
+
<g id="组_1252" data-name="组 1252" transform="translate(19670.5 18180)">
|
|
3
|
+
<g id="组_1085" data-name="组 1085" transform="translate(-19899.422 -18315.922)">
|
|
4
|
+
<rect id="BG" width="34" height="34" rx="4" transform="translate(228.923 135.922)" fill="none"/>
|
|
5
|
+
<path id="通知管理" d="M123.644,88.482h-2.008V77.655a10.081,10.081,0,0,0-6.438-9.371,3.7,3.7,0,0,0-7.255.01,10.121,10.121,0,0,0-6.437,9.4V88.483h-1.95a1.006,1.006,0,0,0,0,2.01h7.575a4.808,4.808,0,0,0,8.889,0h7.624a1.006,1.006,0,0,0,0-2.01Zm-12.072-21.6a2.123,2.123,0,0,1,1.712.871,10.026,10.026,0,0,0-3.43.006A2.123,2.123,0,0,1,111.571,66.882ZM103.518,77.69a7.956,7.956,0,0,1,.635-3.128,8.168,8.168,0,0,1,4.308-4.308,8,8,0,0,1,6.242,0,8.133,8.133,0,0,1,4.286,4.289,7.921,7.921,0,0,1,.633,3.113V88.48h-16.1Zm8.058,14.2a3.235,3.235,0,0,1-2.664-1.4h5.33A3.235,3.235,0,0,1,111.575,91.894Z" transform="translate(134.322 73.533)" fill="#303133"/>
|
|
6
|
+
</g>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="34" height="34" viewBox="0 0 34 34">
|
|
2
|
-
<g id="组_1251" data-name="组 1251" transform="translate(19670.5 18180)">
|
|
3
|
-
<g id="组_1085" data-name="组 1085" transform="translate(-19899.422 -18315.922)">
|
|
4
|
-
<rect id="BG" width="34" height="34" rx="4" transform="translate(228.923 135.922)" fill="none"/>
|
|
5
|
-
<path id="通知管理" d="M123.644,88.482h-2.008V77.655a10.081,10.081,0,0,0-6.438-9.371,3.7,3.7,0,0,0-7.255.01,10.121,10.121,0,0,0-6.437,9.4V88.483h-1.95a1.006,1.006,0,0,0,0,2.01h7.575a4.808,4.808,0,0,0,8.889,0h7.624a1.006,1.006,0,0,0,0-2.01Zm-12.072-21.6a2.123,2.123,0,0,1,1.712.871,10.026,10.026,0,0,0-3.43.006A2.123,2.123,0,0,1,111.571,66.882ZM103.518,77.69a7.956,7.956,0,0,1,.635-3.128,8.168,8.168,0,0,1,4.308-4.308,8,8,0,0,1,6.242,0,8.133,8.133,0,0,1,4.286,4.289,7.921,7.921,0,0,1,.633,3.113V88.48h-16.1Zm8.058,14.2a3.235,3.235,0,0,1-2.664-1.4h5.33A3.235,3.235,0,0,1,111.575,91.894Z" transform="translate(134.322 73.533)" fill="#909399"/>
|
|
6
|
-
</g>
|
|
7
|
-
</g>
|
|
8
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="34" height="34" viewBox="0 0 34 34">
|
|
2
|
+
<g id="组_1251" data-name="组 1251" transform="translate(19670.5 18180)">
|
|
3
|
+
<g id="组_1085" data-name="组 1085" transform="translate(-19899.422 -18315.922)">
|
|
4
|
+
<rect id="BG" width="34" height="34" rx="4" transform="translate(228.923 135.922)" fill="none"/>
|
|
5
|
+
<path id="通知管理" d="M123.644,88.482h-2.008V77.655a10.081,10.081,0,0,0-6.438-9.371,3.7,3.7,0,0,0-7.255.01,10.121,10.121,0,0,0-6.437,9.4V88.483h-1.95a1.006,1.006,0,0,0,0,2.01h7.575a4.808,4.808,0,0,0,8.889,0h7.624a1.006,1.006,0,0,0,0-2.01Zm-12.072-21.6a2.123,2.123,0,0,1,1.712.871,10.026,10.026,0,0,0-3.43.006A2.123,2.123,0,0,1,111.571,66.882ZM103.518,77.69a7.956,7.956,0,0,1,.635-3.128,8.168,8.168,0,0,1,4.308-4.308,8,8,0,0,1,6.242,0,8.133,8.133,0,0,1,4.286,4.289,7.921,7.921,0,0,1,.633,3.113V88.48h-16.1Zm8.058,14.2a3.235,3.235,0,0,1-2.664-1.4h5.33A3.235,3.235,0,0,1,111.575,91.894Z" transform="translate(134.322 73.533)" fill="#909399"/>
|
|
6
|
+
</g>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|