|
@@ -28,7 +28,7 @@ export type Organization = {
|
|
|
};
|
|
|
|
|
|
export const getOrganizationTree = async (type?: string) =>
|
|
|
- (await axios.get<Organization[]>(getTreeselect, { headers: { share: 1 }, params: { type ,ingoreRes: true } })).data;
|
|
|
+ (await axios.get<Organization[]>(getTreeselect, { headers: { share: 1 }, params: { type, ingoreRes: true, share: 1, } })).data;
|
|
|
|
|
|
export const addOrganization = async (
|
|
|
dept: Omit<Organization, "id">,
|