新建离职申请
<p><strong>简要描述:</strong></p>
<ul>
<li>新建离职申请</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li>/api/v1/dimissions/applications</li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>传入示例:</strong></p>
<pre><code> "data": {
"dmissionBaseInfo": {
"userCenterUserId": "string 用户中心Id",
"userCode": "string 工号",
"userName": "string 姓名",
"departId": "string 部门Id",
"departName": "string 部门名称",
"positionId": "string 职位Id",
"positionName": "string 职位名称",
"levelId": "string 职等Id",
"levelName": "string 职等",
"managerId": "string 部门负责人Id(GUID)",
"managerCode": "string 部门负责人Code",
"managerName": "string 部门负责人名称",
"nextLevelManagerId": "string 上级部门负责人Id(GUID)",
"nextLevelManagerCode": "string 上级部门负责人Code",
"nextLevelManagerName": "string 上级部门负责人名称",
"entryTime": "2021-12-01T02:18:37.408Z 入职时间",
"dimissionTime": "2021-12-01T02:18:37.408Z 离职时间",
"个人离职原因"
"reasonTypeByPersonal": [
{
"id": "string 字典维护",
"type": "类型: 1个人 2公司",//int
"name": "string 名称"
}
],
"reasonByByPersonal": "string 个人离职详细原因描述",
"businessType": "string 业务归属(字典表维护);智投/金服等",
"businessName": "string 业务模块(字典表维护)Name;智投/金服等",
"affCompanyId": "string 隶属公司Id",
"affCompanyName": "string 隶属公司名称",
"dimissonLetterFile": {
"fileName": "string 文件名称",
"fileType": "string 文件类型",
"fileLength": "int 文件大小",
"fileURL": "string 文件URL",
"fileClassify": "附件分类:1 辞职信;2 工作交接表;3 辞职申请"
},
"dimissonApplicationFile": {
"fileName": "string 文件名称",
"fileType": "string 文件类型",
"fileLength": "int 文件大小",
"fileURL": "string 文件URL",
"fileClassify": "0 附件分类:1 辞职信;2 工作交接表;3 辞职申请"
},
"isNeedProve": "true 是否需要离职证明",
"proveForm": "int 离职证明形式",
"proveMailNumber": "string 邮寄邮箱",
"proveAddress": "string 邮寄地址"
}
}</code></pre>
<p><strong>传入参数说明:</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p><strong>返回示例:</strong></p>
<pre><code> {
"error_code": 0,
"data": true
}</code></pre>
<p><strong>返回参数说明:</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">boolean</td>
<td>是否更新成功</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>