> For the complete documentation index, see [llms.txt](https://docs.coreway.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coreway.com/yoov-work/zh-cn/faq/employee-management/how-to-handle-if-employee-was-terminated-by-mistake.md).

# \[员工管理] 不小心错误地把员工离职,应如何处理?

如果管理员不小心错误地把员工离职或因公司需要有必要安排员工重新入职, 可参考以下的处理方式：

\[员工管理]-> \[员工列表]->\[已离职]->点选相关员工档案->右上角"..."->重新入职

<figure><img src="/files/c1r20koF0gK9h3dkECTf" alt=""><figcaption></figcaption></figure>

<br>

员工的资料会保留于员工档案,此时管理员需要决定是否修改员工编号以前往下一步。

<figure><img src="/files/Dy0N35JDhfkgt06A40nI" alt=""><figcaption></figcaption></figure>

<br>

&#x20;

不修改员工编号:&#x20;

员工会保留原有的在职资料及重新入职。

<figure><img src="/files/ZiJoug70TWJZd2KFeiqN" alt=""><figcaption></figcaption></figure>

&#x20;

&#x20;

修改员工编号:

员工会作为”新员工”重新入职，此员工不会存在任何在职数据。

以往的在职资料只会维持于原员工编号的记录中。

<figure><img src="/files/EeYhwI07avhFcYO5ZhJL" alt=""><figcaption></figcaption></figure>

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.coreway.com/yoov-work/zh-cn/faq/employee-management/how-to-handle-if-employee-was-terminated-by-mistake.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
