获取员工离职信息

简要描述
  • 获取员工离职信息
请求URL
  • /api/v1/dimissions/applications/{id}
请求方式
  • GET
参数
参数名 必选 类型 说明
id string 主键Id(MS)
返回示例
  {
  "data": {
    "baseInfo": {
      "id": "string 主键Id(MS)",
      "userCenterUserId": "string 用户中心Id",
      "userName": "string 姓名",
      "userCode": "string 工号",
      "departId": "string 部门Id",
      "departName": "string 部门名称",
      "positionId": "string 职位Id",
      "positionName": "string 职位名称",
      "managerId": "string 部门负责人Id(GUID)",
      "managerCode": "string 部门负责人Code",
      "managerName": "string 部门负责人名称",
      "nextLevelManagerId": "string 上级部门负责人Id(GUID)",
      "nextLevelManagerCode": "string 上级部门负责人Code",
      "nextLevelManagerName": "string 上级部门负责人名称",
      "entryTime": "2021-12-01T01:07:59.387Z 入职时间",
      "dimissionTime": "2021-12-01T01:07:59.387Z 离职时间",
      "workflowItemCode": "string 工作流编号"
    },
    "dimissonFiles": {
      "files": [
        {
          "id": "string 主键Id",
          "dimissionId": "string 离职信息Id(membership_dimission.Id)",
          "resourceItemId": "string 全量附件资源表Id(basic_resourceitem.Id)",
          "fileClassify": "附件分类:1 辞职信;2 工作交接表;**3:辞职申请**",
          "fileName": "string 附件名称",
          "fileType": "string 附件类型后缀:.mp3;.avi…",
          "fileLength": "int 附件大小(KB)",
          "fileURL": "string 附件地址"
        }
      ]
    },
    "dimissionReasonByPersonal": {
      "reason": "string 离职原因说明"
      "reasonTypes": [
        {
          "id": "string 字典ID",
          "type": "int 类型: 1个人 2公司",
          "name": "string 名称"
        }
      ]
    },
    "dimissionReasonByDept": {
      "reason": "string 离职原因说明"
      "reasonTypes": [
        {
          "id": "string 字典ID",
          "type": "int 类型:0不区分 1个人 2公司",
          "name": "string 名称"
        }
      ]
    },
    "dimissionReasonByHr": {
      "reason": "string 离职原因说明"
      "reasonTypes": [
        {
          "id": "string 字典ID",
          "type": "int 类型:0不区分 1个人 2公司",
          "name": "string 名称"
        }
      ]
    },
    "dimissionItems": {
      "dimissionItems": [
        {
          "userDimissionItemId": "string 交接事项主键Id",
          "dimissionItemName": "string 交接事项名称",
          "dimissionItemContent": "string 交接情况",
          "discountPrice": "0 折扣金额",
          "auditPersonCode": "string 审核人LoginName",
          "auditPersonName": "string 审核人姓名",
          "auditTime": "2021-12-01T01:07:59.387Z 审核时间",
          "itemAuditRemark": "string 审核意见",
          "businessType": "string 业务归属(字典表维护);智投/金服等",
          "businessTypeName": "string 业务模块(字典表维护)Name;智投/金服等",
          "dimissionItemType": "string 生产模块(字典表维护)Id:人力、运维等",
          "dimissionItemTypeName": "string 生产模块(字典表维护)Name:人力、运维等",
          "editable": "是否可编辑:true可/flase否"
        }
      ]
    },
    "DimissionProve": {
      "isNeedProve": "true 是否需要离职证明",
      "proveForm": "string 离职证明形式",
      "proveMailNumber": "string 邮寄邮箱",
      "proveAddress": "string 邮寄地址"
    }
    "dimissionHandover":{
    "id": "MSxxxxxxxx",
        "handoverList": [{
            "departName": "企业服务平台部",
            "businessType":业务归属(字典维护),
            "handoverProject": [{
                "projectName": "日常工作交接",
                "needHandover": true,
                "handoverItem": [{
                    "itemName": "我要交接我的各种会议哈哈哈",
                    "handoverUserName": "张三",
                    "handoverUserCode": "ZR05050125",
                    "isRDProject": false,
                    "isHandedover": false,
                }]
            }]
        }],
        "handoverTips":"交接提示.页面顶部"
        "handoverStatement": "销售人员离职/异动请邮件联系通路-吴雅慧进行小达达业务客户交接,联系通路-孙雪斐进行运营商客户移交;联系区域通路支持进行合同负责人移交。"
    }
  }
}
返回参数说明
参数名 类型 说明
fileClassify int 附件分类:1 辞职信;2 工作交接表;3:辞职申请
dimissionReasonByxx\optionInfos\type int 辞职原因类型: 1个人;2公司
备注
  • 更多返回错误代码请看首页的错误代码描述