部门管理修改功能分包单位bug
This commit is contained in:
@ -18,6 +18,7 @@ export interface DeptVO extends BaseEntity {
|
||||
parentId: number | string;
|
||||
children: DeptVO[];
|
||||
deptId: number | string;
|
||||
contractorList: any[];
|
||||
projectId: number | string;
|
||||
projectList: any[];
|
||||
deptName: string;
|
||||
|
@ -316,9 +316,11 @@ const handleUpdate = async (row: DeptVO) => {
|
||||
form.value.rowProjectId = row?.projectId;
|
||||
//查询当前部门所有用户
|
||||
getDeptAllUser(row.deptId);
|
||||
|
||||
const res = await getDept(row.deptId);
|
||||
form.value = res.data;
|
||||
projectList.value = res.data.projectList;
|
||||
contractorList.value = res.data.contractorList;
|
||||
const response = await listDeptExcludeChild(row.deptId);
|
||||
const data = proxy?.handleTree<DeptOptionsType>(response.data, 'deptId');
|
||||
if (data) {
|
||||
|
Reference in New Issue
Block a user