feat: 调部门改为调动,使用组织架构部门和职务下拉选择
- 后端:EmployeeDepartmentRecord 增加 oldPosition/newPosition 字段 - 后端:department-change 接口支持 departmentId 关联 + position 职务变动 - 后端:同步更新 Employee.departmentId 和 Employee.position - 前端:DeptChangeModal 改为从组织架构下拉选择目标部门(树形)和职务 - 前端:选择部门后自动过滤该部门下的职务 - 前端:按钮文案从"调部门"改为"调动" Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
@@ -874,8 +874,8 @@ export default function Roster() {
|
||||
)}
|
||||
<button
|
||||
type="button"
|
||||
title="调部门"
|
||||
aria-label={`为${e.name}调整部门`}
|
||||
title="调动"
|
||||
aria-label={`为${e.name}调动`}
|
||||
className="rounded-md p-1.5 text-gray-500 transition hover:bg-primary/10 hover:text-primary"
|
||||
onClick={(ev) => {
|
||||
ev.stopPropagation()
|
||||
|
||||
Reference in New Issue
Block a user