离职交接消息通知
消息说明:发起离职交接审批后,推送此类消息
参数说明:
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
messageId | String | Y | 唯一标识一条消息 |
type | String | Y | 消息类型,固定为dismiss_handover |
sendtime | Long | Y | 消息推送时间戳(精确到秒) |
data | DismissHandoverDetailInfo | Y | 推送消息 |
DismissHandoverDetailInfo
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
basicFields | List<DismissHandoverDetailBasicFieldInfo> | Y | 离职员工基本信息 |
steps | List<List<DismissHandoverClassifyInfo>> | Y | 离职交接节点信息 |
dimissionOperationList | List<DismissHandoverOperationItemInfo> | Y | 离职交接操作信息 |
launchHandoverStatus | Integer | Y | 离职交接状态 1-交接中,2-交接完成,3-已撤销 |
ownerId | String | Y | 离职员工id |
mobile | String | Y | 离职员工手机号 |
applyTime | String | Y | 申请时间 |
dimissionTime | String | Y | 离职时间 |
flowNumber | String | Y | 审批编号 |
jobNumber | String | Y | 工号 |
id | Integer | Y | 离职交接审批id |
url | String | Y | 离职交接审批指定免登页面url |
DismissHandoverDetailBasicFieldInfo
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
field | String | Y | 字段名 |
fieldName | String | Y | 字段name |
value | String | Y | 字段值 |
DismissHandoverClassifyInfo
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
classifyTitle | String | Y | 交接分类的名称 |
dimissionItemList | List<DismissHandoverItemInfo> | Y | 交接事项 |
DismissHandoverItemInfo
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
handoverStatus | Integer | Y | 交接状态 1-进行中,2-已完成,3-转交,4-管理员转交,5-管理员撤销,6-交接异常 |
directorEmployeeId | String | Y | 交接人id |
directorEmployeeName | String | Y | 交接人名称 |
handoverItemContent | String | Y | 交接事项 |
handoverRemark | String | Y | 交接备注 |
handoverSituationContent | String | Y | 交接情况 |
operationTime | String | Y | 操作时间 |
transferExplain | String | N | 转交说明 |
transferToDirectorName | String | N | 转交人姓名 |
transferFromDirectorName | String | N | 原交接人姓名 |
transferTime | String | N | 转交时间 |
directorType | String | Y | 交接负责人type |
myHandoverId | String | Y | 离职交接负责人审批页面id |
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
operationContent | String | Y | 交接操作内容 |
operationTime | String | Y | 操作时间 |
消息样例:
{
"messageId": "6d0c807e27dc49ae817fb4e70c837137",
"type": "dismiss_handover",
"data": {
"basicFields": [{
"field": "name",
"fieldName": "姓名",
"value": "测试离职交接"
}, {
"field": "_department",
"fieldName": "部门",
"value": "人事部"
}, {
"field": "jobName",
"fieldName": "岗位",
"value": ""
}, {
"field": "mobile",
"fieldName": "手机",
"value": "19400128384"
}, {
"field": "jobNumber",
"fieldName": "工号",
"value": ""
}, {
"field": "entryDate",
"fieldName": "入职日期",
"value": "2022-01-01"
}, {
"field": "dismissDate",
"fieldName": "离职时间",
"value": "2022-01-15"
}, {
"field": "hireType",
"fieldName": "聘用形式",
"value": "正式"
}, {
"field": "idcode",
"fieldName": "身份证号",
"value": ""
}],
"steps": [
[{
"classifyTitle": "本部门",
"dimissionItemList": [{
"handoverStatus": 1,
"directorEmployeeId": "7958925147c840f6aa94b662b89b8aef",
"directorEmployeeName": "管理员A",
"handoverItemContent": "工作内容交接",
"handoverRemark": "",
"handoverSituationContent": "",
"transferToDirectorName": "",
"directorType": 0,
"myHandoverId": 1721
}, {
"handoverStatus": 1,
"directorEmployeeId": "7958925147c840f6aa94b662b89b8aef",
"directorEmployeeName": "管理员C",
"handoverItemContent": "文件资料交接",
"handoverRemark": "纸质及电子版",
"handoverSituationContent": "",
"transferToDirectorName": "",
"directorType": 0,
"myHandoverId": 1722
}, {
"handoverStatus": 1,
"directorEmployeeId": "7958925147c840f6aa94b662b89b8aef",
"directorEmployeeName": "管理员C",
"handoverItemContent": "待办工作交接",
"handoverRemark": "",
"handoverSituationContent": "",
"transferToDirectorName": "",
"directorType": 0,
"myHandoverId": 1723
}]
}, {
"classifyTitle": "IT",
"dimissionItemList": [{
"handoverStatus": 1,
"directorEmployeeId": "7958925147c840f6aa94b662b89b8aef",
"directorEmployeeName": "管理员B",
"handoverItemContent": "办公设备交接",
"handoverRemark": "",
"handoverSituationContent": "",
"transferToDirectorName": "",
"directorType": 0,
"myHandoverId": 1724
}]
}],
[{
"classifyTitle": "HR",
"dimissionItemList": [{
"handoverStatus": 0,
"directorEmployeeId": "7958925147c840f6aa94b662b89b8aef",
"directorEmployeeName": "管理员A",
"handoverItemContent": "离职考勤确认",
"handoverRemark": "",
"handoverSituationContent": "",
"transferToDirectorName": "",
"directorType": 0,
"myHandoverId": 1725
}, {
"handoverStatus": 0,
"directorEmployeeId": "7958925147c840f6aa94b662b89b8aef",
"directorEmployeeName": "管理员A",
"handoverItemContent": "社保及公司福利结算",
"handoverRemark": "",
"handoverSituationContent": "",
"transferToDirectorName": "",
"directorType": 0,
"myHandoverId": 1726
}, {
"handoverStatus": 0,
"directorEmployeeId": "7958925147c840f6aa94b662b89b8aef",
"directorEmployeeName": "管理员A",
"handoverItemContent": "离职工资结算",
"handoverRemark": "",
"handoverSituationContent": "",
"transferToDirectorName": "",
"directorType": 0,
"myHandoverId": 1727
}]
}]
],
"dimissionOperationList": [{
"operationContent": "管理员A 发起了 离职交接",
"operationTime": "2022-01-13 14:40:10"
}],
"launchHandoverStatus": 1,
"ownerId": "3492484d55744baaa233d25b0977f131",
"mobile": "19400128384",
"applyTime": "2022-01-13",
"dimissionTime": "2022-01-15",
"flowNumber": "202201131440000001",
"jobNumber": "",
"id": 124,
"url":"https://e.xinrenxinshi.com/flow/handover-detail?id=124&approved=0"
},
"sendtime": 1642056015
}