closed: edit positions in current org structure (#1418)
This commit is contained in:
parent
8e56123e12
commit
7cb580060b
9 changed files with 85 additions and 31 deletions
|
|
@ -24,11 +24,12 @@ export const useOrganizational = defineStore("organizationalStore", () => {
|
|||
const activeId = ref<string>(); // id โครงสร้างปัจจุบัน
|
||||
const draftId = ref<string>(); // id แบบร่างโครงสร้าง
|
||||
const historyId = ref<string>(); // id ประวัติโครงสร้าง
|
||||
const historyDnaOrgId = ref<string>(); // id ของโครงสร้างสำหรับใช้ในเมนูสืบทอดตำแหน่ง
|
||||
const isPublic = ref<boolean>(false); // การเผยแพร่
|
||||
const treeId = ref<string>(); // id โหนด
|
||||
const level = ref<number>(); // ระดับโหนด
|
||||
const orgPublishDate = ref<Date | null>(null); // วันเผยแพร่
|
||||
const isLosck = ref<boolean>(false);
|
||||
const isLock = ref<boolean>(false);
|
||||
const sumPosition = reactive({
|
||||
total: 0,
|
||||
use: 0,
|
||||
|
|
@ -217,9 +218,10 @@ export const useOrganizational = defineStore("organizationalStore", () => {
|
|||
isOfficer,
|
||||
isStaff,
|
||||
rootId,
|
||||
isLosck,
|
||||
isLock,
|
||||
remark,
|
||||
convertStatus,
|
||||
fetchDataTree,
|
||||
historyDnaOrgId,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue