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