|
@@ -853,7 +853,7 @@ const loadComStaffList = async () => {
|
|
|
/** 加载部门列表 */
|
|
/** 加载部门列表 */
|
|
|
const loadComDeptList = async () => {
|
|
const loadComDeptList = async () => {
|
|
|
try {
|
|
try {
|
|
|
- const res = await listDept();
|
|
|
|
|
|
|
+ const res = await listDept({ isCompanyFlag: '1' } as any);
|
|
|
comDeptList.value = res.rows || res.data || [];
|
|
comDeptList.value = res.rows || res.data || [];
|
|
|
} catch (error) {
|
|
} catch (error) {
|
|
|
console.error('加载部门列表失败:', error);
|
|
console.error('加载部门列表失败:', error);
|