From 5a09c6e507618f2aac292711144bfbf7a0e48285 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 26 Jan 2024 11:18:36 +0700 Subject: [PATCH] =?UTF-8?q?dialog=20=E0=B9=82=E0=B8=84=E0=B8=A3=E0=B8=87?= =?UTF-8?q?=E0=B8=AA=E0=B8=A3=E0=B9=89=E0=B8=B2=E0=B8=87=E0=B8=AD=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=A3=E0=B8=B2=E0=B8=81=E0=B8=B3=E0=B8=A5=E0=B8=B1?= =?UTF-8?q?=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/mainTree.vue | 97 +++++++++++++------ .../components/tableTree.vue | 30 +++++- .../02_organizationalNew/views/main.vue | 35 ++++++- 3 files changed, 125 insertions(+), 37 deletions(-) diff --git a/src/modules/02_organizationalNew/components/mainTree.vue b/src/modules/02_organizationalNew/components/mainTree.vue index 4b8db9e09..19f3c1069 100644 --- a/src/modules/02_organizationalNew/components/mainTree.vue +++ b/src/modules/02_organizationalNew/components/mainTree.vue @@ -1,14 +1,16 @@ @@ -249,8 +271,15 @@ onMounted(async () => {
- - เพิ่ม + + เพิ่มหน่วยงาน
@@ -278,10 +307,10 @@ onMounted(async () => { " > { { + +
+ + diff --git a/src/modules/02_organizationalNew/components/tableTree.vue b/src/modules/02_organizationalNew/components/tableTree.vue index ca797b7ca..cacc9a8ff 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,17 +84,29 @@ 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 e4ecbaa38..298053226 100644 --- a/src/modules/02_organizationalNew/views/main.vue +++ b/src/modules/02_organizationalNew/views/main.vue @@ -4,6 +4,8 @@ import { ref } from "vue"; /** importComponents*/ import ListView from "@/modules/02_organizationalNew/components/listView.vue"; import StructureView from "@/modules/02_organizationalNew/components/structureView.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"; @@ -11,7 +13,6 @@ import { useOrganizational } from "@/modules/02_organizationalNew/store/organiza const stroe = useOrganizational(); const isStatusData = ref(true); - const itemStructure = ref([ { val: "NEW", @@ -30,13 +31,29 @@ const itemStructure = ref([ name: "ทำสำเนาโครงสร้าง ตำแหน่งและคนครอง", }, ]); + +const modalDateTime = ref(false); +function onClickDateTime() { + modalDateTime.value = !modalDateTime.value; +} + +const modalHistory = ref(false); +function onClickHistory() { + modalHistory.value = !modalHistory.value; +}