โครงสร้าง สร้างคำสั่ง

This commit is contained in:
setthawutttty 2024-10-18 12:58:18 +07:00
parent 5d9131d5b7
commit 97a62de026
5 changed files with 150 additions and 104 deletions

View file

@ -12,6 +12,10 @@ export const useOrganizational = defineStore("organizationalStore", () => {
const typeOrganizational = ref<string>("current"); // ประเภทโครงสร้าง
const statusView = ref<string>("list"); // การแสดงผล รายการ,map
const rootId = ref<string>('')
const isOfficer = ref<boolean|null>(null);
const isStaff = ref<boolean|null>(null);
const dataActive = ref<DataActive>(); //ข้อมูลโครงสร้าง
const activeId = ref<string>(); // id โครงสร้างปัจจุบัน
const draftId = ref<string>(); // id แบบร่างโครงสร้าง
@ -160,5 +164,8 @@ export const useOrganizational = defineStore("organizationalStore", () => {
fetchPosMaster,
sumPosition,
getSumPosition,
isOfficer,
isStaff,
rootId
};
});