修正员工基础信息编辑

This commit is contained in:
2026-07-01 14:24:46 +08:00
parent 9939bfb317
commit fc368a866f
11 changed files with 578 additions and 76 deletions
@@ -121,7 +121,7 @@ const save = async (): Promise<void> => {
try {
const color = selected.value
const saved = await managerEmployeesApi.save({
...employee.value,
id: employee.value.id,
userId: employee.value.userId || employeeId.value,
color
})