diff --git a/src/modules/02_organizationalNew/components/listView.vue b/src/modules/02_organizationalNew/components/listView.vue index c63f42118..01e1c4066 100644 --- a/src/modules/02_organizationalNew/components/listView.vue +++ b/src/modules/02_organizationalNew/components/listView.vue @@ -1,15 +1,39 @@ + + + + diff --git a/src/modules/02_organizationalNew/components/tableTree.vue b/src/modules/02_organizationalNew/components/tableTree.vue index ca797b7ca..354ebcf5b 100644 --- a/src/modules/02_organizationalNew/components/tableTree.vue +++ b/src/modules/02_organizationalNew/components/tableTree.vue @@ -4,6 +4,9 @@ import { ref } from "vue"; /** importType*/ import type { QTableProps } from "quasar"; +/** importComponents*/ +import DialogFormPosotion from "@/modules/02_organizationalNew/components/DialogFormPosition.vue"; + /** importStore*/ import { useOrganizational } from "@/modules/02_organizationalNew/store/organizational"; @@ -81,23 +84,36 @@ const columns = ref([ }, ]); const rows = ref([]); + +const dialogPosition = ref(false); +function onClickPosition() { + dialogPosition.value = !dialogPosition.value; +} diff --git a/src/modules/02_organizationalNew/views/main.vue b/src/modules/02_organizationalNew/views/main.vue index 9acb001f3..e950af507 100644 --- a/src/modules/02_organizationalNew/views/main.vue +++ b/src/modules/02_organizationalNew/views/main.vue @@ -5,6 +5,8 @@ import { ref } from "vue"; import ListView from "@/modules/02_organizationalNew/components/listView.vue"; import StructureView from "@/modules/02_organizationalNew/components/structureView.vue"; import DialogFormNewStructure from "@/modules/02_organizationalNew/components/DialogNewStructure.vue"; +import DialogDateTime from "@/modules/02_organizationalNew/components/DialogFormDateTime.vue"; +import DialogHistory from "@/modules/02_organizationalNew/components/DialogHistory.vue"; /** importStore*/ import { useOrganizational } from "@/modules/02_organizationalNew/store/organizational"; @@ -12,8 +14,7 @@ import { useOrganizational } from "@/modules/02_organizationalNew/store/organiza const modalNewStructure = ref(false); const stroe = useOrganizational(); -const isStatusData = ref(true); - +const isStatusData = ref(false); const itemStructure = ref([ { val: "NEW", @@ -32,6 +33,16 @@ const itemStructure = ref([ name: "ทำสำเนาโครงสร้าง ตำแหน่งและคนครอง", }, ]); + +const modalDateTime = ref(false); +function onClickDateTime() { + modalDateTime.value = !modalDateTime.value; +} + +const modalHistory = ref(false); +function onClickHistory() { + modalHistory.value = !modalHistory.value; +}