ปรับการ fetch ข้อมูล tree

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-02-01 09:27:56 +07:00
parent c7ea4e0e5b
commit dd9239ac25
7 changed files with 18 additions and 12 deletions

View file

@ -13,8 +13,8 @@ import DialogPositionDetail from "@/modules/02_organizationalNew/components/Posi
import { useOrganizational } from "@/modules/02_organizationalNew/store/organizational";
const showAllData = ref<boolean>(false);
const orgLevel = defineModel<number>("orgLevel", { require: true });
const treeId = defineModel<string>("treeId", { require: true });
const orgLevel = defineModel<number>("orgLevel", {});
const treeId = defineModel<string>("treeId", {});
const stroe = useOrganizational();
const filter = ref<string>("");
const actionType = ref<string>("");