hrp-ui-base 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.cjs +1 -1
- package/dist/components.es.js +3595 -1224
- package/dist/index.cjs +1 -1
- package/dist/index.es.js +100 -67
- package/dist/style.css +1 -1
- package/package.json +16 -4
- package/packages/approval-process/.eslintrc +7 -0
- package/packages/approval-process/README.md +130 -0
- package/packages/approval-process/index.ts +65 -0
- package/packages/approval-process/package.json +17 -0
- package/packages/approval-process/packages/components/choose-member/BO/departBo.ts +8 -0
- package/packages/approval-process/packages/components/choose-member/BO/memberBo.ts +14 -0
- package/packages/approval-process/packages/components/choose-member/BO/role.svg +1 -0
- package/packages/approval-process/packages/components/choose-member/BO/roleBo.ts +16 -0
- package/packages/approval-process/packages/components/choose-member/index.vue +497 -0
- package/packages/approval-process/packages/components/choose-member/styles/common.scss +134 -0
- package/packages/approval-process/packages/components/comment/assets/avatar.svg +1 -0
- package/packages/approval-process/packages/components/comment/assets/download.svg +4 -0
- package/packages/approval-process/packages/components/comment/assets/mp3.svg +11 -0
- package/packages/approval-process/packages/components/comment/assets/mp4.svg +11 -0
- package/packages/approval-process/packages/components/comment/assets/other.svg +11 -0
- package/packages/approval-process/packages/components/comment/assets/pdf.svg +11 -0
- package/packages/approval-process/packages/components/comment/assets/ppt.svg +11 -0
- package/packages/approval-process/packages/components/comment/assets/preview.svg +4 -0
- package/packages/approval-process/packages/components/comment/assets/remove.png +0 -0
- package/packages/approval-process/packages/components/comment/assets/word.svg +11 -0
- package/packages/approval-process/packages/components/comment/assets/xls.svg +11 -0
- package/packages/approval-process/packages/components/comment/index.vue +843 -0
- package/packages/approval-process/packages/components/comment/modules/previewMp.vue +54 -0
- package/packages/approval-process/packages/components/comment/styles/comment-style.scss +304 -0
- package/packages/approval-process/packages/components/image-cropper/index.vue +202 -0
- package/packages/approval-process/packages/components/sign/index.vue +766 -0
- package/packages/approval-process/packages/components/sign/modules/full-screen-sign.vue +20 -0
- package/packages/approval-process/packages/components/urge-dialog/index.vue +121 -0
- package/packages/approval-process/packages/components/vue-esign/index.vue +289 -0
- package/packages/approval-process/packages/flow/approve-component/approve-success.vue +82 -0
- package/packages/approval-process/packages/flow/approve-component/route-params-error.vue +49 -0
- package/packages/approval-process/packages/flow/approve-component/submit-success.vue +59 -0
- package/packages/approval-process/packages/flow/examine-approve-itr.vue +978 -0
- package/packages/approval-process/packages/flow/examine-approve.vue +1065 -0
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/README.md +38 -0
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/assets/avatar.svg +1 -0
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/index.vue +159 -0
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/modules/associated-approval-form-mobile.vue +297 -0
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/modules/associated-approval-form-pc.vue +314 -0
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/style/curd-area-mobile.scss +110 -0
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/style/curd-area.scss +96 -0
- package/packages/approval-process/packages/flow/form-component/associated-approval-form/style/out-put.scss +48 -0
- package/packages/approval-process/packages/flow/form-component/show-sign.vue +27 -0
- package/packages/approval-process/packages/flow/styles/common.scss +134 -0
- package/packages/approval-process/packages/flow/styles/examine-approve-pc.scss +465 -0
- package/packages/approval-process/packages/flow/styles/examine-approve-phone.scss +293 -0
- package/packages/approval-process/packages/flow/styles/submit-approve-pc.scss +379 -0
- package/packages/approval-process/packages/flow/styles/submit-approve-phone.scss +337 -0
- package/packages/approval-process/packages/flow/submit-approve-itr.vue +623 -0
- package/packages/approval-process/packages/flow/submit-approve.vue +628 -0
- package/packages/approval-process/packages/flow/systemCom/BO/departBo.ts +8 -0
- package/packages/approval-process/packages/flow/systemCom/BO/memberBo.ts +14 -0
- package/packages/approval-process/packages/flow/systemCom/BO/role.svg +1 -0
- package/packages/approval-process/packages/flow/systemCom/BO/roleBo.ts +16 -0
- package/packages/approval-process/packages/flow/systemCom/choose-depart.vue +399 -0
- package/packages/approval-process/packages/flow/systemCom/choose-member-phone.vue +515 -0
- package/packages/approval-process/packages/flow/systemCom/choose-member.vue +565 -0
- package/packages/approval-process/packages/flow/systemCom/choose-role.vue +301 -0
- package/packages/approval-process/packages/styles/common.scss +134 -0
- package/packages/approval-process/packages/styles/flex-common.scss +118 -0
- package/packages/approval-process/packages/styles/flexCommon.scss +73 -0
- package/packages/approval-process/packages/styles/main.css +216 -0
- package/packages/approval-process/packages/styles/router-page.scss +371 -0
- package/packages/approval-process/packages/styles/style-set.ts +207 -0
- package/packages/approval-process/packages/types.d.ts +4 -0
- package/packages/approval-process/packages/utils/base.ts +15 -0
- package/packages/approval-process/packages/utils/crypto.ts +67 -0
- package/packages/approval-process/packages/utils/ddUtils.ts +56 -0
- package/packages/approval-process/packages/utils/debounce.ts +36 -0
- package/packages/approval-process/packages/utils/des.js +1107 -0
- package/packages/approval-process/packages/utils/download.ts +38 -0
- package/packages/approval-process/packages/utils/editor.ts +37 -0
- package/packages/approval-process/packages/utils/getEnv.ts +36 -0
- package/packages/approval-process/packages/utils/os.ts +20 -0
- package/packages/approval-process/packages/utils/path-util.ts +31 -0
- package/packages/approval-process/packages/utils/routerUtil.ts +304 -0
- package/packages/approval-process/packages/utils/string-utils.ts +13 -0
- package/packages/approval-process/packages/utils/throttle.ts +44 -0
- package/packages/approval-process/packages/utils/validate.ts +92 -0
- package/packages/approval-process/packages/utils/ws.ts +218 -0
- package/packages/approval-process/tsconfig.json +72 -0
- package/packages/approval-process/vite.config.ts +56 -0
- package/src/api/bms/flow/FlowCommentController.ts +50 -0
- package/src/api/bms/flow/FlowInstanceController.ts +167 -0
- package/src/api/bms/flow/FlowProcessController.ts +55 -0
- package/src/api/bms/flow/FlowSheetController.ts +27 -0
- package/src/api/bms/flow/FlowSignController.ts +76 -0
- package/src/api/bms/flow/bo/AssociatedApprovalBO.ts +15 -0
- package/src/api/bms/flow/bo/AssociatedApprovalVO.ts +35 -0
- package/src/api/bms/flow/bo/AuditBaseInfo.ts +39 -0
- package/src/api/bms/flow/bo/ButtonVo.ts +7 -0
- package/src/api/bms/flow/bo/DingCallbackBo.ts +13 -0
- package/src/api/bms/flow/bo/FlowCommentBO.ts +12 -0
- package/src/api/bms/flow/bo/FlowCommentVO.ts +23 -0
- package/src/api/bms/flow/bo/FlowInstanceBO.ts +14 -0
- package/src/api/bms/flow/bo/FlowNodeVO.ts +24 -0
- package/src/api/bms/flow/bo/FlowNoticeBO.ts +17 -0
- package/src/api/bms/flow/bo/FlowProcessBO.ts +13 -0
- package/src/api/bms/flow/bo/FlowProcessVO.ts +9 -0
- package/src/api/bms/flow/bo/FlowReplyVO.ts +23 -0
- package/src/api/bms/flow/bo/FlowSheetVO.ts +16 -0
- package/src/api/bms/flow/bo/InstanceBackBO.ts +9 -0
- package/src/api/bms/flow/bo/InstanceNodeBO.ts +13 -0
- package/src/api/bms/flow/bo/InstanceNodeVO.ts +21 -0
- package/src/api/bms/flow/bo/NodeShowVo.ts +19 -0
- package/src/api/bms/flow/bo/ReviewBO.ts +11 -0
- package/src/api/bms/flow/bo/SheetSearchBO.ts +11 -0
- package/src/api/bms/flow/bo/SystemVO.ts +7 -0
- package/src/api/bms/flow/bo/TransmitBO.ts +9 -0
- package/src/api/bms/flow/bo/UrgeFlowBO.ts +7 -0
- package/src/api/bms/flow/bo/UserBaseInfoVo.ts +13 -0
- package/src/api/bms/flow/bo/UserInfoVo.ts +44 -0
- package/src/api/bms/flow/bo/UserResultVo.ts +17 -0
- package/src/api/bms/flow/bo/ValueMapBo.ts +7 -0
- package/src/api/bms/home/HomeController.ts +106 -0
- package/src/api/bms/home/bo/CollectedMenuBo.ts +9 -0
- package/src/api/bms/home/bo/DeptBaseVo.ts +9 -0
- package/src/api/bms/home/bo/DomainVO.ts +13 -0
- package/src/api/bms/home/bo/FunPermission.ts +17 -0
- package/src/api/bms/home/bo/GroupVO.ts +10 -0
- package/src/api/bms/home/bo/HomeMenu.ts +22 -0
- package/src/api/bms/home/bo/HomeMenuVo.ts +11 -0
- package/src/api/bms/home/bo/PersonalizationBo.ts +17 -0
- package/src/api/bms/home/bo/PersonalizationVo.ts +19 -0
- package/src/api/bms/home/bo/PhoneMenu.ts +14 -0
- package/src/api/bms/home/bo/SearchMenuVo.ts +10 -0
- package/src/api/bms/home/bo/UserBaseInfoVo.ts +11 -0
- package/src/api/hrms/dept/bo/DeptBaseVo.ts +6 -0
- package/src/api/hrms/dept/bo/DeptTreeVo.ts +23 -0
- package/src/api/hrms/dept/bo/DeptUserVo.ts +9 -0
- package/src/api/hrms/dept/bo/DeptUsersVo.ts +10 -0
- package/src/api/hrms/dept/bo/DeptVo.ts +19 -0
- package/src/api/hrms/dept/bo/UserBaseInfoVo.ts +8 -0
- package/src/api/hrms/dept/deptController.ts +100 -0
- package/src/api/hrms/role/bo/RoleBaseVo.ts +6 -0
- package/src/api/hrms/role/bo/RoleGroupVo.ts +11 -0
- package/src/api/hrms/role/bo/RoleVo.ts +22 -0
- package/src/api/hrms/role/roleController.ts +19 -0
- package/src/api/hrms/user/bo/UserBaseInfoVo.ts +11 -0
- package/src/api/hrms/user/bo/UserCardVO.ts +14 -0
- package/src/api/hrms/user/bo/UserDeptBO.ts +13 -0
- package/src/api/hrms/user/bo/UserRoleBO.ts +11 -0
- package/src/api/hrms/user/bo/UserVO.ts +23 -0
- package/src/api/hrms/user/userController.ts +86 -0
- package/src/api/notice/NoticeController.ts +73 -0
- package/src/api/notice/bo/NoticePageBO.ts +24 -0
- package/src/api/notice/bo/NoticeVO.ts +31 -0
- package/src/api/work-order-pc/flow/Bo/ValueMapBo.ts +7 -0
- package/src/api/work-order-pc/flow/ItrFlowProcessController.ts +42 -0
- package/src/api/work-order-pc/flow/Vo/FlowNodeVO.ts +24 -0
- package/src/api/work-order-pc/flow/Vo/UserInfoVo.ts +44 -0
- package/src/assets/layout/avatar-default.svg +6 -0
- package/src/assets/layout/collect-active.svg +7 -0
- package/src/assets/layout/collect-default.svg +7 -0
- package/src/assets/layout/download-active.svg +8 -0
- package/src/assets/layout/download-default.svg +8 -0
- package/src/assets/layout/export-dark.svg +7 -0
- package/src/assets/layout/export-default.svg +7 -0
- package/src/assets/layout/font-active.svg +6 -0
- package/src/assets/layout/font-default.svg +6 -0
- package/src/assets/layout/help-active.svg +10 -0
- package/src/assets/layout/help-default.svg +10 -0
- package/src/assets/layout/home-active.svg +6 -0
- package/src/assets/layout/home.svg +6 -0
- package/src/assets/layout/menu-expand.svg +6 -0
- package/src/assets/layout/menu-icon.png +0 -0
- package/src/assets/layout/menu-position-active.svg +6 -0
- package/src/assets/layout/menu-position-default.svg +6 -0
- package/src/assets/layout/message-active.svg +9 -0
- package/src/assets/layout/message-default.svg +9 -0
- package/src/assets/layout/moon.svg +8 -0
- package/src/assets/layout/router-all-dark.svg +11 -0
- package/src/assets/layout/router-all-default.svg +17 -0
- package/src/assets/layout/search-active.svg +20 -0
- package/src/assets/layout/search-default.svg +20 -0
- package/src/assets/layout/star-active.svg +1 -0
- package/src/assets/layout/star-default.svg +3 -0
- package/src/assets/layout/sun-active.svg +6 -0
- package/src/assets/layout/sun-default.svg +6 -0
- package/src/assets/layout/switch-moon.svg +3 -0
- package/src/assets/layout/switch-sun.svg +41 -0
- package/src/assets/layout/todo-active.svg +12 -0
- package/src/assets/layout/todo-default.svg +12 -0
- package/src/assets/layout/user-dark.svg +13 -0
- package/src/assets/layout/user-default.svg +13 -0
- package/src/assets/process/agree.png +0 -0
- package/src/assets/process/defaultAvatar.png +0 -0
- package/src/assets/process/drawer/departManagerJump.png +0 -0
- package/src/assets/process/drawer/manyLevel1close.svg +10 -0
- package/src/assets/process/drawer/manyLevel1open.svg +7 -0
- package/src/assets/process/drawer/manyLevel2close.svg +7 -0
- package/src/assets/process/drawer/manyLevel2open.svg +7 -0
- package/src/assets/process/inProcess.png +0 -0
- package/src/assets/process/manyPeople.png +0 -0
- package/src/assets/process/manyPeople2.png +0 -0
- package/src/assets/process/reject.png +0 -0
- package/src/assets/process/revoke.png +0 -0
- package/src/components/annex-img-upload/index.vue +4 -4
- package/src/components/annex-img-upload/modules/previewMp.vue +1 -1
- package/src/components/annex-upload/index.vue +4 -4
- package/src/components/annex-upload/modules/previewMp.vue +1 -1
- package/src/components/annex-upload-weijian/index.vue +4 -4
- package/src/components/annex-upload-weijian/modules/previewMp.vue +1 -1
- package/src/components/base-layout/index.vue +198 -0
- package/src/components/layout/SysHeader.vue +90 -0
- package/src/components/layout/SysHeaderLeft.vue +116 -0
- package/src/components/layout/SysHeaderRight.vue +112 -0
- package/src/components/layout/SysHeaderTabs.vue +289 -0
- package/src/components/layout/components/avatar-component.vue +77 -0
- package/src/components/layout/components/dark-component.vue +82 -0
- package/src/components/layout/components/download-component.vue +49 -0
- package/src/components/layout/components/font-size-component.vue +66 -0
- package/src/components/layout/components/menu-position-component.vue +97 -0
- package/src/components/layout/components/message-component.vue +64 -0
- package/src/components/layout/components/todo-component.vue +55 -0
- package/src/components/layout/index.ts +24 -0
- package/src/components/layout/message/message-dictionary.ts +27 -0
- package/src/components/layout/message/message-icon//345/205/250/351/203/250/351/200/232/347/237/245-/350/223/235.svg +8 -0
- package/src/components/layout/message/message-icon//345/205/250/351/203/250/351/200/232/347/237/245-/351/273/221.svg +8 -0
- package/src/components/layout/message/message-icon//345/205/250/351/203/250/351/200/232/347/237/245.svg +8 -0
- package/src/components/layout/message/message-icon//345/205/254/345/221/212/351/200/232/347/237/245-/350/223/235.svg +12 -0
- package/src/components/layout/message/message-icon//345/205/254/345/221/212/351/200/232/347/237/245-/351/273/221.svg +12 -0
- package/src/components/layout/message/message-icon//345/205/254/345/221/212/351/200/232/347/237/245.svg +12 -0
- package/src/components/layout/message/message-icon//345/256/241/346/211/271/351/200/232/347/237/245-/350/223/235.svg +8 -0
- package/src/components/layout/message/message-icon//345/256/241/346/211/271/351/200/232/347/237/245-/351/273/221.svg +8 -0
- package/src/components/layout/message/message-icon//345/256/241/346/211/271/351/200/232/347/237/245.svg +8 -0
- package/src/components/layout/message/message-icon//345/257/274/345/207/272/351/200/232/347/237/245-/350/223/235.svg +13 -0
- package/src/components/layout/message/message-icon//345/257/274/345/207/272/351/200/232/347/237/245-/351/273/221.svg +13 -0
- package/src/components/layout/message/message-icon//345/257/274/345/207/272/351/200/232/347/237/245.svg +13 -0
- package/src/components/layout/message/message-icon//346/234/252/350/257/273/351/200/232/347/237/245-/350/223/235.svg +11 -0
- package/src/components/layout/message/message-icon//346/234/252/350/257/273/351/200/232/347/237/245-/351/273/221.svg +11 -0
- package/src/components/layout/message/message-icon//346/234/252/350/257/273/351/200/232/347/237/245.svg +11 -0
- package/src/components/layout/message/message-icon//347/251/272/347/212/266/346/200/201.svg +17 -0
- package/src/components/layout/message/message-icon//347/263/273/347/273/237/351/200/232/347/237/245-/350/223/235.svg +13 -0
- package/src/components/layout/message/message-icon//347/263/273/347/273/237/351/200/232/347/237/245-/351/273/221.svg +13 -0
- package/src/components/layout/message/message-icon//347/263/273/347/273/237/351/200/232/347/237/245.svg +13 -0
- package/src/components/layout/message/message-notification-drawer.vue +529 -0
- package/src/components/layout/personalization-guide-dialog.vue +255 -0
- package/src/components/layout/sideMenu-global.scss +115 -0
- package/src/components/layout/sideMenu.scss +312 -0
- package/src/components/layout/sideMenu.vue +542 -0
- package/src/components/layout/sideMenuSonList.vue +185 -0
- package/src/components/layout/styles/icon.scss +72 -0
- package/src/components/layout/types.ts +98 -0
- package/src/components/list-search-content/components/search-date-range.vue +1 -1
- package/src/components/list-search-content/components/search-date-time-range.vue +1 -1
- package/src/components/list-search-content/components/search-date.vue +1 -1
- package/src/components/list-search-content/components/search-input-number.vue +1 -1
- package/src/components/list-search-content/components/search-input.vue +1 -1
- package/src/components/list-search-content/components/search-multiple_select.vue +1 -1
- package/src/components/list-search-content/components/search-select.vue +1 -1
- package/src/components/list-search-content/index.vue +6 -6
- package/src/components/list-search-content/modules/add-views-package-dialog.vue +3 -3
- package/src/components/list-search-content/modules/search-condition-area.vue +2 -2
- package/src/components/list-search-content/modules/views-package-manage-dialog.vue +5 -5
- package/src/components.ts +19 -4
- package/src/index.ts +1 -0
- package/src/utils/dd-utils.ts +1 -1
- package/src/utils/get-dict.ts +2 -2
- package/src/utils/permit-utils.ts +2 -2
- package/src/api/bms/dict/bo/TotalDictSearchBO.ts +0 -8
- package/src/api/bms/file/FileExportController.ts +0 -18
- package/src/api/bms/file/bo/FileExportVO.ts +0 -17
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import HttpUtil from "../../../utils/HttpUtil";
|
|
2
|
+
import FileBaseInfo from "../../common/FileBaseInfo";
|
|
3
|
+
import type ResponseBean from "../../common/ResponseBean";
|
|
4
|
+
/** 工作流签字相关接口 */
|
|
5
|
+
export default class FlowSignController {
|
|
6
|
+
/** 轮询 */
|
|
7
|
+
static startPolling(
|
|
8
|
+
qrCodeUUID: string
|
|
9
|
+
): Promise<ResponseBean<FileBaseInfo>> {
|
|
10
|
+
return HttpUtil.get(
|
|
11
|
+
"/bms/work-flow-sign/start-polling",
|
|
12
|
+
{qrCodeUUID}
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* 扫码提交数据
|
|
18
|
+
*/
|
|
19
|
+
static submitSign(
|
|
20
|
+
fileBaseInfo: FileBaseInfo,
|
|
21
|
+
qrCodeUUID: string
|
|
22
|
+
): Promise<ResponseBean<boolean>> {
|
|
23
|
+
return HttpUtil.postJson(
|
|
24
|
+
"/bms/work-flow-sign/submit-sign",
|
|
25
|
+
{fileBaseInfo, qrCodeUUID}
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* 上传个人签名
|
|
30
|
+
*/
|
|
31
|
+
static personalSignSave(
|
|
32
|
+
fileId: string
|
|
33
|
+
): Promise<ResponseBean<boolean>> {
|
|
34
|
+
return HttpUtil.post(
|
|
35
|
+
"/bms/work-flow-sign/personal-sign-save",
|
|
36
|
+
{fileId}
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* 获取个人签名
|
|
41
|
+
*/
|
|
42
|
+
static gerPersonalSign():Promise<ResponseBean<FileBaseInfo>> {
|
|
43
|
+
return HttpUtil.get(
|
|
44
|
+
"/bms/work-flow-sign/get-personal-sign"
|
|
45
|
+
)
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* 更新二维码状态
|
|
49
|
+
*/
|
|
50
|
+
static updateQrCodeStatus(
|
|
51
|
+
status: string,
|
|
52
|
+
qrCodeUUID: string
|
|
53
|
+
):Promise<ResponseBean<Boolean>> {
|
|
54
|
+
return HttpUtil.post(
|
|
55
|
+
"/bms/work-flow-sign/update-qr-code-status",
|
|
56
|
+
{
|
|
57
|
+
status,
|
|
58
|
+
qrCodeUUID
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* 查询二维码状态
|
|
65
|
+
*/
|
|
66
|
+
static queryQrCodeStatus(
|
|
67
|
+
qrCodeUUID: string
|
|
68
|
+
):Promise<ResponseBean<String>> {
|
|
69
|
+
return HttpUtil.get(
|
|
70
|
+
"/bms/work-flow-sign/query-qr-code-status",
|
|
71
|
+
{
|
|
72
|
+
qrCodeUUID
|
|
73
|
+
}
|
|
74
|
+
)
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**关联审批类 */
|
|
2
|
+
export default class {
|
|
3
|
+
/**审批单类型 Approver/Create/Ccto */
|
|
4
|
+
approvalTypeCode: string = "";
|
|
5
|
+
/**审批应用id */
|
|
6
|
+
jobName: string = "";
|
|
7
|
+
/**状态编号 */
|
|
8
|
+
statusCode: string = "";
|
|
9
|
+
/**关键词 */
|
|
10
|
+
keyWord: string = "";
|
|
11
|
+
/**页面大小 */
|
|
12
|
+
pageSize: number = 10;
|
|
13
|
+
/**页码 */
|
|
14
|
+
pageNum: number = 1;
|
|
15
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**关联审批显示类 */
|
|
2
|
+
export default class {
|
|
3
|
+
/**审批编号 */
|
|
4
|
+
formId: string = "";
|
|
5
|
+
/**表单应用名称 */
|
|
6
|
+
jobName: string = "";
|
|
7
|
+
/**头像 */
|
|
8
|
+
avatar: string = "";
|
|
9
|
+
/**创建人 */
|
|
10
|
+
createUserName: string = "";
|
|
11
|
+
/**状态 */
|
|
12
|
+
statusCode: string = "";
|
|
13
|
+
/**状态名 */
|
|
14
|
+
statusName: string = "";
|
|
15
|
+
/**创建时间 */
|
|
16
|
+
createTime: string = "";
|
|
17
|
+
/**完成时间 */
|
|
18
|
+
finishTime: string = "";
|
|
19
|
+
/**审批页面路由 */
|
|
20
|
+
approveUrl: string = "";
|
|
21
|
+
/**服务路径 */
|
|
22
|
+
pathName: string = "";
|
|
23
|
+
|
|
24
|
+
checked?: boolean = false;
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/**目录ID */
|
|
28
|
+
menuId: string = "";
|
|
29
|
+
/**目录名称 */
|
|
30
|
+
menuName: string = "";
|
|
31
|
+
/**所属系统 */
|
|
32
|
+
funSystem: string = "";
|
|
33
|
+
/**面包屑 */
|
|
34
|
+
breadcrumbName: string = "";
|
|
35
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
import NodeShowVo from "./NodeShowVo";
|
|
3
|
+
import ButtonVo from "./ButtonVo";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
/**流程信息 */
|
|
7
|
+
export default class {
|
|
8
|
+
/**表单当前状态 */
|
|
9
|
+
nodeStatus: string = "";
|
|
10
|
+
/**表单发起人 */
|
|
11
|
+
formUser: string = "";
|
|
12
|
+
/**流程版本号 */
|
|
13
|
+
formVersion: string = "";
|
|
14
|
+
/**节点类型 */
|
|
15
|
+
nodeType: string = "1";
|
|
16
|
+
/**审批人在当前审批流程中的状态: true可审批/ false、不可审批 */
|
|
17
|
+
auditorStatus: boolean = false;
|
|
18
|
+
/**是否要签名: true 可签名/ false不可签名 */
|
|
19
|
+
ifSignature: boolean = false;
|
|
20
|
+
/**历史签名 */
|
|
21
|
+
signatureHistoryUrl: string = "";
|
|
22
|
+
/**历史签名文件id */
|
|
23
|
+
fileId: string = "";
|
|
24
|
+
/**节点显示 */
|
|
25
|
+
nodeShowVoList: NodeShowVo[] = [];
|
|
26
|
+
/**按钮配置 */
|
|
27
|
+
buttonList: ButtonVo[] = [];
|
|
28
|
+
/**字段权限配置 */
|
|
29
|
+
fieldMap: { [key: string]: string } = {};
|
|
30
|
+
/**发起人头像 */
|
|
31
|
+
formUserAvatar: string = "";
|
|
32
|
+
/**代发起 */
|
|
33
|
+
agentUserName: string = "";
|
|
34
|
+
/** 是否可以催办 */
|
|
35
|
+
ifUrging: boolean = false;
|
|
36
|
+
// 是否可以评论
|
|
37
|
+
|
|
38
|
+
ifComment : boolean = false;
|
|
39
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**流程评论 */
|
|
2
|
+
import UserBaseInfoVo from "./UserBaseInfoVo"
|
|
3
|
+
import FlowReplyVO from "./FlowReplyVO"
|
|
4
|
+
import FileBaseInfo from '../../../common/FileBaseInfo'
|
|
5
|
+
|
|
6
|
+
export default class {
|
|
7
|
+
/**评论来源id */
|
|
8
|
+
sourceId: string = "";
|
|
9
|
+
/**评论内容 */
|
|
10
|
+
message: string = "";
|
|
11
|
+
// 是否是我的评论
|
|
12
|
+
isMyComment:boolean = false;
|
|
13
|
+
// 评论时间
|
|
14
|
+
sendTime:string=""
|
|
15
|
+
/**发送人 */
|
|
16
|
+
sender: UserBaseInfoVo = new UserBaseInfoVo();
|
|
17
|
+
/**艾特人员id列表 */
|
|
18
|
+
mentionUsers: UserBaseInfoVo[] = [];
|
|
19
|
+
/**评论附件 */
|
|
20
|
+
fileBaseInfoList: FileBaseInfo[] = [];
|
|
21
|
+
/**回复列表 */
|
|
22
|
+
replyList: FlowReplyVO[] = [];
|
|
23
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import InstanceNodeBO from "./InstanceNodeBO";
|
|
2
|
+
/**流程实例对象基本参数 */
|
|
3
|
+
export default class {
|
|
4
|
+
/**节点列表 */
|
|
5
|
+
instanceNodeBOList: InstanceNodeBO[] = [];
|
|
6
|
+
/**表单编号 */
|
|
7
|
+
sheetNumber: string = "";
|
|
8
|
+
/**申请实例名字 */
|
|
9
|
+
instanceName: string = "";
|
|
10
|
+
/**表单记录id */
|
|
11
|
+
businessFormId: string = "";
|
|
12
|
+
/**被代理人id */
|
|
13
|
+
agentUserId: string = "";
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import UserInfoVo from "./UserInfoVo";
|
|
2
|
+
/**流程表单基本数据 */
|
|
3
|
+
export default class {
|
|
4
|
+
/**对应模板节点id */
|
|
5
|
+
processNodeId: string = "";
|
|
6
|
+
/**节点名称 */
|
|
7
|
+
nodeName: string = "";
|
|
8
|
+
/**节点显示人员 */
|
|
9
|
+
userList: UserInfoVo[] = [];
|
|
10
|
+
/**节点是否可以自选 */
|
|
11
|
+
chooseUser: boolean = false;
|
|
12
|
+
/**节点审批方式 */
|
|
13
|
+
multipleAuditType: string = "";
|
|
14
|
+
/**节点类型 */
|
|
15
|
+
nodeType: string = "";
|
|
16
|
+
/**可自选范围 */
|
|
17
|
+
chooseList: string[] = [];
|
|
18
|
+
/**选择类型 */
|
|
19
|
+
chooseType: string = "";
|
|
20
|
+
/**空节点是否可以中断 */
|
|
21
|
+
nullType: boolean = false;
|
|
22
|
+
/**下级模板节点 */
|
|
23
|
+
childrenId: string = "";
|
|
24
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**表单数据map */
|
|
2
|
+
export default class {
|
|
3
|
+
/**流程表单编号 */
|
|
4
|
+
sheetNumber: string = "";
|
|
5
|
+
/**通知人员列表 */
|
|
6
|
+
userIdList: string = "";
|
|
7
|
+
/**表单id */
|
|
8
|
+
formId: string = "";
|
|
9
|
+
/**通知类型 */
|
|
10
|
+
type: string = "";
|
|
11
|
+
/**流程实例节点id */
|
|
12
|
+
nodeId: string = "";
|
|
13
|
+
/**通知id */
|
|
14
|
+
id: string = "";
|
|
15
|
+
/**创建人id */
|
|
16
|
+
createId: string = "";
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**表单流程配置 */
|
|
2
|
+
export default class {
|
|
3
|
+
/**流文件对应json */
|
|
4
|
+
flowProcessJson: string = "";
|
|
5
|
+
/**发起人配置JSON */
|
|
6
|
+
promoterJson: string = "";
|
|
7
|
+
/**全局配置JSON */
|
|
8
|
+
wholeOptionJson: string = "";
|
|
9
|
+
/**流程所属表单 */
|
|
10
|
+
sheetNumber: string = "";
|
|
11
|
+
/**流程名称 */
|
|
12
|
+
flowProcessName: string = "";
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**流程评论 */
|
|
2
|
+
import UserBaseInfoVo from "./UserBaseInfoVo"
|
|
3
|
+
import FlowReplyVO from "./FlowReplyVO"
|
|
4
|
+
import FileBaseInfo from '../../../common/FileBaseInfo'
|
|
5
|
+
// 流程回复
|
|
6
|
+
export default class {
|
|
7
|
+
/**评论来源id */
|
|
8
|
+
sourceId: string = "";
|
|
9
|
+
/**评论内容 */
|
|
10
|
+
message: string = "";
|
|
11
|
+
// 是否是我的评论
|
|
12
|
+
isMyComment: boolean = false;
|
|
13
|
+
// 评论时间
|
|
14
|
+
sendTime: string = ""
|
|
15
|
+
/**发送人 */
|
|
16
|
+
sender: UserBaseInfoVo = new UserBaseInfoVo();
|
|
17
|
+
/***被回复人 */
|
|
18
|
+
receiver: UserBaseInfoVo = new UserBaseInfoVo();
|
|
19
|
+
/**艾特人员id列表 */
|
|
20
|
+
mentionUsers: UserBaseInfoVo[] = [];
|
|
21
|
+
/**评论附件 */
|
|
22
|
+
fileBaseInfoList: FileBaseInfo[] = [];
|
|
23
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**流程表单基本数据 */
|
|
2
|
+
export default class {
|
|
3
|
+
/**表单id */
|
|
4
|
+
sheetId: string = "";
|
|
5
|
+
/**表单名称 */
|
|
6
|
+
sheetName: string = "";
|
|
7
|
+
/**表单字段json */
|
|
8
|
+
filedJson: string = "";
|
|
9
|
+
|
|
10
|
+
/**审批前端地址 */
|
|
11
|
+
webRoute: string = "";
|
|
12
|
+
/**服务标识 */
|
|
13
|
+
serviceId: string = "";
|
|
14
|
+
/**服务名 */
|
|
15
|
+
serviceName: string = "";
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**流程实例对象基本参数 */
|
|
2
|
+
export default class {
|
|
3
|
+
/**节点id */
|
|
4
|
+
processNodeId: string = "";
|
|
5
|
+
/**节点名称 */
|
|
6
|
+
nodeName: string = "";
|
|
7
|
+
/**节点类型 */
|
|
8
|
+
nodeType: string = "";
|
|
9
|
+
/**用户id列表 */
|
|
10
|
+
userIdList: string[] = [];
|
|
11
|
+
/**会签方式 */
|
|
12
|
+
multipleAuditType: string = "";
|
|
13
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**流程实例节点任务基本参数 */
|
|
2
|
+
export default class {
|
|
3
|
+
/**路由标识 */
|
|
4
|
+
sheetRoute: string = "";
|
|
5
|
+
/**服务路径 */
|
|
6
|
+
pathName: string = "";
|
|
7
|
+
/**业务表单id */
|
|
8
|
+
businessFormId: string = "";
|
|
9
|
+
/** 流程实例节点id*/
|
|
10
|
+
nodeId: string = "";
|
|
11
|
+
/**审批页面路由 */
|
|
12
|
+
approveUrl: string = "";
|
|
13
|
+
/**目录ID */
|
|
14
|
+
menuId: string = "";
|
|
15
|
+
/**目录名称 */
|
|
16
|
+
menuName: string = "";
|
|
17
|
+
/**所属系统 */
|
|
18
|
+
funSystem: string = "";
|
|
19
|
+
/**面包屑 */
|
|
20
|
+
breadcrumbName: string = "";
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import UserResultVo from "./UserResultVo";
|
|
2
|
+
|
|
3
|
+
/**流程信息 */
|
|
4
|
+
export default class {
|
|
5
|
+
/**节点显示人员 */
|
|
6
|
+
userList: UserResultVo[] = [];
|
|
7
|
+
/**节点审批方式 */
|
|
8
|
+
multipleAuditType: string = "";
|
|
9
|
+
/**节点类型 */
|
|
10
|
+
nodeType: string = "";
|
|
11
|
+
/**节点名称 */
|
|
12
|
+
nodeName: string = "";
|
|
13
|
+
/**节点状态 */
|
|
14
|
+
nodeStatus: string = "";
|
|
15
|
+
/**节点完成时间 */
|
|
16
|
+
nodeTime: string = "";
|
|
17
|
+
/**节点Id */
|
|
18
|
+
nodeId: string = "";
|
|
19
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export default class {
|
|
2
|
+
//@Schema(name = "userId", description = "用户系统唯一标识")
|
|
3
|
+
userId: string = "";
|
|
4
|
+
|
|
5
|
+
//@Schema(name = "userName", description = "用户名")
|
|
6
|
+
userName: string = "";
|
|
7
|
+
|
|
8
|
+
//@Schema(name = "avatar", description = "用户头像")
|
|
9
|
+
avatar: string = "";
|
|
10
|
+
|
|
11
|
+
//@Schema(name = "roleName", description = "职位名")
|
|
12
|
+
roleName: string = "";
|
|
13
|
+
|
|
14
|
+
//@Schema(name = "signatureUrl", description = "手写签名")
|
|
15
|
+
signatureUrl: string = "";
|
|
16
|
+
|
|
17
|
+
//@Schema(name = "mobile", description = "手机号")
|
|
18
|
+
mobile: string = "";
|
|
19
|
+
|
|
20
|
+
//@Schema(name = "unionId", description = "单位id")
|
|
21
|
+
unionId: string = "";
|
|
22
|
+
|
|
23
|
+
//@Schema(name = "deptId", description = "部门id")
|
|
24
|
+
deptId: string = "";
|
|
25
|
+
|
|
26
|
+
//@Schema(name = "deptName", description = "部门名称")
|
|
27
|
+
deptName: string = "";
|
|
28
|
+
|
|
29
|
+
//@Schema(name = "controlLimit", description = "管理范围")
|
|
30
|
+
controlLimit: string = "";
|
|
31
|
+
|
|
32
|
+
//@Schema(name = "corpStatus", description = "租户状态")
|
|
33
|
+
corpStatus: string = "";
|
|
34
|
+
|
|
35
|
+
//@Schema(name = "title", description = "职位")
|
|
36
|
+
title: string = "";
|
|
37
|
+
|
|
38
|
+
//@Schema(name = "roleNameList", description = "角色名")
|
|
39
|
+
roleNameList: string = "";
|
|
40
|
+
|
|
41
|
+
//@Schema(name = "permissionGroup", description = "权限组")
|
|
42
|
+
permissionGroup: string = "";
|
|
43
|
+
ifLevel: boolean = true;
|
|
44
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**节点审批人员信息 */
|
|
2
|
+
export default class {
|
|
3
|
+
/**人员id */
|
|
4
|
+
userId: string = "";
|
|
5
|
+
/**人员名称 */
|
|
6
|
+
userName: string = "";
|
|
7
|
+
/**人员头像 */
|
|
8
|
+
avatar: string = "";
|
|
9
|
+
/**审批结果 */
|
|
10
|
+
result: string = "";
|
|
11
|
+
/**人员意见 */
|
|
12
|
+
comments: string = "";
|
|
13
|
+
/**审批签名 */
|
|
14
|
+
signatureUrl: string = "";
|
|
15
|
+
/**审批时间 */
|
|
16
|
+
submitTime: string = "";
|
|
17
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import HttpUtil from "../../../utils/HttpUtil";
|
|
2
|
+
import { type ResponseBean } from "../../index";
|
|
3
|
+
import HomeMenuVo from "./bo/HomeMenuVo";
|
|
4
|
+
import CollectedMenuBo from "./bo/CollectedMenuBo";
|
|
5
|
+
import HomeMenu from "./bo/HomeMenu";
|
|
6
|
+
import PhoneMenu from "./bo/PhoneMenu";
|
|
7
|
+
import PersonalizationVo from "./bo/PersonalizationVo";
|
|
8
|
+
import PersonalizationBo from "./bo/PersonalizationBo";
|
|
9
|
+
import SearchMenuVo from "./bo/SearchMenuVo";
|
|
10
|
+
import DomainVO from "./bo/DomainVO";
|
|
11
|
+
import GroupVO from "./bo/GroupVO";
|
|
12
|
+
export default class HomeController {
|
|
13
|
+
// 统一查看应用入口
|
|
14
|
+
static getApplicationEntryUniformly(): Promise<ResponseBean<GroupVO>> {
|
|
15
|
+
return HttpUtil.get("/bms/home/application-entry-uniformly");
|
|
16
|
+
}
|
|
17
|
+
// 根据域ID获得域信息
|
|
18
|
+
static getDomainInfo(funDomainId:string,url:string): Promise<ResponseBean<DomainVO>>
|
|
19
|
+
{
|
|
20
|
+
return HttpUtil.get("/bms/home/get-domain-info",{funDomainId,url});
|
|
21
|
+
}
|
|
22
|
+
// 根据域ID获得域信息
|
|
23
|
+
static getDomainInfoByUrl(url:string): Promise<ResponseBean<DomainVO>>
|
|
24
|
+
{
|
|
25
|
+
return HttpUtil.get("/bms/home/get-domain-info-by-url",{url});
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// 获取菜单树
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @param terminal MOBILE_END("1", "移动端专属"),COMPUTER_END("2", "电脑端专属"), ALL_END("0", "电脑端、移动端");
|
|
32
|
+
* @param funDomainId 所在系统的系统id,id不传查全部
|
|
33
|
+
* @returns
|
|
34
|
+
*/
|
|
35
|
+
static getHomeMenu(terminal:string,funDomainId:string): Promise<ResponseBean<HomeMenuVo>> {
|
|
36
|
+
return HttpUtil.get("/bms/home/getHomeMenu",{terminal,funDomainId});
|
|
37
|
+
}
|
|
38
|
+
// 收藏/取消收藏菜单
|
|
39
|
+
static saveCollectedMenu(
|
|
40
|
+
collectedMenuBo: CollectedMenuBo
|
|
41
|
+
): Promise<ResponseBean<boolean>> {
|
|
42
|
+
return HttpUtil.postJson("/bms/home/saveCollectedMenu", collectedMenuBo);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// 获取收藏菜单列表
|
|
46
|
+
static getCollectedMenuList(): Promise<ResponseBean<HomeMenu[]>> {
|
|
47
|
+
return HttpUtil.get("/bms/home/getCollectedMenuList");
|
|
48
|
+
}
|
|
49
|
+
// 埋点接口
|
|
50
|
+
static buryingPoint(menuId: string): Promise<ResponseBean<boolean>> {
|
|
51
|
+
return HttpUtil.post("/bms/home/buryingPoint?menuId=" + menuId);
|
|
52
|
+
}
|
|
53
|
+
// 获取前十最新的菜单
|
|
54
|
+
static getTenArticlesRecentMenu(): Promise<ResponseBean<HomeMenu[]>> {
|
|
55
|
+
return HttpUtil.get("/bms/home/getTenArticlesRecentMenu");
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// 获取登陆人个性化配置
|
|
59
|
+
static getPersonalization(): Promise<ResponseBean<PersonalizationVo>> {
|
|
60
|
+
return HttpUtil.get("/bms/home/getPersonalization");
|
|
61
|
+
}
|
|
62
|
+
// 保存登陆人个性化配置
|
|
63
|
+
static savePersonalization(
|
|
64
|
+
personalizationBo: PersonalizationBo
|
|
65
|
+
): Promise<ResponseBean<boolean>> {
|
|
66
|
+
return HttpUtil.postJson(
|
|
67
|
+
"/bms/home/savePersonalization",
|
|
68
|
+
personalizationBo
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
// 根据菜单名称模糊查询菜单
|
|
72
|
+
static selectMenuByMenuName(
|
|
73
|
+
menuName: string
|
|
74
|
+
): Promise<ResponseBean<SearchMenuVo[]>> {
|
|
75
|
+
return HttpUtil.get("/bms/home/selectMenuByMenuName", { menuName });
|
|
76
|
+
}
|
|
77
|
+
// 根据菜单名称模糊查询菜单
|
|
78
|
+
static selectPhoneMenuByMenuName(
|
|
79
|
+
menuName: string
|
|
80
|
+
): Promise<ResponseBean<PhoneMenu[]>> {
|
|
81
|
+
return HttpUtil.get("/bms/home/selectPhoneMenuByMenuName", { menuName });
|
|
82
|
+
}
|
|
83
|
+
// 获取移动端菜单key 搜索记录
|
|
84
|
+
static getPhoneKey(): Promise<ResponseBean<string[]>> {
|
|
85
|
+
return HttpUtil.get("/bms/home/getPhoneKey");
|
|
86
|
+
}
|
|
87
|
+
// 获取移动端菜单key 搜索记录
|
|
88
|
+
static deleteAllKey(): Promise<ResponseBean<boolean>> {
|
|
89
|
+
return HttpUtil.deleted("/bms/home/deleteAllKey");
|
|
90
|
+
}
|
|
91
|
+
// 收藏菜单排序
|
|
92
|
+
static collectedMenuSort(
|
|
93
|
+
menuIdList: string[]
|
|
94
|
+
): Promise<ResponseBean<HomeMenu[]>> {
|
|
95
|
+
return HttpUtil.postJson("/bms/home/collectedMenuSort", menuIdList);
|
|
96
|
+
}
|
|
97
|
+
// 退出登录
|
|
98
|
+
static logOut(): Promise<ResponseBean<string>> {
|
|
99
|
+
return HttpUtil.postJson("/bms/home/logOut");
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// 根据路由地址获取路由信息
|
|
103
|
+
static getHomeMenuByRoute(route: string): Promise<ResponseBean<HomeMenu>> {
|
|
104
|
+
return HttpUtil.get("/bms/home/getHomeMenuByRoute", { route });
|
|
105
|
+
}
|
|
106
|
+
}
|