更新密码管理
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<div class="node-content">
|
||||
<span class="node-icon">
|
||||
<el-icon v-if="data.is_company">
|
||||
<Office />
|
||||
<OfficeBuilding />
|
||||
</el-icon>
|
||||
<el-icon v-else>
|
||||
<Folder />
|
||||
@@ -203,7 +203,7 @@ import {
|
||||
Plus,
|
||||
Refresh,
|
||||
Setting,
|
||||
Office,
|
||||
OfficeBuilding,
|
||||
Folder,
|
||||
Expand,
|
||||
Fold
|
||||
@@ -220,7 +220,7 @@ import {
|
||||
getEmployeeList,
|
||||
createEmployee,
|
||||
updateEmployee,
|
||||
deleteEmployee,
|
||||
deleteEmployee as apiDeleteEmployee,
|
||||
getOrgSettings
|
||||
} from "@/api/organization";
|
||||
|
||||
@@ -437,7 +437,7 @@ const deleteEmployee = async (data) => {
|
||||
await ElMessageBox.confirm('确认删除这个员工吗?删除后将无法恢复。', '删除确认', {
|
||||
type: 'warning',
|
||||
});
|
||||
await deleteEmployee(data.id);
|
||||
await apiDeleteEmployee(data.id);
|
||||
ElMessage.success('删除成功');
|
||||
await loadEmployeeList(selectedOrg.value.id);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user