Prechádzať zdrojové kódy

feat(records): change

gemercheung 1 rok pred
rodič
commit
686c6ca2d6

+ 1 - 1
src/app/map/company-select/organization.ts

@@ -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">,