Merge branch 'gao2025-05' into 'dev'
feat: 选人组件,可选项 组织树搜索是否加入下级部门 See merge request itc-framework/ma/2024/front!75
This commit is contained in:
@ -117,6 +117,10 @@
|
|||||||
justCompany: {
|
justCompany: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
},
|
||||||
|
isOnlyCurrentDepartment: { // 仅当前部门,无下级部门
|
||||||
|
type: Boolean,
|
||||||
|
default: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
let timeoutId = null;
|
let timeoutId = null;
|
||||||
@ -205,14 +209,14 @@
|
|||||||
limit: 1,
|
limit: 1,
|
||||||
size: 10000,
|
size: 10000,
|
||||||
departmentId: '',
|
departmentId: '',
|
||||||
departmentIds: defaultDepts.value
|
departmentIds: defaultDepts.value,
|
||||||
|
isOnlyCurrentDepartment: props.isOnlyCurrentDepartment,
|
||||||
});
|
});
|
||||||
const searchDepartMemberTotal = ref(0);
|
const searchDepartMemberTotal = ref(0);
|
||||||
const searchDepartMemberList = ref([]);
|
const searchDepartMemberList = ref([]);
|
||||||
const searchAllMemberParams = ref({
|
const searchAllMemberParams = ref({
|
||||||
limit: 1,
|
limit: 1,
|
||||||
size: 25,
|
size: 25,
|
||||||
isSearchAll: true,
|
|
||||||
keyword: '',
|
keyword: '',
|
||||||
departmentIds: defaultDepts.value
|
departmentIds: defaultDepts.value
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user